[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]


Compound Shared Shaping Configuration Examples

This section provides configuration examples for compound shared shaping.

VC Compound Shared Shaping Example

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 800–1000 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 500–1000 Kbps of shared bandwidth.


Figure 27: VC Compound Shared Shaping Example

To configure VC compound shared shaping:

  1. Configure the traffic classes, traffic-class groups, and additional scheduler profiles.
  2. Configure the scheduler profile that defines the shared shaper and the profiles that apply the legacy shaper.
  3. host1(config)#scheduler-profile shared-1Mbps
    
    host1(config-scheduler-profile)#shared-shaping-rate 1000000 burst 32768 auto
    
    host1(config)#scheduler-profile 300Kbps
    
    host1(config-scheduler-profile)#shaping-rate 300000
    
    host1(config)#scheduler-profile 200Kbps
    
    host1(config-scheduler-profile)#shaping-rate 200000
    
    
    
  4. Configure the QoS profile.
  5. host1(config)#qos-profile vcSharedShaping
    
    
    
  6. Create group nodes.
  7. host1(config-qos-profile)#atm group AF scheduler-profile default
    
    host1(config-qos-profile)#atm group EF scheduler-profile default
    
    
    
  8. Create VC nodes for each group and for traffic in the default group.
  9. host1(config-qos-profile)#atm-vc node
    
    host1(config-qos-profile)#atm-vc node group AF
    
    host1(config-qos-profile)#atm-vc node group EF
    
    
    
  10. 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.
  11. host1(config-qos-profile)#atm-vc queue traffic-class best-effort scheduler-profile 
    shared-1mbps
    
    host1(config-qos-profile)#atm-vc queue traffic-class video scheduler-profile 
    300Kbps
    
    host1(config-qos-profile)#atm-vc queue traffic-class voice scheduler-profile 
    200Kbps
    
    host1(config-qos-profile)#exit
    
    
    
  12. Attach the QoS profile to an ATM subinterface.
  13. host1(config)#interface atm 11/0.1
    
    host1(config-interface)#qos-profile vcSharedShaping
    
    host1(config-interface)#exit
    
    
    

In 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:

  1. VC 1 EF group node
  2. VC 1 AF group node
  3. VC 1 best effort node

To display the sample shared shaper configuration:

host1#show shared-shaper atm 11/0.1

                 shared  current
                 shaping shaping                           shaping
   interface      rate    rate           resource           rate
---------------- ------- ------- ------------------------- -------
atm-vc ATM11/0.1 1000000 compound best-effort atm-vc queue       
                                  atm-vc best-effort node        
                                  EF voice atm-vc queue     200000
                                  AF video atm-vc queue     300000
atm-vc ATM11/0.2 1000000 compound best-effort atm-vc queue       
                                  atm-vc best-effort node        
                                  EF voice atm-vc queue     200000
                                  AF video atm-vc queue     300000

 Total shared shapers: 2
 Total constituents:   8
 Total failovers:      0

VP Compound Shared Shaping Example

Figure 28 shows a compound shared shaper for a VP interface. VP shared shaping enables a shared shaper to apply to all the aggregate rates of all VCs within the VP.

In this example, the VP is shaped to a compound shared rate of 5 Mbps. The voice traffic gets strict priority scheduling for up to 400 Kbps of the shared rate on the VP. The video traffic gets up to 2 Mbps of the remaining 4.6–5 Mbps on the VP. Finally, the data traffic has the last claim to the remaining 2.6–3 Mbps of shared VP bandwidth.

This configuration enables data traffic to flow at 2.6 Mbps when voice and video are both using their limit. When both voice and video are quiescent, data can flow at the full 5 Mbps shared rate.

The QoS profile used in this example is appropriate for low-CDV mode. If the provider configures a shapeless VP tunnel in the SAR, QoS sets the SAR shaper for the VP to match the 5 Mbps shared-shaping rate, and the CDV is bounded for the VP tunnel. VP-level queuing does not guarantee fairness to the voice and video for each VC.


Figure 28: VP Compound Shared Shaping Example

To configure VP compound shared shaping:

  1. Configure the traffic classes, traffic-class groups, and additional scheduler profiles.
  2. Configure the scheduler profile that defines the shared shaper and the profiles that apply the legacy shaper.
  3. host1(config)#scheduler-profile shared-5Mbps
    
    host1(config-scheduler-profile)#shared-shaping-rate 5000000 burst 32768 auto
    
    host1(config-scheduler-profile)#exit
    
    
    
  4. Configure the scheduler profile for AF (video) traffic.
  5. host1(config)#scheduler-profile 2Mbps
    
    host1(config-scheduler-profile)#shaping-rate 2000000
    
    
    
  6. Configure the scheduler profile for EF (voice) traffic.
  7. host1(config)#scheduler-profile 400Kbps
    
    host1(config-scheduler-profile)#shaping-rate 400000
    
    host1(config-scheduler-profile)#exit
    
    
    
  8. Configure the QoS profile.
  9. host1(config)#qos-profile vpSharedShaping
    
    
    
  10. Create group nodes.
  11. host1(config-qos-profile)#atm group AF scheduler-profile default
    
    host1(config-qos-profile)#atm group EF scheduler-profile default
    
    
    
  12. Create VP nodes for each group and for traffic in the default group. The scheduler profile containing the shared-shaping rate is applied to the VP node that is in the default group and contains the best-effort queue.
  13. host1(config-qos-profile)#atm-vp node scheduler-profile shared-5Mbps
    
    host1(config-qos-profile)#atm-vp node group AF scheduler-profile 2Mbps
    
    host1(config-qos-profile)#atm-vp node group EF scheduler-profile 400Kbps
    
    
    
  14. Create a VC node for the default group.
  15. host1(config-qos-profile)#atm-vc node
    
    
    
  16. Create queues for the best-effort, video, and voice traffic.
  17. host1(config-qos-profile)#atm-vc queue traffic-class best-effort
    
    host1(config-qos-profile)#atm-vc queue traffic-class AF
    
    host1(config-qos-profile)#atm-vc queue traffic-class EF
    
    host1(config-qos-profile)#exit
    
    
    
  18. Attach the QoS profile to an ATM subinterface.
  19. host1(config)#interface atm 11/0.1
    
    host1(config-interface)#qos-profile vpSharedShaping
    
    
    

In this example, the constituents of the VP shared shaper are the VP 1 default group node, the VP 1 Group EF node, and the VP 1 Group AF node. The available bandwidth is strictly allocated in the following order:

  1. VP1 EF group node
  2. VP1 AF group node
  3. VP1 default group node

Related Topics


[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]