Example: Compound Shared Shaping for ATM VCs
Figure 27 illustrates a typical DSL triple-play configuration, involving voice, video, and data traffic. In this example, a total of 1 Mbps of bandwidth is allocated to voice, video, and best-effort data traffic associated with the VC 1 logical interface.
The voice queue in the EF traffic-class group for VC 1 is a strict constituent that has first claim on up to 200 Kbps of the shared bandwidth. The video queue in the AF traffic-class group is a strict constituent that can claim up to 300 Kbps of the remaining 8001000 Kbps of shared bandwidth. The best-effort queue for logical interface VC 1 is a strict constituent that has the last claim to the remaining 5001000 Kbps of shared bandwidth.
![]()
To configure VC compound shared shaping:
- Configure the traffic classes, traffic-class groups, and additional scheduler profiles.
- Configure the scheduler profile that defines the shared shaper and the profiles that apply the legacy shaper.
host1(config)#scheduler-profile shared-1Mbpshost1(config-scheduler-profile)#shared-shaping-rate 1000000 burst 32768 autohost1(config)#scheduler-profile 300Kbpshost1(config-scheduler-profile)#shaping-rate 300000host1(config)#scheduler-profile 200Kbpshost1(config-scheduler-profile)#shaping-rate 200000- Configure the QoS profile.
host1(config)#qos-profile vcSharedShaping- Create group nodes.
host1(config-qos-profile)#atm group AF scheduler-profile defaulthost1(config-qos-profile)#atm group EF scheduler-profile default- Create VC nodes for each group and for traffic in the default group.
host1(config-qos-profile)#atm-vc nodehost1(config-qos-profile)#atm-vc node group AFhost1(config-qos-profile)#atm-vc node group EF- Create queues for the best-effort, video, and voice traffic. Apply the scheduler profile that defines the shared-shaping rate to the best-effort queue. Apply the legacy shaper profiles to the voice and video traffic queues.
host1(config-qos-profile)#atm-vc queue traffic-class best-effort scheduler-profile shared-1mbpshost1(config-qos-profile)#atm-vc queue traffic-class video scheduler-profile 300Kbpshost1(config-qos-profile)#atm-vc queue traffic-class voice scheduler-profile 200Kbpshost1(config-qos-profile)#exit- Attach the QoS profile to an ATM subinterface.
host1(config)#interface atm 11/0.1host1(config-interface)#qos-profile vcSharedShapinghost1(config-interface)#exitIn this example, the constituents of the VC shared shaper are the VC 1 best effort node, the VC 1 Group EF node, and the VC 1 Group AF node. The available bandwidth is strictly allocated in the following order:
To display the sample shared shaper configuration:
host1#show shared-shaper atm 11/0.1shared currentshaping shaping shapinginterface rate rate resource rate---------------- ------- ------- ------------------------- -------atm-vc ATM11/0.1 1000000 compound best-effort atm-vc queueatm-vc best-effort nodeEF voice atm-vc queue 200000AF video atm-vc queue 300000atm-vc ATM11/0.2 1000000 compound best-effort atm-vc queueatm-vc best-effort nodeEF voice atm-vc queue 200000AF video atm-vc queue 300000Total shared shapers: 2Total constituents: 8Total failovers: 0