H3C Technologies H3C S7500E Series Switches User Manual
Page 378
13-3
A QoS policy used for policy routing applies to only traffic received on all ports/an interface/all ports in
a VLAN.
Follow these steps to apply the QoS policy globally:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Apply the QoS policy globally
qos apply policy policy-name
global inbound
Required
Follow these steps to apply the QoS policy to an interface:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter interface
view
interface interface-type
interface-number
Enter
interface
view or port
group view
Enter port group
view
port-group manual
port-group-name
Use either command
Settings in interface view take
effect on the current interface;
settings in port group view take
effect on all ports in the port group.
Apply the policy to the
interface/port group
qos apply policy policy-name
inbound
Required
Follow these steps to apply the QoS policy to a VLAN:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Apply the QoS policy to VLANs
qos vlan-policy policy-name vlan
vlan-id-list inbound
Required
QoS policies cannot be applied to dynamic VLANs, for example, VLANs created by GVRP.