Page 1
Cisco 10000 Series Router Quality of Service Configuration Guide February 25, 2013 Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 http://www.cisco.com Tel: 408 526-4000 800 553-NETS (6387) Fax: 408 527-0883 Text Part Number: OL-7433-09...
Page 2
OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: www.cisco.com/go/trademarks.
Page 7
Simultaneous QoS Policy Map on Interface and PPP Session—A-DSLAM Case 1-60 VLAN Tag-Based Quality of Service 1-60 Related Documentation 1-61 Classifying Traffic C H A P T E R Traffic Classification Using Class Maps Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
Page 8
Policy Map Actions—Releases Prior to Cisco IOS Release 12.0(17)SL Policy Map Actions—Cisco IOS Release 12.0(17)SL and Later Releases 3-10 Policy Map Actions—Cisco IOS Release 12.0(20)ST and Later Releases 3-10 Cisco 10000 Series Router Quality of Service Configuration Guide viii OL-7433-09...
Page 9
Attaching QoS Service Policies to an ATM PVC Range and an ATM PVC in a Range Attaching Frame Relay QoS Service Policies 4-11 Feature History for Frame Relay QoS 4-12 Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
Page 10
4-34 Related Documentation 4-36 Distributing Bandwidth Between Queues C H A P T E R Bandwidth Distribution Between Queues Feature History for Bandwidth Distribution Between Queues Interfaces Supporting Bandwidth Distribution Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
Page 11
Feature History for Traffic Policing Policing Actions Single-Rate Color Marker for Traffic Policing Feature History for the Single-Rate Color Marker Configuration Commands for the Single-Rate Color Marker police Command (Single-Rate) Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
Page 12
Avoiding Bandwidth Starvation Due to Priority Services 6-25 Bandwidth and Policing 6-26 Restrictions and Limitations for Traffic Policing 6-26 Configuring Traffic Policing 6-27 Configuring Single-Rate Traffic Policing Based on Bits per Second 6-28 Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
Page 13
Usage Guidelines for the set ip precedence Command IP Differentiated Services Code Point Marking DSCP Per-Hop Behavior Assured Forwarding Expedited Forwarding Class Selector Code Points DSCP Values DSCP-Based Weighted Random Early Detection Cisco 10000 Series Router Quality of Service Configuration Guide xiii OL-7433-09...
Page 14
Marking and Policing Traffic 7-18 Tunnel Header Marking 7-18 Feature History for Tunnel Header Marking 7-19 Restrictions and Limitations for Marking 7-19 Interfaces Supporting Marking 7-20 Classification and Marking Design Guidelines 7-21 Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
Page 15
Interfaces Supporting Priority Queuing Queues per Policy Map Restrictions and Limitations for Priority Queuing Restrictions for Multi-Level Priority Queues Configuring a Priority Queue Configuring Multi-Level Priority Queues Configuration Examples for Configuring Priority Queues Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
Page 16
Differences Between Shaping and Policing 9-11 Advantages and Disadvantages of Shaping and Policing for Bandwidth Limiting 9-11 Modifying the VC Weight and the VP Shaping Parameters 9-12 Example Scenarios of Traffic Shaping Usage 9-12 Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
Page 17
Verification Examples for Overhead Accounting 10-13 Verifying ATM Overhead Accounting Using show policy-map 10-13 Verifying Overhead Accounting Using show running-config 10-14 Verifying Ethernet Overhead Accounting with User-Defined Option 10-14 Related Documentation 10-15 Cisco 10000 Series Router Quality of Service Configuration Guide xvii OL-7433-09...
Page 18
Average Queue Size and the Exponential Weight Constant 11-21 Interfaces Supporting Layer 3 Packet Drop Policies 11-21 Restrictions and Limitations for Controlling Layer 3 Congestion 11-22 Configuring Layer 3 Queue Limit and Drop Policies 11-24 Cisco 10000 Series Router Quality of Service Configuration Guide xviii OL-7433-09...
Page 19
Configuration Example for Defining Traffic Classes Using Class Maps 12-8 Configuring Policy Actions for Traffic Classes Using Policy Maps 12-9 Configuring a Default Traffic Class Policy 12-9 Configuring a Class Policy and Dropping Packets Using Tail Drop 12-11 Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
Page 20
Guidelines for Configuring QoS for Multiple Queues 13-13 Configuring QoS for Multiple Queues 13-13 Creating Fair Queues at Two Levels of Hierarchy 13-13 Creating Fair Queues at Three Levels of Hierarchy 13-15 Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
Page 21
Configuration Example for Applying Simultaneous Policy Maps on Ethernet Interfaces and PPPoE Sessions 14-14 Configuration Example for Applying Simultaneous Policies on 802.1Q Interfaces and PPPoE Sessions 14-16 Configuration Example for Applying Simultaneous Policies on 802.1Q QinQ Interfaces and PPPoE Sessions 14-17 Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
Page 22
Configuration Example for Oversubscribing 802.1Q VLANs 15-20 How the Router Determines VC Weights 15-20 Feature History for VC Weighting 15-21 Determining VC Weighting—Cisco IOS Release 12.0(17)SL to Release 12.3(7)XI1 15-21 Cisco 10000 Series Router Quality of Service Configuration Guide xxii OL-7433-09...
Page 23
Configuration Example for Setting High and Low Watermark Thresholds 15-41 Verifying Oversubscription and VC Weighting 15-41 Verification Examples for Oversubscription and VC Weighting 15-42 Verifying Default High and Low Watermarks on an Interface 15-42 Cisco 10000 Series Router Quality of Service Configuration Guide xxiii OL-7433-09...
Page 24
Fragment Size Calculation for Multi-VC MLP Over ATM-Based LFI 16-19 MLP Bundle Interface and Service Policies 16-20 Performance and Scalability for Multi-VC MLP Over ATM-Based LFI 16-20 Restrictions and Limitations for Multi-VC MLP Over ATM-Based LFI 16-20 Cisco 10000 Series Router Quality of Service Configuration Guide xxiv OL-7433-09...
Page 25
Configuring a Hierarchical Policy and PVC-Based FRF.12 Fragmentation 16-52 Configuring Interface-Based FRF.12 Fragmentation 16-57 Configuration Example for Enabling Interface-Based FRF.12 Fragmentation 16-58 Configuration Examples for Link Fragmentation and Interleaving 16-59 Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
Page 26
Verifying and Monitoring Dynamic Bandwidth Selection 17-17 Dynamically Changing VC Weight and Watermark Values 17-18 Feature History for Dynamic VC Weight and Watermarks 17-19 Configuration Commands for Dynamic VC Weight and Watermarks 17-19 Cisco 10000 Series Router Quality of Service Configuration Guide xxvi OL-7433-09...
Page 27
Restrictions and Limitations for Per Session Shaping and Queuing on LNS 17-45 Configuring Per Session Shaping and Queuing on LNS 17-45 Configuring a Per Session Shaping and Queuing on LNS Policy 17-46 Queuing PPP Sessions on ATM VCs 17-50 Cisco 10000 Series Router Quality of Service Configuration Guide xxvii OL-7433-09...
Page 28
Configuring per User Multiservice Rate Limiting 18-10 Configuring per Session Service Policy Using RADIUS 18-11 Configuration Examples for Subscriber-Based IP QoS 18-12 Configuration Example for Per Session Rate Limiting 18-12 Cisco 10000 Series Router Quality of Service Configuration Guide xxviii OL-7433-09...
Page 29
Example of Configuring and Applying an Hierarchical Policy Map 18-40 Example of Setting Up RADIUS for PPP Session Queuing on ATM VCs 18-41 Verifying PPP Session Queuing on ATM VCs 18-41 Cisco 10000 Series Router Quality of Service Configuration Guide xxix OL-7433-09...
Page 30
Configuring ATM Bundle Members 19-23 Configuring an ATM Bundle Member 19-23 Configuring an ATM Bundle Member Using a VC Class 19-25 Configuring a PVC Not to Accept Bumped Traffic 19-27 Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
Page 31
How QoS Works for MPLS Traffic 20-4 MPLS QoS and Packet Priority During Congestion 20-4 Interfaces Supporting MPLS QoS 20-4 MPLS QoS Implementation 20-5 Restrictions and Limitations for MPLS QoS 20-5 Cisco 10000 Series Router Quality of Service Configuration Guide xxxi OL-7433-09...
Page 32
Configuration Examples for Configuring the Tunnel Head Router 20-28 Configuration Examples for Configuring DS-TE on the Midpoint Routers 20-30 Configuration Examples for Configuring the Tail-End Router 20-31 Configuration Examples for Configuring Guaranteed Bandwidth Service 20-31 Cisco 10000 Series Router Quality of Service Configuration Guide xxxii OL-7433-09...
Page 33
Hierarchical Queuing Framework Scaling 22-2 QoS Shaping Using HQF 22-3 ATM Virtual Path Shaping Using HQF 22-3 ATM VC Shaping Using HQF 22-3 Hierarchical ATM VP and VC Shaping Using HQF 22-4 Cisco 10000 Series Router Quality of Service Configuration Guide xxxiii OL-7433-09...
Page 34
QoS Policy Propagation Through the Border Gateway Protocol A P P E N D I X QPPB Configuration Example Related Documentation L O S S A R Y N D E X Cisco 10000 Series Router Quality of Service Configuration Guide xxxiv OL-7433-09...
About This Guide This guide provides information about the Quality of Service (QoS) features supported on the Cisco 10000 series router and describes how to configure them. Guide Revision History Cisco IOS Release Part Number Publication Date Release 12.2(33)SB2 OL-7433-08...
Page 36
OL-7433-04 April, 2007 Description Added the following new feature: • Per Session Queuing and Shaping for PPPoE Over VLAN Using RADIUS—See the “ATM Overhead Accounting” section on page 10-2. Cisco 10000 Series Router Quality of Service Configuration Guide xxxvi OL-7433-09...
Page 37
QoS CLI Migration from PRE2 to PRE3—See the “QoS CLI Migration from PRE2 to PRE3” section on page 1-3. Three-Level Scheduler Using MQC Hierarchical Queuing Framework—See Chapter 22, • “Hierarchical Scheduling and Queuing” Cisco 10000 Series Router Quality of Service Configuration Guide xxxvii OL-7433-09...
Page 38
Per Session Queuing and Shaping for PPPoE Over VLAN Using RADIUS—See the “ATM Overhead Accounting” section on page 10-2. Added the following features from the Cisco 10000 Series Router Broadband Aggregation, Leased-Line, and MPLS Configuration Guide: PVC Bundles—See Chapter 19, “Configuring Quality of Service for PVC Bundles.”...
Page 39
Description Revised and reorganized the QoS Configuration Guide. Expanded both technical and configuration information. Added some of the QoS features currently in the Cisco 10000 Series Broadband and Leased-Line Configuration Guide. Cisco 10000 Series Router Quality of Service Configuration Guide...
This guide is designed for system and network managers who are responsible for integrating quality of service features into their networks. These managers should be experienced using Cisco IOS software and should be familiar with the operation of the Cisco 10000 series router.
Chapter 21 VLAN Tag-Based Quality of Service Describes the VLAN Tag-Based feature that enables you to apply a single QoS policy to a group of IEEE 802.1Q VLAN subinterfaces. Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
Use the statement number provided at the end of each warning to locate its translation in the translated safety warnings that accompanied this device. SAVE THESE INSTRUCTIONS Cisco 10000 Series Router Quality of Service Configuration Guide xlii OL-7433-09...
Each chapter of this guide provides additional documentation you can reference for more information about specific features. The Cisco 10000 Series Router Quality of Service Configuration Guide is one of the documents available for the Cisco series router. Each Cisco 10000 series router document provides specific hardware and software information to help you integrate and use the router in your network configuration.
Page 44
About This Guide Cisco 10000 Series Router Quality of Service Configuration Guide xliv OL-7433-09...
Traffic shaping • Ability to handle differential services and queuing requirements • This chapter provides an overview of QoS on the Cisco 10000 series router and includes the following topics: Benefits of Quality of Service Features, page 1-2 • Restrictions and Limitations for Quality of Service, page 1-2 •...
PVCs is subject to the service policy. This allows you to apply QoS policies independently of PVCs. When you apply a service policy on a Frame Relay point-to-point subinterface, only the subinterface • traffic is subject to the service policy. Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
CLI. The QoS CLI migration feature enables the PRE3 to parse PRE2-style commands and translate them to PRE3 commands. For more information, see the QoS CLI Migration from PRE2 to PRE3, Release 12.2(31)SB2 feature module. Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
The Class-based QoS MIB is actually two MIBs: CISCO-CLASS-BASED-QOS-MIB and CISCO-CLASS-BASED-QOS-CAPABILITY-MIB. To locate MIBs online, use the Cisco Network Management Toolkit for MIBs tool available on Cisco.com. QoS Implementation Guidelines Typically, the business model that you define and the applications you use determine the QoS features needed to meet your network requirements.
Fragmentation QoS Configuration on an Interface The QoS service policy attached to an interface tells the Cisco 10000 series router how to handle packets received on the interface. Service policies consist of: Classification criteria—Defined in class maps and tell the router how to classify packets received on •...
• • Per session services • Support VLAN aggregation The two DSLAM model configurations that are supported on Cisco 10000 series router for business and residential services are: • Model D.2 Definition, page 1-7 • Model F Definition, page 1-7 QoS Models D.2 and F are supported on PRE3 and PRE4.
IP or PPP sessions. QoS Model F requires 3 levels of shaping, queuing and scheduling –Subinterface / Session / Class queues. The key components of Model F are shown in Figure 1-3. Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
To configure sessions for QoS Model D.2 follow the steps given below: Discover the GE interface. Step 1 Create sessions on the GE interface. Step 2 Apply policy-map to session S1. Step 3 Apply policy-map to session S2. Step 4 Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
… interface GigabitEthernet1/0/0.n description Company A encapsulation dot1q 1 second-dot1q n service-policy output company-A-parent interface GigabitEthernet1/0/0.m description Company B encapsulation dot1q 1 second-dot1q m service-policy output company-B-parent Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
Page 54
<number> [account xxx aalx xxx] shape average <cir> <nb> [account xxx aalx xxx] service-policy session-N-child Policy isp_A class class-default shape average … interface GigabitEthernet1/0/0.1 encapsulation dot1q 1 service-policy output isp_A Cisco 10000 Series Router Quality of Service Configuration Guide 1-10 OL-7433-09...
Virtual-Templates. QoS Features, Commands, and Changes This section describes the QoS features and commands supported on the Cisco 10000 series router, and lists feature and command changes. It includes the following topics: Applying QoS Parameters Dynamically to Sessions, page 1-12 •...
(pull) a policy map on an ATM virtual circuit (VC) during Point-to-Point Protocol over ATM (PPPoA) or PPP over Ethernet over ATM (PPPoEoA) session establishment. Cisco IOS Release: Release 12.2(28)SB Description: This feature was integrated in Cisco IOS Release 12.2(28)SB and enhanced to provide “push” functionality. Applying Traffic Shaping Parameters Using RADIUS Profiles Documentation Reference: Chapter 17, “Configuring Dynamic Subscriber Services”...
ATM traffic shaping parameters based on a subscriber’s RADIUS profile. This feature is also known as Per User QoS Using AAA Policy Name. Cisco IOS Release: Release 12.2(28)SB Description: This feature was integrated in Cisco IOS Release 12.2(28)SB. Attaching QoS Service Policies Documentation Reference: Chapter 4, “Attaching Service Policies”...
Description: This feature was enhanced on the PRE2 to enable you to attach QoS policies to a range of PVCs and to a specific PVC within the PVC range. Cisco IOS Release: Release 12.2(28)SB Description: This feature was integrated in Cisco IOS Release 12.2(28)SB. Cisco IOS Release: Release 12.2(31)SB2 Description: This feature was introduced on the PRE3.
QoS policies to a physical Ethernet interface, an individual VLAN subinterface, or to both the physical interface and one or more VLAN subinterfaces. Cisco IOS Release: Release 12.2(28)SB Description: This feature was integrated in Cisco IOS Release 12.2(28)SB. Attaching Virtual Access Interface QoS Service Policies Cisco IOS Release: Release 12.2(15)BX Description: The virtual access interface (VAI) QoS service policies feature was introduced on the PRE2 to enable you to apply virtual template interfaces with QoS policies to VCs.
MPLS EXP value of the packet matches the value you set using the set mpls experimental command. The match mpls experimental command is available only on the PRE1. Cisco 10000 Series Router Quality of Service Configuration Guide 1-16...
Page 61
PRE2. Cisco IOS Release: Release 12.2(28)SB Description: The match commands were integrated in Cisco IOS Release 12.2(28)SB. Cisco IOS Release: Release 12.2(31)SB2 Description: This command was introduced on the PRE3 to enable you to match on the class of service of a packet.
Cisco IOS Release: Release 12.2(15)BX Description: This feature was introduced on the PRE2. Cisco IOS Release: Release 12.2(28)SB Description: This feature was integrated in Cisco IOS Release 12.2(28)SB. Cisco IOS Release: Release 12.2(31)SB2 Description: This feature was introduced on the PRE3.
Quality of Service Overview QoS Features, Commands, and Changes Cisco IOS Release: Release 12.2(28)SB Description: This feature was integrated in Cisco IOS Release 12.2(28)SB. MPLS QoS Feature Cisco IOS Release: Release 12.0(19)SL Description: The MPLS QoS feature was introduced on the PRE1 to provide varying levels of QoS services for different types of traffic in an MPLS network.
(alarms) to the console and the syslog log file to alert you when a change in drop activities occurs, such as packet drops due to congestion in the To-RP queues or due to aggregated traffic that violates the divert cause policer. Cisco 10000 Series Router Quality of Service Configuration Guide 1-20 OL-7433-09...
Cisco IOS Release: Release 12.2(28)SB Description: This command was integrated in Cisco IOS Release 12.2(28)SB. Cisco IOS Release: Release 12.2(31)SB2 Description: This command was introduced on the PRE3.
Maintain separate WRED drop statistics for each IP precedence, discard-class, and DSCP value • Cisco IOS Release: Release 12.2(28)SB Description: This command was integrated in Cisco IOS Release 12.2(28)SB. Cisco IOS Release: Release 12.2(31)SB2 Description: This command was introduced on the PRE3.
Cisco IOS Release: Release 12.3(7)XI Description: This command was enhanced to enable a drop policy based on a discard-class value. The discard-class-based option is available only on the PRE2 for Cisco IOS Release 12.3XI images. Cisco IOS Release: Release 12.2(28)SB Description: This command was integrated in Cisco IOS Release 12.2(28)SB with the dscp-based,...
Cisco IOS Release: Release 12.2(16)BX Description: This feature was introduced on the PRE2. Cisco IOS Release: Release 12.2(28)SB Description: This feature was integrated in Cisco IOS Release 12.2(28)SB. Cisco IOS Release: Release 12.2(31)SB2 Description: This feature was introduced on the PRE3.
Maintain separate WRED drop statistics for each IP precedence, discard-class, and DSCP value Cisco IOS Release: Release 12.2(28)SB Description: This feature was integrated in Cisco IOS Release 12.2(28)SB on the PRE2. Cisco IOS Release: Release 12.2(31)SB2 Description: This feature was introduced on the PRE3. It provides DiffServ-compliant WRED and uses per-packet RED.
Description: This command was introduced on the PRE2 and included the kilobits per second (kbps), percent, and remaining percent options. Cisco IOS Release: Release 12.2(28)SB Description: This command was integrated in Cisco IOS Release 12.2(28)SB. Cisco IOS Release: Release 12.2(31)SB2 Description: This feature was introduced on the PRE3.
Cisco IOS Release: Release 12.2(16)BX Description: This feature was introduced on the PRE2. Cisco IOS Release: Release 12.2(28)SB Description: This feature was integrated in Cisco IOS Release 12.2(28)SB. Cisco 10000 Series Router Quality of Service Configuration Guide 1-27 OL-7433-09...
Description: The nested hierarchical policies feature was enhanced on the PRE2 to support three-level hierarchical policies. Cisco IOS Release: Release 12.2(28)SB Description: This feature was integrated in Cisco IOS Release 12.2(28)SB. Cisco IOS Release: Release 12.2(31)SB2 Description: This feature was introduced on the PRE3.
Description: The per session rate limiting feature was introduced on the PRE2 to control the maximum rate of traffic sent or received on an interface for a session. Cisco IOS Release: Release 12.2(28)SB Description: This feature was integrated in Cisco IOS Release 12.2(28)SB. Per User Multiservice Rate Limiting Cisco IOS Release: Release 12.2(16)BX Description: The per user multiservice rate limiting feature was introduced on the PRE2 to control the maximum rate of traffic for each user behind a multiservice subscriber.
(SMS), typically a RADIUS server, to dynamically change the traffic policing parameters for a user session. Cisco IOS Release: Release 12.2(28)SB Description: This feature was integrated in Cisco IOS Release 12.2(28)SB. Per Session Shaping and Queuing on LNS Cisco IOS Release: Release 12.2(31)SB6 Description: The Per Session Shaping and Queuing on LNS feature was introduced on the PRE3 to shape or queue traffic from an ISP to a subscriber as it traverses over an LNS.
Description: This command was introduced on the PRE2 and provides a multilink interface range of 1 to 9999. Cisco IOS Release: Release 12.2(28)SB Description: This command was integrated in Cisco IOS Release 12.2(28)SB. Cisco IOS Release: Release 12.2(31)SB2 Description: This command was introduced on the PRE3 and the valid interface values for MLP over serial and multi-VC MLP over ATM changed from 1 to 9999 (Release 12.2(28)SB) to from 1 to 9999...
Description: This command was changed to ppp multilink group on the PRE2 to restrict a physical link to joining only a designated multilink group interface. The multilink-group command is accepted by the command line interpreter through Cisco IOS Release 12.2. Cisco IOS Release: Release 12.2(28)SB Description: This command was integrated in Cisco IOS Release 12.2(28)SB.
The no ppp multilink fragmentation command was recognized and accepted through Cisco IOS Release 12.2. Cisco IOS Release: Release 12.2(28)SB Description: This command was integrated in Cisco IOS Release 12.2(28)SB. Cisco IOS Release: Release 12.2(31)SB2 Description: This command was introduced on the PRE3.
Description: The multilink-group command was changed to ppp multilink group to restrict a physical link to joining only a designated multilink group interface. The multilink-group command was accepted by the command line interpreter through Cisco IOS Release 12.2. Cisco IOS Release: Release 12.2(28)SB Description: This command was integrated in Cisco IOS Release 12.2(28)SB.
Description: This feature was introduced on the PRE2. Cisco IOS Release: Release 12.2(28)SB Description: This feature was integrated in Cisco IOS Release 12.2(28)SB. Cisco IOS Release: Release 12.2(31)SB2 Description: This feature was introduced on the PRE3 and the valid interface values changed from 1 to 9999 (Release 12.2(28)SB and later) to from 1 to 9999 and 65,536 to 2,147,483,647...
Description: The set atm-clp command was introduced on the PRE2 to set the cell loss priority (CLP) bit to 1. Cisco IOS Release: Release 12.2(28)SB Description: This command was integrated in Cisco IOS Release 12.2(28)SB for the PRE2. Cisco IOS Release: Release 12.2(33)SB Description: This command was introduced on the PRE3 and PRE4.
Quality of Service Overview QoS Features, Commands, and Changes Cisco IOS Release: Release 12.2(28)SB Description: This command was integrated in Cisco IOS Release 12.2(28)SB. set fr-de Command Cisco IOS Release: Release 12.2(31)SB2 Description: The set fr-de command was introduced on the PRE2 and PRE3 to mark a Frame Relay packet’s discard eligibility (DE) bit.
The discard-class enhancement is available only on the PRE2. Cisco IOS Release: Release 12.2(28)SB Description: This feature was integrated in Cisco IOS Release 12.2(28)SB for the PRE2. Cisco IOS Release: Release 12.2(31)SB2 Description: This feature was introduced on the PRE3 to allow you to mark the IP DSCP bits of traffic on the L2TP access concentrator (LAC).
Description: This feature was introduced on the PRE2. Cisco IOS Release: Release 12.2(28)SB Description: This feature was integrated in Cisco IOS Release 12.2(28)SB for the PRE2. Cisco IOS Release: Release 12.2(31)SB2 Description: This feature was introduced on the PRE3. Enhancements to the MQC allow you to classify packets on the L2TP access concentrator (LAC) based upon the IP type of service (ToS) bits in an embedded IP packet.
ATM subscriber traffic. Cisco IOS Release: Release 12.2(31)SB2 Description: This feature was introduced on the PRE3. Cisco IOS Release: Release 12.2(33)SB Description: This feature was introduced on the PRE4. Cisco 10000 Series Router Quality of Service Configuration Guide 1-40 OL-7433-09...
1 to 500 times. Cisco IOS Release: Release 12.2(28)SB Description: This command was integrated in Cisco IOS Release 12.2(28)SB. Cisco IOS Release: Release 12.2(31)SB2 Description: This command was introduced on the PRE3 to allow the aggregate VLAN rates to exceed the available bandwidth.
For example, you can oversubscribe the physical transmission capacity from 1 to 500 times. Cisco IOS Release: Release 12.2(28)SB Description: This feature was integrated in Cisco IOS Release 12.2(28)SB. Cisco IOS Release: Release 12.2(31)SB2 Description: This command was introduced on the PRE3 with an oversubscription factor from 1 to 500.
Quality of Service Overview QoS Features, Commands, and Changes Cisco IOS Release: Release 12.2(28)SB Description: This feature was integrated in Cisco IOS Release 12.2(28)SB. Cisco IOS Release: Release 12.2(31)SB2 Description: This feature was introduced on the PRE3. Virtual LAN Oversubscription Feature Cisco IOS Release: Release 12.3(7)XI1...
Description: The VC weighting feature was introduced on the PRE2 to control the number of cells for each VC that is sent into the virtual path (VP). Cisco IOS Release: Release 12.2(28)SB Description: This feature was integrated in Cisco IOS Release 12.2(28)SB. Cisco IOS Release: Release 12.2(31)SB2 Description: This feature was introduced on the PRE3.
This action is available only on the PRE2. Cisco IOS Release: Release 12.2(28)SB Description: This command was integrated in Cisco IOS Release 12.2(28)SB. Cisco IOS Release: Release 12.2(31)SB2 Description: This command was introduced on the PRE3 to allow you to police traffic on the L2TP access concentrator (LAC) based on the value of a packet’s IP DSCP bits.
Description: This feature was introduced on the PRE2 and included a single-rate two-color marker. Cisco IOS Release: Release 12.3(7)XI Description: This feature was enhanced on the PRE2 to include a three-color marker. Cisco 10000 Series Router Quality of Service Configuration Guide 1-46 OL-7433-09...
Description: This feature was enhanced on the PRE2 to include a three-color marker. Cisco IOS Release: Release 12.2(28)SB Description: This feature was integrated in Cisco IOS Release 12.2(28)SB. Cisco IOS Release: Release 12.2(31)SB2 Description: This feature was introduced on the PRE3 to allow you to police traffic on the L2TP access concentrator (LAC) based on the value of a packet’s IP DSCP bits.
Description: This command was modified to provide strict priority queuing on the PRE2. To specify a bandwidth rate for a strict priority queue, you must specify the police command. Cisco IOS Release: Release 12.2(28)SB Description: This command was integrated in Cisco IOS Release 12.2(28)SB. Cisco 10000 Series Router Quality of Service Configuration Guide 1-48...
Cisco IOS Release: Release 12.2(16)BX Description: This feature was introduced on the PRE2 to allow you to set a bandwidth rate for a queue in kilobits per second or as a percentage. Cisco 10000 Series Router Quality of Service Configuration Guide 1-49 OL-7433-09...
Cisco IOS Release: Release 12.2(28)SB Description: This feature was integrated in Cisco IOS Release 12.2(28)SB. Cisco IOS Release: Release 12.2(31)SB2 Description: This command was introduced on the PRE3.
Description: The frame-relay vc-bundle command was introduced on the PRE1 to create a Frame Relay permanent virtual circuit (PVC) bundle if it does not already exist, and to enter Frame Relay VC-bundle configuration mode. Cisco 10000 Series Router Quality of Service Configuration Guide 1-51 OL-7433-09...
Cisco IOS Release: Release 12.0(26)S Description: The protect command was introduced on the PRE1 to configure a Frame Relay protected permanent virtual circuit (PVC) bundle member with protected group or protected PVC status. Cisco 10000 Series Router Quality of Service Configuration Guide 1-52 OL-7433-09...
Cisco IOS Release: Release 12.2(16)BX Description: This command was introduced on the PRE2. Cisco IOS Release: Release 12.2(28)SB Description: This command was integrated in Cisco IOS Release 12.2(28)SB for the PRE2. Cisco IOS Release: Release 12.2(31)SB2 Description: This command was introduced on the PRE3.
PRE2 to enable dynamic queuing and shaping policies on PPPoEoVLAN sessions. Cisco IOS Release: Release 12.2(31)SB5 Description: This feature was integrated in Cisco IOS Release 12.2(31)SB5 for the PRE2. Shaping Traffic Documentation Reference: Chapter 9, “Shaping Traffic”...
Cisco IOS Release: Release 12.2(16)BX Description: This command was introduced on the PRE2. Cisco IOS Release: Release 12.2(28)SB Description: This command was integrated in Cisco IOS Release 12.2(28)SB. Cisco IOS Release: Release 12.2(31)SB2 Description: This command was introduced on the PRE3.
Cisco IOS Release: Release 12.2(16)BX Description: This command was introduced on the PRE2. Cisco IOS Release: Release 12.2(28)SB Description: This command was integrated in Cisco IOS Release 12.2(28)SB. Cisco IOS Release: Release 12.2(31)SB2 Description: This command was introduced on the PRE3.
Description: The Hierarchical Shaping feature was introduced on the PRE2 to enable you to shape traffic at both the VC-level and VP-level. Cisco IOS Release: Release 12.2(28)SB Description: This feature was integrated in Cisco IOS Release 12.2(28)SB for the PRE2. Cisco IOS Release: Release 12.2(231)SB2 Description: This feature was introduced on the PRE3.
Cisco IOS Release: Release 12.2(15)BX Description: This feature was introduced on the PRE2. Cisco IOS Release: Release 12.2(28)SB Description: This feature was integrated in Cisco IOS Release 12.2(28)SB. Cisco IOS Release: Release 12.2(31)SB2 Description: This command was introduced on the PRE3.
Related Documentation Related Documentation This section provides hyperlinks to additional Cisco documentation for the features discussed in this chapter. To display the documentation, click the document title or a section of the document highlighted in blue. When appropriate, paths to applicable sections are listed below the documentation title.
Page 106
Chapter 1 Quality of Service Overview Related Documentation Cisco 10000 Series Router Quality of Service Configuration Guide 1-62 OL-7433-09...
C H A P T E R Classifying Traffic This chapter describes how to create traffic classification rules that the Cisco 10000 series router can use to classify inbound and outbound traffic. Even with fast interfaces, most networks require a strong quality of service (QoS) management model to effectively manage the congestion points that occur due to speed-mismatch or diverse traffic patterns.
System Limits for Class Maps Table 2-1 lists the system limits for class maps on the Cisco 10000 series router. In the table, the number of class maps per system and the number of classes per policy map include the class-default class.
PRE3 Class Maps and QoS Scalability The Cisco 10000 series router with a PRE3 counts QoS matches for each class or for each match. As the following describes, you can achieve greater scalability with per-class mode counting enabled on the router: Per-match mode (default mode)—The router counts matches for each match statement and class,...
The class-map command was introduced on the PRE1. Release 12.0(15)BX This command was introduced on the PRE2. Release 12.2(28)SB This command was integrated in Cisco IOS Release 12.2(28)SB for the PRE2. Release 12.2(31)SB2 This command was integrated in Cisco IOS Release 12.2(31)SB2 for the PRE3.
Specifying one mode automatically negates the current mode. The Cisco 10000 series router with a PRE3 supports 262,144 unique class maps per system in per-match mode and 4,194,304 unique class maps per system in per-class mode. Per-class mode provides greater QoS scalability.
Page 112
Specifies that the router is to look for the Frame Relay discard Router(config-cmap)# match fr-de eligibility (DE) bit in the packets. Specifies that the packet input interface must match the interface Router(config-cmap)# match input-interface name name. Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
Page 113
0 to 65535 and is the lowest number in the range. range specifies a number from 0 to 65535 and is the highest number in the range. Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
Page 114
PRE2. Specifies that the packet QoS group number value must match the Router(config-cmap)# match qos-group number specified QoS group number. number is a group number from 0 to 99. Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
This command was enhanced to include imposition matching on the experimental (EXP) bit value on the imposed label entry of the packet. Release 12.2(28)SB match This command was integrated in Cisco IOS Release 12.2(28)SB. Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
For example, if you enter the match not qos-group 4 command in class-map configuration mode, the specified class accepts all QoS group values except 4 as successful match criteria. Cisco 10000 Series Router Quality of Service Configuration Guide 2-10 OL-7433-09...
• Each class map can have a maximum of 16 match statements. The Cisco 10000 series router does not have a predefined scaling limit for classification. • A policy map with a traffic class based on the match fr-de command can be applied only on an •...
1 or that have an IP precedence value of 3 or 7. Example 2-2 Defining Match Criteria Router(config)# class-map class1 Router(config-cmap)# match access-group 1 Router(config-cmap)# match ip precedence 3 7 Cisco 10000 Series Router Quality of Service Configuration Guide 2-12 OL-7433-09...
Defining QoS Policy Actions After you create a class map and configure the match criteria by which the Cisco 10000 series router classifies traffic, you then need to tell the router how you want it to handle the matching packets. To do this, you define QoS policy actions in a policy map.
Related Documentation Related Documentation This section provides hyperlinks to additional Cisco documentation for the features discussed in this document. To display the documentation, click the document title or a section of the document highlighted in blue. When appropriate, paths to applicable sections are listed below the documentation title.
Chapter 2, “Classifying Traffic.” Cisco 10000 series router supports a modular CLI element called a policy map to enable you to configure a QoS policy with the appropriate actions and rules.
(CBWFQ) is notified and the new classes are installed as part of the policy map in the CBWFQ system. System Limits for Policy Maps Table 3-1 lists the system limits for policy maps supported on the Cisco 10000 series router. Table 3-1 System Limits for Policy Maps Policy Maps per System No.
PRE3 and PRE4, doubling the number supported in previous releases. The router supports up to 4096 policy maps for the PRE2. To configure 8192 policy maps, the router must be running Cisco IOS Release 12.2(33)SB. The router supports a maximum of 64 classes per policy map.
Types of QoS Actions The following sections describe the QoS actions supported on the Cisco 10000 series router. These are the actions that you configure in a policy map for specific traffic classes.
Page 125
Table 3-2 Table 3-3, “Not Applicable” indicates that you cannot perform the action on a Cisco product or that it has no meaning in the context indicated. “Not Available” means the action is not supported. When configuring an input policy map for a virtual access interface (VAI), be careful that you do not include the “Not Applicable”...
Page 126
Not Applicable Not Applicable experimental 1. The interface must be an Ethernet interface that is configured for 802.1Q VLAN. 2. The virtual access interface must be using an 802.1Q VLAN interface. Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
Types of QoS Actions Policy Map Actions—Releases Prior to Cisco IOS Release 12.0(17)SL Table 3-4 lists the QoS action commands supported in all releases prior to Cisco IOS Release 12.0(17)SL. These actions are also available in later releases. Table 3-4 Policy Map Actions—Releases Prior to Cisco IOS Release 12.0(17)SL...
Page 128
Chapter 3 Configuring QoS Policy Actions and Rules Types of QoS Actions Table 3-4 Policy Map Actions—Releases Prior to Cisco IOS Release 12.0(17)SL (continued) Action Description random-detect dscp dscpvalue min-threshold Changes the minimum and maximum packet max-threshold drop-rate thresholds for the differentiated services code point (DSCP) value.
Page 129
Chapter 3 Configuring QoS Policy Actions and Rules Types of QoS Actions Table 3-4 Policy Map Actions—Releases Prior to Cisco IOS Release 12.0(17)SL (continued) Action Description random-detect precedence precedence Changes the minimum and maximum packet min-threshold max-threshold drop-rate thresholds for the precedence level you specify.
8 to 2,488,320. 1. In Cisco IOS Release 12.0(23)SX1, Release 12.0(25)S, and Release 12.3(7)XI, and later releases, the syntax of the priority command changed to priority (without any arguments). For these later releases, use the priority command with the police command so that the priority class does not starve other traffic on a link.
Configuring QoS Policy Actions and Rules Policing Actions Policy Map Actions—Cisco IOS Release 12.0(22)S and Later Releases Cisco IOS Release 12.0(22)S adds support for the QoS action command listed in Table 3-7. This command is also available in later releases.
Transmits the packet. The packet is not altered. Release 12.0(9)SL QoS Inheritance The Cisco 10000 series router applies service policies using the following QoS inheritance rules: • ATM port—A service policy configured on an ATM port applies to all unspecified bit rate (UBR) PVCs configured on the port without a service policy.
You can display the state of the policy only on the interface where you configured the policy. ATM Service Categories The Cisco 10000 series router supports the following ATM service classes: Constant Bit Rate, page 3-13 •...
Traffic that adheres to a particular profile can be shaped to meet downstream requirements, thereby eliminating bottlenecks in topologies with data-rate mismatches. The Cisco 10000 series router supports traffic shaping for unspecified bit rate (UBR) traffic. Traffic shaping is performed on a per-port basis and involves passing UBR traffic streams through VC queues for scheduled rate shaping.
For those cells in compliance with the traffic contract, a low cell loss is expected. Non-time critical data file transfers are an example of a VBR-nrt connection. A VBR-nrt connection is characterized by PCR, SCR, and MBS. Cisco 10000 Series Router Quality of Service Configuration Guide 3-15 OL-7433-09...
Page 136
(SCR). output-mbs is the output maximum burst cell size (MBS). If the PCR and SCR values are equal, the MBS value Note is 1. Cisco 10000 Series Router Quality of Service Configuration Guide 3-16 OL-7433-09...
Packets marked as IP precedence 6 or 7 All other locally originated traffic 1. IP precedence 6 and 7 are not subject to QoS in all releases prior to Cisco IOS Release 12.0(22)S and in Cisco IOS Release 12.3(7)XI2. ATM Virtual Circuits Without QoS Policies...
Packet delay due to additional PXF passes is negligible. Therefore, system performance degradation occurs only at high system utilization. The following describes PXF requirements: All releases prior to Cisco IOS Release 12.0(17)SL—For each packet, the PXF requires one pass per • class-map match statement.
Router(config-pmap)# class class-default Router(config-pmap-c)# bandwidth 128 Note For more information about defining QoS actions in a policy map, see the “Input and Output Policy Actions” section on page 3-4. Cisco 10000 Series Router Quality of Service Configuration Guide 3-19 OL-7433-09...
If you do not specify class-name, the router displays class configuration for all classes in the policy map. Cisco 10000 Series Router Quality of Service Configuration Guide 3-20 OL-7433-09...
Page 141
Displays queuing configuration information and statistics for the Router# show queue interface-type interface-number specified interface. Cisco 10000 Series Router Quality of Service Configuration Guide 3-21 OL-7433-09...
Related Documentation Related Documentation This section provides hyperlinks to additional Cisco documentation for the features discussed in this chapter. To display the documentation, click the document title or a section of the document highlighted in blue. When appropriate, paths to applicable sections are listed below the documentation title.
Page 144
Release 9.3.00 Configuring ATM Connections > ATM Connection Flow > Traffic Shaping for CBR, rt-VBR, nrt-VBR, and UBR Configuring ATM Connections > ATM Connection Configuration > Variable Bit Rate Connections Cisco 10000 Series Router Quality of Service Configuration Guide 3-24 OL-7433-09...
Note In a Cisco 10000 series router, we recommend that you do not attach a service-policy to an interface that has an IP interface session. Attaching ATM QoS Service Policies You can attach a QoS service policy to an ATM interface, point-to-point subinterface, or PVC using the service-policy command.
12.3(7)XI2 This command was enhanced on the PRE2 to allow you to attach a policy map to a range of PVCs, and to a specific PVC within the PVC range. Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
Do not specify input or output when using the service-policy command in an hierarchical policy. In Cisco IOS Release 12.2(33)SB and later releases, the router no longer accepts the abbreviated form (ser) of the service-policy command. Instead, you must spell out the command name service- before the router accepts the command.
Attaching QoS Service Policies to an ATM PVC, page 4-8 • Attaching QoS Service Policies to an ATM PVC Range and an ATM PVC in a Range, page 4-9 • Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
ATM interface 1/0/0. The router applies the service policy to all of the PVCs configured on the interface. Example 4-1 Attaching a QoS Policy to an ATM Interface Router(config)# interface atm 1/0/0 Router(config-if)# service-policy input myQoS Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
Note The router applies the service policy to the ATM subinterface and to all PVCs configured on the subinterface that does not have its own QoS policy applied. Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
Creates an ATM permanent virtual circuit (PVC) and enters Router(config-subif)# pvc [name] vpi/vci ATM VC configuration mode. name is the name used to identify the PVC. vpi is the virtual path identifier. vci is the virtual circuit identifier. Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
To attach a QoS service policy to a range of ATM PVCs or to a specific ATM PVC in a range of PVCs, enter the following commands beginning in global configuration mode: Command Purpose Step 1 Specifies the ATM interface and enters interface configuration Router(config)# interface atm slot/module/port mode. Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
Page 154
0 is used. Valid VPI values are from 0 to 255. vci is the virtual circuit identifier (VCI) for this PVC. Valid values are from 32 to 2047. Cisco 10000 Series Router Quality of Service Configuration Guide 4-10 OL-7433-09...
Restrictions and Limitations for Frame Relay QoS Service Policies, page 4-13 • Creating and Attaching QoS Policies to Frame Relay Interfaces, Subinterfaces, and Data-Link • Connection Identifiers, page 4-14 Cisco 10000 Series Router Quality of Service Configuration Guide 4-11 OL-7433-09...
This command has no default behavior. map-class frame-relay map-class-name no map-class frame-relay map-class-name Syntax Description map-class-name The name of the map class. The map-class-name can be a maximum of 40 alphanumeric characters. Cisco 10000 Series Router Quality of Service Configuration Guide 4-12 OL-7433-09...
• You cannot attach a policy map and a map class to the same subinterface. For Cisco IOS Release 12.0(22)S and later releases, use the MQC to create and attach a policy map as described in this chapter. For all releases earlier than Cisco IOS Release 12.0(22)S, use the Frame Relay legacy commands to create and attach a Frame Relay QoS policy as described in Appendix A, “Configuring...
You cannot attach a QoS policy to the same Frame Relay interface or subinterface by using both Note the MQC and a map class. For releases earlier than Cisco IOS Release 12.0(22)S, use the Frame Relay commands to attach QoS policies (see Appendix A, “Configuring Frame Relay QoS Using...
Page 159
4/0/0 in the inbound direction. Example 4-6 Attaching a QoS Policy Directly to a Frame Relay Interface Router(config)# interface serial 4/0/0 Router(config-if)# service-policy input silver Cisco 10000 Series Router Quality of Service Configuration Guide 4-15 OL-7433-09...
Page 160
Configuring a QoS Service Policy on a Frame Relay Subinterface Using a Map Class Router(config)# map-class frame-relay VCs_slow Router(config-map-c)# service-policy policy1 Router(config-map-c)# exit Router(config)# interface serial 1/0/0.1 point-to-point Router(config-if)# frame-relay class VCs-slow Cisco 10000 Series Router Quality of Service Configuration Guide 4-16 OL-7433-09...
You cannot attach a QoS policy to the same Frame Relay interface or subinterface by using both the Note MQC and a map class. For releases earlier than Cisco IOS Release 12.0(22)S, use the Frame Relay commands to attach QoS policies (see Appendix A, “Configuring Frame Relay QoS Using Frame Relay...
Page 162
Example 4-10 Attaching a QoS Service Policy Directly to a DLCI Configured on an Interface Router(config)# interface serial 4/0/0 Router(config-if)# frame-relay interface-dlci 201 Router(config-fr-dlci)# service-policy output voice Cisco 10000 Series Router Quality of Service Configuration Guide 4-18 OL-7433-09...
Page 163
DLCI. Note The router applies the service policy configured in the map class to only this individual DLCI. Cisco 10000 Series Router Quality of Service Configuration Guide 4-19 OL-7433-09...
The attachment of virtual LAN QoS service policies was PRE1 introduced on the router. 12.2(15)BX This feature was introduced on the PRE2. PRE2 12.2(28)SB This feature was integrated in Cisco IOS PRE2 Release 12.2(28)SB for the PRE2. Cisco 10000 Series Router Quality of Service Configuration Guide 4-20 OL-7433-09...
Restrictions and Limitations for Attaching QoS Services to VLAN Subinterfaces The Cisco 10000 series router currently supports PPPoE over IEEE 802.1Q VLAN on Gigabit • Ethernet and Fast Ethernet 8-port half-height line cards. The Fast Ethernet port (fe0/0/0) of the performance routing engine (PRE) does not support this feature.
A virtual access interface (VAI) is a virtual interface that the router dynamically creates and configures when a remote user initiates a session to the Cisco 10000 series router. The router uses a template of operational parameters called a virtual template interface to create and configure the VAI.
VC inherit the QoS policy of the VC. Any VAI that uses that VC is subject to the queueing, policing, and marking actions defined in the VC service policy. Cisco 10000 Series Router Quality of Service Configuration Guide 4-24...
• Cisco IOS Release 12.2(25)SX does not support the configuration of broadband aggregation (BBA) groups using RADIUS. You must configure BBA groups manually. You can only apply a QoS policy with queueing-related actions to a VC. Do not apply service •...
Attaching Virtual Access Interface QoS Service Policies Applying a Virtual Template Interface to a BBA Group A BBA group is a template used to control connections. Cisco IOS Release 12.2(25)SX does not support the configuration of broadband aggregation (BBA) groups using RADIUS. You must configure BBA groups manually.
PPPoE sessions. The example also assigns VLAN 4 to the subinterface. Example 4-18 Attaching a BBA Group to a VLAN Subinterface Router(config)# interface atm 4/0/0.10 Router(config-subif)# protocol pppoe group bba-voice Router(config-subif)# encapsulation dot1q 4 Router(config-subif)# pppoe enable Cisco 10000 Series Router Quality of Service Configuration Guide 4-28 OL-7433-09...
Page 173
Router(config-bba)# sessions per-vlan limit 5 Router(config)# interface atm 5/0 Router(config-if)# protocol pppoe group VPN_1 Router(config-if)# encapsulation aalsnap Router(config)# interface FastEthernet 3/0/0.33 Router(config-subif)# protocol pppoe group VPN_2 Router(config-subif)# encapsulation dot.1q 5 Cisco 10000 Series Router Quality of Service Configuration Guide 4-29 OL-7433-09...
The physical Ethernet interface, the aggregate of all of the VLAN subinterfaces is subject to the • physical interface’s service policy. Individual VLAN subinterfaces, and not to the physical Ethernet interface, only the individual • VLAN subinterfaces are subject to the attached service policies. Cisco 10000 Series Router Quality of Service Configuration Guide 4-30 OL-7433-09...
Restrictions and Limitations for Attaching LAC QoS Cisco IOS Release 12.3(7)XI3 does not support the attachment of LAC QoS directly to sessions by • attaching QoS services to a virtual access interface (VAI) using a virtual template. If you apply LAC QoS to a virtual template, the router ignores it.
Attaching Service Policies Applying QoS on Layer 2 Tunnel Packets Applying QoS on Layer 2 Tunnel Packets The following describes how the Cisco 10000 series router applies QoS policies to Layer 2 tunnel packets: Inbound Layer 2 Tunnel Packets When a packet arrives on a physical interface, the router applies the input QoS policy (if one exists) of the physical interface.
Page 177
Displays a summary of the status of all active tunnels for each session ID. Displays a summary of the status of all packets traveling in and Router# show pppoe session packets traveling out of a PPPoE session. Cisco 10000 Series Router Quality of Service Configuration Guide 4-33 OL-7433-09...
Output queue: 0/32; 0/0 packets/bytes output, 0/0 drops Related Documentation This section provides hyperlinks to additional Cisco documentation for the features described in this chapter. To display the documentation, click the document title or a section of the document highlighted in blue.
The Cisco 10000 series router allows you to distribute bandwidth to ensure that bandwidth is shared fairly between the queues of a link. This chapter describes bandwidth distribution between queues on the Cisco 10000 series router and contains the following topics: •...
Frame Relay PVCs, point-to-point subinterfaces, and map classes * • Ethernet VLANs * • * Requires a specific type of hierarchical policy. For more information, see the Chapter 13, “Defining QoS for Multiple Policy Levels.” Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
If a traffic class is not using its configured bandwidth, the unused bandwidth is shared among the other classes. The Cisco 10000 series router guarantees a priority class 95 percent of the bandwidth. As a result, the priority class can starve other traffic classes unless you configure policing. The router does not police the priority class unless you configure a policer.
Bandwidth Calculations The Cisco 10000 series router can commit up to 99 percent of the interface bandwidth to one or more class queues. If you attempt to attach a policy map to an interface when the sum of the bandwidth assigned to classes is greater than 99 percent of the available bandwidth, the router logs a warning message and does not allocate the requested bandwidth to all of the classes.
PVCs. As a result, a diminished amount of bandwidth is available to allocate to unshaped UBR PVCs. To override this behavior, create a hierarchical (nested) policy with the bandwidth specified and attach the policy to the ATM port or physical interface. Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
Distributing Bandwidth Between Queues Bandwidth Distribution Between Queues Class-Default Bandwidth Guarantee The Cisco 10000 series router guarantees bandwidth for the class-default class in the following way: For all releases prior to Cisco IOS Release 12.0(19)SL, when other classes are present, the •...
• In releases prior to Cisco IOS Release 12.3(7)XI, specify a minimum bandwidth rate using the priority command. In Cisco IOS Release 12.3(7)XI and later releases, specify a minimum bandwidth rate using the •...
To support a low VC count, configure the atm pxf queuing command on each port of the Cisco 10000 series router. For Cisco IOS Release 12.3(7)XI2 and later releases, all line cards support a maximum of 28,672 VCs when configured for hierarchical shaping.
To support a high number of virtual circuits (VCs), configure the no atm pxf queuing command on each port of the Cisco 10000 series router. PPPoA supports one session per VC and requires that you enable no atm pxf queuing mode to support up to 64,000 PPPoA sessions. Enabling no atm pxf queuing mode is not required for L2TP and might not be required for PPPoE because you can have 64,000 sessions on a single VC.
This section provides the following configuration examples: Configuration Example for Kilobits per Second-Based Bandwidth, page 5-11 • Configuration Example for Percentage-Based Bandwidth, page 5-11 • Configuration Example for Bandwidth-Remaining-Based Bandwidth, page 5-11 • Cisco 10000 Series Router Quality of Service Configuration Guide 5-10 OL-7433-09...
25 percent of the unused bandwidth to this class. Example 5-4 Configuring Bandwidth-Remaining-Based Bandwidth Router(config)# policy-map vlan Router(config-pmap)# class priority Router(config-pmap-c)# priority Router(config-pmap-c)# police percent 50 Router(config-pmap-c)# exit Router(config-pmap)# class premium Router(config-pmap-c) bandwidth remaining percent 25 Cisco 10000 Series Router Quality of Service Configuration Guide 5-11 OL-7433-09...
Bandwidth Distribution Between Queues Verifying and Monitoring Bandwidth Distribution The Cisco 10000 series router collects statistical information about the current queue length, and the number of packets and bytes transmitted and dropped (64 bits), which you can display using the show commands in this section.
Cisco IOS Release Modification Release 12.2(31)SB22 This feature was introduced and implemented on the Cisco 10000 series router for the PRE3. Bandwidth-Remaining Ratio A bandwidth-remaining ratio is a value from 1 to 1000 that is used to determine the amount of unused (excess) bandwidth to allocate to a class queue or subinterface-level queue during congestion.
Use the following procedures to configure bandwidth-remaining ratios: • Configuring and Applying Bandwidth-Remaining Ratios to Subinterfaces, page 5-16 • Configuring and Applying Bandwidth-Remaining Ratios to Class Queues, page 5-18 Cisco 10000 Series Router Quality of Service Configuration Guide 5-15 OL-7433-09...
The router distinguishes between interface types at the subinterface level when using default bandwidth-remaining ratios. On the Cisco 10000 series router the default ratio value is 1 for VLAN subinterfaces and Frame Relay DLCIs. For ATM subinterfaces, the router computes the default based on the subinterface speed.
Page 197
(for example, 1/0/0.1). (Optional) point-to-point indicates that the subinterface is a point-to-point subinterface. (Optional) multipoint indicates that the subinterface is a point-to-multipoint subinterface. Cisco 10000 Series Router Quality of Service Configuration Guide 5-17 OL-7433-09...
(CIR), in bits per second (bps). (Optional) bc specifies the committed burst size, in bits. (Optional) be specifies the excess burst size, in bits. Cisco 10000 Series Router Quality of Service Configuration Guide 5-18 OL-7433-09...
Page 199
The router distinguishes between interface types at the subinterface level when using default bandwidth-remaining ratios. On the Cisco 10000 series router the default ratio value is 1 for VLAN subinterfaces and Frame Relay DLCIs. For ATM subinterfaces, the router computes the default based on the subinterface speed.
Configuring Bandwidth-Remaining Ratios on Ethernet Subinterfaces: Example, page 5-21 • Configuring Bandwidth-Remaining Ratios on ATM Subinterfaces: Example, page 5-21 • Configuring Bandwidth-Remaining Ratios on Class Queues: Example, page 5-22 Verifying Bandwidth Remaining Ratios: Example, page 5-22 • Cisco 10000 Series Router Quality of Service Configuration Guide 5-20 OL-7433-09...
If PVC 98/204 is configured on the same interface as PVC 0/200 and with a bandwidth-remaining ratio Note of 1, during times of congestion PVC 0/200 would have 10 times more bandwidth available to it for non-priority traffic than PVC 98/204 would have. Cisco 10000 Series Router Quality of Service Configuration Guide 5-21 OL-7433-09...
Router# show policy-map interface GigabitEthernet1/0/0.10 Service-policy output: vlan10_policy Class-map: class-default (match-any) 0 packets, 0 bytes 30 second offered rate 0 bps, drop rate 0 bps Match: any 0 packets, 0 bytes Cisco 10000 Series Router Quality of Service Configuration Guide 5-22 OL-7433-09...
Page 203
30 second offered rate 0 bps, drop rate 0 bps Match: any 0 packets, 0 bytes 30 second rate 0 bps queue limit 62 packets (queue depth/total drops/no-buffer drops) 0/0/0 (pkts output/bytes output) 0/0 Cisco 10000 Series Router Quality of Service Configuration Guide 5-23 OL-7433-09...
Page 204
(average) cir 500000, bc 2000, be 2000 target shape rate 500000 bandwidth remaining ratio 60 Class-map: class-default (match-any) 0 packets, 0 bytes 30 second offered rate 0 bps, drop rate 0 bps Match: any Cisco 10000 Series Router Quality of Service Configuration Guide 5-24 OL-7433-09...
Page 205
20 Class precedence_1 Average Rate Traffic Shaping cir 500000 (bps) bandwidth remaining ratio 40 Class precedence_2 Average Rate Traffic Shaping cir 500000 (bps) bandwidth remaining ratio 60 Cisco 10000 Series Router Quality of Service Configuration Guide 5-25 OL-7433-09...
Related Documentation Related Documentation This section provides hyperlinks to additional Cisco documentation for the features discussed in this chapter. To display the documentation, click the document title or a section of the document highlighted in blue. When appropriate, paths to applicable sections are listed below the documentation title.
Page 207
This chapter describes the policing capabilities of the Cisco 10000 series router. It includes the following topics: Traffic Policing, page 6-2 •...
This feature was introduced on the PRE4 and enhanced to PRE2, PRE3, support marking of the ATM CLP bit, Frame Relay DE bit, PRE4 and CoS bit using a police action for the PRE2, PRE3, and PRE4. Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
Sets the IP differentiated services code point Release 12.0(17)SL (DSCP) value and transmits the packet with the new PRE1 IP DSCP value setting. Valid values are from 0 to Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
PRE1 Single-Rate Color Marker for Traffic Policing The Cisco 10000 series router supports a single-rate color marker to police traffic streams into groups of conforming and nonconforming traffic. This marker is useful in marking packets in a packet stream with different, decreasing levels of assurances (either absolute or relative). The marker can mark packets with green, yellow, or red markings, which cause a specific action to occur.
Chapter 6 Policing Traffic Single-Rate Color Marker for Traffic Policing In Cisco IOS Release 12.0(25)S and Release 12.3(7)XI, and later releases, the router adds support • for an IETF-defined, RFC 2697-based, single rate, three-color marker by adding the ability to classify nonconforming traffic into a third group: traffic that violates the CIR.
For information about conforming, exceeding, and violating traffic, see the “Usage Guidelines for the police Command” section on page 6-7 Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
Page 213
The policer measures the committed burst size (CBS) and the excess burst size (EBS) in bytes. The Cisco IOS software converts the policing rate you enter in bits per second to bytes per millisecond. You must configure the CBS and EBS so that at least one of them is larger than 0.
(DiffServ) assured forwarding (AF) per-hop behavior (PHB) traffic conditioning (see the “Implementing DiffServ for End-to-End Quality of Service” section in the Cisco IOS Quality of Service Solutions Configuration Guide, Release 12.3). For information about the single-rate color marker, see the “Single-Rate Color Marker for Traffic...
The burst-normal specifies the bc value in bytes. Valid values are from 1 to 512,000,000. The default is 9,216 bytes. For more information, see the “Committed Bursts and Excess Bursts” section on page 6-21. Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
Page 216
When the be value equals 0, we recommend that you set the egress bc value to be greater than or equal to the ingress bc value plus 1. Otherwise, packet loss can occur. For example: be = 0 egress bc >= ingress bc + 1 Cisco 10000 Series Router Quality of Service Configuration Guide 6-10 OL-7433-09...
Page 218
6-7. police percent Command History Cisco IOS Release Description Release 12.0(25)SX The police percent command was introduced on the PRE1. Release 12.3(7)XI This command was introduced on the PRE2. Cisco 10000 Series Router Quality of Service Configuration Guide 6-12 OL-7433-09...
Router(config-pmap-c)# police percent 20 3 ms pir 25 10 ms Control Plane Policing The Cisco 10000 series router supports control plane policing in Cisco IOS Release 12.2(31)SB2 and later releases. The Control Plane Policing feature allows you to configure a quality of service (QoS) filter that manages the traffic flow of control plane packets.
Feature History for AToM Set FR DE as Police Action Cisco IOS Release Description Required PRE Release 12.2(33)SB This feature was introduced on the PRE2, PRE3, and PRE4. PRE2, PRE3, PRE4 Cisco 10000 Series Router Quality of Service Configuration Guide 6-14 OL-7433-09...
Feature History for Set Inner CoS as a Policer Action Cisco IOS Release Description Required PRE Release 12.2(33)SB This feature was introduced on the router for the PRE2, PRE2, PRE3, PRE3, and PRE4. PRE4 Cisco 10000 Series Router Quality of Service Configuration Guide 6-15 OL-7433-09...
If desired, you can then specify these same two actions as the action for the first and second exceed actions and for the two violate actions. Cisco 10000 Series Router Quality of Service Configuration Guide 6-16 OL-7433-09...
Cisco IOS release that supports dual police actions, the police command displays on a single line. If you configure each police action on a separate line and then downgrade to a Cisco IOS release that does not support dual actions, the router rejects the policer.
If the number of bytes in the exceeding bucket is greater than or equal to 0, the router removes the number of bytes of the packet from the exceeding token bucket and takes the exceed action. The router does not remove bytes from the conforming bucket. Cisco 10000 Series Router Quality of Service Configuration Guide 6-18 OL-7433-09...
Figure 6-1 shows how the two-rate policer marks a packet and assigns a corresponding action to the packet. Cisco 10000 Series Router Quality of Service Configuration Guide 6-19 OL-7433-09...
Page 226
When an arriving packet exceeds the PIR, the router takes the violate action on the packet, but does • not decrement the peak token bucket. Cisco 10000 Series Router Quality of Service Configuration Guide 6-20 OL-7433-09...
The default committed burst size is the greater of 2 milliseconds of bytes at the police rate or the network maximum transmission unit (MTU). Cisco 10000 Series Router Quality of Service Configuration Guide 6-21 OL-7433-09...
For example, if you configure a committed burst of 4000 bytes, then using the excess burst formula, the excess burst is 8000 bytes. be = 2 * 4000 = 8000 The default excess burst size is 0. Cisco 10000 Series Router Quality of Service Configuration Guide 6-22 OL-7433-09...
No Start of Frame Delimiter (SFD) No Frame Check Sequence (FCS) Layer 2 framing No cell header (VBR) Cell overhead No AAL Common Part Convergence Sublayer (CPCS) pad No ATM trailer Cisco 10000 Series Router Quality of Service Configuration Guide 6-23 OL-7433-09...
Page 230
A similar scenario for ATM requires 848 kbps because each 64-byte packet requires two cells of 53 bytes. 1000 * 2 * 53 * 8 / 1000 = 848 Cisco 10000 Series Router Quality of Service Configuration Guide 6-24 OL-7433-09...
Avoiding Bandwidth Starvation Due to Priority Services The Cisco 10000 series router services priority traffic at near line rate to ensure that traffic is handled with minimal delay. The router gives preference to the priority class over other class queues on a traffic link.
You cannot specify multiple conform or exceed actions for a specific class in a policy map. • In releases prior to Cisco IOS Release 12.2(33)SB, the router supports up to 16 police action types. • In Cisco IOS Release 12.2(33)SB and later releases, the router supports up to 32 police action types.
Configuring Dual Police Actions, page 6-37 • For more information about classifying traffic and creating QoS service policies, see Chapter 2, “Classifying Traffic” Chapter 3, “Configuring QoS Policy Actions and Rules.” Cisco 10000 Series Router Quality of Service Configuration Guide 6-27 OL-7433-09...
Page 237
Router(config)# interface Virtual-Template 1 Router(config-if)# ip unnumbered Loopback0 Router(config-if)# peer default ip address pool PPPoEpool Router(config-if)# ppp authentication chap Router(config-if)# service-policy input Gold Router(config)# ip local pool PPPoEpool 192.168.1.2 192.168.1.254 Cisco 10000 Series Router Quality of Service Configuration Guide 6-31 OL-7433-09...
Example 6-9 Configuration Example for Percent-Based Policing Router(config)# policy-map Test Router(config-pmap)# class Premium Router(config-pmap-c)# priority Router(config-pmap-c)# queue-limit 32 Router(config-pmap-c)# police percent 5 2 ms 2 ms Cisco 10000 Series Router Quality of Service Configuration Guide 6-32 OL-7433-09...
Page 239
Router(config-pmap-c)# class Silver Router(config-pmap-c)# police 8000000 4000 6000 conform-action transmit exceed-action set-qos-transmit 4 violate-action drop Router(config-pmap-c)# exit Router(config-pmap)# exit Router(config)# interface atm 1/0/0.1 point-to-point Router(config-subif)# pvc 1/32 Router(config-if-atm-range)# service-policy input Policy_0 Cisco 10000 Series Router Quality of Service Configuration Guide 6-33 OL-7433-09...
Page 240
Example 6-13 Policing a Priority Service Using Percent-Based Policing Router(config)# policy-map New-Traffic Router(config-pmap)# class Voice Router(config-pmap-c)# priority Router(config-pmap-c)# queue-limit 32 Router(config-pmap-c)# police percent 25 4 ms 1 ms conform-action transmit exceed-action set-qos-transmit 4 violate-action drop Cisco 10000 Series Router Quality of Service Configuration Guide 6-34 OL-7433-09...
Router(config-pmap-c)# police cir 512000 bc 10000 pir 1000000 be 10000 conform-action transmit exceed-action set-prec-transmit 4 violate-action drop Router(config-pmap-c)# exit Router(config-pmap)# exit Router(config)# interface atm 3/0/0 Router(config-if)# service-policy output Business Cisco 10000 Series Router Quality of Service Configuration Guide 6-35 OL-7433-09...
3; and traffic whose rate is higher than the conform plus exceed rate has the CoS bits also set to 3. Example 6-15 Marking Traffic Using Police Actions Router(config)# policy-map policy1 Router(config-pmap)# class gold Router(config-pmap-c)# police 8000 2000 1000 conform-action set-clp-transmit exceed-action set-cos 3 violate-action set-cos 3 Cisco 10000 Series Router Quality of Service Configuration Guide 6-36 OL-7433-09...
If the policy map is attached to an ATM PVC that is configured for Layer 2 VPN, the output from the show policy-map interface command displays the following information: Router# show policy-map interface atm4/0/0.1 ATM4/0/0.1: VC 1/100 - Service-policy input: clp Cisco 10000 Series Router Quality of Service Configuration Guide 6-38 OL-7433-09...
Verifying and Monitoring Traffic Policing The Cisco 10000 series router collects information about the number of conforming, exceeding, and violating packets and bytes. To verify and monitor traffic policing, enter any of the following commands in privileged EXEC mode:...
3 Related Documentation This section provides hyperlinks to additional Cisco documentation for the features discussed in this chapter. To display the documentation, click the document title or a section of the document highlighted in blue. When appropriate, paths to applicable sections are listed below the documentation title.
Page 250
Part 4: Policing and Shaping > Policing and Shaping Overview > What Is a Token Bucket? Two-rate policer three-color marker RFC 2698, A Two Rate Three Color Marker Two-Rate Policer, Release 12.2(4)T3 feature module Cisco 10000 Series Router Quality of Service Configuration Guide 6-44 OL-7433-09...
Page 251
If one of the routers in the path does not act appropriately, the overall service for a particular packet might not be as desired. This chapter describes the marking capabilities of the Cisco 10000 series router. It includes the following topics: QoS Packet Marking, page 7-2 •...
Table 7-1 summarizes the mechanisms you can use to mark packets. The internal mechanisms affect only the Cisco 10000 series router’s behavior; internal marks are not passed on to other routers. Table 7-1 Traffic Marking Actions...
The ability to set the ATM CLP bit allows you to extend your IP QoS policies into an ATM network. As congestion occurs in the ATM network, cells with the CLP bit set are more likely to be dropped, resulting in improved network performance for higher priority traffic and applications. Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
MPLS packets, the router drops the MPLS packets based on the three experimental (EXP) bits in the MPLS label, instead of using the 3-bit IP precedence field in the underlying IP packets. Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
In Cisco IOS Release 12.3(7)XI, the router accepts the set precedence command without specifying the ip keyword. However, you must specify the set ip precedence command to set the precedence value in a packet header.
64 different values (0 through 63). The differentiated services (DiffServ) functionality of the Cisco IOS software is fully compliant with the Internet Engineering Task Force (IETF) standards defined in the following request for comments (RFCs)
IP precedence. The CS code points have the form xyz000, where x, y, and z represent a 1 or 0. For more information, see the appropriate RFC as indicated in Table 7-4 on page 7-8. Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
RFC-2598, An Expedited Forwarding PHB • The RFCs do not dictate the way to implement PHBs; this is the responsibility of the vendor. Cisco implements queuing techniques that can base their PHB on the IP precedence or DSCP value in the IP header of a packet.
IP precedence. These code points (CS1 through CS7) are identical to IP precedence values 1 through 7. ef indicates expedited forwarding. • default indicates best effort or DSCP 0. • For more information, see Table 7-4 on page 7-8. Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
However, you must specify the set ip dscp command to set the DSCP value in a packet header. The ip keyword is required. Class of Service Marking Class of service (CoS) marking enables the Cisco 10000 series router to interoperate with switches to deliver end-to-end QoS. The IEEE 802.1p standard enables the router to: •...
Page 261
EtherType = 0x8100 PRI VLAN ID For CoS-based QoS, the Cisco 10000 series router uses the IP precedence bits in the IP header to give preference to higher-priority traffic. Layer 3 IP headers have a 1-byte Type of Service (ToS) field. The router uses the six most significant bits of this field (the differentiated services code point (DSCP) bits) to prioritize traffic.
Cisco IOS Release Description Release 12.0(16)BX This command was introduced on the PRE2 only. Release 12.2(28)SB This command was integrated in Cisco IOS Release 12.2(28)SB for the PRE2. Release 12.2(31)SB2 This command was integrated in Cisco IOS Release 12.2(31)SB2 for the PRE3.
Release 12.2(16)BX This command was introduced on the PRE2. Release 12.2(28)SB This command was integrated in Cisco IOS Release 12.2(28)SB for the PRE2. Usage Guidelines for the set qos-group Command The set qos-group command allows you to associate a group ID with a packet. The group ID can be used later to classify packets into QoS groups as part of QoS policy propagation through the Border Gateway Protocol (QPPB).
CLP bit set to 1 (discard) before discarding cells with a CLP bit setting of 0. You can set ATM CLP marking only on outbound packets. The Cisco 10000 series router does not support CLP bit matching.
The set mpls experimental command was introduced on the PRE1. Release 12.3(7)XI1 The set mpls experimental imposition command was introduced on the PRE2. Release 12.2(28)SB This command was integrated in Cisco IOS Release 12.2(28)SB for the PRE2. Cisco 10000 Series Router Quality of Service Configuration Guide 7-15 OL-7433-09...
Cisco IOS software replaced the set mpls experimental command with the set mpls experimental Note imposition command. However, the Cisco 10000 series router continues to use the set mpls experimental command for PRE1. For PRE2, the command is set mpls experimental imposition.
Cisco IOS Release Description Required PRE Release 12.2(31)SB22 This feature was introduced on the PRE3. PRE2, PRE3 Release 12.2(33)SB This feature was introduced on the PRE4. PRE2, PRE3, PRE4 Cisco 10000 Series Router Quality of Service Configuration Guide 7-17 OL-7433-09...
P1, and outbound interface P2 is a tunnel. As a result, the router classifies traffic as it enters the router through interface P1 and marks the traffic as it leaves through interface P2. Cisco 10000 Series Router Quality of Service Configuration Guide 7-18...
Frame Relay DE Bit Marking Restrictions In Cisco IOS Release 12.3(7)XI, when you enter the set ? command, the context-sensitive help lists • the fr-de keyword to allow you to set the Frame Relay discard eligibility (DE) bit. However, the router does not support setting the DE bit in Cisco IOS Release 12.3(7)XI and later releases.
• Ethernet VLANs • IP tunnel • Virtual-access (See the “VAI QoS Inheritance” section on page 4-24.) The router supports the set command on inbound and outbound interfaces. Note Cisco 10000 Series Router Quality of Service Configuration Guide 7-20 OL-7433-09...
• Classification and Marking Design Guidelines The Cisco 10000 series router provides many tools for classifying and marking traffic. Your task is to determine how best to use these tools in your network environment. The following are guidelines to help you make good design choices for classification and marking tools: Classify and mark traffic as close to the ingress edge as possible.
Router(config-pmap-c)# set ip precedence prec-value prec-value is the IP precedence value. Valid values are from 0 to 7. See Table 7-2 on page 7-4. Be sure you specify the ip keyword. Note Cisco 10000 Series Router Quality of Service Configuration Guide 7-22 OL-7433-09...
Router(config)# class-map ip-prec Router(config-cmap)# match ip precedence 3 Router(config-cmap)# exit Router(config)# policy-map Second Router(config-pmap)# class ip-prec Router(config-pmap-c)# police 8000 4000 2000 conform-action transmit exceed-action drop violate-action drop Router(config-pmap-c)# exit Router(config-pmap)# exit Cisco 10000 Series Router Quality of Service Configuration Guide 7-23 OL-7433-09...
CS7) are identical to IP precedence values 1 through 7. • ef indicates expedited forwarding. • default indicates best effort or DSCP 0. For more information, see Table 7-4 on page 7-8. Cisco 10000 Series Router Quality of Service Configuration Guide 7-24 OL-7433-09...
Platinum. All intermediate routers provide low-latency treatment to the Voice packets. Example 7-4 Configuring IP DSCP-Based Classification Router(config)# class-map Voice Router(config-cmap)# match ip dscp 5 Router(config-cmap)# exit Router(config)# policy-map Platinum Cisco 10000 Series Router Quality of Service Configuration Guide 7-25 OL-7433-09...
You can attach a service policy containing the set cos Note command to only an outbound VLAN interface. The router cannot apply the set cos command to inbound packets. Cisco 10000 Series Router Quality of Service Configuration Guide 7-26 OL-7433-09...
Router(config-cmap)# match cos 3 Router(config-cmap)# exit Router(config)# policy-map Policy1 Router(config-pmap)# class Voice Router(config-pmap-c)# set ip dscp 8 Router(config-pmap-c)# exit Router(config-pmap)# exit Router(config)# interface GigabitEthernet 4/0/0 Router(config-if)# service-policy output Policy1 Cisco 10000 Series Router Quality of Service Configuration Guide 7-27 OL-7433-09...
Policy1. Example 7-7 Configuring QoS Group Marking Router(config)# class-map Group Router(config-cmap)# match cos 5 Router(config-cmap)# exit Router(config)# policy-map Policy1 Router(config-pmap)# class Group Router(config-pmap-c)# set qos-group 4 Cisco 10000 Series Router Quality of Service Configuration Guide 7-28 OL-7433-09...
CLP bit set to 1 before it discards packets with the CLP bit set to 0. Note To change the CLP bit back to 0, use the no set atm-clp command. Cisco 10000 Series Router Quality of Service Configuration Guide 7-29 OL-7433-09...
DSCP bits to 3. class-map match_ip match protocol ip policy-map Tunnel_Marking class match_ip set ip dscp tunnel 3 class class-default shape 64000 Cisco 10000 Series Router Quality of Service Configuration Guide 7-35 OL-7433-09...
In the example, the policer sets the DSCP bits to 4 for all conforming traffic belonging to the match_ip class. class-map match_ip match protocol ip policy-map Tunnel_Marking class match_ip police 8000 conform-action set-dscp-tunnel-transmit 4 class class-default shape 64000 Cisco 10000 Series Router Quality of Service Configuration Guide 7-36 OL-7433-09...
Marking Traffic Verifying Traffic Marking Verifying Traffic Marking The Cisco 10000 series router collects statistical information about the number of packets and bytes marked. To verify traffic marking, enter any of the following commands in privileged EXEC configuration mode: Command...
Output queue: 0/64; 0/0 packets/bytes output, 0/0 drops Related Documentation This section provides hyperlinks to additional Cisco documentation for the features discussed in this chapter. To display the documentation, click the document title or a section of the document highlighted in blue.
Page 290
Release 12.2 Part 1: Classification > Configuring Class-Based Packet Marking MPLS Experimental Marking Cisco IP Solution Center, 3.0: Quality of Service Management User Guide, Release 3.0 Quality of Service Concepts > MPLS Experimental Values Service Provider Quality of Service Design Guide...
The more traffic in a stream, the larger its share of the link bandwidth. Packets arriving first are the first packets out of the queue, regardless of the packet type. Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
Using priority queuing, delay-sensitive data receives preferential treatment over other traffic. In all releases prior to Cisco IOS Release 12.0(25)S and Release 12.3(7)XI, low-latency priority queuing (LL/PQ) and bandwidth reservation together enabled you to provide differentiated services (DiffServ).
In Cisco IOS Release 12.3(7)XI and later releases, the router allocates the bandwidth you specify in the police command to the priority queue before it allocates bandwidth to the other queues on the link. As a result, the amount of bandwidth allocated to the other queues is based on the bandwidth remaining after the priority queue receives its bandwidth allocation.
Cisco 10000 series router for the PRE3. Child Service Policy Allowed Under Priority Class The Cisco 10000 series router supports the Child Service Policy Allowed Under Priority Class feature in Cisco IOS Release 12.2(31)SB2. This feature allows you to attach a child policy with non-queuing features to a priority class.
You cannot configure the shape command and multi-level priority queuing on the same class. For • example, the router rejects the following configuration: policy-map P1 class C1 priority level 1 shape average 56000 Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
Configures traffic policing and allows you to configure a rate Router(config-pmap-c)# police [cir] bps [bc burst-normal] {pir pir} [be burst-excess] for the priority queue. [conform-action action [exceed-action action For more information, see Chapter 6, “Policing Traffic.” [violate-action action]]] Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
Valid values are 1 (high priority) and 2 (low priority). Default: 1 Do not specify the same priority level for two Note different classes in the same policy map. Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
Page 298
(Optional) pir pir is the peak information rate (PIR) expressed as a percentage. The pir pir option indicates the rate at which the second token bucket is updated. Valid values are from 1 to 100. Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
Example 8-2 Priority Queue with Bandwidth Percentage Router(config)# class-map Class1 Router(config-cmap)# match ip dscp ef Router(config)# policy-map Premium Router(config-pmap)# class Class1 Router(config-pmap-c)# priority Router(config-pmap-c)# police percent 25 Router(config-pmap)# class Class2 Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
Verifying and Monitoring Priority Queues Verifying and Monitoring Priority Queues The Cisco 10000 series router collects statistical information about the current priority queue length, and the number of packets and bytes transmitted and dropped. To verify and monitor the contents of the priority queue (such as queue depth and the first packet...
Related Documentation Related Documentation This section provides hyperlinks to additional Cisco documentation for the features discussed in this chapter. To display the documentation, click the document title or a section of the document highlighted in blue. When appropriate, paths to applicable sections are listed below the documentation title.
Page 304
Chapter 8 Prioritizing Services Related Documentation Cisco 10000 Series Router Quality of Service Configuration Guide 8-14 OL-7433-09...
Page 305
Deploying policing and shaping throughout your network helps to ensure that a packet, or data source, conforms to the QoS policies contracted for it. The Cisco 10000 series router supports traffic policing and shaping. This chapter describes traffic shaping and includes the following topics: Traffic Shaping, page 9-2 •...
The Cisco 10000 series router’s traffic shaping algorithm is not based on the token bucket model. Therefore, the concepts of committed burst (Bc) and excess burst (Be) are not applicable. Because shaping does not use token buckets, the router cannot gather shaping statistics.
Moreover, you can configure up to 64 discrete classes in a service policy. Configure class-based weighted fair queueing (CBWFQ) inside generic traffic shaping—CBWFQ • allows you to specify the exact amount of bandwidth to be allocated for a specific class of traffic. Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
PRE3 System Limits for Class-Based Shaping Table 3-1 on page 3-2 lists the system limits for policy maps supported on the Cisco 10000 series router. Restrictions and Limitations for Class-Based Shaping • A single policy map can be attached to multiple interfaces concurrently. If you attempt to attach a...
Prior to Cisco IOS Release 12.3(7)XI2, you could configure shaped unspecified bit rate (UBR) PVCs only when the no atm pxf queuing command is configured. In Cisco IOS Release 12.3(7)XI2 and later releases, you can configure shaped UBR PVCs when the atm pxf queuing command is configured.
The number of VCs the OC-12 line card supports is up to one-half of the VC scaling limit of 16,384 • VCs. Cisco IOS software counts each UBR-PVC above 299,520 as two VCs. Therefore, the active VC count must be maintained at the following: 16,384 >...
Active VCs on ATM Line Cards Line Card Maximum VCs per Port Maximum VCs per Module VBR, CBR, Shaped UBR VCs E3/DS3 4,096 32,768 28,672 OC-3 8,192 32,768 28,672 OC-12 16,384 16,384 16,384 Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
Shaping Traffic Traffic Shaping Restrictions and Limitations for Hierarchical Shaping The Cisco 10000 series router supports a maximum of 31,500 VCs when hierarchical shaping is • enabled. You can configure a maximum of 127 VP tunnels for each ATM line card, configured across the •...
Restrictions and Limitations for Frame Relay Traffic Shaping • Frame Relay traffic shaping applies only to Frame Relay PVCs. Configuration Commands for Traffic Shaping The following commands are used to configure class-based and hierarchical shaping (see the Cisco IOS command reference documentation): • shape •...
Use the show policy-map interface command to display the actual bandwidth. The bandwidth percentage is based on the interface bandwidth. In a hierarchical policy, the bandwidth percentage is based on the nearest parent shape rate. Cisco 10000 Series Router Quality of Service Configuration Guide 9-10 OL-7433-09...
Can introduce delay resulting from queuing (especially when deep queues are used). – Policing • – Drops excess packets (when configured), throttles TCP window sizes, and reduces the overall output rate of affected traffic streams. Cisco 10000 Series Router Quality of Service Configuration Guide 9-11 OL-7433-09...
Modifying the VC Weight and the VP Shaping Parameters In Cisco IOS Release 12.3(7)XI1, when you change the weight of a VC or the VP shaping parameters, the SAR mechanism brings down the VC or VP and the session goes down.
Configuring Traffic Shaping To configure traffic shaping, perform the following configuration tasks: Shaping a Traffic Class, page 9-14 • Shaping Traffic at the VC-Level and Virtual Path-Level, page 9-15 • Cisco 10000 Series Router Quality of Service Configuration Guide 9-13 OL-7433-09...
Do not specify the output or input keywords. Note For more information, see Chapter 13, “Defining QoS for Multiple Policy Levels.” Cisco 10000 Series Router Quality of Service Configuration Guide 9-14 OL-7433-09...
Creates an ATM permanent virtual circuit (PVC) and enters ATM Router(config-if)# pvc vpi/vci virtual circuit configuration mode. vpi is the virtual path identifier. vci is the virtual channel identifier. Cisco 10000 Series Router Quality of Service Configuration Guide 9-15 OL-7433-09...
Page 320
When the queues exhaust the buffer, packets are randomly dropped, which can cause the loss of critical system traffic. Cisco 10000 Series Router Quality of Service Configuration Guide 9-16 OL-7433-09...
Displays the configuration of all of the classes configured in all Router# show policy-map interface of the policy maps that are attached to all of the router interfaces. Cisco 10000 Series Router Quality of Service Configuration Guide 9-17 OL-7433-09...
Page 322
Router# show running-config [interface interface] currently configured in the running-config file, including any service policies attached to the interface. (Optional) interface interface is the type and number of the interface. Cisco 10000 Series Router Quality of Service Configuration Guide 9-18 OL-7433-09...
288 256 Related Documentation This section provides hyperlinks to additional Cisco documentation for the features discussed in this chapter. To display the documentation, click the document title or a section of the document highlighted in blue. When appropriate, paths to applicable sections are listed below the documentation title.
C H A P T E R Overhead Accounting This chapter describes overhead accounting on the Cisco 10000 series router and contains the following topics: Overhead Accounting Features, page 10-1 • Configuration Commands for Overhead Accounting, page 10-5 • Subscriber Line Encapsulation Types, page 10-5 •...
AAL5 segmentation processing adds the additional overhead of the 5-byte cell headers, the AAL5 Common Part Convergence Sublayer (CPCS) padding, and the AAL5 trailer. For more information, see “Overhead Calculation on the Router” section on page 10-5. Cisco 10000 Series Router Quality of Service Configuration Guide 10-2 OL-7433-09...
With hierarchical policies, the parent shape value overrides the bandwidth received through the AVP or PPPoE tag. For more information on the MLP at LNS feature, see the “Configuring Multilink Point-to-Point Protocol Connections” chapter in the Cisco 10000 Series Router Software Configuration Guide at the following URL: http://www.cisco.com/en/US/docs/routers/10000/10008/configuration/guides/broadband/mlp.html...
-63 bytes of overhead. Before applying shaping, the router calculates the overhead. Ethernet interfaces and subinterfaces support overhead accounting. Using the shape or bandwidth command, you can configure accounting per VLAN and per port. Cisco 10000 Series Router Quality of Service Configuration Guide 10-4 OL-7433-09...
Disabled on all classes in the child policy map without policing) Child class (priority with Disabled Disabled or enabled on all nonpriority classes policing) in the child policy map Cisco 10000 Series Router Quality of Service Configuration Guide 10-6 OL-7433-09...
Creates or modifies the child policy. Enters policy-map Router(config)# policy-map policy-map-name configuration mode. policy-map-name is the name of the child policy map. The name can be a maximum of 40 alphanumeric characters. Cisco 10000 Series Router Quality of Service Configuration Guide 10-7 OL-7433-09...
Page 334
The name can be a maximum of 40 alphanumeric characters. Step 6 Configures or modifies the parent class-default class. Router(config-pmap)# class class-default Cisco 10000 Series Router Quality of Service Configuration Guide 10-8 OL-7433-09...
Page 335
Do not specify the input or output keywords when Note applying a child policy to a parent class-default class. Cisco 10000 Series Router Quality of Service Configuration Guide 10-9 OL-7433-09...
18 bytes specified. The ethernet_ovrh policy map is attached to subinterface Gigabit Ethernet 1/0/0.100. policy-map ethernet_ovrh class class-default Cisco 10000 Series Router Quality of Service Configuration Guide 10-11 OL-7433-09...
This mismatch occurs because the classification byte count does not consider overhead, whereas the queuing features do consider overhead. Cisco 10000 Series Router Quality of Service Configuration Guide 10-12 OL-7433-09...
(average) cir 200000, bc 800, be 800 target shape rate 200000 Overhead Accounting Enabled Related Documentation This section lists additional Cisco documentation for the features discussed in this chapter. When appropriate, paths to applicable sections are listed below the documentation title. Feature Related Documentation ATM overhead accounting Traffic Shaping Overhead Accounting for ATM, Release 12.2(31)SB2 feature...
Page 342
Chapter 10 Overhead Accounting Related Documentation Cisco 10000 Series Router Quality of Service Configuration Guide 10-16 OL-7433-09...
For 32,000 VCs, the router would need to allocate a minimum of 64,000 queues. While Cisco IOS Release 12.3(7)XI1 adds support for up to 128,000 queues, a more effective use of these limited resources is to have the subinterfaces on a given main interface share the single system queue of the main interface.
Managing Packet Queue Congestion Queue Limit In Cisco IOS Release 12.3(7)XI2, the subinterfaces on a given main interface share the single system queue of the main interface. This allows for 32,000 subinterfaces with a three-queue model that supports assured forwarding (AF) queues, expedited forwarding (EF) queues, and the default best effort (BE) queues.
Page 345
• limit of two times the largest WRED maximum threshold value, rounded to the nearest power of 2. For Cisco IOS Release 12.2(15)BX and Release 12.2(16)BX, the router does not round the value Note to the nearest power of 2.
11-20. • Releases prior to Cisco IOS Release 12.0(25)SX and Release 12.3(7)XI—RED with queue-limit is not supported. As a workaround, configure RED with an unused IP precedence or DSCP level and define a maximum threshold that is larger than the default size the router calculated. By doing this, you force the router to increase the queue size to accommodate the larger threshold.
• limit of two times the largest WRED maximum threshold value, rounded to the nearest power of 2. For Cisco IOS Release 12.2(15)BX and Release 12.2(16)BX using the PRE2, and for Cisco IOS Note Release 12.2(31)SB2 and later releases using the PRE3, the router does not round the value to the nearest power of 2.
11-4. Cisco IOS Release 12.2(16)BX does not require that you specify a queue limit value that is a power of 2; therefore, the router does not round the value to the nearest power of 2. Queue IDs and Interface Queues The router allocates queue IDs (QIDs) to interface queues.
Queuing Outbound Traffic on ATM Interfaces On ATM interfaces, the Cisco 10000 series router creates one set of queues for all of the unspecified bit rate (UBR) PVCs and a separate set of queues for each variable bit rate (VBR) PVC. The following lists the queues the router creates: •...
PRE3 Tail Drop and Random Early Detection The Cisco 10000 series router allows you to combine tail drop with another congestion control mechanism called random early detection (RED). RED does not replace tail drop, but rather complements it by dropping packets before the queue reaches its queue limit or maximum threshold. Tail drop occurs after the queue is already full, when the mean queue depth for RED exceeds the maximum threshold value and when the queue limit is reached.
This feature was introduced on the PRE2. PRE2 Release 12.2(28)SB This feature was integrated in Cisco IOS PRE2 Release 12.2(28)SB for the PRE2. Release 12.2(31)SB2 This feature was introduced on the PRE3. PRE3 Cisco 10000 Series Router Quality of Service Configuration Guide 11-9 OL-7433-09...
To simultaneously configure RED and queue limit for a class in a policy map, the router must be running Note Cisco IOS Release 12.0(25)SX or later releases. In releases prior to Cisco IOS Release 12.0(25)SX, you can configure either the random-detect command or the queue-limit command, but not both commands at the same time.
ATM CLP-based WRED on non-Layer2 VPN outbound ATM interfaces. CoS-based WRED—Configures a drop policy for WRED based on the specified class of service • (CoS) bit associated with the packet. Valid values are from 0 to 7. Cisco 10000 Series Router Quality of Service Configuration Guide 11-11 OL-7433-09...
RED. This feature is DiffServ-compliant on the PRE3. Release 12.2(33)SB This feature was enhanced to support ATM cell loss PRE2, PRE3, priority-based WRED on the PRE2, PRE3 and PRE4. PRE4 Cisco 10000 Series Router Quality of Service Configuration Guide 11-12 OL-7433-09...
Table 11-4 lists the commands used to enable the WRED drop modes. If you do not specify any arguments, WRED uses the default IP precedence in the WRED calculations. Note Cisco 10000 Series Router Quality of Service Configuration Guide 11-13 OL-7433-09...
The behavior of these commands depends on the PRE installed in the router as the following describes: On the PRE2, the random-detect command specifies the default profile for the queue. • Cisco 10000 Series Router Quality of Service Configuration Guide 11-14 OL-7433-09...
Page 357
A number that indicates the drop eligibility of a packet based on the discard-class. Valid values min-thresh-value max-thresh-value are from 0 to 7. mark-probability-denominator-value PRE3 and PRE4 random-detect discard-class discard-class-value min-thresh-value max-thresh-value mark-probability-denominator-value Cisco 10000 Series Router Quality of Service Configuration Guide 11-15 OL-7433-09...
Page 358
1. Depends on a combination of factors, such as the number of queues on the router and packet heaps. Changes in the queue length and the number of classes per policy map also affect the number of interfaces on which policy maps can be applied. Cisco 10000 Series Router Quality of Service Configuration Guide 11-16...
WRED profile, the router collects the statistics as an aggregate for the unconfigured subclasses and displays the statistics in one line. The router maintains separate statistics for each random-detect command with a group of subclasses. Cisco 10000 Series Router Quality of Service Configuration Guide 11-17 OL-7433-09...
With the dscp-based keyword, WRED uses the DSCP value (that is, the first six bits of the IP type of service (ToS) byte) to calculate the drop probability. Cisco 10000 Series Router Quality of Service Configuration Guide 11-18 OL-7433-09...
PRE2. On the PRE3, when you specify a WRED default drop profile for a Note queue, the same profile applies to all DSCP or precedence values. If you do not configure the default profile, the behavior is to tail drop. Cisco 10000 Series Router Quality of Service Configuration Guide 11-19 OL-7433-09...
To simultaneously configure WRED and queue limit for a class in a policy map, the router must be Note running Cisco IOS Release 12.3(7)XI or later releases. In releases prior to Cisco IOS Release 12.3(7)XI, you can configure either the random-detect command or the queue-limit command, but not both commands at the same time.
** Requires a specific type of hierarchical policy. For more information, see the Chapter 13, “Defining QoS for Multiple Policy Levels.” The router supports the queue-limit and random-detect commands on outbound interfaces only. Note Cisco 10000 Series Router Quality of Service Configuration Guide 11-21 OL-7433-09...
– shape – For releases prior to Cisco IOS Release 12.0(25)SX and Release 12.3(7)XI, you cannot combine the • queue-limit command with the random-detect command. The router restricts the aggregate sum of queue limits to 1,048,576 (PRE1) or 4,194,304 (PRE2) •...
Page 365
Each of the 64 DSCP values correspond to one of the four drop levels. When you configure the four unique drop precedence levels, all of the queues configured on an interface share the different levels. Cisco 10000 Series Router Quality of Service Configuration Guide 11-23 OL-7433-09...
Router(config-pmap-c)# bandwidth {bandwidth-kbps | percent percent} of available bandwidth) to be assigned to the class. The amount of bandwidth configured should be large enough to also accommodate Layer 2 overhead. Cisco 10000 Series Router Quality of Service Configuration Guide 11-24 OL-7433-09...
• limit of two times the largest WRED maximum threshold value, rounded to the nearest power of 2. For Cisco IOS Release 12.2(15)BX and Release 12.2(16)BX, the router does not round the value Note to the nearest power of 2.
Valid maximum threshold values are from the value of the minimum threshold to 16,384. (Optional) mark-prob is the drop rate. Valid values are from 1 to 65,535. The default value is 10. Cisco 10000 Series Router Quality of Service Configuration Guide 11-26 OL-7433-09...
Valid maximum threshold values are from the value of the minimum threshold to 16,384. mark-probability-denominator-value (PRE2) or mark-prob (PRE3) is the drop rate. Valid values are from 1 to 65,535. The default value is 10. Cisco 10000 Series Router Quality of Service Configuration Guide 11-28 OL-7433-09...
To drop packets based on the discard class, enter the following commands beginning in global configuration mode: Dropping packets based on the discard class requires Cisco IOS Release 12.3(7)XI or later releases Note (PRE2), or Cisco IOS Release 12.2(31)SB2 or later releases (PRE3).
To drop packets based on the ATM cell loss priority (CLP), enter the following commands beginning in global configuration mode: Note Dropping packets based on the CLP requires the PRE3 and Cisco IOS Release 12.2(33)SB, or a later release. Command...
Router(config-pmap)# exit Verifying and Monitoring Layer 3 Packet Dropping For releases prior to Cisco IOS Release 12.0(25)SX and Release 12.3(7)XI, the router maintains only the total random and tail drop statistics for all IP precedence levels. In Cisco IOS Release 12.0(25)SX and Release 12.3(7)XI, and later releases, the router maintains separate WRED drop statistics for each IP precedence, DSCP, and discard-class value.
Page 375
Displays the rates at which each interface gets packets from the Router# show pxf cpu schedule forwarding engine. The show pxf commands are entered as show hardware pxf on the PRE1. Note Cisco 10000 Series Router Quality of Service Configuration Guide 11-33 OL-7433-09...
Example 11-7 shows sample output for the show policy-map interface command when ATM CLP-based WRED is configured on a Cisco 10000 series router with a PRE3. The output shows the threshold values configured for CLP 1. Example 11-12 Displaying ATM CLP-Based WRED Statistics (PRE3)
66 and the maximum threshold is 70, increase the maximum threshold to 72 to increase the spread. To reduce latency, decrease the maximum threshold. • • To increase the number of queues, increase the maximum threshold. Cisco 10000 Series Router Quality of Service Configuration Guide 11-39 OL-7433-09...
15-38. Related Documentation This section provides hyperlinks to additional Cisco documentation for the features discussed in this chapter. To display the documentation, click the document title or a section of the document highlighted in blue. When appropriate, paths to applicable sections are listed below the documentation title.
Page 383
Part 2: Congestion Management > Configuring Weighted Fair Queuing > Class-Based Weighted Fair Queuing Configuration Task List Random Early Detection with Queue-Limit Release Notes for the Cisco 10000 Series Internet Router for Cisco IOS Release 12.0(25)SX New Features in Cisco IOS Release 12.0(25)SX > Random...
Page 384
Chapter 11 Managing Packet Queue Congestion Related Documentation Cisco 10000 Series Router Quality of Service Configuration Guide 11-42 OL-7433-09...
To provide consistent response time to heavy and light traffic without adding excessive bandwidth, the Cisco 10000 series router provides a queuing technique called Class-Based Weighted Fair Queuing (CBWFQ). This technique reduces response time for real-time traffic and fairly shares the remaining bandwidth between high bandwidth flows.
Page 386
Enabling CBWFQ on a physical interface overrides the default interface queuing method. Enabling CBWFQ on an ATM permanent virtual circuit (PVC) does not override the default queuing method. Cisco 10000 Series Router Quality of Service Configuration Guide 12-2 OL-7433-09...
(excess) bandwidth among the packets remaining in the class queues. For more information about distributing bandwidth across class queues, including how bandwidth is calculated, see Chapter 5, “Distributing Bandwidth Between Queues.” Cisco 10000 Series Router Quality of Service Configuration Guide 12-3 OL-7433-09...
You can also specify the queue limit for a class to indicate the maximum number of packets allowed to accumulate in the queue for the class. Packets belonging to a class are subject to the queue limits that characterize the class. Cisco 10000 Series Router Quality of Service Configuration Guide 12-4 OL-7433-09...
You can only apply a service policy with queuing-related actions to a VC. Do not apply service policies with CBWFQ actions to a VAI using a virtual template. The Cisco 10000 router supports queuing only when you apply the service policy to a VC.
• Cisco IOS Release 12.2(25)SX does not support the configuration of broadband aggregation (BBA) groups using RADIUS. You must configure BBA groups manually. You can only apply a QoS policy with queuing-related actions to a VC. Do not apply service policies •...
Valid values are from 1 to 99. Cisco 10000 Series Router Quality of Service Configuration Guide 12-9 OL-7433-09...
Page 394
512 packets is dropped when the average queue is at the maximum threshold. Valid values are from 1 to 65536. The default is 10 (1 out of every 10 packets is dropped at the maximum threshold). Cisco 10000 Series Router Quality of Service Configuration Guide 12-10 OL-7433-09...
1 to 64. The default number of queue entries is based on the bandwidth rate. When you specify the queue-limit command, the router Note uses tail drop to drop packets. Cisco 10000 Series Router Quality of Service Configuration Guide 12-11 OL-7433-09...
Step 2 Assigns a traffic class to a policy map. Enters policy-map class Router(config-pmap)# class class-map-name configuration mode. class-map-name is the name of a previously configured class map. Cisco 10000 Series Router Quality of Service Configuration Guide 12-12 OL-7433-09...
Page 397
WRED to drop packets, not tail drop. If you configure a class to use WRED, you must ensure that WRED is not configured on the interface to which you intend to attach the service policy. Cisco 10000 Series Router Quality of Service Configuration Guide 12-13 OL-7433-09...
Each interface can have only one policy attached for inbound packets and one policy attached for outbound packets. Example 12-4 Attaching a Service Policy to an Interface Router(config)# interface ethernet1/0/0 Router(config-if)# service-policy output policy1 Router(config-if)# interface serial1/0/1 Router(config-if)# service-policy output policy1 Router(config-if)# exit Cisco 10000 Series Router Quality of Service Configuration Guide 12-15 OL-7433-09...
Note traffic classes configured in the policy map and attach the policy map to either a VC or to a virtual template interface (requires Cisco IOS Release 12.2(16)BX and later releases). Modifying the Bandwidth for an Existing Policy Map Class...
Deletes the class you specify. Router(config-pmap)# no class class-map-name class-map-name is the name of the traffic class you want to delete. This is the name of a previously configured class map. Cisco 10000 Series Router Quality of Service Configuration Guide 12-17 OL-7433-09...
Related Documentation This section provides hyperlinks to additional Cisco documentation for the features discussed in this chapter. To display the documentation, click the document title or a section of the document highlighted in blue.
Page 405
Feature Related Documentation Class maps Cisco IOS Quality of Service Solutions Configuration Guide, Release 12.2 Part 8: Modular Quality of Service Command Line Interface > Configuring the Modular Quality of Service Command Line Interface > Modular QoS CLI Configuration Task List > Creating a Traffic Class Policy maps Cisco IOS Quality of Service Solutions Configuration Guide, Release 12.2...
Page 406
Chapter 12 Sharing Bandwidth Fairly During Congestion Related Documentation Cisco 10000 Series Router Quality of Service Configuration Guide 12-22 OL-7433-09...
Page 407
C H A P T E R Defining QoS for Multiple Policy Levels In releases prior to Cisco IOS Release 12.0(22)S, you can specify QoS behavior at only one level. For example, to shape two outbound queues of an interface, you must configure each queue separately, defining only class-specific actions.
VTMS link. The router uses this QoS link to service the associated traffic independently of other traffic. For releases prior to Cisco IOS Release 12.0(25)SX, the router uses 128 discrete values between 64 kbps and 1 Gbps as multiqueue shape rates. Therefore, the sum of the nested policy shape rates you specify for an interface must be 64 kbps less than the total bandwidth of the interface.
All types of hierarchical policies use the following components to provide multiple levels of QoS behavior: • Child Policy, page 13-4 • Parent Policy, page 13-4 • service-policy Command, page 13-5 Cisco 10000 Series Router Quality of Service Configuration Guide 13-3 OL-7433-09...
You must configure the police command when creating hierarchical input policing policies; do not configure the shape command. Cisco 10000 Series Router Quality of Service Configuration Guide 13-4...
“Hierarchical Input Policing Policies” section on page 13-10. Note The router does not support nested and three-level hierarchical policies on inbound interfaces, and it does not support hierarchical input policing on outbound interfaces. Cisco 10000 Series Router Quality of Service Configuration Guide 13-5 OL-7433-09...
Defining QoS for Multiple Policy Levels Types of Hierarchical Policies Types of Hierarchical Policies The Cisco 10000 series router supports the following types of hierarchical policies: Nested Hierarchical Policies, page 13-6 • Defines up to two levels of hierarchy. A nested policy can define a minimum bandwidth for each type of traffic on a virtual circuit and a maximum bandwidth for the virtual circuit’s total traffic.
64 kbps less than the total bandwidth of the interface. In Cisco IOS Release 12.0(25)SX and Release 12.3(7)XI, and later releases, the router allows oversubscription. For more information, see Chapter 15, “Oversubscribing Physical and Virtual Links.”...
The actual shape rate the router applies to the child traffic classes might differ from the rate you Note specify in the hierarchical policy. Use the show policy-map interface command to determine the actual shape rate applied. Cisco 10000 Series Router Quality of Service Configuration Guide 13-8 OL-7433-09...
Example 13-2 Properly Defining Bottom-Level Child and Top-Level Parent Class Maps Router(config)# class-map Parent Router(config-cmap)# math ip precedence 1 2 3 Router(config)# class-map Child Router(config-cmap)# match ip precedence 2 3 Cisco 10000 Series Router Quality of Service Configuration Guide 13-9 OL-7433-09...
100 packets and passes 400 packets. The traffic policer in the policy_map_level2 policy then evaluates the 400 packets it receives, drops 200, and transmits the remaining 200 packets. Cisco 10000 Series Router Quality of Service Configuration Guide 13-10 OL-7433-09...
Hierarchical Policies and Oversubscription For releases prior to Cisco IOS Release 12.0(25)SX and Release 12.3(7)XI, the router does not allow oversubscription of interfaces. If you oversubscribe hierarchical policies, instead of reducing the shape...
Applying Child Policies Under Priority Classes Applying Child Policies Under Priority Classes The Cisco 10000 series router allows you to apply a child policy with non-queuing features under a priority class in Cisco IOS Release 12.2(31)SB2 and later releases. In a three-level hierarchical policy, the priority class to which you attach the child policy must be in the middle-level policy.
Router(config-pmap)# class class-map-name policy-map class configuration mode. class-map-name is the name of a previously configured class map and is the traffic class for which you want to define QoS actions. Cisco 10000 Series Router Quality of Service Configuration Guide 13-13 OL-7433-09...
Page 420
Example 13-3 Creating Fair Queues at Two Levels of Hierarchy Router(config)# policy-map Bottom-Child Router(config-pmap)# class Bronze Router(config-pmap-c)# bandwidth percent 50 Router(config-pmap-c)# exit Router(config-pmap)# policy-map Top-Parent Router(config-pmap)# class class-default Router(config-pmap-c)# shape 1000 Router(config-pmap-c)# service-policy Bottom-Child Cisco 10000 Series Router Quality of Service Configuration Guide 13-14 OL-7433-09...
Traffic Marking Actions Action Description atm-clp Sets the ATM cell loss priority (CLP) bit to 1. Sets the IEEE 802.1P class of service bits in the user priority field. Cisco 10000 Series Router Quality of Service Configuration Guide 13-15 OL-7433-09...
Router(config-pmap)# class class-map-name policy-map class configuration mode. class-map-name is the name of a previously configured class map and is the traffic class for which you want to define QoS actions. Cisco 10000 Series Router Quality of Service Configuration Guide 13-16 OL-7433-09...
Page 423
Marks any traffic that exceeds 10 percent with IP precedence 4 and then transmits the packet – During congestion, discards default packets with IP precedence level 1 before discarding other • packets Cisco 10000 Series Router Quality of Service Configuration Guide 13-17 OL-7433-09...
Applies the middle-level child policy map to the parent Router(config-pmap-c)# service-policy policy-map-name class-default class. Do not specify an input or output keyword. policy-map-name is the name of a previously configured middle-level child policy map. Cisco 10000 Series Router Quality of Service Configuration Guide 13-18 OL-7433-09...
Router(config-pmap)# class class-map-name policy-map class configuration mode. class-map-name is the name of a previously configured class map and is the traffic class for which you want to define QoS actions. Cisco 10000 Series Router Quality of Service Configuration Guide 13-19 OL-7433-09...
Page 426
Applies the bottom-level child policy map to the parent Router(config-pmap-c)# service-policy policy-map-name class-default class. Do not specify an input or output keyword. policy-map-name is the name of a previously configured bottom-level child policy map. Cisco 10000 Series Router Quality of Service Configuration Guide 13-20 OL-7433-09...
QoS policy to outbound packets. You must specify the output keyword for nested policies and three-level hierarchical policies. policy-map-name is the name of a previously configured top-level parent policy map. Cisco 10000 Series Router Quality of Service Configuration Guide 13-21 OL-7433-09...
8000 kbps as specified by the shape command in the Parent class-default class. The hierarchical policy is attached to outbound ATM interface 1/0/0 using the service-policy command. Cisco 10000 Series Router Quality of Service Configuration Guide 13-22 OL-7433-09...
40, and 60, respectively. policy-map child-policy class precedence_0 shape average 500000 bandwidth remaining ratio 20 <---- Class-level ratio class precedence_1 shape average 500000 bandwidth remaining ratio 40 <---- Class-level ratio Cisco 10000 Series Router Quality of Service Configuration Guide 13-26 OL-7433-09...
Displays the configuration of all policy maps configured on the Router# show policy-map router. Displays the configuration of all classes configured for all policy Router# show policy-map interface maps attached to all interfaces. Cisco 10000 Series Router Quality of Service Configuration Guide 13-27 OL-7433-09...
Page 434
Displays the configuration of the interface you specify that is Router# show running-config interface interface currently configured in the running-config file, including any service policies attached to the interface. Cisco 10000 Series Router Quality of Service Configuration Guide 13-28 OL-7433-09...
Router# Related Documentation This section provides hyperlinks to additional Cisco documentation for the features discussed in this chapter. To display the documentation, click the document title or a section of the document highlighted in blue. When appropriate, paths to applicable sections are listed below the documentation title.
Page 437
Framework, Release 12.2(31)SB2 feature module Two-rate three-color policer Two-Rate Policer, Release 12.2(4)T3 feature module RFC 2698—“A Two Rate Three Color Marker”, J. Heinanen, T. Finland, G. Guerin, September 1999 Cisco 10000 Series Router Quality of Service Configuration Guide 13-31 OL-7433-09...
Page 438
Chapter 13 Defining QoS for Multiple Policy Levels Related Documentation Cisco 10000 Series Router Quality of Service Configuration Guide 13-32 OL-7433-09...
Simultaneous policy maps provide multiple levels of QoS hierarchy that can shape traffic at different points of congestion in the Layer 2 network. This chapter describes simultaneous policy maps on the Cisco 10000 series router and consists of the following topics: Simultaneous QoS Policy Map on an Interface and PPP Session, page 14-1 •...
BRAS when processing hierarchical input policies. Table 14-2 describes how the actions at one policy level affect the classification or actions at a subsequent policy level. Cisco 10000 Series Router Quality of Service Configuration Guide 14-2 OL-7433-09...
Page 441
Valid as an input or output criteria on all interface and session types, and is unchanged by the policies. Therefore, the session-level policy does not influence the classification action of the interface-level policy. Cisco 10000 Series Router Quality of Service Configuration Guide 14-3 OL-7433-09...
VLAN subinterface where the flat shaping policy must contain class-default class only. For more information on the Hierarchical Queueing for Ethernet DSLAM feature, see the QoS---Hierarchical Queueing for Ethernet DSLAMS guide. The session-level policy takes precedence over the interface policy. • Cisco 10000 Series Router Quality of Service Configuration Guide 14-4 OL-7433-09...
QoS policies to any packets that do not belong to the classes defined in a policy map. class-map-name is the name of the class map. The name can be a maximum of 40 alphanumeric characters. Cisco 10000 Series Router Quality of Service Configuration Guide 14-5 OL-7433-09...
Specifies the tunneling protocol that a virtual private dialup Router(config-subif)# protocol pppoe network (VPDN) subgroup is to use, in this case PPPoE. Step 3 Exits subinterface configuration mode. Router(config-subif)# exit Cisco 10000 Series Router Quality of Service Configuration Guide 14-6 OL-7433-09...
(VPDN) subgroup is to use, in this case PPPoE. Step 3 Attaches the specified policy map to the interface in the Router(config-if)# service-policy output policy-map-name outbound direction. policy-map-name is the name of a previously configured policy map. Cisco 10000 Series Router Quality of Service Configuration Guide 14-7 OL-7433-09...
(VCIs). Valid values are from 32 to 65535. You must specify the slash mark (/). end-vci is the end value for a range of virtual channel identifiers (VCIs). Valid values are from 32 to 65535. Cisco 10000 Series Router Quality of Service Configuration Guide 14-8 OL-7433-09...
Attaching a Policy to an ATM VC with PPPoA Sessions To attach a simultaneous policy to an ATM VC with PPPoA sessions, enter the following commands beginning in global configuration mode: Cisco 10000 Series Router Quality of Service Configuration Guide 14-9 OL-7433-09...
Page 448
The following example shows how to attach a simultaneous policy map named pppoa_output_policy to PVCs in the range of 42/101 to 42/110 on the multipoint ATM interface 3/0/0.42101: interface ATM3/0/0.42101 multipoint range pvc 42/101 42/110 vbr-nrt 2000 2000 1 Cisco 10000 Series Router Quality of Service Configuration Guide 14-10 OL-7433-09...
Attaching a Policy to an ATM VC with PPPoE Sessions To attach a policy map to an ATM VC with PPPoE sessions, enter the following commands beginning in global configuration mode: Cisco 10000 Series Router Quality of Service Configuration Guide 14-12 OL-7433-09...
Page 451
PVC range 81/801 to 81/810 on subinterface ATM 2/0/0.81801. interface ATM2/0/0.81801 multipoint range pvc 81/801 81/810 vbr-nrt 2000 2000 1 encapsulation aal5snap protocol pppoe group VRF_1 bba-group pppoe VRF_1 Cisco 10000 Series Router Quality of Service Configuration Guide 14-13 OL-7433-09...
VRF_1 Interface Virtual-Template1 mtu 1492 ip address negotiated keepalive 30 ppp max-terminate 10 ppp max-failure 10 ppp lcp delay 1 ppp pap sent-username gomer1@domain1.com password 0 gomer Cisco 10000 Series Router Quality of Service Configuration Guide 14-14 OL-7433-09...
Page 453
32000 4000 0 conform-action transmit exceed-action drop violate-action drop interface GigabitEthernet6/0/0 no ip address ! Interface policy named cbwfq_out_policy is applied to the GE interface. interface GigabitEthernet6/0/0.2 encapsulation dot1Q 2 Cisco 10000 Series Router Quality of Service Configuration Guide 14-15 OL-7433-09...
Displays statistical and configuration information about all of the Router# show policy-map configured policy maps. Displays statistical and configuration information about the Router# show policy-map policy-map-name policy map you specify. Cisco 10000 Series Router Quality of Service Configuration Guide 14-18 OL-7433-09...
Displaying Simultaneous Policy Map Information for PTA Virtual Interfaces, page 14-21 • Displaying Simultaneous Policy Map Information for Virtual Access Interfaces, page 14-21 • Displaying Simultaneous Policy Map Information for a LAC Session, page 14-22 • Cisco 10000 Series Router Quality of Service Configuration Guide 14-19 OL-7433-09...
Input Policy owned by LAC Session traversing GigabitEthernet6/0/0.2 [VCCI 2529] - 'prec-only': Class Pkts Bytes Pkts Pkts Pkts Matched Matched Conformed Exceeded Violated ---------------- ----------- ------------ --------------- ----------- ----------- prec5 21978 prec3 prec2 class-default 44022 Cisco 10000 Series Router Quality of Service Configuration Guide 14-22 OL-7433-09...
Page 461
To improve network utilization of otherwise underutilized shared networks, the Cisco 10000 series router offers oversubscription functionality. Oversubscription helps to offset infrastructure costs and is an integral part of networking topologies.
In this way, instead of supporting only unconditional reservation of network bandwidth to VCs, the Cisco 10000 series router can statistically guarantee bandwidth to the VCs, thus improving network utilization.
PRE3, the router gives each VC a share of the bandwidth based on the configured weight of the VC. In releases prior to Cisco IOS Release Cisco IOS Release 12.2(16)BX, a call admission check (CAC) prevented you from assigning more bandwidth to virtual circuits (VCs) than a port’s total bandwidth.
Therefore, by default the router allows unlimited oversubscription of UBR VCs. For releases prior to Cisco IOS Release 12.3(7)XI1, if you use unshaped (no PCR specified) UBR VCs, the router allocates bandwidth to the variable bit rate (VBR) and constant bit rate (CBR) VCs, and to the VP tunnels before allocating the remaining bandwidth to the unshaped UBR VCs.
VC oversubscription to all ports of an ATM line card. Table 15-1 lists the number of active VCs the ATM line cards support in atm pxf queuing mode for Cisco IOS Release 12.3(7)XI2 and later releases.
As a result, some ports do not receive adequate resources, which results in VC creation failures. Unlike other Cisco routers, the Cisco 10000 series router uses the atm oversubscribe command in conjunction with the atm over-subscription-factor command to enable or disable oversubscription for a particular interface or tunnel.
• Frame Relay PVC Oversubscription The Cisco 10000 series router supports the oversubscription of Frame Relay permanent virtual circuits (PVCs). Oversubscription enables a service provider to assign a total committed information rate (CIR) to a given PVC that is greater than the speed of the interface.
Release 12.3(7)XI1 The Frame Relay PVC oversubscription feature was PRE2 introduced on the PRE2. Release 12.2(28)SB This feature was integrated in Cisco IOS PRE2 Release 12.2(28)SB for the PRE2. Cisco 10000 Series Router Quality of Service Configuration Guide 15-8 OL-7433-09...
Virtual LAN Oversubscription The Cisco 10000 series router supports the oversubscription of IEEE 802.1Q virtual LANs (VLANs) to improve network utilization of otherwise underutilized shared networks by leveraging statistical multiplexing on 802.1Q networks. Because of the bursty nature of LAN traffic and the typical low utilization of Ethernet at the network edge, oversubscription is an appropriate solution for eliminating unused bandwidth on Ethernet networks.
To configure oversubscription on ATM, Frame Relay, and 802.1Q VLAN virtual circuits, perform any of the following configuration tasks: Oversubscribing ATM VBR-nrt VCs, page 15-11 • Oversubscribing Frame Relay PVCs, page 15-11 • Oversubscribing 802.1Q VLANs, page 15-17 • Cisco 10000 Series Router Quality of Service Configuration Guide 15-10 OL-7433-09...
To oversubscribe Frame Relay PVCs, perform one of the following configuration tasks: • Oversubscribing Frame Relay PVCs Using Hierarchical Policies, page 15-12 • Oversubscribing Frame Relay PVCs Using a Map Class, page 15-15 Cisco 10000 Series Router Quality of Service Configuration Guide 15-11 OL-7433-09...
In Cisco IOS Release 12.0(25)S and Release 12.3(7)XI, and later releases, the priority command has no arguments. To specify a bandwidth rate, use the police command. For more information, see Chapter 6, “Policing Traffic.” Cisco 10000 Series Router Quality of Service Configuration Guide 15-12 OL-7433-09...
Page 473
For information about additional actions you can specify, see the “Types of QoS Actions” section on page 3-4. Step 5 Exits policy-map class configuration mode. Router(config-pmap-c)# exit Cisco 10000 Series Router Quality of Service Configuration Guide 15-13 OL-7433-09...
Page 474
(Optional) ietf sets the encapsulation method to comply with the Internet Engineering Task Force (IETF) standard (RFC 1490). Use this keyword when connecting to another vendor’s equipment across a Frame Relay network. Cisco 10000 Series Router Quality of Service Configuration Guide 15-14 OL-7433-09...
Step 4 Exits policy-map class configuration mode. Router(config-pmap-c)# exit Step 5 Exits policy-map configuration mode. Router(config-pmap)# exit Cisco 10000 Series Router Quality of Service Configuration Guide 15-15 OL-7433-09...
Page 476
Step 6. Repeat Steps 11 and 12 for each DLCI to which you Note want to associate the map class. Cisco 10000 Series Router Quality of Service Configuration Guide 15-16 OL-7433-09...
In Cisco IOS Release 12.0(25)S and Release 12.3(7)XI, and later releases, the priority command has no arguments. To specify a bandwidth rate, use the police command. For more information, see Chapter 6, “Policing Traffic.” Cisco 10000 Series Router Quality of Service Configuration Guide 15-17 OL-7433-09...
Page 478
Creates or modifies the parent policy map. Enters Router(config)# policy-map policy-map-name policy-map configuration mode. policy-map-name is the name of the policy map. The name can be a maximum of 40 alphanumeric characters. Cisco 10000 Series Router Quality of Service Configuration Guide 15-18 OL-7433-09...
Page 479
QoS policy to inbound packets. output indicates to apply the QoS policy to outbound packets. policy-map-name is the name of the parent policy map you want to attach. Cisco 10000 Series Router Quality of Service Configuration Guide 15-19 OL-7433-09...
On the PRE3, weight is applicable to VCs in VP tunnels and VCs not in a VP tunnel. In both cases, the weight affects the behavior of the VCs. The way in which the router determines the weight of a VC depends upon the Cisco IOS release running on the router.
Determining VC Weighting—Cisco IOS Release 12.0(17)SL to Release 12.3(7)XI1 In Cisco IOS Release 12.0(17)SL to Cisco IOS Release 12.3(7)XI1, the router determines the weight of a particular VC in proportion to the speed of the VC. Without oversubscription, the router allocates bandwidth to each VC, up to the VC’s configured SCR.
Determining VC Weighting—Cisco IOS Release 12.3(7)XI1 and Later Releases In Cisco IOS Release 12.3(7)XI1 and later releases, a weight parameter is used to control the number of cells for each VC that is sent into the virtual path (VP). You can configure this weight parameter directly for each VC using the weight command.
Because it is not practical to configure weights on some ATM VCs and not on others, either all of the Note VCs have VC weights configured or none of them do. A default weight of 1 is given to non-ATM subinterfaces with no weight assigned to them. Cisco 10000 Series Router Quality of Service Configuration Guide 15-23 OL-7433-09...
Description Release 12.3(7)XI1 The queue-depth command was introduced on the PRE2. Release 12.2(28)SB This command was integrated in Cisco IOS Release 12.2(28)SB for the PRE2. Release 12.2(31)SB2 This command was introduced on the PRE3. Usage Guidelines for the queue-depth Command Configure the SAR line card queue depths for each VC above the weight you configure for the VC.
Description Release 12.3(7)XI1 The weight command was introduced on the PRE2. Release 12.2(28)SB This command was integrated in Cisco IOS Release 12.2(28)SB for the PRE2. Release 12.2(31)SB2 This command was introduced on the PRE3. Usage Guidelines for the weight Command...
(ms). max_pktsize is the maximum packets size. VC_speed is the VC rate. The maximum packet size is calculated using the following formula: Cisco 10000 Series Router Quality of Service Configuration Guide 15-26 OL-7433-09...
Modifying the VC Weight and the VP Shaping Parameters In Cisco IOS Release 12.3(7)XI1, when you change the weight of a VC or the VP shaping parameters, the SAR mechanism brings down the VC or VP and the session goes down.
Example 15-7 Configuring VC Weighting Using a VC Class Map Router(config)# vc-class atm Business Router(config-atm-vcc)# weight 20 Router(config-atm-vcc)# exit Router(config)# interface atm 1/0/0.1 Router(config-subif)# pvc 1/32 Router(config-if-atm-vc)# class-vc Business Cisco 10000 Series Router Quality of Service Configuration Guide 15-29 OL-7433-09...
255 on the PVCs in the range of 1/32 to 1/00. Example 15-8 Configuring VC Weighting on a PVC Range Router(config)# interface atm 1/0/0.1 multipoint Router(config-subif)# range pvc 1/32 1/00 Router(config-if-atm-range)# weight 255 Cisco 10000 Series Router Quality of Service Configuration Guide 15-30 OL-7433-09...
Configures the class-default class. Enters policy-map class Router(config-pmap)# class class-default configuration mode. The router interprets any features configured under Note the class-default class as aggregate features on the subinterface. Cisco 10000 Series Router Quality of Service Configuration Guide 15-31 OL-7433-09...
Page 492
The router distinguishes between interface types at the subinterface level when using default bandwidth-remaining ratios. On the Cisco 10000 series router the default ratio value is 1 for VLAN subinterfaces and Frame Relay DLCIs. For ATM subinterfaces, the router computes the default based on the subinterface speed.
Child class precedence_0 bandwidth 100 class precedence_1 bandwidth 10000 policy-map Parent class class-default bandwidth remaining ratio 10 service-policy Child interface ATM2/0/3.200 point-to-point ip address 10.20.1.1 255.255.255.0 pvc 0/200 Cisco 10000 Series Router Quality of Service Configuration Guide 15-33 OL-7433-09...
Step 2 Configures the class map that you specify. Enters Router(config-pmap)# class class-map-name policy-map class configuration mode. class-map-name is the name of a previously created class map. Cisco 10000 Series Router Quality of Service Configuration Guide 15-34 OL-7433-09...
Page 495
The router makes no distinction between interface types at the class level when using the default bandwidth-remaining ratio. On the Cisco 10000 series router the default bandwidth-remaining ratio value is 1. Repeat Steps 5 and 6 for each class queue you want Note to define.
Page 496
The router distinguishes between interface types at the subinterface level when using default bandwidth-remaining ratios. On the Cisco 10000 series router the default ratio value is 1 for VLAN subinterfaces and Frame Relay DLCIs. For ATM subinterfaces, the router computes the default based on the subinterface speed.
Configuration Example for Configuring the Weight of Multiple VCs, page 15-40 • Configuration Example for Configuring VC Weight Using a Bandwidth Remaining Ratio, • page 15-40 • Configuration Example for Setting High and Low Watermark Thresholds, page 15-41 Cisco 10000 Series Router Quality of Service Configuration Guide 15-38 OL-7433-09...
VCs get priority in the VP schedules in a congested state. In the example, a weight of 10 is configured for PVC 1/32 on ATM subinterface 1/0/0.1. Example 15-11 Configuring the Weight of an Individual VC Router(config)# interface atm 1/0/0.1 Router(config-subif)# pvc 1/32 Router(config-if-atm-vc)# weight 10 Cisco 10000 Series Router Quality of Service Configuration Guide 15-39 OL-7433-09...
(/), the VPI value defaults to 0. vci is the virtual channel identifier. Displays the total subscribed rate of all VCs on the port. Router# show controllers interface Cisco 10000 Series Router Quality of Service Configuration Guide 15-41 OL-7433-09...
Related Documentation Related Documentation This section provides hyperlinks to additional Cisco documentation for the features discussed in this chapter. To display the documentation, click the document title or a section of the document highlighted in blue. When appropriate, paths to applicable sections are listed below the documentation title.
In this way, time-sensitive real-time traffic remains intact and does not experience excessive delay. This chapter describes fragmentation and interleaving on the Cisco 10000 series router. It includes the following topics: •...
Page 506
Data Voice Data The Cisco 10000 series router supports the following types of link fragmentation and interleaving (LFI): MLP over Serial-based LFI—Uses the fragmentation and interleaving capability of MLP to • integrate real-time packets (such as voice packets) and nonreal-time packets (such as data transfers) on the same link while reducing real-time packet latency.
The following features were introduced on the PRE3: MLP PRE3 over Serial-based LFI, MLP over Frame Relay-based LFI, Single-VC and Multi-VC MLP over ATM-based LFI, and PVC-based and Interface-based FRF.12 Fragmentation. Cisco 10000 Series Router Quality of Service Configuration Guide 16-3 OL-7433-09...
The multilink interface ranges described in Table 16-1 require Cisco IOS Release 12.2(28)SB and later Note releases. For releases prior to Cisco IOS Release 12.2(28)SB, the valid multilink interface range is 1 to 2,147,483,647. Cisco 10000 Series Router Quality of Service Configuration Guide 16-4...
• 1 to 9999 (Cisco IOS Release 12.2(28)SB and later releases) – – 1 to 9999 and 65,536 to 2,147,483,647 (Cisco IOS Release 12.2(31)SB2 and later releases) • Single-VC MLP over ATM-based LFI – 10,000 and higher (Cisco IOS Release 12.2(28)SB and later releases)
• 10,000 and higher – For releases prior to Cisco IOS Release 12.2(28)SB, the valid multilink interface range is 1 to 2,147,483,647. ppp multilink Command To enable Multilink PPP (MLP) on an interface, use the ppp multilink command in interface configuration mode.
The ppp multilink fragment-delay command was introduced on the PRE1. Release 12.2(16)BX This command was introduced on the PRE2. Release 12.2(28)SB This command was integrated in Cisco IOS Release 12.2(28)SB for the PRE2. Release 12.2(31)SB2 This command was introduced on the PRE3.
The ppp multilink interleave command was introduced on the PRE1. Release 12.2(16)BX This command was introduced on the PRE2. Release 12.2(28)SB This command was integrated in Cisco IOS Release 12.2(28)SB for the PRE2. Release 12.2(31)SB2 This command was introduced on the PRE3.
The no ppp multilink fragmentation command was recognized and accepted through Cisco IOS Release 12.2. Release 12.2(28)SB This command was integrated in Cisco IOS Release 12.2(28)SB for the PRE2. Release 12.2(31)SB2 This command was introduced on the PRE3.
The multilink-group command was changed on the PRE2 to ppp multilink group. The multilink-group command was accepted by the command line interpreter through Cisco IOS Release 12.2. Release 12.2(28)SB This command was integrated in Cisco IOS Release 12.2(28)SB for the PRE2. Release 12.2(31)SB2 This command was introduced on the PRE3.
FTP packets are queued on slow links within the WAN. To solve delay problems on slow bandwidth links, the router supports link fragmentation and interleaving (LFI) based on the Cisco implementation of Multilink PPP (MLP), which supports the fragmentation and packet-sequencing specifications in RFC 1990.
MLP provides bandwidth on demand and reduces transmission latency across WAN links. To ensure correct order of transmission and reassembly, LFI adds multilink headers to the datagram fragments after the packets are dequeued and ready to be sent. Cisco 10000 Series Router Quality of Service Configuration Guide 16-12 OL-7433-09...
OC-12 line card. The OC-12 does not require the hold-queue command. For example: Router(config-if)# hold-queue 4096 in For more information, see the “Scalability and Performance” chapter in the Cisco 10000 Series Router Broadband Aggregation, Leased-Line, and MPLS Configuration Guide. Cisco 10000 Series Router Quality of Service Configuration Guide 16-13 OL-7433-09...
We strongly recommend that you use only strict priority queues when configuring MLP over Serial-based LFI. For more information, see Chapter 8, “Prioritizing Services.” Line Card Support for MLP Over Serial-Based LFI The following line cards support MLP over serial-based LFI for the Cisco 10000 series router: • 24-port Channelized T1/E1 •...
(FIFO) queue. The nonreal-time packets are fragmented in the FIFO queue and then the real-time packets are interleaved between the fragments as the real-time packets exit their priority queue. Cisco 10000 Series Router Quality of Service Configuration Guide 16-16 OL-7433-09...
PPP over ATM packets. During receive processing, the fragments that arrive out of order and the packets with missing fragments are discarded. Valid fragments are merged in memory until the entire packet is reassembled. Cisco 10000 Series Router Quality of Service Configuration Guide 16-17 OL-7433-09...
ATM-based LFI. For more information, see Chapter 8, “Prioritizing Services.” Line Card Support for MLP Over ATM-Based LFI The following line cards support MLP over ATM-based LFI for the Cisco 10000 series router: 8-Port E3/DS3 ATM • 4-Port OC-3/STM-1 ATM •...
AAL5 encapsulation type used and whether or not protocol compression is enabled. For more information, see the “Fragment Size Calculation for MLP Over ATM-Based LFI” section on page 16-15. Cisco 10000 Series Router Quality of Service Configuration Guide 16-19 OL-7433-09...
For Cisco IOS Release 12.2(28)SB and later releases, the valid multilink interface values are from • 1 to 9999. For Cisco IOS Release 12.2(31)SB2 and later releases, valid values are from 1 to 9999 and 65,536 to 2,147,483,647. All member links in a MLP bundle must have the same encapsulation type and bandwidth.
Fragmenting and Interleaving Real-Time and Nonreal-Time Packets Multilink PPP-Based Link Fragmentation and Interleaving Line Card Support for MLP Over ATM-Based LFI The following line cards support MLP over ATM-based LFI for the Cisco 10000 series router: 8-Port E3/DS3 ATM •...
Relay encapsulated packet fragments into PPP over ATM packets. During receive processing, the fragments that arrive out of order and the packets with missing fragments are discarded. Valid fragments are merged in memory until the entire packet is reassembled. Cisco 10000 Series Router Quality of Service Configuration Guide 16-22 OL-7433-09...
Configure the hold-queue command in interface configuration mode for all Frame Relay physical • interfaces. For more information, see the “Performance and Scalability” chapter in the Cisco 10000 Series Router Broadband Aggregation, Leased-Line, and MPLS Configuration Guide. Cisco 10000 Series Router Quality of Service Configuration Guide 16-23 OL-7433-09...
• Local Management Interface (LMI) traffic is not fragmented. • Cisco IOS software supports a maximum of 4096 total virtual template interfaces. • We strongly recommend that you use only strict priority queues when configuring MLP over Frame Relay-based LFI. For more information, see Chapter 8, “Prioritizing Services.”...
Specifies the IP address and subnet mask assigned to the Router(config-if)# ip address address mask interface. address is the IP address. mask is the subnet mask for the associated IP address. Cisco 10000 Series Router Quality of Service Configuration Guide 16-25 OL-7433-09...
Page 530
The number you specify must be identical to the multilink-bundle-number you specified in Step 1. Cisco 10000 Series Router Quality of Service Configuration Guide 16-26 OL-7433-09...
Negative Acknowledgements (CONFNAKs) to permit before terminating a negotiation. retries is the maximum number of retries. Valid values are from 1 to 255. The default is 5 retries. We recommend 100 retries. Cisco 10000 Series Router Quality of Service Configuration Guide 16-27 OL-7433-09...
Page 532
Router(config-if)# ppp max-configure 110 Router(config-if)# ppp max-failure 100 Router(config-if)# ppp timeout retry 5 Router(config-if)# keepalive 30 Router(config-if)# no ip address Router(config-if)# ip mroute-cache Router(config-if)# ppp authentication chap Router(config-if)# ppp multilink Router(config-if)# exit Cisco 10000 Series Router Quality of Service Configuration Guide 16-28 OL-7433-09...
4096 packets for all line cards. By default, the input queue is 75 packets and the output queue is 40 packets. in specifies the input queue. out specifies the output queue. Cisco 10000 Series Router Quality of Service Configuration Guide 16-29 OL-7433-09...
Router(config-if)# ppp multilink group group-number group-number is a nonzero number that identifies the multilink group. Valid values are from 1 to 9999 (Cisco IOS Release 12.2(28)SB and later releases) or from 1 to 9999 and 65,536 to 2,147,483,647 (Cisco IOS Release 12.2(31)SB2 and later releases).
Page 535
AAL and encapsulation type that supports Inverse ARP. Logical Link Control/Subnetwork Access Protocol (LLC/SNAP) precedes the protocol datagram. virtual-template number is the number used to identify the virtual template. Cisco 10000 Series Router Quality of Service Configuration Guide 16-31 OL-7433-09...
If you configure this command on the bundle and its member links, specify the same identifier for both the bundle and the member links. Cisco 10000 Series Router Quality of Service Configuration Guide 16-33 OL-7433-09...
Page 538
DLCI 18 on the serial subinterface 3/0/1.1. Example 16-4 Adding Frame Relay Links to a MLP Bundle frame-relay switching class-map match-all voip match ip rtp 16384 1000 policy-map voip class voip priority Cisco 10000 Series Router Quality of Service Configuration Guide 16-34 OL-7433-09...
If you configure this command on the bundle and its member links, specify the same identifier for both the bundle and the member links. Cisco 10000 Series Router Quality of Service Configuration Guide 16-35 OL-7433-09...
Router(config-if)# no ppp multilink group group-number group-number identifies the multilink group. Step 3 Disables Multilink PPP for the link. Router(config-if)# no ppp multilink Step 4 Removes PPP authentication. Router(config-if)# no ppp chap hostname Cisco 10000 Series Router Quality of Service Configuration Guide 16-36 OL-7433-09...
You can configure FRF.12 Fragmentation at the PVC or interface level. For more information, see the “PVC-Based FRF.12 Fragmentation” section on page 16-40 and the “Interface-Based FRF.12 Fragmentation” section on page 16-40. Cisco 10000 Series Router Quality of Service Configuration Guide 16-37 OL-7433-09...
Example 16-7 Remove the Service Policy Before Removing the Map-Class. int mfr2001.1 no service-policy out mfr1 no frame-relay class mfr int mfr2001.1 frame-relay class mfr service-policy out mfr1 Cisco 10000 Series Router Quality of Service Configuration Guide 16-38 OL-7433-09...
This section describes the commands that are used to configure FRF.12 Fragmentation. It includes the following commands: frame-relay fragment Command (Map-Class), page 16-41 • frame-relay fragment end-to-end Command (Interface), page 16-41 • Cisco 10000 Series Router Quality of Service Configuration Guide 16-40 OL-7433-09...
Valid values are from 16 to 1600 bytes. There is no default fragment size. You must specify the fragment_size. If you do not, an error message Note displays. Cisco 10000 Series Router Quality of Service Configuration Guide 16-41 OL-7433-09...
16-39. • The router must be running Cisco IOS Release 12.0(27)S or Release 12.2(27)SBB, or later releases, and the appropriate processor card must be installed in the router chassis. Cisco IOS Release 12.0(27)S and later releases require the PRE1 processor card. Cisco IOS Release 12.2SBB and later releases require the PRE2.
Fragmenting and Interleaving Real-Time and Nonreal-Time Packets FRF.12 Fragmentation The Cisco 10000 series router does not require that you configure priority (low-latency) queuing to use Note interface-based fragmentation. However, the purpose of LFI is to reduce delay for priority traffic;...
The router applies the service policy configured in the map class to this main interface, any subinterfaces configured on the main interface, and any DLCIs configured on the subinterfaces. Cisco 10000 Series Router Quality of Service Configuration Guide 16-45 OL-7433-09...
Page 550
4-byte header, with 2 bytes to identify the data-link connection identifier (DLCI) and 2 bytes to identify the packet type. This is the default encapsulation type. Cisco 10000 Series Router Quality of Service Configuration Guide 16-46 OL-7433-09...
Page 551
Router(config)# map-class frame-relay lfi_map_class Router(config-map-c)# service-policy output policy_13 Router(config-map-c)# frame-relay fragment 300 Router(config-map-c)# no frame-relay adaptive-shaping Router(config)# interface serial 5/0/0/1:0 Router(config-if)# hold-queue 4096 in Router(config-if)# no ip address Router(config-if)# no ip directed-broadcast Cisco 10000 Series Router Quality of Service Configuration Guide 16-47 OL-7433-09...
Page 552
This is the default encapsulation type. Step 6 Creates or modifies a serial interface or subinterface. Enters Router(config)# interface serial slot/module/port.T1#:channel.subinterface- interface or subinterface configuration mode. number [point-to-point] Cisco 10000 Series Router Quality of Service Configuration Guide 16-48 OL-7433-09...
Page 553
Router(config-if)# no ip address Router(config-if)# no ip directed-broadcast Router(config-if)# encapsulation frame-relay Router(config)# interface serial 5/0/0/1:0.1 point-to-point Router(config-subif)# ip address 192.168.1.1 255.255.255.0 Router(config-subif)# no ip directed-broadcast Router(config-subif)# frame-relay interface-dlci 17 Cisco 10000 Series Router Quality of Service Configuration Guide 16-49 OL-7433-09...
Page 554
Router(config-if)# interface serial slot/module/port.T1#:channel.subinterface- configuration mode. number [point-to-point] The point-to-point subinterface is used to establish a PVC connection to an interface on the remote end of the Frame Relay connection. Cisco 10000 Series Router Quality of Service Configuration Guide 16-50 OL-7433-09...
Page 555
DLCIs is fragmented. However, because the service policy is applied directly on DLCI 17 and DLCI 18, only the traffic on those DLCIs is subject to the QoS actions defined in the service policy. Cisco 10000 Series Router Quality of Service Configuration Guide 16-51 OL-7433-09...
Define policy map actions for each class such as the action defined in Step 4. Be sure that you define only one traffic class as the priority class. Cisco 10000 Series Router Quality of Service Configuration Guide 16-52 OL-7433-09...
Page 557
Router(config)# policy-map policy-map-name mode. policy-map-name is the name of the policy map. Step 2 Configures the class-default class in the parent policy. Enters Router(config-pmap)# class class-default policy-map class configuration mode. Cisco 10000 Series Router Quality of Service Configuration Guide 16-53 OL-7433-09...
Page 558
Frame Relay frame that go into each fragment. This number excludes the Frame Relay header of the original frame. Valid values are from 16 to 1600 bytes. The default is 53 bytes. Cisco 10000 Series Router Quality of Service Configuration Guide 16-54 OL-7433-09...
Page 559
(DLCI) and 2 bytes to identify the packet type. This is the default encapsulation type. Step 6 Creates or modifies a serial subinterface. Enters subinterface Router(config-if)# interface serial slot/module/port/T1#:channel configuration mode. subinterface-number [point-to-point] Cisco 10000 Series Router Quality of Service Configuration Guide 16-55 OL-7433-09...
Page 560
Router(config-pmap-c)# priority Router(config-pmap-c)# police percent 10 Router(config-pmap-c)# class acl_102 Router(config-pmap-c)# bandwidth percent 30 Router(config-pmap)# policy-map outer_policy Router(config-pmap)# class class-default Router(config-pmap-c)# shape 768 Router(config-pmap-c)# service-policy qos_pq_cbwfq_0 Router(config)# map-class frame-relay PQ_FR_CLASS_0 Cisco 10000 Series Router Quality of Service Configuration Guide 16-56 OL-7433-09...
4-byte header, with 2 bytes to identify the data-link connection identifier (DLCI) and 2 bytes to identify the packet type. This is the default encapsulation type. Cisco 10000 Series Router Quality of Service Configuration Guide 16-57 OL-7433-09...
Router(config-subif)# ip address 192.168.1.1 255.255.255.0 Router(config-subif)# no ip directed broadcast Router(config-subif)# frame-relay interface-dlci 27 Router(config-subif)# interface serial 5/0/0/1:0.2 point-to-point Router(config-subif)# ip address 192.16.2.1 255.255.255.0 Router(config-subif)# no ip directed broadcast Router(config-subif)# frame-relay interface-dlci 28 Cisco 10000 Series Router Quality of Service Configuration Guide 16-58 OL-7433-09...
Router(config-if)# no ip address Router(config-if)# ip mroute-cache Router(config-if)# ppp authentication chap Router(config-if)# ppp multilink Router(config)# interface atm 6/0/0 Router(config-if)# no ip address Router(config-if)# hold-queue 4096 in Router(config-if)# no atm ilmi-keepalive Cisco 10000 Series Router Quality of Service Configuration Guide 16-61 OL-7433-09...
Router(config)# interface serial 5/0/0/1:0 Router(config-if)# hold-queue 4096 in Router(config-if)# no ip address Router(config-if)# no ip directed-broadcast Router(config-if)# encapsulation frame-relay Router(config)# interface serial 5/0/0/1:0.1 point-to-point Router(config-subif)# ip address 192.168.10.1 255.255.255.0 Cisco 10000 Series Router Quality of Service Configuration Guide 16-63 OL-7433-09...
Router(config-pmap)# class voice Router(config-pmap-c)# priority Router(config-pmap-c)# police 64000 Router(config-pmap-c)# class video Router(config-pmap-c)# bandwidth 32 Router(config)# interface serial 3/0/0.1/1:0 Router(config-if)# hold-queue 4096 in Router(config-if)# ip address 10.16.0.1 255.0.0.0 Router(config-if)# encapsulation frame-relay Cisco 10000 Series Router Quality of Service Configuration Guide 16-64 OL-7433-09...
Router(config-if)# ip address 172.16.1.2 255.255.255.0 Router(config-if)# no ip directed-broadcast Router(config-if)# frame-relay interface-dlci 109 Verifying and Monitoring Link Fragmentation and Interleaving The Cisco 10000 series routers collect information about the number of: Fragments and bytes sent • • Unfragmented packets and bytes sent and received •...
Page 570
Output fragments display using the show frame-relay fragment. Interleaving data displays only if there are interleaves. For example, the following line shows interleaves: Output queue: 315/64/164974/31191 (size/threshold/drops/interleaves) Cisco 10000 Series Router Quality of Service Configuration Guide 16-66 OL-7433-09...
DE un-fragmented pkts 0 out DE un-fragmented pkts 0 in timeouts 0 in out-of-sequence fragments 0 in fragments with unexpected B bit set 0 in fragments with skipped sequence Cisco 10000 Series Router Quality of Service Configuration Guide 16-68 OL-7433-09...
Serial0/0(o): dlci 109, tx-seq-num 82, BE bits set, frag_hdr 04 C0 52 Related Documentation This section provides hyperlinks to additional Cisco documentation for the features discussed in this chapter. To display the documentation, click the document title or a section of the document highlighted in blue.
Page 574
RFC 1661, The Point-to-Point Protocol PPP in Frame Relay RFC 1973, PPP in Frame Relay PVC-Based FRF.12 Fragmentation Release Notes for the Cisco 10000 Series for Cisco IOS Release 12.0(23)SX Cisco 10000 Series Router Quality of Service Configuration Guide 16-70...
Page 575
For example, a subscriber might choose a basic service with low bandwidth and later change to a premium service with high bandwidth. The Cisco 10000 series router, however, offers a dynamic QoS model that allows you to download QoS parameters from the RADIUS server to an ATM VC.
17-1, when a subscriber initiates a Point-to-Point Protocol (PPP) over ATM (PPPoA) or PPP over Ethernet (PPPoE) session to the Cisco 10000 series router, DBS retrieves the RADIUS user profile and sets the QoS parameters to the shaping parameters specified in the user profile. The profile might contain PCR and SCR values for DBS configuration.
Description Release 12.2(16)BX The dbs enable command was introduced on the PRE2. Release 12.2(28)SB This command was integrated in Cisco IOS Release 12.2(28)SB for the PRE2. Configuration Modes You can configure the dbs enable command in the following configuration modes: ATM VC class •...
Release 12.2(16)BX The default dbs enable command was introduced on the PRE2. Release 12.2(28)SB This command was integrated in Cisco IOS Release 12.2(28)SB for the PRE2. Configuration Modes You can configure the default dbs enable command in the following configuration modes: ATM VC class •...
If the selected PCR value is higher than available bandwidth, DBS applies the highest value supported on the VC. If the PCR is less than the minimum PCR supported on a VC, DBS applies the minimum supported value. Cisco 10000 Series Router Quality of Service Configuration Guide 17-5 OL-7433-09...
PCR and SCR and establishes the session. Default QoS Parameters and QoS Configuration Precedence You can use the Cisco IOS command line interface (CLI) to configure QoS traffic shaping parameters in ATM VC configuration mode, VC class mode, PVC range mode, or PVC-in-range mode. The traffic parameters that you configure in VC class interface or subinterface mode become the default QoS parameters for the VCs on which the VC class is applied.
(DBS) and VC oversubscription, RADIUS-provided QoS parameters are not set for some ATM VCs. In Cisco IOS Release 12.3(7)XI2 and later releases, the router supports VC oversubscription on VCs that are modified using DBS. You can simultaneously configure DBS and VC oversubscription without any adverse affect on the VC’s rate modification.
• permanent VC (PVC). DBS does not support applying the bandwidth to individual sessions. The Cisco 10000 series router supports DBS for only ATM interface protocols, such as PPPoA and • PPPoEoA. The router does not support DBS for PPPoE natively over Ethernet or over VLAN.
Chapter 17 Configuring Dynamic Subscriber Services Applying Traffic Shaping Parameters Using RADIUS Profiles DBS does not support constant bit rate (CBR) PVCs. The Cisco 10000 series router supports only • UBR and variable bit rate (VBR) PVCs for DBS. •...
Page 584
Example 17-2 shows how to enable dynamic bandwidth selection on an ATM PVC. In the example, dynamic bandwidth selection is enabled on the PVC named cisco (PVC 0/100) on the ATM point-to-point subinterface 0/0/0.5. Example 17-2 Enabling Dynamic Bandwidth Selection on an ATM PVC Router(config)# interface atm0/0/0.5 point-to-point...
Page 585
Example 17-3 shows how to enable dynamic bandwidth selection on a range of PVCs. In the example, dynamic bandwidth selection is enabled on a range of PVCs named cisco (PVC 0/50 to PVC 0/70) on the ATM multipoint subinterface 0/0/0.1.
Page 586
Step 4 Enables dynamic bandwidth selection and allows the traffic Router(config-if-atm-range-pvc)# dbs enable shaping parameters retrieved from RADIUS to be applied to the PVC in the range of PVCs. Cisco 10000 Series Router Quality of Service Configuration Guide 17-12 OL-7433-09...
QoS parameters in a user profile, the locally terminated session for that user is assigned the QoS parameters. The Cisco 10000 series router downloads the user or domain profile from the RADIUS server as part of user authentication.
DBS operates with authentication, authorization, and accounting (AAA) servers (such as RADIUS) to provide ATM VC parameters to the router. To dynamically retrieve VC weight and watermark parameters from RADIUS, the following Cisco attribute value (AV) pairs are defined on the RADIUS server: cisco-avpair = “atm:vc-weight=<weight value>”...
PRE2. Release 12.2(28)SB This feature was integrated in Cisco IOS Release 12.2(28)SB. PRE2 Configuration Commands for Dynamic VC Weight and Watermarks The dbs enable command is used to configure dynamic VC weight and watermarks. For more information, see the “dbs enable Command”...
To configure dynamic VC weights and watermarks on a PVC, perform the following required configuration tasks: Configuring the Router for Dynamic VC Weights and Watermarks, page 17-21 • Setting Up RADIUS for Dynamic VC Weights and Watermarks, page 17-22 • Cisco 10000 Series Router Quality of Service Configuration Guide 17-20 OL-7433-09...
PVC 1/101 on the ATM subinterface 4/0/0.1. Example 17-10 Configuring the Router for Dynamic VC Weights and Watermarks Router(config)# interface atm 4/0/0.1 Router(config-subif)# pvc 1/101 Router(config-if-atm-vc)# dbs enable Router(config-if-atm-vc)# encapsulation aal5mux ppp Virtual-Template 1 Cisco 10000 Series Router Quality of Service Configuration Guide 17-21 OL-7433-09...
Dynamically Changing VC Weight and Watermark Values Setting Up RADIUS for Dynamic VC Weights and Watermarks To set up RADIUS for dynamic VC weights and watermarks, enter the following Cisco AV pairs in the user profile on the RADIUS server: cisco-avpair = “atm:vc-weight=<weight value>”...
(VSAs) that allow you to dynamically apply a policy map and modify a policy map applied to a session, without session reauthentication, at the ATM VC level using RADIUS. The two new Cisco VSAs are set up in the user file on the RADIUS server. These two AV pairs are vc-qos-policy-in and vc-qos-policy-out, and are formatted as follows: cisco-avpair = “atm:vc-qos-policy-in=<in policy name>”...
Page 599
Cisco to support their own extended attributes. In releases prior to Cisco IOS Release 12.3(7)XI2, you can configure a policy map only on a VC or ATM point-to-point subinterface by using the service-policy command. The service policy is applied to the sessions on these VCs using RADIUS or manually using a virtual template interface.
Change of authorization functionality is enabled (required for the push functionality) • dbs enable command is configured on the VC. • Policy map is configured on the router. • Cisco 10000 Series Router Quality of Service Configuration Guide 17-27 OL-7433-09...
Example 17-14 Configuring the Router for Dynamic QoS Policies at the Session Level Router(config)# interface atm 4/0/0.1 Router(config-subif)# pvc 1/101 Router(config-if-atm-vc)# dbs enable Router(config-if-atm-vc)# encapsulation aal5mux ppp Virtual-Template 1 Cisco 10000 Series Router Quality of Service Configuration Guide 17-28 OL-7433-09...
Applying QoS Parameters Dynamically to Sessions Setting Up RADIUS for Dynamic QoS Policies at the Session Level To set up RADIUS for dynamic QoS policies at the session level, enter the following Cisco AV pairs in the user profile on the RADIUS server: atm:vc-qos-policy-in=<in policy name>...
Displays the running configuration on the router. The output Router# show running-config shows the AAA setup and the configuration of the policy map, ATM VC, PPPoA, dynamic bandwidth selection, virtual template, and RADIUS server. Cisco 10000 Series Router Quality of Service Configuration Guide 17-32 OL-7433-09...
• a queue reaches its queue limit. The drop policy is based on IP precedence, differentiated services code point (DSCP), or discard-class. (See Chapter 11, “Managing Packet Queue Congestion.”) Cisco 10000 Series Router Quality of Service Configuration Guide 17-34 OL-7433-09...
Although the router also supports the RADIUS vendor specific attribute (VSA) 38, Cisco-Policy-Down Note and Cisco-Policy-Up, we recommend that you use the above attributes for QoS policy definitions. Feature History for Per Session Queuing and Shaping for PPPoE Over VLANs...
The router does not support the configuration of the policy map using RADIUS. You must use the • modular QoS command line interface (MQC) to configure the policy map on the router. Cisco 10000 Series Router Quality of Service Configuration Guide 17-36 OL-7433-09...
IEEE 802.1Q VLAN encapsulation as the broadband aggregation system-DSLAM encapsulation type. aal5 specifies the ATM Adaptation Layer 5 that supports connection-oriented variable bit rate (VBR) services. You must specify either aal5 or aal3. Cisco 10000 Series Router Quality of Service Configuration Guide 17-37 OL-7433-09...
Page 612
Configures or modifies the parent class-default class. Router(config-pmap)# class class-default You can configure only the class-default class in a parent Note policy. Do not configure any other traffic class. Cisco 10000 Series Router Quality of Service Configuration Guide 17-38 OL-7433-09...
Page 613
ATM cell tax. Step 8 Applies a bottom-level child policy to the top-level parent Router(config-pmap-c)# service-policy policy-map-name class-default class. policy-map-name is the name of the previously configured child policy map. Cisco 10000 Series Router Quality of Service Configuration Guide 17-39 OL-7433-09...
(CoA) request to the router to activate the service for the subscriber, who is already logged in. If the authorization succeeds, the router downloads the name of the policy map from RADIUS using the above attribute and applies the QoS policy to the session. Cisco 10000 Series Router Quality of Service Configuration Guide 17-40 OL-7433-09...
Page 615
Although the router also supports the RADIUS vendor specific attribute (VSA) 38, Cisco-Policy-Down Note and Cisco-Policy-Up, we recommend that you use the above attributes for QoS policy definitions. Setting Up RADIUS Using VSA 38 The RADIUS vendor specific attribute (VSA) 38 is used for downstream traffic going toward a subscriber.
Figure 17-2 is a sample topology for per-session shaping and queuing on an LNS. Figure 17-2 Per-Session Shaping and Queuing Topology—PPP Sessions Forwarded Downstream traffic Subscriber L2TP tunnel PPP session Cisco 10000 Series Router Quality of Service Configuration Guide 17-44 OL-7433-09...
However, this release does support load balancing if no output QoS is applied to the session. Cisco IOS Release 12.2(31)SB6 does not support load balancing at all on the LNS. Cisco IOS Release 12.2(31)SB10 supports load balancing for all QoS configurations, except those •...
Router(config-pmap)# class class-map-name policy-map class configuration mode. class-map-name is the name of a previously configured class map and is the traffic class for which you want to define QoS actions. Cisco 10000 Series Router Quality of Service Configuration Guide 17-46 OL-7433-09...
Page 621
Configures or modifies the parent class-default class. Router(config-pmap)# class class-default You can configure only the class-default class in a parent Note policy. Do not configure any other traffic class. Cisco 10000 Series Router Quality of Service Configuration Guide 17-47 OL-7433-09...
Page 622
Step 11 (Optional) Attaches the parent policy to the virtual template Router(config-if)# service-policy policy-map-name interface. policy-map-name is the name of the previously configured parent policy map. Cisco 10000 Series Router Quality of Service Configuration Guide 17-48 OL-7433-09...
Page 623
Displays the running configuration on the router. The output Router# show running-config shows the configuration of the policy maps. Cisco 10000 Series Router Quality of Service Configuration Guide 17-49 OL-7433-09...
For more information about nested hierarchical policies, see the “Nested Hierarchical Policies” section on page 13-6. Cisco 10000 Series Router Quality of Service Configuration Guide 17-50 OL-7433-09...
User Profile—The user profile on the RADIUS server contains an entry that identifies the policy • map name applicable to the user. The policy map name is the service that RADIUS downloads to the router after a session is authorized. Cisco 10000 Series Router Quality of Service Configuration Guide 17-51 OL-7433-09...
AV-pair and applies the QoS policy to the PPPoA or PPPoEoA session. Because the service policy contains queuing-related actions, the router sets up the appropriate class queues. Although the router also supports the RADIUS vendor specific attribute (VSA) 38, Cisco-Policy-Down Note and Cisco-Policy-Up, we recommend that you use the...
Although you can configure oversubscription at the VC level, the router does not guarantee priority queuing (PQ) and fair treatment among VCs during congestion. VCs with session queuing polices cannot be part of a shaped virtual path (VP). • Cisco 10000 Series Router Quality of Service Configuration Guide 17-53 OL-7433-09...
Creates or modifies the child policy. Enters policy-map Router(config)# policy-map policy-map-name configuration mode. policy-map-name is the name of the child policy map. The name can be a maximum of 40 alphanumeric characters. Cisco 10000 Series Router Quality of Service Configuration Guide 17-54 OL-7433-09...
Page 629
Valid values are from 1 to 1000. Step 7 Exits policy-map class configuration mode. Router(config-pmap-c)# exit Cisco 10000 Series Router Quality of Service Configuration Guide 17-55 OL-7433-09...
Page 630
Encapsulation Types” section on page 10-5. Step 12 Applies the child policy to the parent class-default class. Router(config-pmap-c)# service-policy policy-map-name policy-map-name is the name of the child policy map configured in step 1. Cisco 10000 Series Router Quality of Service Configuration Guide 17-56 OL-7433-09...
Page 631
Step 3 Exits interface configuration mode. Router(config-if)# exit Cisco 10000 Series Router Quality of Service Configuration Guide 17-57 OL-7433-09...
Page 632
(for example 1/0/0). .subinterface is the number of the subinterface (for example, 1/0/0.1). (Optional) point-to-point indicates that the subinterface connects directly with another subinterface. Cisco 10000 Series Router Quality of Service Configuration Guide 17-58 OL-7433-09...
Page 633
The bba-group is applied to PVC 101/210 on ATM subinterface 4/0/1.10. bba-group pppoe pppoeoa-group Virtual-Template 8 interface ATM4/0/1.10 point-to-point pvc 101/210 vbr-nrt 4000 2000 50 no dbs enable encapsulation aal5snap protocol pppoe group pppoeoa-group interface Virtual-Template8 ip unnumbered Loopback5555 Cisco 10000 Series Router Quality of Service Configuration Guide 17-59 OL-7433-09...
Cisco-AVPair = "ip:sub-qos-policy-out=<name of egress policy>" The Cisco AV-pair identifies the policy map the router is to use when applying QoS features to a PPPoA or PPPoEoA session. After receiving a service-logon request from the policy server, RADIUS sends a change of authorization (CoA) request to the router to activate the service for the user, who is already logged in.
1. Example 17-31 Configuring an Hierarchical Policy Map Router(config)# policy-map child1 Router(config-pmap)# class gold Router(config-pmap-c)# priority Router(config-pmap-c)# police percent 40 Router(config-pmap-c)# class bronze Cisco 10000 Series Router Quality of Service Configuration Guide 17-61 OL-7433-09...
This information is entered into the subscriber’s user profile when the user profile is first created. The last line is an example of the Cisco QoS AV-pair added to the user profile. The policy map name downloaded to the router is p23.
In this case, one session is active with a session ID (SID) of 6. The example then displays configuration and statistical information for that specific session using the show pxf cpu queue session command. Cisco 10000 Series Router Quality of Service Configuration Guide 17-63 OL-7433-09...
Page 638
30 second offered rate 0 bps, drop rate 0 bps Match: any 0 packets, 0 bytes 30 second rate 0 bps Queueing queue limit 50 packets (queue depth/total drops/no-buffer drops) 0/0/0 (pkts output/bytes output) 0/0 Cisco 10000 Series Router Quality of Service Configuration Guide 17-64 OL-7433-09...
Page 639
1000000 bandwidth remaining ratio 20 Router# show policy-map pm_hier2_0_2 Policy Map pm_hier2_0_2 Class class-default Average Rate Traffic Shaping cir 100% bandwidth remaining ratio 100 service-policy pm_hier2_child_0_2 Cisco 10000 Series Router Quality of Service Configuration Guide 17-65 OL-7433-09...
20 Related Documentation This section provides hyperlinks to additional Cisco documentation for the features discussed in this chapter. To display the documentation, click the document title or a section of the document highlighted in blue. When appropriate, paths to applicable sections are listed below the documentation title.
Page 641
Prerequisites for Per Session Shaping and Queuing on LNS, page 18-25 – Restrictions and Limitations for Per Session Shaping and Queuing on LNS, page 18-25 – Configuring Per Session Shaping and Queuing on LNS, page 18-25 – Cisco 10000 Series Router Quality of Service Configuration Guide 18-1 OL-7433-09...
– Related Documentation, page 18-51 • Subscriber-Based IP Quality of Service The Cisco 10000 series router supports the following IP quality of service features for subscribers: • Per Session Rate Limiting, page 18-3 • Per User Multiservice Rate Limiting, page 18-4 •...
18-7. For CBWFQ on the Cisco 10000 series router, when you apply a service policy to a virtual circuit (VC), the VAIs that use that VC inherit the service policy of the VC. Any VAI that uses that VC is subject to the queuing, policing, and marking actions defined in the VC service policy.
Restrictions and Limitations for Per Session Rate Limiting Do not apply service policies with CBWFQ actions to a VAI using a virtual template. The Cisco 10000 series router supports queuing only when you apply the service policy to a VC.
Restrictions and Limitations for Per User Multiservice Rate Limiting Do not apply service policies with CBWFQ actions to a VAI using a virtual template. The Cisco 10000 series router supports queuing only when you apply the service policy to a VC.
After you define the classification policy, define the class characteristics to be applied to packets belonging to a particular class. Create a policy map on the Cisco 10000 series router in which you associate class characteristics with each class of traffic (see the “Per Session Rate Limiting”...
Traffic shaping for IP and PPP – For RBE sessions and VAIs that inherit the service policy of the VC, the Cisco 10000 series router supports the following QoS features when atm pxf queuing is enabled and the VC is a VBR VC: Rate limiting on each session in the input, output, or in both the input and output directions –...
Page 648
Not Available Table 18-2 Table 18-3, “Not Applicable” indicates that you cannot do the action on a Cisco Note product or that it has no meaning in the context indicated. “Not Available” means the action is not supported. When configuring an input policy map for a VAI, be careful that you do not include the “Not Applicable”...
If the policing action applies to all traffic through the interface, you can use the predefined class named Note class-default. Using one class in the policy map requires less process memory in the Cisco 10000 series router. Configuring per Session Rate Limiting...
Do not apply service policies with Class-Based Weighted Fair Queuing (CBWFQ) actions to a virtual access interface (VAI) using a virtual template. The Cisco 10000 series router supports queuing only when you apply the service policy to a VC. For RBE sessions, apply the service policy to the ATM VC or subinterface.
In this case, it is the name of the policy map you specified in Step 5. Do not apply service policies with CBWFQ actions to a VAI using a virtual template. The Cisco 10000 Note series router supports queuing only when you apply the service policy to a VC. For RBE sessions, apply the service policy to the ATM VC or ATM subinterface.
Use access control lists (ACLs), protocols, or input interface names to define how to classify traffic. If the policing action applies to all traffic through the interface, use the predefined class named • class-default. Using one class in the policy map requires less process memory in the Cisco 10000 series router. •...
Configuration Example for Per Session Service Policy Using RADIUS To configure per session service policy, perform the following configuration tasks: • Configure the RADIUS server on the Cisco 10000 series router as described in the “Configuring RADIUS” chapter in the Cisco IOS Security Configuration Guide, Release 12.2. •...
Page 654
Virtual-Template 1 ppp authentication chap ..To use the Cisco-Policy-Up VSA to download the name of the policy from RADIUS and apply the QoS policy to an interface, configure the following in the user profile on the RADIUS server: Cisco:Cisco-Policy-Up=rad_input_policy...
Page 655
8000 8000 16000 conform-action transmit exceed-action drop radius-server host 100.1.1.2 auth-port 1645 acct-port 1646 non-standard radius-server key cisco radius-server authorization permit missing Service-Type Cisco 10000 Series Router Quality of Service Configuration Guide 18-15 OL-7433-09...
Displays information about callers on the PPP termination Router# show caller aggregation (PTA) device or on the LNS. The show caller command does not display information Note about callers on the LAC. Cisco 10000 Series Router Quality of Service Configuration Guide 18-16 OL-7433-09...
• Verifying Service Policies on IP Sessions, page 18-24 • For more information, see the ISG: Flow Control: QoS Control: MQC Support for IP Sessions, Release 12.2(33)SB feature guide. Cisco 10000 Series Router Quality of Service Configuration Guide 18-18 OL-7433-09...
Sessions on subinterfaces under the main interface that do not have a policy of their own also inherit it. The policy is attached to the subinterface and sessions under that subinterface inherit it. – Cisco 10000 Series Router Quality of Service Configuration Guide 18-19 OL-7433-09...
(AAA) server (for example, RADIUS). Restrictions and Limitations for MQC Support for IP Sessions Interface redundancy is not supported on the Cisco 10000 series router. • IP session QoS and PPP session QoS are two separate features. IP session QoS does not include PPP •...
MQC on IP sessions does not provide full high availability (HA) functionality. After a switchover operation, the router recreates the sessions and reapplies the configurations. Per use ACL is not supported for traffic class on IP sessions on the Cisco 10000 series router. •...
Creates or modifies a service policy map, which is used to define Router(config-pmap)# policy-map type service policy-map-name an Intelligent Service Gateway (ISG) subscriber service. policy-map-name is the name of the service policy map. Cisco 10000 Series Router Quality of Service Configuration Guide 18-22 OL-7433-09...
Default traffic is dropped for both inbound and outbound traffic. policy-map type service Service1 class type traffic class1 prepaid-config PREPAID class type traffic default in-out drop Cisco 10000 Series Router Quality of Service Configuration Guide 18-23 OL-7433-09...
To specify the overhead offset in child and parent policies, use the bandwidth and shape commands. The offset values and encapsulation types must match in the child and parent policies. Cisco 10000 Series Router Quality of Service Configuration Guide 18-24...
However, this release does support load balancing if no output QoS is applied to the session. Cisco IOS Release 12.2(31)SB6 does not support load balancing at all on the LNS. Cisco IOS Release 12.2(31)SB10 supports load balancing for all QoS configurations, except those •...
Page 666
Configures or modifies the parent class-default class. Router(config-pmap)# class class-default You can configure only the class-default class in a parent Note policy. Do not configure any other traffic class. Cisco 10000 Series Router Quality of Service Configuration Guide 18-26 OL-7433-09...
Page 667
Step 11 (Optional) Attaches the parent policy to the virtual template Router(config-if)# service-policy policy-map-name interface. policy-map-name is the name of the previously configured parent policy map. Cisco 10000 Series Router Quality of Service Configuration Guide 18-27 OL-7433-09...
Page 668
In the example, the output modifier starts the display at the Parent policy map line. Example 18-11 Sample Output—show running-config Command Router# show running-config | begin Parent Policy Map Parent class class1 Cisco 10000 Series Router Quality of Service Configuration Guide 18-28 OL-7433-09...
“Nested Hierarchical Policies” section on page 13-6. The PPP Session Queuing on ATM VCs feature applies to both PPP terminated aggregation (PTA) and Note L2TP access concentrator (LAC) configurations. Cisco 10000 Series Router Quality of Service Configuration Guide 18-29 OL-7433-09...
(AV) pair. The session identifier might be, for example, the IP address of the session. The AV-pair defines the service (policy map name) to which the user belongs. Cisco 10000 Series Router Quality of Service Configuration Guide 18-30 OL-7433-09...
AV-pair and applies the QoS policy to the PPPoA or PPPoEoA session. Because the service policy contains queuing-related actions, the router sets up the appropriate class queues. Although the router also supports the RADIUS vendor specific attribute (VSA) 38, Cisco-Policy-Down Note and Cisco-Policy-Up, we recommend that you use the...
VC, although the router permits the configuration. The maximum number of VCs with PPP session queuing policies cannot exceed 16,000 VCs system • wide. Cisco 10000 Series Router Quality of Service Configuration Guide 18-32 OL-7433-09...
Creates or modifies the child policy. Enters policy-map Router(config)# policy-map policy-map-name configuration mode. policy-map-name is the name of the child policy map. The name can be a maximum of 40 alphanumeric characters. Cisco 10000 Series Router Quality of Service Configuration Guide 18-33 OL-7433-09...
Page 674
Valid values are from 1 to 1000. Step 7 Exits policy-map class configuration mode. Router(config-pmap-c)# exit Cisco 10000 Series Router Quality of Service Configuration Guide 18-34 OL-7433-09...
Page 675
Router(config-pmap-c)# set ip precedence 3 Router(config-pmap-c)# class Silver Router(config-pmap-c)# police 80000 10000 conform-action transmit exceed-action drop Router(config-pmap-c)# set ip precedence 5 Router(config-pmap-c)# exit Router(config-pmap)# policy-map Parent Router(config-pmap)# class class-default Router(config-pmap-c)# shape 200000 Cisco 10000 Series Router Quality of Service Configuration Guide 18-35 OL-7433-09...
Page 676
To apply the virtual template with its associated hierarchical policy to an ATM subinterface, enter the following commands beginning in global configuration mode: Cisco 10000 Series Router Quality of Service Configuration Guide 18-36 OL-7433-09...
Page 677
ATM network. Typically, lower values from 0 to 31 are reserved for specific traffic (for example, F4 OAM, SVC signaling, ILMI, and so on) and should not be used. Cisco 10000 Series Router Quality of Service Configuration Guide 18-37 OL-7433-09...
Configuring the Policy Map, page 18-38 • Adding the Cisco QoS AV Pairs to the RADIUS Profile, page 18-39 • Configuring the Policy Map The router allows you to use RADIUS to apply QoS policy maps to PPPoA or PPPoEoA sessions. The actual configuration of the policy map, however, occurs on the router using the modular QoS CLI (MQC).
Cisco-AVPair = "ip:sub-qos-policy-out=<name of egress policy>" The Cisco AV-pair identifies the policy map the router is to use when applying QoS features to a PPPoA or PPPoEoA session. After receiving a service-logon request from the policy server, RADIUS sends a change of authorization (CoA) request to the router to activate the service for the user, who is already logged in.
This information is entered into the subscriber’s user profile when the user profile is first created. The last line is an example of the Cisco QoS AV-pair added to the user profile. The policy map name downloaded to the router is p23.
Example 18-15 Displaying PPP Session Information—show pxf cpu queue session Command Router# show pppoe session 1 session in LOCALLY_TERMINATED (PTA) State 1 session total Uniq ID PPPoE RemMAC Port State LocMAC VA-st Type 0009.b68d.bb37 ATM2/0/7.5555 Vi3.1 0009.b68d.bc37 VC: 1/5555 Cisco 10000 Series Router Quality of Service Configuration Guide 18-42 OL-7433-09...
Page 683
2000000 bandwidth remaining ratio 100 Service-policy : pm_hier2_child_0_2 queue stats for all priority classes: Queueing priority level 1 queue limit 77 packets (queue depth/total drops/no-buffer drops) 0/0/0 Cisco 10000 Series Router Quality of Service Configuration Guide 18-43 OL-7433-09...
Page 684
Router# show policy-map pm_hier2_child_0_2 Policy Map pm_hier2_child_0_2 Class cm_0 priority level 1 police percent 5 2 ms 0 ms conform-action transmit exceed-action drop violate-action drop queue-limit 77 packets Class cm_1 Cisco 10000 Series Router Quality of Service Configuration Guide 18-44 OL-7433-09...
VCs, thus improving network utilization. For more information, see Chapter 15, “Oversubscribing Physical and Virtual Links.” Scalability up to 61,500 sessions • Cisco 10000 Series Router Quality of Service Configuration Guide 18-45 OL-7433-09...
Valid values are from 1 to 99. remaining percentage specifies or modifies the minimum percentage of unused link bandwidth allocated for a class belonging to a policy map. Valid values are from 1 to 99. Cisco 10000 Series Router Quality of Service Configuration Guide 18-46 OL-7433-09...
Page 687
Valid values are from 1 to 200. You can configure up to 200 virtual template Note interfaces on the router. Cisco 10000 Series Router Quality of Service Configuration Guide 18-47 OL-7433-09...
Page 688
(for example 1/0/0). .subinterface is the number of the subinterface (for example, 1/0/0.1). (Optional) point-to-point indicates that the subinterface connects directly with another subinterface. Cisco 10000 Series Router Quality of Service Configuration Guide 18-48 OL-7433-09...
Page 689
QoS policies to sessions. Step 22 Exits ATM virtual circuit configuration mode. Router(config-atm-vc)# exit Step 23 Exits subinterface configuration mode. Router(config-subif)# exit Cisco 10000 Series Router Quality of Service Configuration Guide 18-49 OL-7433-09...
If you do not specify an interface, it displays information about all of the policy maps configured on the router. interface interface is the interface type and number (for example, atm 4/0/0). Cisco 10000 Series Router Quality of Service Configuration Guide 18-50 OL-7433-09...
RADIUS server. Related Documentation This section provides hyperlinks to additional Cisco documentation for the features discussed in this chapter. To display the documentation, click the document title or a section of the document highlighted in blue. When appropriate, paths to applicable sections are listed below the documentation title.
Page 692
Feature Related Documentation Policy maps Cisco IOS Quality of Service Solutions Configuration Guide, Release 12.2 Part 8: Modular Quality of Service Command-Line Interface > Configuring the Modular Quality of Service Command-Line Interface > Modular QoS CLI Configuration Task List > Creating a Traffic Policy Cisco IOS Quality of Service Solutions Command Reference, Release 12.2...
The Cisco 10000 series router offers advanced IP QoS as a solution. The Cisco 10000 series router provides IP QoS over multiple ATM and Frame Relay PVCs combined into PVC bundles. By using PVC bundles and QoS-based PVC selection to carry packets, service providers can increase bandwidth between two routers when the connectivity is limited to low-speed switched circuits.
PVC bundles. Table 19-1 System Limits for PVC Bundles Bundle Max. No. of Members Max. No. of Bundles Type Per Bundle Per System 16,000 Frame Relay 16,000 Cisco 10000 Series Router Quality of Service Configuration Guide 19-2 OL-7433-09...
However, if a PVC that has no place to bump its traffic goes down, the router brings down the entire bundle despite any protection rules that have been set up. Cisco 10000 Series Router Quality of Service Configuration Guide 19-3...
ATM PVC Selection ATM PVC Selection The Cisco 10000 series router can forward packets to ATM bundle members based on the IP precedence level or Multiprotocol Label Switching (MPLS) experimental (EXP) level of the packets. The ATM PVC Bundle Enhancement—MPLS EXP-Based PVC Selection feature allows you to configure multiple PVCs with different QoS characteristics between any pair of ATM-connected routers and to configure a group of ATM PVCs with a single next-hop address.
Specifies that the VC or PVC accepts bumped traffic. By default, a PVC permits bumping and accepts bumped traffic. To configure a PVC to reject bumped traffic from another bundle member, enter the no bump traffic command. Cisco 10000 Series Router Quality of Service Configuration Guide 19-5 OL-7433-09...
To remove the specified bundle, use the no form of the command. By default, no bundle is specified. bundle bundle-name no bundle bundle-name Syntax Description bundle-name Specifies the name of the bundle to create or modify. The bundle-name is limited to 16 alphanumeric characters. Cisco 10000 Series Router Quality of Service Configuration Guide 19-6 OL-7433-09...
Use this command to assign a previously defined set of parameters (defined in a VC class) to an ATM VC bundle. Parameters set through bundle-level commands that are contained in a VC class are applied to the bundle and its VC members. Cisco 10000 Series Router Quality of Service Configuration Guide 19-7 OL-7433-09...
Parameters applied to an individual VC supersede bundle-level parameters. Parameters that are directly configured for a VC through discrete commands entered in bundle-vc configuration mode supersede VC class parameters assigned to a VC bundle member by the class-vc command. Cisco 10000 Series Router Quality of Service Configuration Guide 19-8 OL-7433-09...
VC member to be configured. Then, use the pvc-bundle command to specify the VC to be created or modified and enter bundle-vc configuration mode. Cisco 10000 Series Router Quality of Service Configuration Guide 19-9 OL-7433-09...
End-to-end F5 OAM loopback cell generation and OAM management are disabled, but if OAM cells are received, they are looped back. Configuration Modes VC-class configuration (for a VC class) Bundle configuration (for an ATM VC bundle) Cisco 10000 Series Router Quality of Service Configuration Guide 19-10 OL-7433-09...
Release 12.0(26)S This command was introduced on the PRE1. Defaults Defaults to other—that is, any precedence levels in the range from 0 to 7 that are not explicitly configured. Cisco 10000 Series Router Quality of Service Configuration Guide 19-11 OL-7433-09...
{group | vc} Syntax Description group Configures the VC or PVC bundle member as part of the protected group of the bundle. Configures the VC or PVC member as individually protected. Cisco 10000 Series Router Quality of Service Configuration Guide 19-12 OL-7433-09...
PVC bundle member, use the pvc-bundle command in bundle configuration mode. To remove the VC from the bundle, use the no form of the command. pvc-bundle pvc-name [vpi/] [vci] no pvc-bundle pvc-name [vpi/] [vci] Cisco 10000 Series Router Quality of Service Configuration Guide 19-13 OL-7433-09...
ATM PVC bundle management software allows you to configure multiple PVCs that have different QoS characteristics between any pair of ATM-connected routers. As shown in Figure 19-2, these PVCs are grouped in a bundle and are referred to as bundle members. Cisco 10000 Series Router Quality of Service Configuration Guide 19-14 OL-7433-09...
Page 707
VC. In the figure PVC selection is based on IP precedence levels, but it can also be based on MPLS EXP levels. Cisco 10000 Series Router Quality of Service Configuration Guide 19-15...
You configure specific parameters to define these rules. Figure 19-4 conceptualizes a failed PVC bundle member whose failure calls into effect the configured bumping rules. Cisco 10000 Series Router Quality of Service Configuration Guide 19-16 OL-7433-09...
The network configuration determines whether to bump traffic or whether to declare the bundle inactive. Prerequisites for ATM PVC Selection The Cisco 10000 series router must be running Cisco IOS Release 12.0(26)S or later. • To implement ATM PVC bundles between two routers, you must enable IP Cisco Express •...
Chapter 19 Configuring Quality of Service for PVC Bundles ATM PVC Selection The Cisco 10000 router does not support automapping of PVCs or variable bit rate-real-time • (VBR-rt) for PVCs. • The Cisco 10000 router supports aal5snap and aal5mux encapsulation types for PVCs and multipoint and point-to-point subinterfaces.
Page 711
ATM PVC, VC class, or VC bundle. minutes is the number of minutes for the Inverse ARP time period. Step 9 Enables broadcast forwarding for all VC bundle members. Router(config-atm-vcb)# broadcast Cisco 10000 Series Router Quality of Service Configuration Guide 19-19 OL-7433-09...
VC class with the bundle. Parameters that you apply to an individual PVC supersede the parameters that you apply to a bundle. To create an ATM bundle using a VC class, perform the following configuration tasks: Cisco 10000 Series Router Quality of Service Configuration Guide 19-20 OL-7433-09...
Page 713
Critical non-IP traffic automatically uses precedence Note level 0. Cisco 10000 Series Router Quality of Service Configuration Guide 19-21 OL-7433-09...
Page 714
VC class to the bundle. vc-class-name is the name of the VC class that you are attaching to the VC bundle. Cisco 10000 Series Router Quality of Service Configuration Guide 19-22 OL-7433-09...
Router(config)# interface atm slot/module/port.subinterface configuration mode. Step 2 Creates or modifies the PVC bundle and enters ATM bundle Router(config-subif)# bundle bundle-name configuration mode. bundle-name is the name of the bundle. Cisco 10000 Series Router Quality of Service Configuration Guide 19-23 OL-7433-09...
Page 716
0 to 7, specified either as a single number (3) or a range of precedence levels (2-4). Step 7 Attaches a VC class to the PVC bundle member. Router(config-atm-vcb-vc)# class class-name class-name is the name of the VC class. Cisco 10000 Series Router Quality of Service Configuration Guide 19-24 OL-7433-09...
(Optional) frequency is the number of seconds between transmitted OAM loopback cells. Valid values are from 0 to 600 seconds. The default is 10 seconds. Cisco 10000 Series Router Quality of Service Configuration Guide 19-25 OL-7433-09...
Page 718
0 to 7, specified either as a single number (3) or a range of precedence levels (2-4). Step 7 Configures unspecified bit rate (UBR) as the traffic shaping rule. Router(config-vc-c)# ubr [pcr] (Optional) pcr is the peak cell rate. Cisco 10000 Series Router Quality of Service Configuration Guide 19-26 OL-7433-09...
To configure an individual PVC bundle member not to accept traffic that the router forwards to it when the original PVC carrying the traffic goes down, enter the following command in PVC bundle member configuration mode: Cisco 10000 Series Router Quality of Service Configuration Guide 19-27 OL-7433-09...
(Optional) detail displays detailed statistics. Displays a list of all configured ATM static maps to remote hosts Router# show atm map on an ATM network and on ATM bundle maps. Cisco 10000 Series Router Quality of Service Configuration Guide 19-28 OL-7433-09...
3 oam 4 3 10 /* The following VC classes define the parameters applicable to individual VCs in a bundle. */ Cisco 10000 Series Router Quality of Service Configuration Guide 19-29 OL-7433-09...
Page 722
/* The following commands create the PVCs of bundle new-york. */ pvc-bundle ny-control 207 class control-class pvc-bundle ny-premium 206 class premium-class pvc-bundle ny-priority 204 class priority-class pvc-bundle ny-basic 201 class basic-class bundle san-francisco protocol clns 40.0000.0000.0000.3333.00 broadcast Cisco 10000 Series Router Quality of Service Configuration Guide 19-30 OL-7433-09...
Frame Relay PVC Selection The Cisco 10000 router can forward packets to Frame Relay bundle members based on the IP precedence level, differentiated services code point (DSCP) level, or the Multiprotocol Label Switching (MPLS) experimental (EXP) level of the packets.
When the bump explicit command is not configured, the bump implicit command takes effect by default; however, the bump implicit command does not appear in the output of the show running-config and show startup-config commands. Cisco 10000 Series Router Quality of Service Configuration Guide 19-33 OL-7433-09...
DSCP levels that are not explicitly configured on any other bundle members. dscp Command History Cisco IOS Release Description Release 12.0(26)S This command was introduced on the PRE1. Defaults DSCP levels are not configured. Cisco 10000 Series Router Quality of Service Configuration Guide 19-34 OL-7433-09...
(0,1,2-4,7). other Specifies that the Frame Relay PVC bundle member handles all of the remaining MPLS EXP levels that are not explicitly configured on any other bundle member PVCs. Cisco 10000 Series Router Quality of Service Configuration Guide 19-35 OL-7433-09...
To remove a Frame Relay PVC bundle, use the no form of the command. frame-relay vc-bundle vc-bundle-name no frame-relay vc-bundle vc-bundle-name Syntax Description vc-bundle-name User-defined name of this Frame Relay PVC bundle. Cisco 10000 Series Router Quality of Service Configuration Guide 19-36 OL-7433-09...
Critical non-IP traffic automatically uses precedence level 0. Note precedence Command History Cisco IOS Release Description Release 12.0(26)S This command was introduced on the PRE1. Cisco 10000 Series Router Quality of Service Configuration Guide 19-37 OL-7433-09...
PVC status, use the protect command in Frame Relay VC-bundle-member configuration mode. To remove the protected status from the PVC, use the no form of the command. protect {group | vc} no protect {group | vc} Cisco 10000 Series Router Quality of Service Configuration Guide 19-38 OL-7433-09...
Data-link connection identifier (DLCI) number used to identify the PVC. vc-name (Optional) An alphanumeric name for the PVC. pvc Command History Cisco IOS Release Description Release 12.0(26)S This command was introduced on the PRE1. Cisco 10000 Series Router Quality of Service Configuration Guide 19-39 OL-7433-09...
ToS or DSCP octet settings. Prerequisites for Frame Relay PVC Selection The Cisco 10000 series router must be running Cisco IOS Release 12.0(26)S or later releases. • To implement Frame Relay PVC bundles between two routers, you must enable IP Cisco Express •...
Frame Relay PVC Selection Restrictions and Limitations for Frame Relay PVC Selection PVCs • In Cisco IOS Release 12.0(26)S, the Frame Relay implementation of VC bundles is restricted to PVCs. You can configure a maximum of eight PVCs in a PVC bundle. •...
4-byte header, with 2 bytes to identify the data-link connection identifier (DLCI) and 2 bytes to identify the packet type. This is the default encapsulation type. Cisco 10000 Series Router Quality of Service Configuration Guide 19-42 OL-7433-09...
Router(config-if)# frame-relay vc-bundle vermont Adding a PVC to a Frame Relay PVC Bundle To add a PVC to a Frame Relay PVC bundle, enter the following commands beginning in global configuration mode: Cisco 10000 Series Router Quality of Service Configuration Guide 19-43 OL-7433-09...
Note We recommend that you configure a PVC bundle on the peer router, especially for applications that rely on communications on the same PVC (for example, TCP header compression). Cisco 10000 Series Router Quality of Service Configuration Guide 19-44 OL-7433-09...
Page 737
PVC bundle members. The default match type is precedence. The Cisco 10000 series router uses the type of matching Note you specify to map each IPv4 packet to a specific PVC in the bundle, according to the value of the ToS or DSCP octet in the IP header.
Page 738
Frame Relay PVC bundle member handles all of the remaining DSCP levels that are not explicitly configured on any other bundle members. Cisco 10000 Series Router Quality of Service Configuration Guide 19-46 OL-7433-09...
Page 739
Step 11 (Optional) Enables Inverse ARP for the PVC bundle member. By Router(config-fr-vcb-vc)# inarp default, Inverse ARP traffic uses the PVC configured for precedence level 6 or DSCP level 63. Cisco 10000 Series Router Quality of Service Configuration Guide 19-47 OL-7433-09...
Page 740
In the example, the PVC bundle named Gold is created. The map class named East is applied to the PVC bundle member named member1 (DLCI 100). Cisco 10000 Series Router Quality of Service Configuration Guide 19-48 OL-7433-09...
2-4 protect group pvc 103 ny-basic class basic precedence other protect group frame-relay vc-bundle san-jose match dscp pvc 200 class control dscp 63-60 no bump traffic protect vc Cisco 10000 Series Router Quality of Service Configuration Guide 19-49 OL-7433-09...
Verifying and Monitoring Frame Relay PVC Selection To verify and monitor the configuration and operation of Frame Relay PVC selection, enter any of the following commands in privileged EXEC configuration mode: Cisco 10000 Series Router Quality of Service Configuration Guide 19-50 OL-7433-09...
Page 743
Displays Frame Relay Real-Time Transport Protocol (RTP) Router# show frame-relay ip rtp header-compression [interface type number] header compression statistics. (Optional) interface type number specifies the interface type and number. Cisco 10000 Series Router Quality of Service Configuration Guide 19-51 OL-7433-09...
Router# show frame-relay vc-bundle new-york new-york on serial 0.1 - Status: UP Match-type: Precedence Config.ActiveBumpingPG/CIR NameDLCILevelLevelto/acceptPVkbpsStatus ny-control100774/Yespv 56 ny-premium1016-56-57/Nopg256up ny-priority1024-24-21/Yespg512up ny-basic*1031-01-0-/Yespg256up * Indicates that this VC is responsible for carrying unmapped traffic. Cisco 10000 Series Router Quality of Service Configuration Guide 19-52 OL-7433-09...
Related Documentation Related Documentation This section provides hyperlinks to additional Cisco documentation for the features discussed in this chapter. To display the documentation, click the document title or a section of the document highlighted in blue. When appropriate, paths to applicable sections are listed below the documentation title.
Page 746
Chapter 19 Configuring Quality of Service for PVC Bundles Related Documentation Cisco 10000 Series Router Quality of Service Configuration Guide 19-54 OL-7433-09...
You can employ the flexible MPLS architecture in any combination of Layer 2 technologies. The Cisco 10000 series router offers MPLS support for all Layer 3 protocols. This chapter describes QoS for MPLS-enabled networks and includes the following topics: MPLS QoS, page 20-1 •...
Class-Based Weighted Fair Queuing (CBWFQ)— An automated scheduling system that uses a queuing algorithm to ensure bandwidth allocation to different classes of network traffic. For more information about CBWFQ, see Chapter 12, “Sharing Bandwidth Fairly During Congestion.” Cisco 10000 Series Router Quality of Service Configuration Guide 20-2 OL-7433-09...
(ToS) value rather than the disposed EXP value. The Cisco 10000 series router does not support the propagate-cos command to enable uniform mode. The router does not copy the MPLS EXP values on disposition to the packet’s IP header, unless you map the EXP value to a qos-group value at the inbound interface and use the qos-group value to set the IP ToS value on the outbound interface.
MPLS QoS How QoS Works for MPLS Traffic The Cisco 10000 series router bypasses the IP header-based classification for MPLS packets—you cannot classify MPLS packets into distinct classes using the embedded IP header of the MPLS packet. The router classifies MPLS packets as belonging to the class-default class, except if you specify qos-group or input-interface match statements for traffic classes.
Classifying IP Packets Using a Class Map, page 20-6 • Setting the MPLS EXP Field Using a Policy Map, page 20-7 • Attaching an MPLS QoS Service Policy to an Interface, page 20-8 • Cisco 10000 Series Router Quality of Service Configuration Guide 20-5 OL-7433-09...
The router classifies all packets that match the http ACL as belonging to the http traffic class. Router(config)# class-map match-all http Router(config-cmap)# match access-group name http Router(config-cmap)# end Cisco 10000 Series Router Quality of Service Configuration Guide 20-6 OL-7433-09...
(Optional) Sets the MPLS EXP bits of the packets belonging to Router(config-pmap-c)# set mpls experimental imposition mpls-exp-value this traffic class. mpls-exp-value specifies the value used to set the MPLS EXP bits. Valid values are from 0 to 7. Cisco 10000 Series Router Quality of Service Configuration Guide 20-7 OL-7433-09...
Configuration Examples for MPLS QoS This section provides example configurations for the following: • Configuration Example for Short Pipe Mode, page 20-9 • Configuration Example for Pipe Mode, page 20-10 Cisco 10000 Series Router Quality of Service Configuration Guide 20-8 OL-7433-09...
3 class-map match-all prec4 match ip precedence 4 class-map match-all prec5 match ip precedence 5 class-map match-all prec6 match ip precedence 6 class-map match-all prec7 match ip precedence 7 Cisco 10000 Series Router Quality of Service Configuration Guide 20-10 OL-7433-09...
Page 757
3 class exp3 set mpls experimental imposition 4 class exp4 set mpls experimental imposition 5 class exp5 set mpls experimental imposition 6 class exp6 Cisco 10000 Series Router Quality of Service Configuration Guide 20-11 OL-7433-09...
MPLS CoS Multi-VC Mode The Multiprotocol Label Switching Class of Service (MPLS CoS) Multi-Virtual Circuit (VC) Mode feature on the Cisco 10000 router provides multi-VC support on the performance routing engine (part number PRE1) and extends QoS functionality to Label-Controlled Asynchronous Transfer Mode (LC-ATM) and multi-VC subinterfaces in a service provider MPLS-enabled network.
A class of service (CoS) map is a template that maps EXP values to a VC number within an LVC service group. The Cisco IOS software uses the CoS map to create a binding table that maps EXP values to the actual VCs.
QoS for Label-Controlled ATM VCs The router dynamically creates label-controlled ATM virtual circuits (LC-ATM VCs), also referred to as LVCs. In Cisco IOS Release 12.0(28)S and later releases, the implementation of LC-ATM interfaces is expanded to provide QoS capability for LVCs.
• The Cisco 10000 series router supports a maximum of 500 LVC service groups. • The Cisco 10000 series router does not support available bit rate (ABR) for ATM VCs. Therefore, • the router also does not support ABR LVCs.
Configuring Quality of Service for MPLS Traffic MPLS CoS Multi-VC Mode Configuring MPLS CoS Multi-VC Mode To configure the MPLS CoS Multi-VC Mode feature on the Cisco 10000 router, perform the following required configuration tasks: • Configuring Multi-VC Mode in the Core of an ATM Network, page 20-16 •...
Configuring Queueing Functions on Router Output Interfaces To configure queuing functions on the router’s output interfaces, see Chapter 3, “Configuring QoS Policy Actions and Rules.” Cisco 10000 Series Router Quality of Service Configuration Guide 20-17 OL-7433-09...
Therefore, you can develop QoS services for end customers that rely on signaled QoS rather than provisioned QoS, which enables you to build QoS services with hard commitments and without overprovisioning. Cisco 10000 Series Router Quality of Service Configuration Guide 20-18 OL-7433-09...
Therefore, the amount of traffic sent into the sub-pool is never more than the amount the guaranteed bandwidth queue can handle. Cisco 10000 Series Router Quality of Service Configuration Guide 20-19 OL-7433-09...
Resource Reservation Protocol-Traffic Engineering (RSVP-TE) • • IP CEF is enabled by default on the Cisco 10000 series router and it cannot be turned off. If you attempt Note to disable IP CEF, an error appears. Restrictions and Limitations for DS-TE The total number of TE tunnels (regular TE tunnels and DS-TE tunnels) that can originate on a device is limited to 1013 tunnels.
[transition] [{level-1 | level-2 | type, length, and value (TLV) objects. level-1-2}] Step 5 Configures the IS-IS level at which the Cisco IOS software Router(config-router)# is-type {level-1 | level-1-2 | level-2-only} operates. When you specify level-1, the router acts as a station router and learns about destinations inside its area.
Page 768
Router(config)# mpls traffic-eng tunnels Router(config)# router ospf 100 Router(config-router)# network 10.1.1.0 0.0.0.255 area 0 Router(config-router)# network 10.16.1.1 0.0.0.0 area 0 Router(config-router)# mpls traffic-eng area 0 Router(config-router)# mpls traffic-eng router-id loopback0 Router(config-router)# exit Cisco 10000 Series Router Quality of Service Configuration Guide 20-22 OL-7433-09...
Example 20-2 Activating Traffic Engineering on a Physical Interface with IS-IS Router(config-if)# ip address 10.1.1.1 255.255.255.255 Router(config-if)# ip rsvp bandwidth 130000 130000 sub-pool 80000 Router(config-if)# mpls traffic-eng tunnels Router(config-if)# ip router isis Cisco 10000 Series Router Quality of Service Configuration Guide 20-23 OL-7433-09...
Router(config)# interface tunnel number configuration mode. number is the number of the tunnel interface that you want to create or configure. The Cisco 10000 series router does not limit the number of tunnel interfaces that you can create. Step 2 Sets the mode of a tunnel to MPLS for traffic engineering.
If you want to provide delay or jitter guarantees, use the DiffServ expedited forwarding queue (EF PHB). On the Cisco 10000 series router, it is the absolute priority queue. Cisco 10000 Series Router Quality of Service Configuration Guide 20-25...
MPLS Traffic Engineering—DiffServ Aware If you only want to provide bandwidth guarantees, use the DiffServ assured forwarding queue (AF PHB). On the Cisco 10000 series router, use one of the existing class-based weighted fair queuing (CBWFQ) queues. Ensure that the router places the guaranteed traffic from the sub-pool tunnel in the guaranteed bandwidth queue at the outbound interface of every tunnel hop, and that the router does not place any other traffic in this queue.
Page 773
(for example, serial 1/0/0). Displays local link information currently being flooded by MPLS Router# show mpls traffic-eng link-management advertisements traffic engineering link management into the global traffic engineering topology. Cisco 10000 Series Router Quality of Service Configuration Guide 20-27 OL-7433-09...
Configuration Example for Configuring DS-TE on the Tunnel Head Router, page 20-29 • Configuration Example for Configuring DS-TE on the Tunnel Head Physical Interface, page 20-29 • Configuration Example for Configuring DS-TE on the Tunnel Interface, page 20-29 • Cisco 10000 Series Router Quality of Service Configuration Guide 20-28 OL-7433-09...
Configuration Examples for Configuring Guaranteed Bandwidth Service For examples of guaranteed bandwidth configuration, see the MPLS Traffic Engineering—DiffServ Aware, Release 12.2(14)S feature module. Cisco 10000 Series Router Quality of Service Configuration Guide 20-31 OL-7433-09...
Per VRF AAA Per VRF AAA The per VRF AAA feature allows the Cisco 10000 series router to communicate directly with the customer RADIUS server without having to go through a RADIUS proxy. Using the per VRF AAA feature, you can partition authentication, authorization, and accounting (AAA) services based on a virtual routing and forwarding (VRF) instance.
Page 779
MPLS QoS Multi-VC Mode for PA-A3, Release 12.2(2)T feature module MPLS Label Distribution Protocol, Release 12.1(8a)E feature module Multiprotocol Label Switching on Cisco Routers, Release 12.1(3)T feature module MPLS Class of Service Enhancements, Release 12.1(5)T feature module MPLS Virtual Private Networks (VPNs), Release 12.0(22)S feature module Quality of Service Solutions Configuration Guide, Release 12.2...
Page 780
Chapter 20 Configuring Quality of Service for MPLS Traffic Related Documentation Cisco 10000 Series Router Quality of Service Configuration Guide 20-34 OL-7433-09...
VLAN-group policy, to a group of IEEE 802.1Q VLAN subinterfaces. In releases prior to Cisco IOS Release 12.2(31)SB2, you can apply a QoS policy to an interface or a specific subinterface. When applied on the main interface, all of the VLAN subinterfaces configured on the interface inherit the QoS policy of the main interface.
Required PRE Release 12.2(31)SB22 This feature was introduced and implemented on the PRE2 Cisco 10000 series router for the PRE2 and PRE3. PRE3 VLAN-Groups A VLAN-group is a traffic class that potentially consists of multiple IEEE 802.1Q VLAN subinterfaces. A class map defines the VLAN group and the match criteria the router uses to classify the traffic as belonging to a specific VLAN group.
802.1Q VLAN or QinQ subinterface. For more information, see the QoS: Hierarchical group so that the group has its own VTMS link. Otherwise, the traffic for that VLAN group uses the Queuing for Ethernet DSLAMs feature module for Cisco IOS Release 12.2(31)SB2. VTMS link and queues of the main interface.
Supports simultaneous VLAN-group policy Does not support both VLAN-group policies and and subinterface policies that are not part of subinterface policies on the same link the VLAN-group policy. simultaneously. Cisco 10000 Series Router Quality of Service Configuration Guide 21-4 OL-7433-09...
In a class map, you can specify only the match vlan command as the classification criteria if QoS • services are defined for the corresponding traffic class in the parent policy (top-level in a three-level policy) of a hierarchical policy. Cisco 10000 Series Router Quality of Service Configuration Guide 21-5 OL-7433-09...
Page 786
For example, the following sample configuration shows how to configure an output parent policy: policy-map Egress_Parent class vgrp1 shape 128000 service-policy Child3 class vgrp2 shape 512000 service-policy Child2 class class-default shape 2000000 service-policy Child1 Cisco 10000 Series Router Quality of Service Configuration Guide 21-6 OL-7433-09...
VLAN-group policy is attached to an interface, if you attempt to attach a QoS policy to the subinterface participating in the VLAN group, the attempt fails and an error message displays. • Attach child policies under any class defined in a VLAN-group policy. Cisco 10000 Series Router Quality of Service Configuration Guide 21-7 OL-7433-09...
7 as members of the group: Router> enable Router# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)# class-map match-any customer1 Router(config-cmap)# match vlan 2 3-5 7 Router(config-cmap)# exit Cisco 10000 Series Router Quality of Service Configuration Guide 21-8 OL-7433-09...
Applies the policy map you specify to the inbound default Router(config-pmap-c)# service-policy policy-map-name traffic class. policy-map-name is the name of the policy map that you want to apply to the default traffic class. Cisco 10000 Series Router Quality of Service Configuration Guide 21-9 OL-7433-09...
QoS actions. For a VLAN-group policy, specify the name of a VLAN group traffic class. Cisco 10000 Series Router Quality of Service Configuration Guide 21-10 OL-7433-09...
Page 791
Router(config-pmap-c)# class vgrp1 Router(config-pmap-c)# set cos 2 Router(config-pmap)# class vgrp2 Router(config-pmap-c)# police percent 20 Router(config)# policy-map policy2 Router(config-pmap)# class vgrp2 Router(config-pmap-c)# police 512000 Router(config-pmap-c)# class vgrp1 Router(config-pmap-c)# police 64000 Cisco 10000 Series Router Quality of Service Configuration Guide 21-11 OL-7433-09...
(for example, 1/0/0.1). (Optional) point-to-point indicates that the subinterface is a point-to-point subinterface. (Optional) multipoint indicates that the subinterface is a point-to-multipoint subinterface. Cisco 10000 Series Router Quality of Service Configuration Guide 21-12 OL-7433-09...
This section provides the following configuration examples: Configuring a VLAN Tag-Based QoS Policy: Example, page 21-14 • Configuring a VLAN Tag-Based QoS Policy: Invalid Configuration Example, page 21-14 • Cisco 10000 Series Router Quality of Service Configuration Guide 21-13 OL-7433-09...
10000000 policy-map vlangroup-shapers class vlan_5_to_10 shape average 10000000 class vlan_11_to_14 shape average 10000000 interface GigabitEthernet 1/1/1 service-policy output vlangroup-shapers interface GigabitEthernet 1/1/1.5 Cisco 10000 Series Router Quality of Service Configuration Guide 21-14 OL-7433-09...
Bandwidth and priority queues Comparing the Bandwidth and Priority Commands of a QoS Service Policy Bandwidth starvation Cisco 10000 Series Router Quality of Service Configuration Guide Prioritizing Services > Low-Latency Priority Queuing > Bandwidth Starvation Congestion management QoS Congestion Management (Queuing), Introduction...
Page 796
Chapter 21 VLAN Tag-Based Quality of Service Related Documents Cisco 10000 Series Router Quality of Service Configuration Guide 21-16 OL-7433-09...
For more information, see “4-Level Scheduler” section on page 22-10. The parallel express forwarding (PXF) engine performs all packet-level scheduling using the HQF. Figure 22-1 shows the 3-level HQF hierarchy. Cisco 10000 Series Router Quality of Service Configuration Guide 22-1 OL-7433-09...
The hierarchical queuing framework (HQF) supports the following interfaces: 61,500 logical interfaces • 16,000 physical interfaces • Up to 15 queues per interface (2 priority queues [PQs], 12 nondefault queues, and 1 default queue) • Cisco 10000 Series Router Quality of Service Configuration Guide 22-2 OL-7433-09...
In this example, the VLAN is shaped at 100 kbps. policy-map child class precedence0 bandwidth percent 10 class precedence1 shape average percent 50 random-detect policy-map parent class class-default shape average 100000 service-policy child Cisco 10000 Series Router Quality of Service Configuration Guide 22-4 OL-7433-09...
You cannot concurrently configure the bandwidth and bandwidth remaining commands on the same class queue or the same policy map. For more information about the bandwidth-remaining ratio, see the “Distribution of Remaining Bandwidth Using Ratio” section on page 5-14. Cisco 10000 Series Router Quality of Service Configuration Guide 22-5 OL-7433-09...
• for the class and the logical interface are not exceeded. By using VP and VC scheduling with existing Cisco 10000 ATM line cards, the scheduler supports priority propagation: cell-based VP shaping in the segmentation and reassembly (SAR) mechanism with frame-based VC scheduling in the performance routing engine 3 (PRE3).
Each VLAN has a priority class and additional classes configured. Through priority propagation, the scheduler delivers latency to the priority traffic based on the 10 GE rate and not the VLAN rate. Cisco 10000 Series Router Quality of Service Configuration Guide 22-7...
3-level scheduler allocates bandwidth as described in Table 22-2. Table 22-2 Queuing Presentation—Policy Attached to an Interface Traffic Class Bandwidth Ratio Total Bandwidth Allocated prec0 666 kbps prec2 222 kbps class-default 111 kbps Cisco 10000 Series Router Quality of Service Configuration Guide 22-8 OL-7433-09...
Parent1 policy is enabled on subinterface 1 and the Parent2 policy is enabled on subinterface 2, and that the interface speed is 2100 kbps. Cisco 10000 Series Router Quality of Service Configuration Guide 22-9 OL-7433-09...
Subinterface layer (lower logical) (VLAN, QinQ, or ATM VC)—Virtual-time calendars ensure that • the maximum rate for the class and the logical interface are not exceeded. Cisco 10000 Series Router Quality of Service Configuration Guide 22-10 OL-7433-09...
Feature History for 4-Level Scheduler Cisco IOS Release Description PRE Required Release 12.2(33)XNE1 This feature was introduced on the Cisco 10000 series PRE3, PRE4 router for the PRE3 and PRE4. Cisco 10000 Series Router Quality of Service Configuration Guide 22-11...
Related Documentation Related Documentation This section provides hyperlinks to additional Cisco documentation for the features discussed in this chapter. To display the documentation, click the document title or a section of the document highlighted in blue. When appropriate, paths to applicable sections are listed below the documentation title.
Example A-1 creates a map class named camry. Example A-1 Configuring a Frame Relay Map Class Router(config)# map-class frame-relay camry Router(config-map-class)# Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
PVCs equally. Example A-3 sets the DLCI queue weight to 80. Example A-3 Configuring a DLCI Queue Weight Router(config-map-class)# frame-relay interface-queue fair weight 80 Router(config-map-class)# Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
1 to 32,768. max_threshold is the number of packets from 1 to 32,768. probability is the mark-probability-denominator value. Valid values are from 1 to 65,536. Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
The following are examples of priority queues: DLCI 2 RTP queue • • DLCI 1 RTP queue The following are examples of non-priority queues: • DLCI 3 data queue • DLCI 2 data queue • Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
Router(config-if)# frame-relay interface-dlci 928 Configuring Frame Relay Traffic Shaping The Cisco 10000 series router supports Frame Relay traffic shaping (FRTS) and generic traffic shaping (GTS) on Frame Relay interfaces; however, you cannot enable both of these interfaces at the same time.
Page 814
Router(config-map-c)# frame-relay cir 64000 Router(config-map-c)# frame-relay mincir 64000 Router(config-map-c)# exit Router(config)# interface serial 1/0/0/1:1 Router(config-if)# ip address 1.1.0.2 255.255.255.252 Router(config-if)# encapsulation frame-relay Router(config-if)# frame-relay traffic-shaping Router(config-if)# frame-relay class frts Router(config-if)# frame-relay interface-dlci 27 Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
Apply IP precedence to routes learned from neighbors QPPB Configuration Example In this example, the Cisco 10000 series router learns routes from autonomous system (AS) 10 and AS 60. QoS policy is applied to all packets that match the defined route maps. Any packets from the...
Page 816
Router(config-route-ma)# match as-path 1 Router(config-route-ma)# set ip precedence critical Router(config-route-ma)# set ip qos-group 9 For everything else, set the IP precedence to routine. Router(config)# route-map precedence-map permit 80 Router(config-route-ma)# set ip precedence routine Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
Page 817
RouterB(config-route-ma)# match ip address 50 RouterB(config-route-ma)# set community 60:5 Match prefix 60 and set community to 60:6. RouterB(config)# route-map send_community permit 60 RouterB(config-route-ma)# match ip address 60 RouterB(config-route-ma)# set community 60:6 Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
Page 818
20 IETF Related Documentation This section provides hyperlinks to additional Cisco documentation for the features discussed in this chapter. To display the documentation, click the document title or a section of the document highlighted in blue. When appropriate, paths to applicable sections are listed below the documentation title.
Page 819
See Border Gateway Protocol. Interdomain routing protocol that exchanges reachability information with other BGP systems. It is Border Gateway defined in RFC 1163. Protocol Cisco 10000 Series Router Quality of Service Configuration Guide GL-1 OL-7433-09...
Page 820
A queue is reserved for each class and traffic belonging to a class is directed to the queue for that class. On the Cisco 10000 series router, the CBWFQ feature allows a virtual access interface (VAI) to inherit the service policy of the virtual circuit (VC) that the VAI uses.
Page 821
The non-hierarchical policy, on the other hand, defines only class-specific actions. Hierarchical policies can have up to three levels configured. Cisco 10000 Series Router Quality of Service Configuration Guide GL-3 OL-7433-09...
Page 822
Marking simplifies the network Qos design and QoS tools configuration, and reduces the overhead of packet classification by other QoS tools. See Management Information Base. See Multilink PPP. Cisco 10000 Series Router Quality of Service Configuration Guide GL-4 OL-7433-09...
Page 823
A virtual interface that connects to a peer system. MLP bundles consist of multiple physical links. MLP bundle See Multilink PPP. Also referred to as modular CLI. A platform-independent CLI for configuring QoS features on Cisco Modular QoS products. command-line interface See Multiprotocol Label Switching.
Page 824
Ethernet PPP connections over ATM links. PPP over Ethernet over on Ethernet. Allows tunneling and termination of PPP sessions over Ethernet PPPoEoE links and allows for Ethernet PPP connections over Ethernet links. Cisco 10000 Series Router Quality of Service Configuration Guide GL-6 OL-7433-09...
Page 825
Quality of service (QoS) refers to the ability of a network to provide improved service to selected network traffic over various underlying technologies including Frame Relay, ATM, Ethernet and 802.1 networks, SONET, and IP-routed networks. Cisco IOS QoS technology lets complex networks control and predictably service a variety of networked applications and traffic types.
Page 826
The algorithm puts tokens into the bucket at a certain rate. Each token is permission for the source to send a specific number of bits into the network. Type of service. First defined in RFC 791. Cisco 10000 Series Router Quality of Service Configuration Guide GL-8 OL-7433-09...
Page 827
The function of the VCI is similar to that of the DLCI in Frame Relay. Connection between two ATM devices. A virtual channel connection is made up of one or more VCLs. virtual channel link Cisco 10000 Series Router Quality of Service Configuration Guide GL-9 OL-7433-09...
Page 828
The template takes the form of a list of Cisco IOS interface commands that are applied to virtual access interfaces, as needed. See virtual LAN. VLAN See virtual path identifier.
Page 829
Glossary Various types of digital subscriber lines. Examples include ADSL, HDLS, and VDSL. xDSL Cisco 10000 Series Router Quality of Service Configuration Guide GL-11 OL-7433-09...
Page 830
Glossary Cisco 10000 Series Router Quality of Service Configuration Guide GL-12 OL-7433-09...
Page 831
ATM overhead accounting atm pxf queuing mode 13, 15, 3, 5, 31, 8, 25 configuration examples attaching policies description attaching policies containing the set cos command Cisco 10000 Series Router Quality of Service Configuration Guide IN-1 OL-7433-09...
Page 832
10, 8, 9, 11, 13, 16, 14, 37, 47, 26, 46 bits limiting, advantage of shaping and policing bottom-level policies maximum percentage 2, 4, 10 nesting child policies maximum queues supported using set and police commands Cisco 10000 Series Router Quality of Service Configuration Guide IN-2 OL-7433-09...
Page 833
9, 12 verifying bundles deleting from policy map burst-excess maximum non-class-default classes burst-normal traffic class 4, 16 class-based traffic shaping Cisco 10000 Series Router Quality of Service Configuration Guide IN-3 OL-7433-09...
Page 834
9, 10 for prioritizing packets class-vc IEEE 802.1p standard dbs enable marking dscp (Frame Relay VC-bundle-member) recommended values encapsulation dot.1q class policies encapsulation dot1.q configuring in a policy map Cisco 10000 Series Router Quality of Service Configuration Guide IN-4 OL-7433-09...
Page 835
5, 6, 9, 13 oam retry shape 5, 6, 10, 4 police 5, 6, 9 show atm class-links police percent show atm interface 11, 35 policy-map show caller 3, 9, 21 Cisco 10000 Series Router Quality of Service Configuration Guide IN-5 OL-7433-09...
Page 836
13, 8 ATM cell loss priority marking controlling, average queue length bumping rules, Frame Relay members creating class of service marking ATM bundles 18, 20 differentiated services code point marking Cisco 10000 Series Router Quality of Service Configuration Guide IN-6 OL-7433-09...
Page 837
DS3/E3 line card, maximum virtual circuits supported recommended values DSCP, See differentiated services. reserved keywords DSCP-based mapping for PVC bundles RFCs defining DSCP values dscp command (Frame Relay VC-bundle-member) setting DSCP bits Cisco 10000 Series Router Quality of Service Configuration Guide IN-7 OL-7433-09...
Page 838
21, 31 shaping feedbacks, parallel express forwarding interface QoS inheritance flow control Ethernet overhead accounting on Layer 2 queues configuration example 11, 12 forcing, PVC bundles down Cisco 10000 Series Router Quality of Service Configuration Guide IN-8 OL-7433-09...
Page 839
See also LFI. verification examples FRTS verifying FRTS, See Frame Relay traffic shaping. hierarchical shaping 4, 5, 6 configuration examples maximum line card virtual circuits overview global pool tunnels restrictions Cisco 10000 Series Router Quality of Service Configuration Guide IN-9 OL-7433-09...
Page 840
IP RTP 4, 5 queue-limit IP RTP priority for VoIP (Frame Relay) random-detect IP sessions shaping configuration examples for MQC interfaces supporting Cisco 10000 Series Router Quality of Service Configuration Guide IN-10 OL-7433-09...
Page 841
MLP over ATM interfaces not supporting marking limiting, number of packets in queues interfaces supporting marking links, assigning bandwidth to DLCIs and PVCs IP precedence marking 2, 15 MPLS experimental marking Cisco 10000 Series Router Quality of Service Configuration Guide IN-11 OL-7433-09...
Page 842
MIB, See management information base. MQC support for IP sessions minimum threshold multilink PPP bundling, priority queuing default values multiple queues, guidelines for configuring QoS description of multi-VC MLP Cisco 10000 Series Router Quality of Service Configuration Guide IN-12 OL-7433-09...
Page 844
4, 10, 13 violating packets per VRF AAA VoIP classification PHB, See per-hop behavior. yellow packets pipe tunneling mode 3, 10 PAK_Priority police actions parallel express forwarding Cisco 10000 Series Router Quality of Service Configuration Guide IN-14 OL-7433-09...
Page 845
2, 12, 32, 4 drop 12, 3 class bandwidth allocation 10, 16 set-clp-transmit class queue limit 12, 3 set-cos-transmit configuration example 25, 29, 30, 12, 14 Cisco 10000 Series Router Quality of Service Configuration Guide IN-15 OL-7433-09...
Page 846
PVC bundles bundle members precedence command Frame Relay bundle members precedence command (Frame Relay Frame Relay bundle members directly VC-bundle-member) Frame Relay members using map classes precedence field ATM members Cisco 10000 Series Router Quality of Service Configuration Guide IN-16 OL-7433-09...
Page 847
3, 5, 31 precedence attaching QoS features and changes ATM QoS policies QoS group Frame Relay QoS policies 11, 14, 16, 17, 19 identifier, setting QoS policies Cisco 10000 Series Router Quality of Service Configuration Guide IN-17 OL-7433-09...
Page 848
QPPB, See QoS policy propagation through the Border no atm pxf queuing 3, 9, 25 Gateway Protocol. specifying quality of service, See QoS. queuing outbound traffic queue depth 16, 38 ATM interfaces Cisco 10000 Series Router Quality of Service Configuration Guide IN-18 OL-7433-09...
Page 849
PPP tunneled sessions session queuing RBE, applying service-policies to sessions configuring on ATM VCs Real-Time Protocol configuring on RADIUS RED, See random early detection. configuring on virtual templates Cisco 10000 Series Router Quality of Service Configuration Guide IN-19 OL-7433-09...
Page 850
13, 14, 5 shaping show pxf interface command percentage show pxf statistics qos policy-map interface command shaping traffic show pxf statistics qos policy-map session command atm pxf queuing and shaping Cisco 10000 Series Router Quality of Service Configuration Guide IN-20 OL-7433-09...
Page 851
802.1p strict QoS guarantees actions subscriber management server ATM cell loss priority 14, 29 sustained cell rate 15, 13 class of service 10, 26 Cisco 10000 Series Router Quality of Service Configuration Guide IN-21 OL-7433-09...
Page 852
15, 8 IP precedence values uniform tunneling mode MPLS marking unshaped UBR multiple priority levels unspecified bit rate 14, 15, 8, 9 QoS group user-defined offset Cisco 10000 Series Router Quality of Service Configuration Guide IN-22 OL-7433-09...
Page 853
VTMS, See virtual time management system. attaching QoS policies creating See also VAI. virtual channel identifier virtual circuit watermarks, high and low 22, 24, 25, 38 calculating default weight weight Cisco 10000 Series Router Quality of Service Configuration Guide IN-23 OL-7433-09...
Page 854
PRE3 how WRED works queue-limit random-detect command usage guidelines restrictions for WRED supported features traffic marking verifying packet dropping WRED, See weighted random early detection. yellow packets token bucket Cisco 10000 Series Router Quality of Service Configuration Guide IN-24 OL-7433-09...