Command Reference Guide
68
Default
No QoS policy is configured.
Views
System view
Predefined user roles
network-admin
Parameters
policy-name: QoS policy name, a case-sensitive string of 1 to 31 characters.
Usage guidelines
To use the undo qos policy command to delete a QoS policy that has been applied to an object, you must
first remove it from the object.
Examples
# Define QoS policy user1.
<Sysname> system-view
[Sysname] qos policy user1
[Sysname-qospolicy-user1]
Related commands
• classifier behavior
• qos apply policy
• qos apply policy global
• qos vlan-policy
qos vlan-policy
Use qos vlan-policy to apply a QoS policy to the specified VLANs.
Use undo qos vlan-policy to remove the QoS policy from the specified VLANs.
Syntax
qos vlan-policy policy-name vlan vlan-id-list { inbound | outbound }
undo qos vlan-policy policy-name vlan vlan-id-list { inbound | outbound }
Default
No QoS policy is applied to a VLAN.
Views
System view
Predefined user roles
network-admin
Parameters
policy-name: Specifies a QoS policy name, a case-sensitive string of 1 to 31 characters.
vlan-id-list: Specifies a list of up to eight VLAN IDs. A VLAN ID is in the range of 1 to 4094. You can enter
individual discontinuous VLAN IDs and VLAN ID ranges in the form of start-vlan-id to end-vlan-id where