R3303-HP HSR6800 Routers ACL and QoS Command Reference
67
qos policy
Use qos policy to create a policy and enter policy view.
Use undo qos policy to delete a policy.
Syntax
qos policy policy-name
undo qos policy policy-name
Views
System view
Default command level
2: System level
Parameters
policy-name: Policy name, a string of 1 to 31 characters. The specified policy-name cannot be the name
of the system-defined policy default.
Usage guidelines
To use the undo qos policy command to delete a policy that has been applied to a certain 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 vlan-policy
Use qos vlan-policy to apply a QoS policy to VLANs.
Use undo qos vlan-policy to remove the QoS policy applied to 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 }
Views
System view
Default command level
2: System level
Parameters
policy-name: QoS policy name, a string of 1 to 31 characters.