7 traffic redirecting configuration, Traffic redirecting overview, Traffic redirecting – H3C Technologies H3C S5120 Series Switches User Manual
Page 373: Configuring traffic redirecting, Traffic redirecting configuration

7-1
7
Traffic Redirecting Configuration
When configuring traffic redirecting, go to these sections for information you are interested in:
z
z
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 S5120-SI series can redirect 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…
Use the command…
Remarks
Enter system view
system-view
—
Create a class and enter
class view
traffic classifier tcl-name [ operator
{ and | or } ]
—
Configure the match criteria
if-match match-criteria
—
Exit class 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
Optional
Exit behavior 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
—
Exit policy view
quit
—
Apply the QoS policy to an
interface
—