Applying the qos policy to an interface, Applying the qos policy – H3C Technologies H3C S10500 Series Switches User Manual

Page 28

Advertising
background image

20

To do…

Use the command…

Remarks

Associate a class with a behavior
in the policy

classifier tcl-name behavior
behavior-name [ mode
{ dot1q-tag-manipulation |

qppb-manipulation } ]

Required
Repeat this step to create more

class-behavior associations.

The dot1q-tag-manipulation keyword is only for VLAN mapping purposes. For more information about

VLAN mapping, see Layer 2—LAN Switching Configuration Guide.
With the mode qppb-manipulation keyword, a class-behavior association applies only to transmitting

the apply qos-local-id command configuration in the BGP routing policy. The if-match qos-local-id
command in the class matches the QoS-local ID set in the apply qos-local-id command in the routing

policy. For more information, see Layer 3—IP Routing Configuration Guide. Support for this keyword

depends on your switch model.

NOTE:

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.

In a QoS policy with multiple class-to-traffic-behavior associations, if the action of creating an outer
VLAN tag, setting customer network VLAN ID, or setting service provider network VLAN ID is

configured in a traffic behavior, do not configure any other action in this traffic behavior; otherwise, the

QoS policy may not function as expected after it is applied. For more information about the action of
setting customer network VLAN ID or service provider network VLAN ID, see Layer 2—LAN Switching

Configuration Guide.

Applying the QoS policy

You can apply a QoS policy to the following occasions:

An interface—The policy takes effect on the traffic sent or received on the interface.

A user profile—The policy takes effect on the traffic sent or received by the online users of the user
profile.

A VLAN—The policy takes effect on the traffic sent or received on all ports in the VLAN.

Globally—The policy takes effect on the traffic sent or received on all ports.

Control plane—The policy takes effect on the traffic received on the control plane.

NOTE:

You can modify classes, behaviors, and class-behavior associations in a QoS policy applied to an
interface, VLAN, or inactive user profile, or globally. If a class references an ACL for traffic classification,

you can delete or modify the ACL (such as add rules to, delete rules from, and modify rules of the ACL).

If a QoS policy has been applied to an active user profile, you cannot modify classes, behaviors, and
class-behavior associations of the QoS policy, or delete the QoS policy.

The QoS policies applied to ports, to VLANs, and globally are in the descending priority order. If the
system finds a matching QoS policy for the incoming/outgoing traffic, the system stops matching the

traffic against QoS policies.

Applying the QoS policy to an interface

Advertising
This manual is related to the following products: