3Com S7902E Command Reference Manual - page 1707
2-25
Examples
# Apply the policy named test in the inbound direction of GigabitEthernet2/0/1 port.
[Sysname] interface GigabitEthernet 2/0/1
[Sysname-GigabitEthernet2/0/1] qos apply policy test inbound
qos apply policy global
Syntax
qos apply policy policy-name global
{
inbound | outbound
}
undo qos apply policy global
{
inbound | outbound
}
View
System view
Default Level
2: System Level
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] qos apply policy user1 global inbound
qos policy
Syntax
qos policy
policy-name
undo qos policy
policy-name
View
System view