Example: QoS Profile Attachment to Port
In Figure 38, the major ATM interface, 11/0, has QoS profile qp1 explicitly attached. The major ATM interface has three ATM subinterfaces configured:
- ATM 11/0.1—No QoS profile is explicitly attached
- ATM 11/0.2—QoS profile qp2 is attached
- ATM 11/0.3—No QoS profile is explicitly attached
The qp1 profile overrides the QoS port-type profile, atm-default, on subinterfaces 1 and 3. It does not override profile qp2, which was explicitly attached to subinterface 2.
Figure 38: Attaching QoS Profile to ATM Interface and Subinterface

To configure this example:
- Create and configure QoS profile qp1. host1(config)#qos-profile qp-1 host1(config-qos-profile)#atm-vp node scheduler-profile sp1 host1(config-qos-profile)#atm-vc queue traffic-class tc1 scheduler-profile sp1 queue-profile qp1 host1(config-qos-profile)#atm-vc queue traffic-class tc2 scheduler-profile sp2 queue-profile qp2 host1(config-qos-profile)#atm-vc queue traffic-class tc3 scheduler-profile sp3 queue-profile qp3 host1(config-qos-profile)#atm-vc queue traffic-class tc4 scheduler-profile sp4 queue-profile qp4 host1(config-qos-profile)#atm-vc queue traffic-class tc5 scheduler-profile sp5 queue-profile qp5 host1(config-qos-profile)#exit
- Create and configure QoS profile qp2. host1(config)#qos-profile qp2 host1(config-qos-profile)#atm-vp node scheduler-profile sp1 host1(config-qos-profile)#atm-vc queue traffic-class tc1 scheduler-profile sp1 queue-profile qp1 host1(config-qos-profile)#atm-vc queue traffic-class tc2 scheduler-profile sp2 queue-profile qp2 host1(config-qos-profile)#atm-vc queue traffic-class tc3 scheduler-profile sp3 queue-profile qp3 host1(config-qos-profile)#exit
- Attach QoS profile qp1 to ATM interface 11/0. host1(config)#interface atm 11/0 host1(config-if)#qos-profile qp1 host1(config-if)#exit
- Attach QoS profile qp2 to ATM subinterface 11/0.2.host1(config)#interface atm 11/0.2 host1(config-subif)#qos-profile qp2 host1(config-subif)#exit host1(config)#exit
- Display the QoS interface hierarchy for ATM 11/0.
host1#show qos interface-hierarchy interface atm 11/0 qos interface rule traffic scheduler queue t-class profile type type class profile profile group ------- --------- ---- ------- --------- ------- ------- @ATM11/0 atm queue best-effort default default qp1@ATM11/0 atm-vp node sp1 default qp1@ATM11/0 atm-vc queue tc1 sp1 qp1 qp1@ATM11/0 atm-vc queue tc2 sp2 qp2 qp1@ATM11/0 atm-vc queue tc3 sp3 qp3 qp1@ATM11/0 atm-vc queue tc4 sp4 qp4 qp1@ATM11/0 atm-vc queue tc5 sp5 qp5 attachment@ atm-vc ATM11/0.2: qos interface rule traffic scheduler queue t-class profile type type class profile profile group ------- --------- ---- ------- --------- ------- ------- qp2@ATM11/0.2 atm-vp node sp1 default qp2@ATM11/0.2 atm-vc queue tc1 sp1 qp1 qp2@ATM11/0.2 atm-vc queue tc2 sp2 qp2 qp2@ATM11/0.2 atm-vc queue tc3 sp3 qp3 @ATM11/0 atm queue best-effort default default qp1@ATM11/0 atm-vc queue tc4 sp4 qp4 qp1@ATM11/0 atm-vc queue tc5 sp5 qp5
Note that:
- ATM best-effort queues are created on ATM interface @ATM11/0 and ATM 11/0.2.
- ATM 11/0.2 subinterface has three queues (traffic classes tc1, tc2, and tc3) that come from QoS profile qp2. Traffic class tc3 is defined in both QoS profile qp1 and qp2. The QoS profile attached closest to the leaf node is used, however. Traffic class tc3 comes from QoS profile qp2, which is attached to ATM subinterface ATM 11/0.2.
- Queues for traffic classes tc4 and tc5 come from QoS profile qp1, which is attached at the ATM major interface.
Hide Navigation Pane
Show Navigation Pane
SHA1