To do...
Specify the destination
interface for traffic mirroring
Exit behavior view
Create a policy and enter
policy view
Associate the class with the
traffic behavior in the QoS
policy
Exit policy view
To an interface
Apply the
QoS
To a VLAN
policy
Globally
Mirroring Traffic to the CPU
Follow these steps to mirror traffic to the CPU:
To do...
Enter system view
Create a class and enter
class view
Configure the match criteria
Exit class view
Create a behavior and enter
behavior view
Mirror traffic to the CPU
Exit behavior view
Create a policy and enter
policy view
Associate the class with the
traffic behavior in the QoS
policy
Exit policy view
To an interface
Apply the
QoS
To a VLAN
policy
Globally
Use the command...
mirror-to interface interface-type
interface-number
quit
qos policy policy-name
classifier tcl-name behavior
behavior-name
quit
Applying the QoS policy to an
interface
Applying the QoS policy to a VLAN
Applying the QoS policy globally
Use the command...
system-view
traffic classifier tcl-name [ operator
{ and | or } ]
if-match match-criteria
quit
traffic behavior behavior-name
mirror-to cpu
quit
qos policy policy-name
classifier tcl-name behavior
behavior-name
quit
Applying the QoS policy to an
interface
Applying the QoS policy to a VLAN
Applying the QoS policy globally
9-2
Remarks
Required
—
—
—
—
—
—
—
Remarks
—
—
—
—
Required
Required
—
—
—
—
—
—
—