QoS Commands 659
Example
The following example displays adding a match condition to the specified
class.
console(config-classmap)#match cos 1
match destination-address mac
Use the match destination-address mac command in Class-Map
Configuration mode to add a match condition based on the destination MAC
address of a packet.
Syntax
match destination-address mac
macaddr
macmask
•
macaddr
— Specifies any valid layer 2 MAC address formatted as six two-
digit hexadecimal numbers separated by colons.
•
macmask
— Specifies a valid layer 2 MAC address bit mask formatted as
six two-digit hexadecimal numbers separated by colons. This address bit
mask does not need to be contiguous.
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 for the specified
MAC address and bit mask.
console(config-classmap)#match destination-address
mac AA:ED:DB:21:11:06 FF:FF:FF:EF:EE:EE
2CSPC4.X8100-SWUM102.book Page 659 Friday, March 15, 2013 8:56 AM