66
Default level
2: System level
Parameters
policy-name
: Policy name, a string of 1 to 31 characters.
inbound
: Applies the QoS policy to the incoming packets on all ports.
outbound
: Applies the QoS policy to the outgoing packets on all ports.
Description
Use the
qos apply policy global
command to apply a QoS policy globally. A global QoS policy takes
effect on all inbound or outbound traffic depending on the direction in which the policy is applied.
Use the
undo qos apply policy global
command to remove the QoS policy.
Examples
# Apply the QoS policy
user1
in the inbound direction globally.
<Sysname> system-view
[Sysname] qos apply policy user1 global inbound
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 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.
Related commands:
classifier behavior
and
qos apply policy
.
Examples
# Define QoS policy
user1
.
<Sysname> system-view
[Sysname] qos policy user1
[Sysname-qospolicy-user1]