Command Reference Guide

3Com Router 5000 Family and Router 6000 Family qos apply policy 75
Command Reference
qos apply policy
Purpose 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.
Syntax qos apply policy policy-name { inbound | outbound [ dynamic ] }
undo qos apply policy { inbound | outbound }
Parameters inbound
Inbound direction.
outbound
Outbound direction.
policy-name
Policy name.
dynamic
Dynamically applies the policy, but only when MP is
enabled.
Example Apply the policy 3Com in the outbound direction of interface Ethernet6/0/0.
[3Com -Ethernet6/0/0] qos apply policy 3COM outbound
View This command can be used in the following views:
Interface view
Description 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:
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.
If bandwidth > ef + af, the policy is enabled to accommodate changes when a
channel comes up, goes down, or joins the bundle.