Alcatel 7710 SR OS Configuration Manual page 392

Table of Contents

Advertisement

Configuration Commands
icmp-type
Syntax
icmp-type icmp-type
no icmp-type
Context
config>filter>ip-filter>entry>match
config>filter>ipv6-filter>entry>match
Description
This command configures matching on the ICMP type field in the ICMP header of an IP or IPv6
packet as a filter match criterion. Note that an entry containing L4 match criteria will not match non-
initial (2nd, 3rd, etc) fragments of a fragmented packet since only the first fragment contains the L4
information.
This option is only meaningful if the protocol match criteria specifies ICMP (1).
The no form of the command removes the criterion from the match entry.
Default
no icmp-type
Parameters
icmp-type — The ICMP type values that must be present to match.
ip-option
Syntax
ip-option ip-option-value ip-option-mask
no ip-option
Context
config>filter>ip-filter>entry>match
Description
This command configures matching packets with a specific IP option or a range of IP options in the
first option of the IP header as an IP filter match criterion.
The option-type octet contains 3 fields:
The no form of the command removes the match criterion.
Default
none
Parameters
ip-option-value — Enter the 8 bit option-type as a decimal integer. The mask is applied as an AND to
ip-option-mask — This is optional and may be used when specifying a range of option numbers to
Page 392
Values
0 — 255
1 bit copied flag (copy options in all fragments)
2 bits option class
5 bits option number
the option byte, the result is compared with the option-value.
The decimal value entered for the match should be a combined value of the eight bit option type
field and not just the option number. Thus to match on IP packets that contain the Router Alert
option (option number = 20), enter the option type of 148 (10010100).
Values
0 — 255
use as the match criteria.
7710 SR OS Router Configuration Guide

Advertisement

Table of Contents
loading

Table of Contents