This specification is the free form version of the IP DSCP/Precedence/TOS
match specification in that you have complete control of specifying which
bits of the IP Service Type field are checked.
Example
The following example displays adding a match condition based on the value
of the IP TOS field in a packet.
console(config-classmap)#match ip tos AA EF
match protocol
Use the match protocol command in Class-Map Configuration mode to add
to the specified class definition a match condition based on the value of the
IP Protocol field in a packet using a single keyword notation or a numeric
value notation.
This command is not available on the N1500 Series switches.
NOTE:
Syntax
match protocol {protocol-name | protocol-number}
•
protocol-name — Specifies one of the supported protocol name keywords.
The supported values are icmp, igmp, ip, tcp, and udp.
•
protocol-number — Specifies the standard value assigned by IANA.
(Range 0–255)
Default Configuration
This command has no default configuration.
Command Mode
Class-Map Configuration mode
User Guidelines
This command has no user guidelines.
Layer 2 Switching Commands
691