Configuring a qos policy, Applying the qos policy – H3C Technologies H3C S7500E Series Switches User Manual
Page 377

13-2
z
Configure a QoS policy, that is, to configure the match criteria and a redirecting action for policy
routing.
z
Apply the QoS policy, that is, to define the occasion to which the policy routing applies.
Configuring a QoS Policy
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 next-hop { ipv4-add1
[ ipv4-add2 ] | ipv6-add1 [ interface-type
interface-number ] [ ipv6-add2
[ 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
—
To implement policy routing successfully, ensure that the next hop address specified in the redirect
action exist and the outgoing interface is not a tunnel interface. If you fail to do that, the matching traffic
will be dropped.
Applying the QoS Policy
When configuring policy routing, you can apply a QoS policy to different occasions:
z
Applied globally, the policy takes effect on the traffic sent or received on all ports.
z
Applied to an interface, the policy takes effect on the traffic sent or received on the interface.
z
Applied to a VLAN, the policy takes effect on the traffic sent or received on all ports in the VLAN.