beautypg.com

Applying the qos policy to a vlan, Applying the qos policy globally, Qos policy configuration example – H3C Technologies H3C SR8800 User Manual

Page 45

background image

36

NOTE:

You can apply QoS policies to all physical interfaces except interfaces configured with X.25 or LAPB.

The QoS policy applied to the outgoing traffic on an interface does not regulate local packets. Local
packets refer to the critical protocol packets sent by the local system for maintaining the normal
operation of the router. To avoid drop of local packets, QoS does not process them. Commonly used

local packets include link maintenance packets, IS-IS packets, OSPF packets, RIP packets, BGP packets,

LDP packets, RSVP packets, and SSH packets.

Applying the QoS policy to a VLAN

To apply the QoS policy to a VLAN:

Step Command

1.

Enter system view.

system-view

2.

Apply the QoS policy to one or multiple VLANs. qos vlan-policy policy-name vlan vlan-id-list { inbound

| outbound }

NOTE:

You cannot apply QoS policies to dynamic VLANs, for example, VLANs created by GVRP.

Applying the QoS policy globally

You can apply a QoS policy globally to the inbound or outbound direction of all ports.
To apply the QoS policy globally:

Step Command

1.

Enter system view.

system-view

2.

Apply the QoS policy globally.

qos apply policy policy-name global { inbound |
outbound }

NOTE:

If the hardware resources of an interface card are insufficient, applying a QoS policy globally may fail
on the interface card. The system does not automatically roll back the QoS policy configuration already

applied to the main processing unit or other interface cards. To ensure consistency, you must use the

undo qos apply policy global command to manually remove the QoS policy confi

guration applied to

them.

The qos apply policy global command is available only on the SPC cards.

QoS policy configuration example

1.

Network requirements
Configure a QoS policy named test_policy. Associate the traffic behavior test_behavior with the

traffic class test_class in the policy, and apply the policy to the following occasions:

{

The incoming traffic of GigabitEthernet 2/1/1

{

The incoming traffic of VLANs 200, 300, 400, 500, 600, 700, 800, and 900

2.

Configuration procedure

This manual is related to the following products: