QoS Commands 411
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 VLAN ID “2.”
console(config-classmap)#match vlan 2
mirror
Use the mirror command in Policy-Class-Map Configuration mode to mirror all the data that 
matches the class defined to the destination port specified.
Syntax
mirror 
interface
•
interface
 — Specifies the Ethernet port to which data needs to be copied.
Default Configuration
This command has no default configuration.
Command Mode
Policy-Class-Map Configuration mode
User Guidelines
The port identified in this command is identical to the destination port of the monitor 
command.
Example
The following example displays how to copy all the data to ethernet port 1/g5.
console(config-policy-classmap)#mirror 1/g5