Applying the QoS policy
Use the qos apply policy command to apply a policy to a physical interface or ATM PVC. You can apply a policy to multiple physical interfaces or ATM PVCs.
Configuration restrictions and guidelines
You can apply a QoS policy configured with various QoS actions (including remark, car, gts, queue af, queue ef, queue wfq, wred, and so on) to common physical interfaces and the VT interfaces used by MP.
An inbound QoS policy cannot contain a GTS action or any of these queuing actions: queue ef, queue af, or queue wfq.
You must enable the rate limit function for the queuing function to take effect on these interfaces: tunnel interfaces, subinterfaces, HDLC link bundle interfaces, and VT/dialer interfaces configured with PPPoE, PPPoA, PPPoEoA, PPPoFR, or MPoFR (frame relay traffic shaping is not enabled on the frame relay interface). At the same time, you must configure the qos max-bandwidth command to provide base bandwidth for CBQ bandwidth calculation.
Configuration procedure
To apply a policy to an interface or ATM PVC:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter interface view, port group view, or PVC view. |
| Settings in interface view take effect on the current interface. Settings in port group view take effect on all ports in the port group. Settings in PVC view take effect on the current PVC. |
3. Apply a policy to the interface or PVC. | qos apply policy policy-name { inbound | outbound } | N/A |