Command Reference Guide
3Com Router 3000 Ethernet Family
Command Reference Guide
Chapter 2 Congestion Management Configuration
Commands
3Com Corporation
2-40
2.5.26 qos apply policy
Syntax
qos apply policy policy-name { inbound | outbound [ dynamic ] }
undo qos apply policy { inbound | outbound }
View
Interface view
Parameter
inbound: Inbound direction.
outbound: Outbound direction.
policy-name: Policy name.
dynamic: Dynamically applies the policy, but only when MP is enabled.
Description
Use the qos apply policy command to apply a service policy to the interface.
Use the undo qos apply policy command to delete the associated policy from the
interface.
To successfully apply the policy to the interface, you must make sure that the sum of
bandwidth specified for the AF and EF classes in the policy is smaller than the available
bandwidth of the interface. You can modify the available bandwidth of the current
interface. If the sum of their bandwidth still exceeds that modified value, the policy will
be deleted.
For a policy to be applied in the inbound direction, it cannot contain classes associated
with traffic behaviors specified using queue af, queue ef, queue wfq, or gts.
dynamic applies only to the dial-up or virtual template interfaces configured with MP.
Before applying a QoS policy to such a dial-up or VT interface, use the qos
max-bandwidth command to configure adequate bandwidth for running the policy.
However, the policy you applied to the interface is not used immediately. Instead, it is
used dynamically depending on the actual bandwidth condition as follows:
z When the bandwidth of the bundle reaches the policy requirement (bandwidth > ef
+ af), the policy is enabled on the interface; but before that, the default FIFO
queuing applies.
z If bandwidth > ef + af, the policy is enabled to accommodate changes when a
channel comes up, goes down, or joins the bundle.
z When some channels in use are disconnected resulting in inefficient bandwidth
use, FIFO queuing applies.










