Follow these steps to apply the QoS policy globally:
To do...
Enter system view
Apply the QoS policy globally
Follow these steps to apply the QoS policy to an interface:
To do...
Enter system view
Enter interface
view
Enter
interface
view or port
Enter port group
group view
view
Apply the policy to the
interface/port group
Follow these steps to apply the QoS policy to a VLAN:
To do...
Enter system view
Apply the QoS policy to VLANs
QoS policies cannot be applied to dynamic VLANs, for example, VLANs created by GVRP.
Displaying and Maintaining QoS Policies
To do...
Display user-defined QoS
policy configuration information
Display QoS policy
configuration on the specified
or all interfaces
Display VLAN QoS policy
configuration on a distributed
device
Use the command...
system-view
qos apply policy policy-name
global inbound
Use the command...
system-view
interface interface-type
interface-number
port-group manual
port-group-name
qos apply policy policy-name
inbound
Use the command...
system-view
qos vlan-policy policy-name
vlan vlan-id-list inbound
Use the command...
display qos policy
user-defined [ policy-name
[ classifier tcl-name ] ]
display qos policy interface
[ interface-type
interface-number ] [ inbound ]
display qos vlan-policy
{ name policy-name | vlan
vlan-id } [ slot slot-number ]
[ inbound | outbound ]
1-3
Remarks
—
Required
Remarks
—
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.
Required
Remarks
—
Required
Remarks
Available in any view
Available in any view
Available in any view