8
Traffic Redirecting Configuration
When configuring traffic redirecting, go to these sections for information you are interested in:
Traffic Redirecting Overview
Configuring Traffic Redirecting
Traffic Redirecting Overview
Traffic Redirecting
Traffic redirecting is the action of redirecting the packets matching the specific match criteria to a certain
location for processing.
Currently, the following two traffic redirecting actions are supported:
Redirecting traffic to the CPU: redirects packets which require processing by CPU to the CPU.
Redirecting traffic to an interface: redirects packets which require processing by an interface to the
interface. Note that this action is applicable to only Layer 2 packets, and the target interface should
be a Layer 2 interface.
Configuring Traffic Redirecting
Follow these steps to configure traffic redirecting:
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
Configure a traffic
redirecting action
Exit behavior view
Create a policy and enter
policy view
Associate the class with the
traffic behavior in the QoS
policy
Exit policy view
Apply the
To an interface
QoS
policy
To a VLAN
Use the command...
system-view
traffic classifier tcl-name [ operator
{ and | or } ]
if-match match-criteria
quit
traffic behavior behavior-name
redirect { cpu | 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
8-1
Remarks
—
—
—
—
Required
Optional
—
—
—
—
—
—