13. QoS ATM Traffic Descriptor Profiles

13.1. ATM Traffic Management

The router supports the ATM Forum Traffic Management Specification Version 4.1. The following sections describe the QoS features for ATM Permanent Virtual Connections (PVC).

13.2. QoS Model for ATM-Based Services

This section provides a description of the QoS model used for ATM-based services on the router ATM MDA. Although slight variations of this model are applied on other ATM-capable MDAs, the principles remain the same. An example of a VPLS Service with ATM SAP is shown in Figure 39.

Figure 39:  Hierarchical Scheduling for ATM-Based Services 

When Ethernet frames are sent over an ATM VC, the scheduling of data becomes hierarchical with two main levels: packet level scheduling and per-VC cell level scheduling.

At the first level, frames are queued on a per-CoS (or forwarding class), per-VC basis in order to achieve the proper class of service differentiation for the frames in the same VC. Each Ethernet frame is queued based on the VC dedicated forwarding class queue, as configured in the service egress QoS policy. The packet level scheduling can use HQoS scheduler policy to enforce aggregate bandwidth among a group of queues feeding an ATM VC or to enforce aggregation of bandwidth across all queues of all VCs at a given customer site.

The frame level scheduling is the same for other types of SAP (Ethernet, FR, and PPP) and all the features available on the service ingress and egress QoS policies can be applied.

At the second level, the segmented cells are queued in per-VC queues according to the service category of the ATM traffic descriptor profile applied to the ATM SAP. Scheduling at the ATM level enforces the priority and bandwidth sharing desired at the cell level.

Any discard decision is performed exclusively at the packet level where the context for the frame forwarding class and for the 802.1p bit mapping to a forwarding class is known. When a per-VC queue backs up, a back-pressure scheme is applied such that the frames are held in the per-forwarding class packet queues dedicated to this VC.

This hierarchical scheduling of frames and cells of a given VC terminating on a VPLS instance provides the flexibility to apply policing and shaping on a per-forwarding class basis for the Ethernet frames of each VC as well as the option to shape the aggregate cell flow into the ATM VC back into the customer site.

This QoS model is applied to all router services that include an ATM SAP (VLL, VPLS, IES, and VPRN).

13.3. ATM Service Categories

The router supports the following service categories:

  1. CBR - Constant Bit Rate
  2. Rt-VBR - Real-Time Variable Bit Rate
  3. nrt-VBR - Non Real-Time Variable Bit Rate
  4. UBR/UBR+MIR - Unspecified Bit Rate with Minimum Cell Rate. UBR is a special case of UBR+MIR where MIR=0.

13.4. ATM Traffic Descriptors and QoS Parameters

Table 22 lists the supported ATM traffic descriptors.

Table 22:  ATM Traffic Descriptors  

Service Category

Traffic Descriptors

CBR

P0_1 PIR in kb/s (applies to CLP=0 and CLP=1 flows)

Rt-VBR and nrt-VBR

P0_1 and S0_1 PIR in kb/s (applies to CLP=0 & CLP=1 flows) SIR in kb/s (applies to CLP=0 & CLP=1 flows) MBS in cells (applies to CLP=0 and CLP=1 flows) P0_1 and S0 PIR in kb/s (applies to CLP=0 & CLP=1 flows) SIR in kb/s (applies to CLP=0 flow only) MBS in cells (applies to CLP=0 flow only)

UBR/UBR+MIR

P0_1 PIR in kb/s (applies to CLP=0 & CLP=1 flows) MIR in kb/s (applies to CLP=0 & CLP=1 flows)

13.5. Policing

The policing option, when enabled, applies only for ingress traffic. Similarly, the shaping option, if enabled, applies only for egress traffic. For example, if a traffic descriptor has both options, policing and shaping enabled, the policing option is enforced for the ingress traffic, while the shaping option is enforced for the egress traffic. The policing option is valid for all service categories. The following ATM service category conformance definitions are supported:

  1. P0_1 — CBR, UBR
  2. P0_1andS0_1 — VBR.1
  3. P0_1andS0 — VBR.2
  4. P0_1andS0_Tag — VBR.3

13.6. Shaping

  1. Ingress shaping — ATM layer ingress shaping is not supported. Packet level shaping is supported as per the service ingress QoS policy applied to the ATM SAP.
  2. Egress shaping — ATM layer egress shaping is supported for CBR, rt-VBR, and nrt-VBR VCs. A CBR VC is shaped to a single leaky bucket with parameter PIR. An rt-VBR VC or an nrt-VBR VC is shaped to two leaky buckets with parameters PIR and {SIR, BT}, where BT is the Burst Tolerance and is a function of the MBS parameters configured by the user in the traffic descriptor.
    In the egress direction, packet level shaping is supported as per the service egress QoS policy applied to the ATM SAP.

13.7. ATM Queuing and Scheduling

The router provides a per-VC queuing architecture in the ATM-capable MDAs. In the egress direction towards the ATM port, the scheduling priority at the ATM layer is as follows:

  1. CBR VCs are scheduled with strict priority over all other service categories.
  2. rt-VBR VCs are scheduled next with strict priority over nrt-VBR and UBR VCs.
  3. nrt-VBR shaped VCs are scheduled next with strict priority over nrt-VBR unshaped VCs and UBR VCs.
  4. nrt-VBR unshaped VCs and UBR VCs are scheduled as a common class. Scheduling among these VCs is done using a WRR scheduler where the weight of each VC is determined by the configured SIR for nrt-VBR and by the MIR for UBR VCs. The scheduling is work-conserving, so each VC has access to excess bandwidth in proportion to its SIR/MIR. Under congestion, the performance of each VC degrades proportional to the weight of the VC.

13.8. Congestion Avoidance

  1. PPD — An ATM cell discarded in the middle of an AAL5 packet makes the entire packet unusable. The PPD mechanism attempts to minimize the congestion problems that can occur at the higher layers (TCP) due to ATM cell discards.
    With PPD, when a cell is discarded by the ATM policing function, no other cells for that PDU are accepted, with exception of the “tail cell” that is sent to inform the far end that the end of a frame has arrived.
    PPD is enabled on the ATM SAP part of an AAL5 SDU Apipe VLL service and on all services where the ATM SAP cell stream is reassembled, i.e., IES, VPRN, VPLS, Epipe, and Apipe services.
  2. WRED — Congestion and potential discards are performed on per forwarding class basis in the SAP queues in the IOM; packets that are reassembled in the ATM-capable MDAs take advantage of the application of the WRED congestion avoidance service queues associated with the ATM SAP.
    Depending on the type of XMA or MDA that supports ATM encapsulation, other XMA- or MDA-specific packet congestion control mechanisms operating on per-SAP queues in the XMA or MDA are also applied.

13.9. Basic Configurations

A basic ATM QoS traffic descriptor profile must conform to the following:

  1. Each policy must have a unique policy ID.
  2. Default values can be modified but parameters cannot be deleted.

13.9.1. Creating an ATM-TD-Profile QoS Policy

Configuring and applying QoS policies and profiles other than the default policy is optional.

To create an ATM QoS traffic descriptor profile, define the following:

  1. Assign a policy ID (policy number). The system will not dynamically assign an ID.
  2. Include a description. The description provides a brief overview of policy features.
  3. Configure traffic attributes of the ATM traffic profile.
  4. Determine whether egress shaping should occur.

The following displays an atm-td-profile policy configuration:

*A:ALA-48>config>qos>atm-td-profile# info
----------------------------------------------
            description "TEST ATM TD profile policy"
            service-category nrt-vbr
            traffic sir 4000 pir 5000
            clp-tagging
----------------------------------------------
*A:ALA-48>config>qos>atm-td-profile#

13.9.2. Applying ATM-TD-Profile Policies

Apply ATM QoS traffic descriptor profiles to the following entities:

13.9.2.1. ATM VLL (Apipe) SAPs

Use the following CLI syntax to apply ATM QoS traffic descriptor profile policies to Apipe SAPs on ingress and egress. This command applies only to the 7750 SR and 7950 XRS.

CLI Syntax:
config>service>apipe>sap# atm
egress
traffic-desc traffic-desc-profile-id
ingress
traffic-desc traffic-desc-profile-id

13.9.2.2. Epipe SAPs

Use the following CLI syntax to apply ATM QoS traffic descriptor profile policies to Epipe SAPs on ingress and egress.

CLI Syntax:
config>service>epipe>sap# atm
egress
traffic-desc traffic-desc-profile-id
ingress
traffic-desc traffic-desc-profile-id

13.9.2.3. IES SAPs

Use the following CLI syntax to apply ATM QoS traffic descriptor profile policies to IES SAPs on ingress and egress.

CLI Syntax:
config>service>ies>if>sap# atm
egress
traffic-desc traffic-desc-profile-id
ingress
traffic-desc traffic-desc-profile-id

13.9.2.4. Ipipe SAPs

Use the following CLI syntax to apply ATM QoS traffic descriptor profile policies to Ipipe SAPs on ingress and egress.

CLI Syntax:
config>service>ipipe>sap# atm
egress
traffic-desc traffic-desc-profile-id
ingress
traffic-desc traffic-desc-profile-id

13.9.2.5. VPRN SAPs

Use the following CLI syntax to apply ATM QoS traffic descriptor profile policies to VPRN SAPs on ingress and egress. This command applies only to the 7750 SR and 7950 XRS.

CLI Syntax:
config>service>vprn>if>sap# atm
egress
traffic-desc traffic-desc-profile-id
ingress
traffic-desc traffic-desc-profile-id

13.9.2.6. VPLS SAPs

Use the following CLI syntax to apply ATM QoS traffic descriptor profile policies to VPLS SAPs on ingress and egress.

CLI Syntax:
config>service>vpls>sap# atm
egress
traffic-desc traffic-desc-profile-id
ingress
traffic-desc traffic-desc-profile-id

13.9.3. Default ATM-TD-Profile Policy Values

The default ATM QoS traffic descriptor profile is identified as “Default Traffic Descriptor”. The default profile cannot be edited or deleted. Table 23 lists default profile parameters.

Table 23:  ATM-TD-Profile Defaults  

Field

Default

atm-td-profile traffic-desc-profile-id

1

description

“Default Traffic Descriptor”

service-category

ubr

traffic

no traffic

policing

no policing

clp-tagging

no clp-tagging

descriptor-type

P0_1

shaping

no shaping

The following output displays the default configuration:

A:ALA-48>config>qos# info detail
...
#------------------------------------------
echo "QoS Slope/Queue Policies Configuration"
#------------------------------------------
        atm-td-profile 1 create
            description "Default Traffic Descriptor"
            service-category ubr
            no traffic
            no policing
            no clp-tagging
            descriptor-type P0_1
            no shaping
        exit
        atm-td-profile 2 create
...
----------------------------------------------
A:ALA-48>config>qos# 

13.10. Service Management Tasks

This section discusses QoS ATM traffic descriptor profile service management tasks.

13.10.1. Removing a Profile from the QoS Configuration

The default ATM traffic descriptor profile cannot be deleted.

A:ALA-48>config>qos# no atm-td-profile 1
MINOR: ATM #1206 Cannot change Default Traffic Descriptor
A:ALA-48>config>qos#

To delete an ATM QoS traffic descriptor profile, enter the following command:

CLI Syntax:
config>qos# no atm-td-profile traffic-desc-profile-id
Example:
config>qos# no atm-td-profile 2

13.10.2. Copying and Overwriting Profiles

An existing profile can be copied, renamed with a new profile ID value, or used to overwrite an existing profile ID. The overwrite option must be specified or an error occurs if the destination profile ID exists.

CLI Syntax:
config>qos> copy atm-td-profile src-prof dst-prof [overwrite]
Example:
A:ALA-48>config>qos# copy atm-td-profile 2 3
MINOR: CLI destination (3) exists use {overwrite}.
A:ALA-48>config>qos# copy atm-td-profile 2 3 overwrite
A:ALA-48>config>qos#

13.10.3. Editing QoS Policies

Existing policies and entries in the CLI can be edited. The changes are applied immediately to all services where this policy is applied. To prevent configuration errors, copy the policy to a work area, make the edits, then write over the original policy.