R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101
237
qos apply policy
Syntax
qos apply policy policy-name { inbound | outbound }
undo qos apply policy [ policy-name ] { inbound | outbound }
View
Interface view
Default level
2: System level
Parameters
inbound: Inbound direction.
outbound: Outbound direction.
policy-name: Specifies a policy name, a string of 1 to 31 characters.
Description
Use qos apply policy to apply a QoS policy.
Use undo qos apply policy to remove the QoS policy.
Examples
# Apply policy USER1 in the outbound direction of GigabitEthernet 0/1.
<Sysname> system-view
[Sysname] interface Gigabitethernet 0/1
[Sysname-GigabitEthernet0/1] qos apply policy USER1 outbound
qos policy
Syntax
qos policy policy-name
undo qos policy policy-name
View
System view
Default level
2: System level
Parameters
policy-name: Policy name, a string of 1 to 31 characters.
Description
Use qos policy to create a policy and enter policy view.
Use undo qos policy to delete a policy.
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.
Related commands: classifier behavior and qos apply policy.