9-2To do… Use the command… RemarksSpecify the destinationinterface for traffic mirroringmirror-to interface interface-typeinterface-number RequiredExit behavior view quit —Create a policy and enterpolicy view qos policy policy-name —Associate the class with thetraffic behavior in the QoSpolicyclassifier tcl-name behaviorbehavior-name —Exit policy view quit —To an interface Applying the QoS policy to aninterface —Apply theQoSpolicy To a VLAN Applying the QoS policy to a VLAN —Mirroring Traffic to the CPUFollow these steps to mirror traffic to the CPU:To do… Use the command… RemarksEnter system view system-view —Create a class and enterclass viewtraffic classifier tcl-name [ operator{ and | or } ] —Configure the match criteria if-match match-criteria —Exit class view quit —Create a behavior and enterbehavior view traffic behavior behavior-name RequiredMirror traffic to the CPU mirror-to cpu RequiredExit behavior view quit —Create a policy and enterpolicy view qos policy policy-name —Associate the class with thetraffic behavior in the QoSpolicyclassifier tcl-name behaviorbehavior-name —Exit policy view quit —To an interface Applying the QoS policy to aninterface —Apply theQoSpolicy To a VLAN Applying the QoS policy to a VLAN —Displaying and Maintaining Traffic MirroringTo do… Use the command… RemarksDisplay traffic behaviorconfiguration informationdisplay traffic behavioruser-defined[ behavior-name ]Available in any view