
49
Traffic redirecting configuration
This chapter includes these sections:
•
•
Configuring traffic redirecting
Traffic redirecting overview
Traffic redirecting redirects the packets matching the specific match criteria to a certain location for
processing.
The following redirecting actions are supported:
•
Redirecting traffic to an interface: redirects packets that require processing by an interface to the
interface. This action applies to only Layer 2 packets, and the target interface must be a Layer 2
interface.
Configuring traffic redirecting
Follow these steps to configure traffic redirecting:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Create a class and enter class
view
traffic classifier
tcl-name
[
operator
{
and
|
or
} ]
—
Configure match criteria
if-match
match-criteria
—
Return to system view
quit
—
Create a behavior and enter
behavior view
traffic behavior
behavior-name
Required
Configure a traffic redirecting
action
redirect interface
interface-type
interface-number
Required
Return to system view
quit
—
Create a policy and enter policy
view
qos policy
policy-name
—
Associate the class with the
traffic behavior in the QoS
policy
classifier
tcl-name
behavior
behavior-name
—
Return to system view
quit
—
To an interface
Applying the QoS policy to an interface
—
To a VLAN
Applying the QoS policy to a VLAN
—
Apply the
QoS policy
Globally
Applying the QoS policy globally
—