Applying the qos policy – H3C Technologies H3C S7500E Series Switches User Manual

Page 37

Advertising
background image

3-6

To do…

Use the command…

Remarks

Create a policy and enter policy

view

qos policy policy-name

Required

Associate a class with a behavior

in the policy

classifier tcl-name behavior

behavior-name [ mode

dot1q-tag-manipulation ]

Required

Specify the

dot1q-tag-manipulation keyword

if the class-behavior association is

defined for VLAN mapping.

z

If an ACL is referenced by a QoS policy for defining traffic match criteria, packets matching the

ACL are organized as a class and the behavior defined in the QoS policy applies to the class

regardless of whether the match mode of the if-match clause is deny or permit.

z

In a QoS policy with multiple class-to-traffic-behavior associations, if the action of creating an

outer VLAN tag, the action of setting customer network VLAN ID, or the action of setting service

provider network VLAN ID is configured in a traffic behavior, we recommend you not to configure

any other action in this traffic behavior. Otherwise, the QoS policy may not function as expected

after it is applied.

z

The do1q-tag-manipulation keyword is applicable to only many-to-one VLAN mapping

configuration. For information about many-to-one VLAN mapping, see VLAN Mapping

Configuration in the Layer 2 - LAN Switching Configuration Guide.

Applying the QoS Policy

You can apply a QoS policy to different occasions:

z

Applied to an interface, the policy takes effect on the traffic sent or received on the interface.

z

Applied to a user profile, the policy takes effect on the traffic sent or received by the online users

of the user profile.

z

Applied to a VLAN, the policy takes effect on the traffic sent or received on all ports in the VLAN.

z

Applied globally, the policy takes effect on the traffic sent or received on all ports.

z

Applied to the control plane, the policy takes effect on the traffic sent or received on the control

plane.

Advertising