Reference Guide

QoS Commands 683
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.
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.
Example
The following example displays adding a match condition based on the "ip"
protocol name keyword.
console(config-classmap)#match protocol ip
match source-address mac
Use the match source-address mac command in Class-Map Configuration
mode to add to the specified class definition a match condition based on the
source MAC address of the packet.
2CSPC4.XModular-SWUM204.book Page 683 Friday, March 15, 2013 9:24 AM