R3166-R3206-HP High-End Firewalls Network Management Command Reference-6PW101

Table Of Contents
183
To successfully apply a policy to an interface, make sure that the total bandwidth assigned to AF and EF
in the policy is smaller than the available bandwidth of the interface. If the available bandwidth of the
interface is modified to a value smaller the total bandwidth for AF and EF, the applied policy is removed.
Settings in interface view take effect on the current interface.
Examples
# Apply policy USER1 in the outbound direction of GigabitEthernet0/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. The specified policy-name cannot be the name
of the system-defined policy default.
Description
Use the qos policy command to create a policy and enter policy view.
Use the undo qos policy command 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.
Examples
# Define QoS policy user1.
<Sysname> system-view
[Sysname] qos policy user1
[Sysname-qospolicy-user1]