This white paper provides the guidelines for the QOS implementation in the DSL environment
It also demonstrates the auto-degradation of the Service category/Class of Service parameters or the Service category/Class of Service itself on the PVC using different scenarios when the DSL line trains at a rate lower than the configured guaranteed bandwidth.
Guidelines to be Followed while Configuring Layer 2/Layer 3 QOS on PVC
In the DSL world, PVCs are provisioned by the Service Provider based upon certain service contract for a guaranteed traffic rate and hence provide reliable service to all customers. Service contracts also aid the Service Providers to police the traffic exceeding the requested/granted rate.
DSL flavors of Cisco 800/1800 series Integrated Services Routers fixed configuration models and Cisco DSL High speed WAN interface cards (HWICs) /WAN interface cards (WICs) support PVC with the following service categories to provide the bandwidth guarantee for various applications. (Appendix A provides information on all platforms and DSL HWICs/WICs supporting these features)
Table 1.
Service Category
Application Examples
CBR (for data, using AAL5): Useful for delay sensitive application. Provides bandwidth and delay guarantees.
Audio library, videoconferencing, video on demand
rt-VBR: Useful for burstier delay-sensitive applications. Provides bandwidth and delay
guarantees.
Voice over ATM (VoATM), compressed voice over IP, video conferencing
nrt-VBR: Useful for bursty traffic. Provides bandwidth guarantee.
Interactive, bursty applications such as airline reservations or banking transactions
UBR: Useful for real best effort where there are no guarantees.
File transfer, e-mail, library browsing, fax transmission, Telnet, LAN and remote office interconnections
UBR+: Useful for best effort traffic requiring minimum throughput guarantees.
Same as UBR, but seek possible minimum bandwidth guarantee
The user can choose the appropriate Service category to suffice his network demands and configure the parameters for the Service categories inline with the Service contract of the PVC.
It is important for the user to realize that they are not necessarily restricted to a particular type of service category to carry out their ATM traffic nor they are bound to establish the same service categories on both ends of the link. However, each service category uses certain traffic parameters that best define the transmission characteristic of a type of traffic and will help them to optimize their flow and to meet the requirement of their traffic contract.
Following table provides information on the various traffic parameters available for the different service categories
Table 2.
Service Category
Traffic Parameter Used to Guarantee Cell Rate
CBR
PCR
nrt-VBR
SCR
rt-VBR
SCR
UBR +
MCR
UBR
none
In addition, each service category has a default transmission priority associated with it. Therefore, the user will achieve the best use of the bandwidth and optimize the performance for their traffic if they choose the service category that best represents the type of traffic and applications that will be carried over the PVC. The primary thing to keep in mind is that the ATM service category defines how the ATM network devices and other treat the cells of the VC with respect to bandwidth guarantees, cell delays and cell loss.
The next step would be to configure the QOS on the Layer 3 queues using the MQC (Modular QOS CLI) once the service category along with the required parameters is configured on the PVC.
Following are the list of guidelines that need to be taken care while configuring the QOS on the layer 3 Software Queues
• Service policies providing the Layer 3 QOS using CBWFQ/LLQ have to be applied at the PVC level and should not be done at the interface or sub interface level.
• To provide preferential treatment to voice traffic, the hardware queue length has to be modified in such way that congestion is realized at the output queue on each PVC and hence the software queue (Layer 3 queue) stores the packet in the buffer to be treated by the congestion management mechanism such as (CBWFQ/LLQ).
The length of the hardware queue has to be calculated based on applications in the network that need specialized treatment.
Please refer to Appendix B for guidance on determining the ideal value for the hardware queue-limit
The command to modify the length of the hardware queue on per-pvc basis is
Table 3.
Command
Purpose
tx-ring-limit <specify the length of the queue>
Modifies the length of the hardware queue
• Class-Based Traffic shaping is not supported on the DSL interface.
• QOS on Layer 3 queues is not supported on the PVC configured as UBR as there is no bandwidth guarantee provided by the PVC at layer 2. By default all the PVCs are in UBR mode. Hence when the customer requires QOS on Layer 3 queues, the PVC has to be configured as CBR or VBR-rt or VBR-nrt or UBR+ depending on nature of applications in the network.
Deployment Scenarios
Following section focuses on explaining the common deployments done in the field. It also demonstrates the QOS operation at Layer 2 and Layer 3 in each of the scenarios.
Scenario 1:
This is most common scenario, where all the customer traffic flows over single PVC. Bandwidth guarantee at layer two is provided using CBR or VBR or UBR+. Service policy is applied on the PVC to provide layer 3 classifications and bandwidth guarantee for different types of traffic like Voice, Critical data or normal data.
Following scenarios depict the layer 2 and layer 3 QOS functioning on single PVC with different Class of Service at layer 2.
Figure 1. Single PVC with "CBR" Class of Service
In this scenario, PVC is defined with CBR service category having the PCR value of 1500 Kbps. There are two different classes defined to classify the Voice and Critical data information and then bandwidth guarantee is provided to those classes using Service Policy. All other non-classified traffic would fall into the default class which uses Fair-queue for congestion management.
Following are the details on the bandwidth allocation for different applications:
• Class RT: Strict Priority bandwidth of 400 Kbps using LLQ
• Class MC: Assured bandwidth of 200 Kbps using CBWFQ
But as per the setting on the DSLAM profile the line trains-up at only 832 Kbps. Due to this change the CPE automatically downgrades the CBR PVCs PCR rate to 832 Kbps.
Following is the snapshot of the notification sent on the Console:
ADSL_877#
*Mar 21 10:11:56.715: %LINK-3-UPDOWN: Interface ATM0, changed state to up
*Mar 21 10:11:57.715: %LINEPROTO-5-UPDOWN: Line protocol on Interface ATM0, changed state to up
*Mar 21 10:12:02.447: %DSLSAR-1-DOWNGRADEDBW: PCR and SCR for VCD 1 (1/99) has been reduced to 832k 832k due to insufficient upstream bandwidth
To confirm the Congestion management mechanism after the downgrade of the PCR rate, three different streams with the following specification were sent:
Traffic matching the RT class (Voice): 370 PPS (Resultant Layer 3 Throughput sent = PPS*8*Packet size = 370*8*121 = 358 Kbps)
Traffic matching the MC class (Data): 200 PPS (Resultant Layer 3 Throughput sent = PPS*8*Packet size = 200*8*121 = 193 Kbps)
Figure 2. Single PVC with "VBR-rt" Class of Service
In this scenario, PVC is defined with VBR-rt service category having PCR value of 1500 Kbps and SCR value of 1500 Kbps. There are two different classes defined to classify the Voice and Critical data information and then bandwidth guarantee is provided to those classes using Service Policy. All other non-classified traffic would fall into the default class which uses Fair-queue for congestion management.
Following are the details on the bandwidth allocation for different applications:
• Class RT: Strict Priority bandwidth of 400 Kbps using LLQ
• Class MC: Assured bandwidth of 200 Kbps using CBWFQ
But as per the setting on the DSLAM profile the line trains-up at only 832 Kbps. Due to this change the CPE automatically downgrades the VBR-rt PVCs PCR rate and SCR rate to 832 Kbps.
Following is the snapshot of the notification sent on the Console:
ADSL_877#
*Mar 21 10:11:56.715: %LINK-3-UPDOWN: Interface ATM0, changed state to up
*Mar 21 10:11:57.715: %LINEPROTO-5-UPDOWN: Line protocol on Interface ATM0, changed state to up
*Mar 21 10:12:02.447: %DSLSAR-1-DOWNGRADEDBW: PCR and SCR for VCD 1 (1/99) has been reduced to 832k 832k due to insufficient upstream bandwidth
To confirm the Congestion management mechanism after the downgrade of the PCR and SCR, three different streams with the following specification were sent:
Traffic matching the RT class (Voice): 370 PPS (Resultant Layer 3 Throughput sent = PPS*8*Packet size = 370*8*121 = 358 Kbps)
Traffic matching the MC class (Data): 200 PPS (Resultant Layer 3 Throughput sent = PPS*8*Packet size = 200*8*121 = 193 Kbps)