Table Of Contents
QoS Policy Support for L2VPN ATM PVPs
Prerequisites for QoS Policy Support for L2VPN ATM PVPs
Restrictions for QoS Policy Support for L2VPN ATM PVPs
Information About QoS Policy Support for L2VPN ATM PVPs
How to Configure QoS Policy Support for L2VPN ATM PVPs
Enabling a Service Policy in ATM PVP Mode
Enabling Traffic Shaping in ATM PVP Mode
Configuration Examples for QoS Policy Support for L2VPN ATM PVPs
Enabling Traffic Shaping in ATM PVP Mode: Example
Feature Information for QoS Policy Support for L2VPN ATM PVPs
QoS Policy Support for L2VPN ATM PVPs
First Published: February 27, 2009Last Updated: November 20, 2009This document explains how to configure Quality of Service (QoS) Policy Support for Layer 2 Virtual Private Network (L2VPN) ATM permanent virtual paths (PVPs). That is, it explains how to configure QoS policies in ATM PVP mode for L2VPNs.
Finding Feature Information
Your software release may not support all the features documented in this module. For the latest feature information and caveats, see the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the "Feature Information for QoS Policy Support for L2VPN ATM PVPs" section.
Use Cisco Feature Navigator to find information about platform support and Cisco IOS and Catalyst OS software image support. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.
Contents
•
Prerequisites for QoS Policy Support for L2VPN ATM PVPs
•
Restrictions for QoS Policy Support for L2VPN ATM PVPs
•
Information About QoS Policy Support for L2VPN ATM PVPs
•
How to Configure QoS Policy Support for L2VPN ATM PVPs
•
Configuration Examples for QoS Policy Support for L2VPN ATM PVPs
•
Feature Information for QoS Policy Support for L2VPN ATM PVPs
Prerequisites for QoS Policy Support for L2VPN ATM PVPs
Before configuring QoS policies on L2VPN ATM PVPs, you should understand the concepts and configuration instructions in the following document:
Restrictions for QoS Policy Support for L2VPN ATM PVPs
The following restrictions apply to the QoS Policy Support for L2VPN ATM PVPs feature:
•
The Cisco 7600 series router does not support any queueing features in ATM PVP mode.
•
When you enable a policy in PVP mode, do not configure ATM rates on the VCs that are part of the PVP. The VCs should be unspecified bit rate (UBR) VCs only.
•
If VCs are part of a PVP that has a policy configured, you cannot configure ATM VC traffic shaping.
•
Cisco IOS Release 12.2(33)SRE does not support cell-based ATM shaping per PVP.
•
You cannot configure a queueing policy on an ATM PVP with UBR.
•
You cannot configure queueing-based policies with UBR traffic shaping.
Information About QoS Policy Support for L2VPN ATM PVPs
Before configuring the QoS Policy Support for L2VPN ATM PVPs feature, you should understand the following concepts:
MQC Structure
The modular QoS command-line interface (CLI) (MQC) structure allows you to define a traffic class, create a traffic policy, and attach the traffic policy to an interface.
The MQC structure is the result of the following these three high-level steps.
1.
Define a traffic class by using the class-map command. A traffic class is used to classify traffic.
2.
Create a traffic policy by using the policy-map command. (The terms traffic policy and policy map are often synonymous.) A traffic policy (policy map) contains a traffic class and one or more QoS features that will be applied to the traffic class. The QoS features in the traffic policy determine how to treat the classified traffic.
3.
Attach the traffic policy (policy map) to the interface by using the service-policy command.
Elements of a Traffic Class
A traffic class contains three major elements: a traffic class name, a series of match commands, and, if more than one match command is used in the traffic class, instructions on how to evaluate these match commands.
The match commands are used for classifying packets. Packets are checked to determine whether they meet the criteria specified in the match commands; if a packet meets the specified criteria, that packet is considered a member of the class. Packets that fail to meet the matching criteria are classified as members of the default traffic class.
Elements of a Traffic Policy
A traffic policy contains three elements: a traffic policy name, a traffic class (specified with the class command), and the command used to enable the QoS feature.
The traffic policy (policy map) applies the enabled QoS feature to the traffic class once you attach the policy map to the interface (by using the service-policy command).
Note
A packet can match only one traffic class within a traffic policy. If a packet matches more than one traffic class in the traffic policy, the first traffic class defined in the policy will be used.
How to Configure QoS Policy Support for L2VPN ATM PVPs
The following sections explain how to configure QoS operations in ATM PVP mode:
•
Enabling a Service Policy in ATM PVP Mode (required)
•
Enabling Traffic Shaping in ATM PVP Mode (required)
•
Enabling Matching of ATM VCIs (required)
Enabling a Service Policy in ATM PVP Mode
You can enable a service policy in ATM PVP mode. You can also enable a service policy on PVP on a multipoint subinterface.
Restrictions
•
The Cisco 7600 series router does not support a service policy that uses the match atm-vci command in the egress direction.
•
The show policy-map interface command does not display service policy information for ATM interfaces.
•
Cisco IOS Release 12.2(33)SRE does not support cell-based ATM shaping per PVP.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
interface atm slot/port
4.
atm pvp vpi l2transport
5.
service-policy [input | output] policy-map-name
6.
xconnect peer-router-id vcid encapsulation mpls
7.
end
DETAILED STEPS
Enabling Traffic Shaping in ATM PVP Mode
Traffic shaping commands are supported in ATM PVP mode. For egress VP shaping, one configuration command is supported for each ATM service category. The supported service categories are constant bit rate (CBR), UBR, variable bit rate-nonreal time (VBR-NRT), and variable bit rate real-time (VBR-RT).
Restrictions
•
The Cisco 7600 series router does not support traffic shaping.
•
Cisco IOS Release 12.2(33)SRE does not support cell-based ATM shaping per PVP.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
interface atm slot/port
4.
atm pvp vpi l2transport
5.
ubr pcr
or
cbr pcr
or
vbr-nrt pcr scr mbs
or
vbr-rt pcr scr mbs6.
xconnect peer-router-id vcid encapsulation mpls
DETAILED STEPS
Enabling Matching of ATM VCIs
You can enable packet matching on an ATM VCI or range of VCIs using the match atm-vci command in class map configuration mode.
Restrictions
•
When you configure the match atm-vci command in class map configuration mode, you can add this class map to a policy map that can be attached only to an ATM VP.
•
On the Cisco 7600 series router, the match atm-vci command is supported only in the ingress direction on an ATM VP.
•
Cisco IOS Release 12.2(33)SRE does not support cell-based ATM shaping per PVP.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
class-map class-map-name [match-all | match-any]
4.
match atm-vci vc-id [-vc-id]
5.
end
DETAILED STEPS
Configuration Examples for QoS Policy Support for L2VPN ATM PVPs
The following section shows an example of the QoS Policy Support for L2VPN ATM PVPs feature:
•
Enabling Traffic Shaping in ATM PVP Mode: Example
Enabling Traffic Shaping in ATM PVP Mode: Example
The following example enables traffic shaping in ATM PMP mode.
interface atm 1/0atm pvp 100 l2transportubr 1000xconnect 10.11.11.11 777 encapsulation mplsatm pvp 101 l2transportcbr 1000xconnect 10.11.11.11 888 encapsulation mplsatm pvp 102 l2transportvbr-nrt 1200 800 128xconnect 10.11.11.11 999 encapsulation mplsAdditional References
The following sections provide references related to the QoS Policy Support for L2VPN ATM PVPs feature.
Related Documents
Standards
MIBs
MIB MIBs Link•
None
To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL:
RFCs
Technical Assistance
Feature Information for QoS Policy Support for L2VPN ATM PVPs
Table 1 lists the release history for this feature.
Not all commands may be available in your Cisco IOS software release. For release information about a specific command, see the command reference documentation.
Use Cisco Feature Navigator to find information about platform support and software image support. Cisco Feature Navigator enables you to determine which Cisco IOS and Catalyst OS software images support a specific software release, feature set, or platform. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.
Note
Table 1 lists only the Cisco IOS software release that introduced support for a given feature in a given Cisco IOS software release train. Unless noted otherwise, subsequent releases of that Cisco IOS software release train also support that feature.
CCDE, CCENT, CCSI, Cisco Eos, Cisco Explorer, Cisco HealthPresence, Cisco IronPort, the Cisco logo, Cisco Nurse Connect, Cisco Pulse, Cisco SensorBase, Cisco StackPower, Cisco StadiumVision, Cisco TelePresence, Cisco TrustSec, Cisco Unified Computing System, Cisco WebEx, DCE, Flip Channels, Flip for Good, Flip Mino, Flipshare (Design), Flip Ultra, Flip Video, Flip Video (Design), Instant Broadband, and Welcome to the Human Network are trademarks; Changing the Way We Work, Live, Play, and Learn, Cisco Capital, Cisco Capital (Design), Cisco:Financed (Stylized), Cisco Store, Flip Gift Card, and One Million Acts of Green are service marks; and Access Registrar, Aironet, AllTouch, AsyncOS, Bringing the Meeting To You, Catalyst, CCDA, CCDP, CCIE, CCIP, CCNA, CCNP, CCSP, CCVP, Cisco, the Cisco Certified Internetwork Expert logo, Cisco IOS, Cisco Lumin, Cisco Nexus, Cisco Press, Cisco Systems, Cisco Systems Capital, the Cisco Systems logo, Cisco Unity, Collaboration Without Limitation, Continuum, EtherFast, EtherSwitch, Event Center, Explorer, Follow Me Browsing, GainMaker, iLYNX, IOS, iPhone, IronPort, the IronPort logo, Laser Link, LightStream, Linksys, MeetingPlace, MeetingPlace Chime Sound, MGX, Networkers, Networking Academy, PCNow, PIX, PowerKEY, PowerPanels, PowerTV, PowerTV (Design), PowerVu, Prisma, ProConnect, ROSA, SenderBase, SMARTnet, Spectrum Expert, StackWise, WebEx, and the WebEx logo are registered trademarks of Cisco and/or its affiliates in the United States and certain other countries.
All other trademarks mentioned in this document or website are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (1002R)
Any Internet Protocol (IP) addresses used in this document are not intended to be actual addresses. Any examples, command display output, and figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses in illustrative content is unintentional and coincidental.
© 2009 Cisco Systems, Inc. All rights reserved.
