qos apply policy global
Use qos apply policy global to apply a QoS policy globally.
Use undo qos apply policy global to remove a globally applied QoS policy.
Syntax
qos apply policy policy-name global { inbound | outbound }
undo qos apply policy policy-name global { inbound | outbound }
Default
No QoS policy is applied globally.
Views
System view
Predefined user roles
network-admin
Parameters
policy-name: Specifies a QoS policy by its name, a case-sensitive string of 1 to 31 characters.
inbound: Applies the QoS policy in the inbound direction.
outbound: Applies the QoS policy in the outbound direction.
Usage guidelines
A QoS policy globally applied takes effect on all incoming or outgoing traffic, depending on the direction in which the QoS policy is applied.
Examples
# Apply QoS policy user1 globally in the inbound direction.
<Sysname> system-view [Sysname] qos apply policy user1 global inbound