Filter Configuration Command Reference
552 Router Configuration Guide
Context config>filter>ipv6-filter>entry>match
Description This command enables match on existence of Hop-by-Hop Options Extension Header in the IPv6 filter
policy.
The no form of this command ignores Hop-by-Hop Options Extension Header presence/absence in a
packet when evaluating match criteria of a given filter policy entry.
Default no hop-by-hop-opt
Parameters true — Matches a packet with a Hop-by-Hop Options Extension header.
false — Matches a packet without a Hop-by-Hop Options Extension header.
icmp-code
Syntax icmp-code icmp-code
no icmp-code
Context config>filter>ip-filter>entry>match
config>filter>ipv6-filter>entry>match
Description Configures matching on ICMP/ICMPv6 code field in the ICMP/ICMPv6 header of an IPv4 or IPv6
packet as a filter match criterion. An entry containing Layer 4 non-zero match criteria will not match
non-initial (2nd, 3rd, etc.) fragments of a fragmented packet since only the first fragment contains the
Layer 4 information. Similarly an entry containing "icmp-code 0" match criterion, may match non-
initial fragments when the Layer 4 header is not present in a packet fragment and other match criteria
are also met.
The no form of the command removes the criterion from the match entry.
Default no icmp-code
Parameters icmp-code — The ICMP/ICMPv6 code value that must be present to match. Value can be
expressed as a decimal integer, as well as in hexadecimal or binary format, or even using
keywords. The following value shows decimal integer only.
Values 0 to 255
icmp-type
Syntax icmp-type icmp-type
no icmp-type
Context config>filter>ip-filter>entry>match
config>filter>ipv6-filter>entry>match