OcNOS-SP : Layer 3 Guide : Border Gateway Protocol Command Reference : BGP Flowspec Commands : match icmp-type
match icmp-type
Use this command to match TCP/UDP destination port number(s).
Command Syntax
match ipv4 icmp-type [ICMP_TYPE_VALUE|ICMP_TYPE_VALUE_RANGE] [,...,[ICMP_TYPE_VALUE|ICMP_TYPE_VALUE_RANGE]]
no match ipv4 icmp-type
Parameters
ICMP_TYPE_VALUE
 
ICMP code number in 0-255
ICMP_TYPE_VALUE_RANGE
 
A range in a form of range: MIN_VALU-MAX_VALUE. e.g. 10-100
Command Mode
Class-map mode.
Applicability
This command was introduced in OcNOS version 6.3.0.
Examples
(config)#class-map type traffic match-all test1
(config-cmap-tr)#match ipv4 icmp-type 10
Last modified date: 10/16/2023