- 370 -
i
The ip dscp, ip precedence, and ip tos match conditions are alternative ways to specify a
match criterion for the same Service Typ e field in the IP heade r, but with a slightly different
user notation.
In essence, this the “free form” version of the IP DSCP/Precedence/TOS match
specification in that the user has complete control of specifying which bits of the IP Service
Type field are checked.
Default Setting
None
Command Mode
Class-Map Config

7.21.2.15 match protocol

This command adds to the specified class definition a match conditi on 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 > | <0-2 55>}
<protocol-name> is one of the supported protocol name keywords. The currently supported values
are: icmp, igmp, ip, tcp, udp. Note that a value of ip is interpreted to match all protocol number
values. To specify the match condition using a numeric value notation, the protocol number is a
standard value assigned by IANA and is interpreted as an integer from 0 to 255.
i
This command does not validate the protocol number value against the current li st defined
by IANA.
Default Setting
None
Command Mode
Class-Map Config / Ipv6-Class-Map Config

7.21.2.16 match source-address mac

This command adds to the specified class definit ion a match condition based on the source MAC address
of a packet. The <address> parameter is any layer 2 MAC address formatted as six, two-digit
hexadecimal numbers separated by colons (e.g., 00:11:22:dd:ee:ff). The <macmask> parameter is a
layer 2 MAC address bit mask, which may not be cont iguous, and is formatted as six, two-digit
hexadecimal numbers separated by colons (e.g., ff:07:23:ff:fe:dc).