IPv4/IPv6 filter policy entry match criteria

This section describes the IPv4 and IPv6 match criteria supported by SR OS. The criteria are evaluated against the outer IPv4 or IPv6 header and a Layer 4 header that follows (if applicable). Support for match criteria may depend on hardware or filter direction. Nokia recommends not configuring a filter in a direction or on hardware where a match criterion is not supported because this may lead to unwanted behavior. Some match criteria may be grouped in match lists and may be auto-generated based on the router configuration; see Filter policy advanced topics for more information.

IPv4 and IPv6 filter policies support three different filter type with normal, src-mac and packet-length each supporting different set of match criteria.

The match criteria available using the normal filter type are defined in this section. Layer 3 match criteria include:

Fragmentation match criteria: fragment

Match for the presence of fragmented packet. For IPv4, match against the MF bit or Fragment Offset field to determine whether the packet is a fragment. For IPv6, match against the Next Header Field for Fragment Extension Header value to determine whether the packet is a fragment. Up to six extension headers are matched against to find the Fragmentation Extension Header.

IPv4 and IPv6 filters support matching against initial fragment using first-only or non-initial fragment non-first-only.

IPv4 match fragment true or false criteria are supported on both ingress and egress.

IPv4 match fragment first-only or non-first-only are supported on ingress only.

Operational note for fragmented traffic

IP and IPv6 filters defined to match TCP, UDP, ICMP, or SCTP criteria (such as src-port, dst-port, port, tcp-ack, tcp-syn, icmp-type, and icmp-code) with values of zero or false also match non-first fragment packets if other match criteria within the same filer entry are also met. Non-initial fragment packets do not contain a UDP, TCP, ICMP or SCTP header.

IPv4 options match criteria:

IPv6 Extension Header match criteria:

Up to six extension headers are matched against when config>system>ip>ipv6-eh max is configured. When config>system>ip>ipv6-eh limited is configured, the next header value of the IPv6 header is used instead.

Upper-layer protocol match criteria:

For filter type match criteria:

Additional match criteria for src-mac, packet-length, and destination-class are available using different filter types. See Filter policy type for more information.