8-18 Traffic Redirecting ConfigurationWhen configuring traffic redirecting, go to these sections for information you are interested in:z Traffic Redirecting Overviewz Configuring Traffic RedirectingTraffic Redirecting OverviewTraffic RedirectingTraffic redirecting is the action of redirecting the packets matching the specific match criteria to a certainlocation for processing.Currently, the following two traffic redirecting actions are supported:z Redirecting traffic to the CPU: redirects packets which require processing by CPU to the CPU.z Redirecting traffic to an interface: redirects packets which require processing by an interface to theinterface. Note that this action is applicable to only Layer 2 packets, and the target interface shouldbe a Layer 2 interface.Configuring Traffic RedirectingFollow these steps to configure traffic redirecting: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 RequiredConfigure a trafficredirecting actionredirect { cpu | interfaceinterface-type interface-number } OptionalExit 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 —