Command Manual – QoS
H3C S7500E Series Ethernet Switches
Chapter 2 QoS Policy Configuration Commands
2-27
2.3.7 qos apply policy global
Syntax
qos apply policy policy-name global
{
inbound | outbound
}
undo qos apply policy global
{
inbound | outbound
}
View
System view
Parameters
policy-name
: Policy name.
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 QoS
policy applied globally 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 cancel the global application of
the QoS policy.
Note that, when you apply a QoS policy with the
qos apply policy global
command,
support for the
inbound
/
outbound
keyword depends on the actions defined in the
traffic behavior and LPU types, as described in
Table 2-10
.
Examples
# Apply the QoS policy
user1
in the inbound direction globally.
<Sysname> system-view
[Sysname] qos apply policy user1 global inbound
2.3.8 qos policy
Syntax
qos policy
policy-name
undo qos policy
policy-name
View
System view
Parameters
policy-name
: Name of the policy to be created.