Cisco 10000 Series Configuration Manual

Quality of service configuration guide
Hide thumbs Also See for 10000 Series:
Table of Contents

Advertisement

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
USA
http://www.cisco.com
Tel: 408 526-4000
800 553-NETS (6387)
Fax: 408 527-0883
Text Part Number: OL-7433-09

Advertisement

Table of Contents
loading

Summary of Contents for Cisco 10000 Series

  • 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 3: Table Of Contents

    QoS Features, Commands, and Changes 1-11 Applying QoS Parameters Dynamically to Sessions 1-12 Applying Traffic Shaping Parameters Using RADIUS Profiles 1-12 dbs enable Command 1-12 default dbs enable Command 1-12 Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
  • Page 4 MQC Hierarchical Queuing with 3 Level Scheduler 1-27 Hierarchical Policies 1-27 Nested Hierarchical Policies 1-27 Three-Level Hierarchical Policies 1-28 Hierarchical Input Policing 1-28 IP Quality of Service for Subscribers 1-29 Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
  • Page 5 Command 1-38 Marking Feature 1-38 Modular QoS Command Line Interface 1-39 MQC Feature 1-39 QoS CLI Migration from PRE2 to PRE3 1-39 Overhead Accounting 1-39 ATM Overhead Accounting 1-40 Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
  • Page 6 1-51 class-bundle Command 1-51 class-vc Command 1-51 dscp Command (Frame Relay VC-bundle-member) 1-51 exp Command 1-51 frame-relay vc-bundle Command 1-51 mpls experimental Command 1-52 oam-bundle Command 1-52 precedence Command 1-52 Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
  • 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...
  • Page 35: About This Guide

    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...
  • Page 40: Chapter 1 Quality Of Service Overview

    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.
  • Page 41: Chapter 10 Overhead Accounting

    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...
  • Page 42: A P P E N D I X A Configuring Frame Relay Qos Using Frame Relay Legacy Commands

    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...
  • Page 43: Related Documentation

    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...
  • Page 45: Related Documentation

    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 •...
  • Page 46: Benefits Of Quality Of Service Features

    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...
  • Page 47: Modular Qos Command-Line Interface

    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...
  • Page 48: Feature History For Qos Cli Migration From Pre2 To Pre3

    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.
  • Page 49: Qos Configuration On An Interface

    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 •...
  • Page 50: Qos Models

    • • 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.
  • Page 51: Model D.2 Definition

    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...
  • Page 52: Configuration Tasks

    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...
  • Page 53: Configuration Steps For Qos Model F

    … 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...
  • Page 55: Qos Features, Commands, And Changes

    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 •...
  • Page 56: Applying Qos Parameters Dynamically To Sessions

    (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”...
  • Page 57: Dynamic Bandwidth Selection Feature

    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”...
  • Page 58: Attaching Atm Qos 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.
  • Page 59: Attaching Lac Qos Service Policies

    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.
  • Page 60: Match Commands

    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.
  • Page 62: Class Map Feature

    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.
  • Page 63: Mpls Qos Feature

    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.
  • Page 64: Control Plane Policing—Platform Enhancement

    (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...
  • Page 65: Controlling Packet Queue Congestion

    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.
  • Page 66: Random-Detect Command

    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.
  • Page 67: Random-Detect Basis Command

    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,...
  • Page 68: Random Early Detection Feature

    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.
  • Page 69: Cisco Ios Release: Release 12.3(7)Xi

    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.
  • Page 70: Bandwidth Remaining Ratio Command

    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.
  • Page 71: Hierarchical Queuing Framework

    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...
  • Page 72: Three-Level Hierarchical Policies

    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.
  • Page 73: Ip Quality Of Service For Subscribers

    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.
  • Page 74: Per Session Service Policy Using Radius

    (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.
  • Page 75: Link Fragmentation And Interleaving

    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...
  • Page 76: Ppp Multilink Command

    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.
  • Page 77: Ppp Multilink Fragmentation Command

    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.
  • Page 78: Ppp Multilink Interleave Command

    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.
  • Page 79: Mlp Over Frame Relay-Based Lfi Feature

    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...
  • Page 80: Marking Traffic

    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.
  • Page 81: Set Fr-De Command

    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.
  • Page 82: Set Mpls Experimental Imposition Command

    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).
  • Page 83: Modular Qos Command Line Interface

    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.
  • Page 84: Atm Overhead Accounting

    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...
  • Page 85: Oversubscribing Physical And Virtual Links

    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.
  • Page 86: Atm Virtual Circuit Oversubscription Feature

    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.
  • Page 87: Virtual Lan Oversubscription Feature

    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...
  • Page 88: Weighting Feature

    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.
  • Page 89: Police Percent Command

    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.
  • Page 90: Show Atm Vp Command

    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...
  • Page 91: Single-Rate Color Marker Feature

    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.
  • Page 92: Atm Vp Average Traffic Rate

    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...
  • Page 93: Priority Level Command

    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...
  • Page 94: Pvc Bundles

    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.
  • Page 95: Bump Command (Frame Relay Vc-Bundle-Member)

    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...
  • Page 96: Mpls Experimental Command

    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...
  • Page 97: Pvc-Bundle Command

    Chapter 3, “Configuring QoS Policy Actions and Rules” policy-map Command, page 1-54 • qos match statistics Command, page 1-54 • Policy Maps Feature, page 1-54 • Policy Map Scaling Phase 2, page 1-54 • Cisco 10000 Series Router Quality of Service Configuration Guide 1-53 OL-7433-09...
  • Page 98: Policy-Map Command

    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.
  • Page 99: Qos Policy Propagation Through The Border Gateway Protocol

    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”...
  • Page 100: Atm Pvp Command

    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.
  • Page 101: Shape Percent Command

    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.
  • Page 102: Class-Based Traffic Shaping Feature

    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.
  • Page 103: Traffic Shaping Overhead Accounting For Atm Feature

    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.
  • Page 104: Class-Based Weighted Fair Queuing For Virtual Access Interfaces Feature

    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. Simultaneous Policy Maps Documentation Reference: Chapter 14, “Simultaneous Policy Maps” Simultaneous QoS Policy Map on Interface and PPP Session—A-DSLAM Case, page 1-60 •...
  • Page 105: Related Documentation

    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...
  • Page 107: Traffic Classification Using Class Maps

    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.
  • Page 108: Feature History For Class Maps

    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.
  • Page 109: Release 12.2(31)Sb2

    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,...
  • Page 110: Syntax Description

    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.
  • Page 111: Command Default

    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...
  • Page 115: Match Commands History

    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...
  • Page 116: Usage Guidelines For Match Commands

    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...
  • Page 117: Class-Default Class

    • 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 •...
  • Page 118: Creating A Class Map

    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...
  • Page 119: Verifying Traffic Classification

    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.
  • Page 120: Related Documentation

    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.
  • Page 121: Qos Policies

    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.
  • Page 122: Table

    (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.
  • Page 123: Pre3

    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.
  • Page 124: Usage Guidelines For The Policy-Map Command

    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...
  • Page 127: Policy Map Actions—Releases Prior To Cisco Ios Release 12.0(17)Sl

    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.
  • Page 130: Policy Map Actions—Cisco Ios Release 12.0(17)Sl And Later Releases

    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.
  • Page 131: Policy Map Actions—Cisco Ios Release 12.0(22)S And Later Releases

    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.
  • Page 132: Qos Inheritance

    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.
  • Page 133: Atm Service Categories

    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 •...
  • Page 134: Unspecified Bit Rate

    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.
  • Page 135: Variable Bit Rate

    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...
  • Page 137: Traffic Subject To Qos Policies

    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...
  • Page 138: Qos Performance

    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.
  • Page 139: Creating A Policy Map

    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...
  • Page 140: Defining Qos Actions In A Policy Map

    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...
  • Page 142: Verification Example For Service Policies

    5 minute offered rate 0 bps, drop rate 0 bps Match: any (21046) 0 packets, 0 bytes 5 minute rate 0 bps Output queue: 0/32; 0/0 packets/bytes output, 0 drops Cisco 10000 Series Router Quality of Service Configuration Guide 3-22 OL-7433-09...
  • Page 143: Related Documentation

    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...
  • Page 145: Interfaces Supporting Qos Service Policies

    Label-controlled Asynchronous Transfer Mode (LC-ATM) subinterfaces • Frame Relay PVCs, point-to-point subinterfaces, and map classes • • Ethernet virtual local area networks (VLANs) • IP tunnel interfaces • Virtual access interfaces Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...
  • Page 146: Feature History For Atm Qos

    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.
  • Page 147: 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...
  • Page 148: Service-Policy Command Modes

    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.
  • Page 149: Restrictions And Limitations For Attaching Atm Service Policies

    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...
  • Page 150: Attaching Qos Service Policies To An Atm Interface

    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...
  • Page 151: Attaching Qos Service Policies To An Atm Point-To-Point Subinterface

    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...
  • Page 152: Attaching Qos Service Policies To An Atm Pvc

    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...
  • Page 153: Attaching Qos Service Policies To An Atm Pvc Range And An Atm Pvc In A Range

    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...
  • Page 155: Attaching Frame Relay Qos Service Policies

    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...
  • Page 156: Feature History For Frame Relay Qos

    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...
  • Page 157: Map-Class Frame-Relay Command History

    • 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...
  • Page 158: Creating And Attaching Qos Policies To Frame Relay Interfaces, Subinterfaces, And Data-Link Connection Identifiers

    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...
  • Page 161: Attaching A Qos Service Policy To A Frame Relay Dlci

    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...
  • Page 164: Attaching Virtual Lan Qos Service Policies

    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...
  • Page 165: Vlan Qos Inheritance

    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.
  • Page 166: Attaching Qos Service Policies To Physical Interfaces With Vlan Subinterfaces

    Gigabit Ethernet interface 1/0/0. Example 4-13 Attaching a QoS Policy to a VLAN Interface Router(config)# interface GigabitEthernet 1/0/0 Router(config-if)# service-policy input myQoS Router(config-if)# interface GigabitEthernet 1/0/0.3 Router(config-subif)# encapsulation dot1q 4 Cisco 10000 Series Router Quality of Service Configuration Guide 4-22 OL-7433-09...
  • Page 167: Attaching Qos Service Policies To Vlan Subinterfaces

    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.
  • Page 168: Feature History For Vai Qos

    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...
  • Page 169: Restrictions And Limitations For Attaching Qos Services To A Vai

    • 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 •...
  • Page 170: Applying A Qos Service Policy To A Virtual Template Interface

    Router(config)# interface virtual-template1 Router(config-if)# ip unnumbered Loopback1 Router(config-if)# no peer default ip address Router(config-if)# ppp authentication chap vpn1 Router(config-if)# ppp authorization vpn1 Router(config-if)# ppp accounting vpn1 Router(config-if)# service-policy policy1 Cisco 10000 Series Router Quality of Service Configuration Guide 4-26 OL-7433-09...
  • Page 171: Applying A Virtual Template Interface To A Bba Group

    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.
  • Page 172: Attaching A Bba Group To An Interface Or Subinterface For Pppoe Sessions

    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...
  • Page 174: Attaching Layer 2 Access Concentrator Qos Service Policies

    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...
  • Page 175: Restrictions And Limitations For Attaching Lac Qos

    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.
  • Page 176: Applying Qos On Layer 2 Tunnel Packets

    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...
  • Page 178: Verification Example For Qos Service Policies

    2 4064 1/100 0 0 3 4464 1/100 0 0 4 4864 1/100 0 0 5 5264 1/100 0 0 6 5664 1/100 0 0 7 6064 1/100 0 0 Cisco 10000 Series Router Quality of Service Configuration Guide 4-34 OL-7433-09...
  • Page 179 Match: ip precedence 5 0 packets, 0 bytes 5 minute rate 0 bps Output queue: 0/128; 0/0 packets/bytes output, 0/0 drops Police: 64000 bps, 8000 limit, 0 extended limit Cisco 10000 Series Router Quality of Service Configuration Guide 4-35 OL-7433-09...
  • Page 180: Related Documentation

    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.
  • Page 181: Bandwidth Distribution Between Queues

    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: •...
  • Page 182: Feature History For Bandwidth Distribution Between Queues

    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...
  • Page 183: Unused Bandwidth Allocation

    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.
  • Page 184: Bandwidth Calculations

    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.
  • Page 185: Bandwidth Allocation To Pvcs

    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...
  • Page 186: Class-Default Bandwidth Guarantee

    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 •...
  • Page 187: Bandwidth And Priority Service

    • 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 •...
  • Page 188: Queuing Modes

    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.
  • Page 189: Restrictions And Limitations For Bandwidth Distribution

    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.
  • Page 190: Configuring Bandwidth Distribution Between Queues

    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...
  • Page 191: Configuration Example For Kilobits Per Second-Based Bandwidth

    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...
  • Page 192: Verifying And Monitoring Bandwidth Distribution

    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.
  • Page 193: Verification Example For Bandwidth Distribution

    Bandwidth : 2001 kbps (Weight 1) Class-map: class-default (match-any) 134 packets, 2760 bytes 5 minute offered rate 0 bps, drop rate 0 bps Match: any Output queue: 0/4096; 3046242/75866271 packets/bytes output, 0/0 drops Cisco 10000 Series Router Quality of Service Configuration Guide 5-13 OL-7433-09...
  • Page 194: Distribution Of Remaining Bandwidth Using Ratio

    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.
  • Page 195: Prerequisites For Distribution Of Remaining Bandwidth Using Ratio

    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...
  • Page 196: Configuring And Applying Bandwidth-Remaining Ratios To Subinterfaces

    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...
  • Page 198: Configuring And Applying Bandwidth-Remaining Ratios To Class Queues

    (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.
  • Page 200: Configuration Examples For Distribution Of Remaining Bandwidth Using Ratio

    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...
  • Page 201: Configuring Bandwidth-Remaining Ratios On Ethernet Subinterfaces: Example

    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...
  • Page 202: Configuring Bandwidth-Remaining Ratios On Class Queues: Example

    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...
  • Page 206: Related Documentation

    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 •...
  • Page 208: Traffic Policing

    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...
  • Page 209: Policing Actions

    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...
  • Page 210: Single-Rate Color Marker For Traffic Policing

    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.
  • Page 211: Feature History For The Single-Rate Color Marker

    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.
  • Page 212: Police Command (Single-Rate)

    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.
  • Page 214: Two-Rate Three-Color Marker For Traffic Policing

    (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...
  • Page 215: Feature History For The Two-Rate Color Marker

    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 217: Percent-Based Policing

    [cir] percent percent [bc] normal-burst-in-msec [pir pir] [be] excess-burst-in-msec [conform-action action] [exceed-action action] [violate-action action] no police [cir] percent percent [bc] normal-burst-in-msec [pir pir] [be] excess-burst-in-msec [conform-action action] [exceed-action action] [violate-action action] Cisco 10000 Series Router Quality of Service Configuration Guide 6-11 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...
  • Page 219: Control Plane Policing

    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.
  • Page 220: Feature History For Set Atm Clp Bit Marking As A Police Action

    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...
  • Page 221: Set Layer 2 Cos As A Policer Action

    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...
  • Page 222: Set Inner And Outer Cos As A Policer Action

    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...
  • Page 223: Feature History For Dual Police Actions

    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.
  • Page 224: Metering Traffic And Token Buckets

    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...
  • Page 225: Metering Traffic Using Token Buckets (Two-Rate Policer)

    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...
  • Page 227: Committed Bursts And Excess Bursts

    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...
  • Page 228: Committed Burst Calculation

    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...
  • Page 229: Deciding If Packets Conform Or Exceed The Committed Rate

    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...
  • Page 231: Policing Rate Granularity

    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.
  • Page 232: Bandwidth And Policing

    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.
  • Page 233: Configuring Traffic Policing

    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 234: Configuring Single-Rate Traffic Policing Based On Bits Per Second

    Router(config-cmap)# match access-group 2 Router(config-cmap)# exit Router(config)# policy-map police Router(config-pmap)# class group1 Router(config-pmap-c)# police 8000 2000 4000 Router(config-pmap-c)# exit Router(config-pmap)# exit Router(config)# interface atm 1/0/0.1 point-to-point Router(config-subif)# service-policy input police Cisco 10000 Series Router Quality of Service Configuration Guide 6-28 OL-7433-09...
  • Page 235 Router(config-pmap-c)# class Silver Router(config-pmap-c)# police 8000000 6000 4000 conform-action transmit exceed-action drop 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-atm-vc)# service-policy input Policy_0 Cisco 10000 Series Router Quality of Service Configuration Guide 6-29 OL-7433-09...
  • Page 236 Router(config-pmap-c)# exit Router(config-pmap)# policy-map Parent-Policy Router(config-pmap)# class class-default Router(config-pmap-c)# shape 512000 Router(config-pmap-c)# service-policy Child-Policy Router(config-pmap-c)# exit Router(config-pmap)# exit Router(config)# interface GigabitEthernet 1/0/0.1 Router(config-subif)# encapsulation dot1q 2 Router(config-atm-range)# service-policy output Parent-Policy Cisco 10000 Series Router Quality of Service Configuration Guide 6-30 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...
  • Page 238: Configuring Percent-Based Policing

    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...
  • Page 241: Configuring Two-Rate Policing

    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...
  • Page 242: Marking Traffic Using Police Actions

    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...
  • Page 243: Configuring Dual Police Actions

    Router(config-pmap)# class class-default Router(config-pmap-c) police 100000 100 10 conform-action set-clp-transmit Router(config-pmap-c-police)# conform-action set-mpls-exp-transmit 1 Router(config-pmap-c-police)# exceed-action set-clp-transmit Router(config-pmap-c-police)# exceed-action set-mpls-exp-transmit 2 Router(config-pmap-c-police)# violate-action set-clp-transmit Router(config-pmap-c-police)# violate-action set-mpls-exp-transmit 3 Router(config-pmap-c-police)# end Router# Cisco 10000 Series Router Quality of Service Configuration Guide 6-37 OL-7433-09...
  • Page 244: Configuration Examples

    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...
  • Page 245: Configuration Example For Dual Actions—Set-Frde-Transmit And Set-Mpls-Exp-Imposition-Transmit

    Router# show running-config | begin frde |show running-config begin frde class class-default police 104000 100 10 conform-action set-frde-transmit conform-action set-mpls-exp-imposition-transmit 1 exceed-action set-frde-transmit exceed-action set-mpls-exp-imposition-transmit 2 violate-action set-frde-transmit violate-action set-mpls-exp-imposition-transmit 3 Cisco 10000 Series Router Quality of Service Configuration Guide 6-39 OL-7433-09...
  • Page 246: Configuration Example Of The Set-Cos-Transmit Police Action

    1000000 20000 30000 conform-action set-cos-transmit 2 exceed-action set-cos-transmit 2 violate-action set-cos-transmit 2 class c3 police 1000000 20000 30000 conform-action set-cos-transmit 3 exceed-action set-cos-transmit 3 violate-action set-cos-transmit 3 Cisco 10000 Series Router Quality of Service Configuration Guide 6-40 OL-7433-09...
  • Page 247: Verifying And Monitoring Traffic Policing

    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:...
  • Page 248: Verifying Policing For A Specific Traffic Class

    0 packets, 0 bytes; action: drop Class-map: class-default (match-any) 0 packets, 0 bytes 5 minute offered rate 0 bps, drop rate 0 bps Match: any Output queue: 0/64; 0/0 packets/bytes output, 0/0 drops Cisco 10000 Series Router Quality of Service Configuration Guide 6-42 OL-7433-09...
  • Page 249: Verifying Dual Police Actions—Set-Clp-Transmit And Set-Mpls-Exp-Transmit

    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 •...
  • Page 252: Qos Packet Marking

    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...
  • Page 253: Feature History For Qos Packet Marking

    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...
  • Page 254: Ip Precedence Marking

    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...
  • Page 255: Set Ip Precedence Command

    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.
  • Page 256: Ip Differentiated Services Code Point Marking

    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)
  • Page 257: Assured Forwarding

    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...
  • Page 258: Dscp Values

    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.
  • Page 259: Dscp-Based Weighted Random Early Detection

    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...
  • Page 260: Set Ip Dscp Command History

    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.
  • Page 262: Qinq Class Of Service Marking

    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.
  • Page 263: Qos Group Marking

    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).
  • Page 264: Atm Cell Loss Priority Marking

    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.
  • Page 265: Qinq Mpls Experimental Marking

    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...
  • Page 266: Usage Guidelines For The Set Mpls Experimental Imposition Command

    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.
  • Page 267: Usage Guidelines For The Set Discard-Class Command

    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...
  • Page 268: Marking And Policing Traffic

    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...
  • Page 269: Feature History For Tunnel Header Marking

    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.
  • Page 270: Interfaces Supporting Marking

    • 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...
  • Page 271: Classification And Marking Design Guidelines

    • 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.
  • Page 272: Configuring Traffic Marking

    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...
  • Page 273: Configuration Examples For Ip Precedence Marking And Classification

    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...
  • Page 274: Configuring Ip Dscp Marking

    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...
  • Page 275: Configuration Examples For Ip Dscp Marking And Classification

    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...
  • Page 276: Configuring Class Of Service Marking

    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...
  • Page 277: Configuration Examples For Cos Marking And Classification

    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...
  • Page 278: Configuring Qos Group Marking

    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...
  • Page 279: Setting The Atm Cell Loss Priority Bit

    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...
  • Page 280: Configuration Example For Setting The Atm Clp Bit

    Router(config)# class-map Class1 Router(config-cmap)# match access-group 100 Router(config-cmap)# exit Router(config)# policy-map Premium Router(config-pmap)# class Class1 Router(config-pmap-c)# set atm-clp Router(config-pmap-c)# exit Router(config-pmap)# exit Router(config)# interface atm 1/0/1 Router(config-if)# service-policy output Premium Cisco 10000 Series Router Quality of Service Configuration Guide 7-30 OL-7433-09...
  • Page 281: Configuring Mpls Experimental Marking

    Cisco 10000 Series Router Quality of Service Configuration Guide 7-31 OL-7433-09...
  • Page 282: Configuration Examples For Configuring Mpls Experimental Marking And Classification

    Router(config-pmap)# class mpls-exp Router(config-pmap-c)# priority Router(config-pmap-c)# police percent 30 4000 2000 conform-action transmit exceed-action drop Router(config-pmap-c)# exit Router(config-pmap)# exit Router(config)# interface GigabitEthernet 1/0/0 Router(config-if)# mpls ip Router(config-if)# service-policy output Platinum Cisco 10000 Series Router Quality of Service Configuration Guide 7-32 OL-7433-09...
  • Page 283: Configuring Discard-Class Marking

    Cisco 10000 Series Router Quality of Service Configuration Guide 7-33 OL-7433-09...
  • Page 284: Configuration Examples For Configuring Discard-Class Marking And Classification

    Router(config-cmap)# exit Router(config)# policy-map Manhattan Router(config-pmap)# class Group1 Router(config-pmap-c)# police 8000 600 400 conform-action transmit exceed-action drop Router(config-pmap-c)# exit Router (config-pmap)# exit Router(config)# interface GigabitEthernet 2/0/1 Router(config-if)# service-policy output Manhattan Cisco 10000 Series Router Quality of Service Configuration Guide 7-34 OL-7433-09...
  • Page 285: Configuring Tunnel Header Marking Using The Set Command

    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...
  • Page 286: Configuring Tunnel Header Marking Using The Police Command

    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...
  • Page 287: Verifying Traffic Marking

    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...
  • Page 288: Verification Examples For Traffic Marking

    8000 bps, 2000 limit, 4000 extended limit conformed 0 packets, 0 bytes; action: transmit exceeded 0 packets, 0 bytes; action: set-qos-transmit 4 violated 0 packets, 0 bytes; action: drop QoS Set precedence 5 Cisco 10000 Series Router Quality of Service Configuration Guide 7-38 OL-7433-09...
  • Page 289: Related Documentation

    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...
  • Page 291: Low-Latency Priority Queuing

    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...
  • Page 292: Feature History For Low-Latency Priority Queuing

    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).
  • Page 293: Bandwidth Starvation

    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.
  • Page 294: Feature History For Multi-Level Priority Queues

    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.
  • Page 295: Queues Per Policy Map

    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...
  • Page 296: Configuring A Priority Queue

    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...
  • Page 297: Configuring Multi-Level Priority Queues

    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...
  • Page 299: Configuration Examples For Configuring Priority Queues

    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...
  • Page 300: Configuring Multi-Level Priority Queues: Example

    Router(config)# policy-map Map1 Router(config-pmap)# class Bronze Router(config-pmap-c)# priority level 1 Router(config-pmap-c)# police percent 30 Router(config-pmap-c)# exit Router(config-pmap)# class Gold Router(config-pmap-c)# priority level 1 Router(config-pmap-c)# police 10000 Cisco 10000 Series Router Quality of Service Configuration Guide 8-10 OL-7433-09...
  • Page 301: Verifying And Monitoring Priority Queues

    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...
  • Page 302: Verifying Multi-Level Priority Queues: Example

    5 minute offered rate 0 bps, drop rate 0 bps Match: ip precedence 2 Priority: 0 kbps, burst bytes 1500, b/w exceed drops: 0 Priority Level 2: 0 packets, 0 bytes Cisco 10000 Series Router Quality of Service Configuration Guide 8-12 OL-7433-09...
  • Page 303: Related Documentation

    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 •...
  • Page 306: Traffic Shaping

    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.
  • Page 307: Feature History For Traffic Shaping

    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...
  • Page 308: Feature History For Class-Based Traffic Shaping

    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...
  • Page 309: Feature History For Hierarchical Shaping

    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.
  • Page 310: How Hierarchical Shaping Works

    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 >...
  • Page 311: Hierarchical Shaping And Oversubscription

    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...
  • Page 312: Restrictions And Limitations For Hierarchical Shaping

    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 •...
  • Page 313: Feature History For Frame Relay Traffic Shaping

    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 •...
  • Page 314: Differences Between Traffic Shaping Mechanisms

    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...
  • Page 315: Differences Between Shaping And Policing

    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...
  • Page 316: Modifying The Vc Weight And The Vp Shaping Parameters

    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.
  • Page 317: Interfaces Supporting Traffic Shaping

    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...
  • Page 318: Shaping A Traffic Class

    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...
  • Page 319: Shaping Traffic At The Vc-Level And Virtual Path-Level

    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...
  • Page 321: Configuration Example For Traffic Shaping At The Vc-Level And The Vp-Level

    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...
  • Page 323: Verification Examples For Traffic Shaping

    Length/Max Dequeues Drops class-default 0/32 pak-priority 0/32 VCCI 2517: ATM non-aggregated VC 1/233, VCD 4, Handle 4, Rate 50 kbps VCCI/ClassID ClassName Length/Max Dequeues Drops 0 2517/0 class-default 0/4096 Cisco 10000 Series Router Quality of Service Configuration Guide 9-19 OL-7433-09...
  • Page 324 0 Output Packets Discarded, no channel 0 Output Packets Discarded, MRED 0 Output Packets Discarded, internal buffer exhaustion 0 Output Packets Discarded, Utopia RX errors 0 Output Packets Discarded, EPD Cisco 10000 Series Router Quality of Service Configuration Guide 9-20 OL-7433-09...
  • Page 325: Configuration Examples For Traffic Shaping

    ATM5/0/0.1 point-to-point pvc 1/33 vbr-nrt 1000 256 encapsulation aal5mux ppp Virtual-Template1 queue-depth 288 256 interface ATM5/0/0.2 point-to-point pvc 1/34 vbr-nrt 1000 256 encapsulation aal5mux ppp Virtual-Template1 queue-depth 288 256 Cisco 10000 Series Router Quality of Service Configuration Guide 9-21 OL-7433-09...
  • Page 326: Related Documentation

    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.
  • Page 327: Overhead Accounting Features

    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 •...
  • Page 328: Feature History For Overhead Accounting

    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...
  • Page 329: Mlp On Lns With Hqos And Atm Overhead Accounting

    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...
  • Page 330: Traffic Shaping Overhead Accounting For Atm

    -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...
  • Page 331: Configuration Commands For Overhead Accounting

    + 2-byte protocol ID (0x8100) + 2-byte VID/CFI/PRIORITY + 2-byte length/type 802.3 6-byte destination MAC address + 6-byte source MAC address + 2-byte protocol ID (0x8000) AAL5 MUX plus 1483 8-byte AAL5 trailer Cisco 10000 Series Router Quality of Service Configuration Guide 10-5 OL-7433-09...
  • Page 332: Overhead Accounting And Hierarchical Policies

    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...
  • Page 333: Restrictions And Limitations For Overhead Accounting

    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...
  • Page 336: Configuration Examples For Overhead Accounting

    2 police 20 class gaming bandwidth remaining percent 80 account dot1q aal5 snap-rbe-dot1q class class-default bandwidth remaining percent 20 account dot1q aal5 snap-rbe-dot1q policy-map subscriber_line class class-default Cisco 10000 Series Router Quality of Service Configuration Guide 10-10 OL-7433-09...
  • Page 337: Enabling Atm Overhead Accounting On The Pre3 And Pre4 For Mlpolns

    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...
  • Page 338: Enabling Ethernet Overhead Accounting On The Pre3 And Pre4

    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...
  • Page 339: Verification Examples For Overhead Accounting

    100 packets, 1000 bytes 30 second offered rate 800 bps, drop rate 0 bps Match: any shape (average) cir 154400, bc 7720, be 7720 target shape rate 154400 overhead accounting: enabled Cisco 10000 Series Router Quality of Service Configuration Guide 10-13 OL-7433-09...
  • Page 340: Verifying Overhead Accounting Using Show Running-Config

    200000 (bps) account user-defined 18 Router# show policy-map interface GigabitEthernet1/0/0.100 GigabitEthernet1/0/0.100 Service-policy output: ethernet_ovrh 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 10-14 OL-7433-09...
  • Page 341: Related Documentation

    (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...
  • Page 343: Queue Scaling Limits

    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.
  • Page 344: Queue Limit

    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.
  • Page 346: Queue Limit Packet Buffers

    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.
  • Page 347: Queue-Limit Command History

    • 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.
  • Page 348: Usage Guidelines For The Queue-Limit Command

    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.
  • Page 349: Queuing Outbound Traffic

    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: •...
  • Page 350: Controlling Congestion Using Tail Drop

    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.
  • Page 351: Controlling Congestion Using Random Early Detection

    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...
  • Page 352: Random Early Detection And Queue Limit

    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.
  • Page 353: Recommended Settings For Red Drop Probability

    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...
  • Page 354: Feature History For Weighted Random Early Detection

    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...
  • Page 355: Benefits Of Using Weighted Random Early Detection

    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...
  • Page 356: Wred Drop Profiles

    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...
  • Page 359: Wred Aggregate Drop Profiles

    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...
  • Page 360: Usage Guidelines For The Random-Detect Command

    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...
  • Page 361: Minimum And Maximum Thresholds

    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...
  • Page 362: Wred And Queue Limit

    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.
  • Page 363: Average Queue Size And The Exponential Weight Constant

    ** 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...
  • Page 364: Restrictions And Limitations For Controlling Layer 3 Congestion

    – 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...
  • Page 366: Configuring Layer 3 Queue Limit And Drop Policies

    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...
  • Page 367: Configuration Example For Controlling Packet Dropping By Setting A Queue Size

    • 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.
  • Page 368: Dropping Packets Based On A Differentiated Services Code Point

    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...
  • Page 369: Configuration Example For Configuring Dscp-Based Wred

    Router(config)# policy-map Business Router(config-pmap)# class Gold Router(config-pmap-c)# bandwidth 48 Router(config-pmap-c)# random-detect dscp-based Router(config-pmap-c)# random-detect dscp 8 24 40 Router(config-pmap-c)# exit Router(config-pmap)# exit Router(config)# interface atm 1/0/0 Router(config-if)# service-policy output Business Cisco 10000 Series Router Quality of Service Configuration Guide 11-27 OL-7433-09...
  • Page 370: Dropping Packets Based On Ip Precedence

    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...
  • Page 371: Configuration Example For Dropping Packets Based On Ip Precedence

    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).
  • Page 372: Configuration Example For Dropping Packets Based On Discard Class

    Router(config-pmap-c)# random-detect discard-class 5 500 1500 200 Router(config-pmap-c)# exit Router(config-pmap)# exit Router(config)# interface atm 2/0/0 Router(config-if)# atm pxf queuing Router(config-if)# interface atm 2/0/0.2 point-to-point Router(config-subif)# pvc 1/81 Router(config-subif-atm-vc)# ubr 10000 Router(config-subif-atm-vc)# service-policy output Premium Cisco 10000 Series Router Quality of Service Configuration Guide 11-30 OL-7433-09...
  • Page 373: Dropping Packets Based On The Atm Cell Loss Priority

    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...
  • Page 374: Verifying And Monitoring Layer 3 Packet Dropping

    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...
  • Page 376: Verification Example For Queue Size And Packet Dropping

    697908 packets, 41874480 bytes 5 minute rate 0 bps Output queue: 0/64; 697919/41875140 packets/bytes output, 0 drops Bandwidth : 71 kbps (Weight 1) Random-detect (precedence-based): Exponential weight: 9 (1/512) Cisco 10000 Series Router Quality of Service Configuration Guide 11-34 OL-7433-09...
  • Page 377: Verification Examples For Dscp-Based Wred

    Default 1/10 Class-map: class-default (match-any) 0 packets, 0 bytes 5 minute offered rate 0 bps, drop rate 0 bps Match: any Output queue: 0/4096; 0/0 packets/bytes output, 0 drops Cisco 10000 Series Router Quality of Service Configuration Guide 11-35 OL-7433-09...
  • Page 378: Verification Example For Ip Precedence-Based Wred

    Random-detect (precedence-based): Exponential weight: 9 (1/512) Current average queue length: 0 packets ----------------------------------------------------------------------- Mark Rand-Drops Tail-Drops precedence thres thres probability ----------------------------------------------------------------------- 2048 4096 1/10 2304 4096 1/10 2560 4096 1/10 Cisco 10000 Series Router Quality of Service Configuration Guide 11-36 OL-7433-09...
  • Page 379: Verification Example For Discard-Class-Based Wred

    Discard Mark Rand-Drops Tail-Drops class thres thres probability --------------------------------------------------------------- 1/40 1/40 2560 4096 1/10 2816 4096 1/10 3072 4096 1/10 3328 4096 1/10 3584 4096 1/10 3840 4096 1/10 Cisco 10000 Series Router Quality of Service Configuration Guide 11-37 OL-7433-09...
  • Page 380: Verification Examples For Atm Clp-Based Wred

    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)
  • Page 381: Controlling Packet Flow On Layer 2 Queues

    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...
  • Page 382: Configuring The Depth Of Layer 2 Queues

    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...
  • Page 385: Class-Based Weighted Fair Queuing

    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...
  • Page 387: Feature History For Class-Based Weighted Fair Queuing

    (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...
  • Page 388: Cbwfq And Rsvp

    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...
  • Page 389: Feature History For Cbwfq For Vais

    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.
  • Page 390: Restrictions And Limitations For Cbwfq For Vais

    • 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 •...
  • Page 391: Interfaces Supporting Class-Based Weighted Fair Queuing

    Modifying the Bandwidth for an Existing Policy Map Class, page 12-16 • Modifying the Queue Limit for an Existing Policy Map Class, page 12-17 • Deleting Classes, page 12-17 • Deleting Policy Maps, page 12-18 • Cisco 10000 Series Router Quality of Service Configuration Guide 12-7 OL-7433-09...
  • Page 392: Defining Traffic Classes Using Class Maps

    20000 Router(config)# access-list 102 permit udp host 10.10.10.10 host 10.10.10.20 range 53000 56000 Router(config)# class-map class1 Router(config-cmap)# match access-group 101 Router(config-cmap)# class-map class2 Router(config-cmap)# match access-group 102 Router(config-cmap)# exit Cisco 10000 Series Router Quality of Service Configuration Guide 12-8 OL-7433-09...
  • Page 393: Configuring Policy Actions For Traffic Classes Using Policy Maps

    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...
  • Page 395: Configuring A Class Policy And Dropping Packets Using Tail Drop

    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...
  • Page 396: Configuring A Class Policy And Dropping Packets Using Wred

    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...
  • Page 398 Router(config-pmap-c)# bandwidth 1000 Router(config-pmap-c)# random-detect Router(config-pmap-c)# exit Router(config-pmap)# exit Router(config)# interface atm 1/0/0 Router(config-if)# atm pxf queuing Router(config-if)# interface atm 1/0/0.1 point-to-point Router(config-subif)# range pvc 1/32 1/81 Router(config-subif-range-vc)# service-policy output policy1 Cisco 10000 Series Router Quality of Service Configuration Guide 12-14 OL-7433-09...
  • Page 399: Attaching Service Policies

    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...
  • Page 400: Attaching A Service Policy To A Virtual Access Interface

    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...
  • Page 401: Modifying The Queue Limit 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...
  • Page 402: Deleting Policy Maps

    Router(config-pmap-c)# priority Router(config-pmap-c)# police 560000 Router(config-pmap-c)# class video Router(config-pmap-c)# bandwidth 4560 Router(config-pmap-c)# class class-default Router(config-pmap-c) bandwidth 2560 Router(config-pmap-c)# exit Router(config-pmap)# exit Router(config)# interface ethernet1/0/1 Router(config-if)# service-policy output policy1 Router(config-if)# exit Cisco 10000 Series Router Quality of Service Configuration Guide 12-18 OL-7433-09...
  • Page 403: Configuration Example For Configuring Cbwfq And Attaching A Policy To An Atm Subinterface

    4 Router(config-pmap-c)# exit Router(config-pmap)# exit Router(config-if)# interface atm7/0/1.1 point-to-point Router(config-subif)# ip unnumbered loopback1 Router(config-subif)# atm route-bridge ip Router(config-subif)# service-policy output map1 Router(config-subif)# range pvc 101/32 101/2031 Router(config-subif-atm-pvc)# encapsulation aal5snap Cisco 10000 Series Router Quality of Service Configuration Guide 12-19 OL-7433-09...
  • Page 404: Verifying And Monitoring Class-Based Weighted Fair Queuing

    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.
  • Page 408: Hierarchical Policies

    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.
  • Page 409: Feature History For Hierarchical Policies

    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...
  • Page 410: Child Policy

    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...
  • Page 411: Service-Policy Command

    “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...
  • Page 412: Types Of Hierarchical Policies

    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.
  • Page 413: Restrictions And Limitations For Nested Hierarchical Policies

    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.”...
  • Page 414: Three-Level Hierarchical Policies

    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...
  • Page 415: Restrictions And Limitations For Three-Level Hierarchical Policies

    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...
  • Page 416: Hierarchical Input Policing Policies

    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...
  • Page 417: Restrictions And Limitations For Hierarchical Input Policing Policies

    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...
  • Page 418: Applying Child Policies Under Priority Classes

    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.
  • Page 419: Guidelines For Configuring Qos For Multiple Queues

    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...
  • Page 421: Creating Fair Queues At Three Levels Of Hierarchy

    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...
  • Page 422: Configuring A Middle-Level Child Policy Of A Three-Level Hierarchy

    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...
  • Page 424: Configuring The Top-Level Parent Policy Of A Three-Level Hierarchy

    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...
  • Page 425: Policing Inbound Traffic At Two Levels Of Hierarchy

    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...
  • Page 427: Attaching Hierarchical Policies To Physical And Virtual Links

    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...
  • Page 428: Configuration Examples For Nested Hierarchical Policies

    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...
  • Page 429: Configuration Examples For Three-Level Hierarchical Policies

    Router(config-pmap-c)# random-detect dscp 20 10 20 10 Router(config-pmap-c)# service-policy DefaultMeter [Applies bottom-level child policy.] Router(config-pmap-c)# exit Router(config-pmap)# policy-map Top-Level [Defines top-level parent policy.] Router(config-pmap)# class class-default Router(config-pmap-c)# shape 8000 Cisco 10000 Series Router Quality of Service Configuration Guide 13-23 OL-7433-09...
  • Page 430 Router(config-pmap)# class Premium Router(config-pmap-c)# priority Router(config-pmap-c)# police 8000 6000 2000 conform-action transmit exceed-action drop Router(config-pmap-c)# exit Router(config-pmap)# class Business Router(config-pmap-c)# random-detect dscp-based Router(config-pmap-c)# random-detect dscp 40 10 20 10 Cisco 10000 Series Router Quality of Service Configuration Guide 13-24 OL-7433-09...
  • Page 431: Configuration Example For Hierarchical Input Policing

    Router(config-pmap-c)# service-policy Policy2 [Applies bottom-level child to parent.] Router(config-pmap-c)# exit Router(config-pmap)# exit Router(config)# interface atm 1/0/0.10 point-to-point Router(config-subif)# pvc 101/102 Router(config-subif-atm-vc)# ubr 1000 Router(config-subif-atm-vc)# service-policy input Parentbps1 [Attaches parent to PVC.] Cisco 10000 Series Router Quality of Service Configuration Guide 13-25 OL-7433-09...
  • Page 432: Configuring Bandwidth-Remaining Ratios On Atm Subinterfaces: Example

    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...
  • Page 433: Verifying The Configuration Of Hierarchical Policies

    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...
  • Page 435: Verification Examples For Hierarchical Policies

    200000 bps, 2000 limit, 400000 pir, 3000 extended limit conformed 10727 packets, 1501780 bytes; action: set-dscp-transmit 59 exceeded 5353 packets, 749420 bytes; action: set-dscp-transmit 60 violated 0 packets, 0 bytes; action: drop Cisco 10000 Series Router Quality of Service Configuration Guide 13-29 OL-7433-09...
  • Page 436: Related Documentation

    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...
  • Page 439: Simultaneous Qos Policy Map On An Interface And Ppp Session

    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 •...
  • Page 440: Feature History For Simultaneous Policy Maps

    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...
  • Page 442: Restrictions For Simultaneous Policy Maps

    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...
  • Page 443: Configuring Simultaneous Policy Maps

    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...
  • Page 444: Attaching Simultaneous Policies To Pppoe Sessions Traversing An Ethernet Interface

    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...
  • Page 445: Attaching A Policy To An Ethernet Interface

    (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...
  • Page 446: Attaching Simultaneous Policies To Pppoa Sessions Traversing An Atm Vc

    (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...
  • Page 447: Attaching A Policy To An Atm Vc With Pppoa Sessions

    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...
  • Page 449: Attaching Simultaneous Policies To Pppoe Sessions Traversing An Atm Vc

    Router(config-subif-atm-vc)# protocol pppoe network (VPDN) subgroup is to use, in this case PPPoE. Step 5 Exits ATM VC configuration mode. Router(config-subif-atm-vc)# exit Step 6 Exits subinterface configuration mode. Router(config-subif)# exit Cisco 10000 Series Router Quality of Service Configuration Guide 14-11 OL-7433-09...
  • Page 450: Attaching A Policy To An Atm Vc With Pppoe Sessions

    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...
  • Page 452: Configuration Examples For Simultaneous Policy Maps

    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...
  • Page 454: Configuration Example For Applying Simultaneous Policies On 802.1Q Interfaces And Pppoe Sessions

    GigabitEthernet3/0/0.10 encapsulation dot1Q 10 pppoe enable interface Virtual-Template1 ip unnumbered Loopback1 service-policy output pppoe_sess_output_policy service-policy input pppoe_sess_input_policy Interface interface GigabitEthernet3/0/0.10 encapsulation dot1Q 10 pppoe enable service-policy output pppoe_int_output_policy Cisco 10000 Series Router Quality of Service Configuration Guide 14-16 OL-7433-09...
  • Page 455: Configuration Example For Applying Simultaneous Policies On 802.1Q Qinq Interfaces And Pppoe Sessions

    Virtual-Template1 ip unnumbered Loopback1 service-policy output pppoa_sess_output_policy service-policy input pppoa_sess_input_policy interface ATM3/0/0.42101 multipoint range pvc 42/101 42/110 vbr-nrt 2000 2000 1 encapsulation aal5mux ppp Virtual-Template1 service-policy output pppoa_int_output_policy Cisco 10000 Series Router Quality of Service Configuration Guide 14-17 OL-7433-09...
  • Page 456: Configuration Example For Applying Simultaneous Policies On Atm Vcs And Pppoe Sessions

    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...
  • Page 457: Verification Examples For Traffic Policing

    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...
  • Page 458: Displaying Simultaneous Policy Map Information For Interfaces

    Input Policy owned by Virtual-Access3.3 [VCCI 3240] - 'prec-only': Class Pkts Bytes Pkts Pkts Pkts Matched Matched Conformed Exceeded Violated ---------------- ----------- ------------ --------------- ----------- ----------- prec5 33000 prec3 prec2 class-default Cisco 10000 Series Router Quality of Service Configuration Guide 14-20 OL-7433-09...
  • Page 459: Displaying Simultaneous Policy Map Information For Pta Virtual Interfaces

    Input Policy inherited from GigabitEthernet6/0/0.2 [VCCI 2524] - 'parent1': Class Pkts Bytes Pkts Pkts Pkts Matched Matched Conformed Exceeded Violated ---------------- ----------- ------------ --------------- ----------- ----------- prec5 1000 33000 class-default Cisco 10000 Series Router Quality of Service Configuration Guide 14-21 OL-7433-09...
  • Page 460: Displaying Simultaneous Policy Map Information For A Lac Session

    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.
  • Page 462: Interface Oversubscription

    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.
  • Page 463: Restrictions And Limitations For Interface Oversubscription

    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.
  • Page 464: Feature History For Atm Vc Oversubscription

    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.
  • Page 465: Atm Vc Oversubscription And Atm Line Cards

    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.
  • Page 466: Atm Over-Subscription-Factor Command History

    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.
  • Page 467: Restrictions And Limitations For Atm Vc Oversubscription

    • 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.
  • Page 468: Feature History For Frame Relay Pvc Oversubscription

    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...
  • Page 469: Restrictions And Limitations For Frame Relay Pvc Oversubscription

    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.
  • Page 470: Oversubscription And Hierarchical Policies

    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...
  • Page 471: Oversubscribing Atm Vbr-Nrt Vcs

    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...
  • Page 472: Oversubscribing Frame Relay Pvcs Using Hierarchical Policies

    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...
  • Page 475: Oversubscribing Frame Relay Pvcs Using A Map Class

    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...
  • Page 477: Oversubscribing 802.1Q Vlans

    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...
  • Page 480: Configuration Example For Oversubscribing 802.1Q Vlans

    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.
  • Page 481: Feature History For Vc Weighting

    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.
  • Page 482: Determining Vc Weighting—Cisco Ios Release 12.3(7)Xi1 And Later Releases

    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.
  • Page 483: Calculating The Default Weight Of A Vc—Pre2

    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...
  • Page 484: Queue-Depth Command

    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.
  • Page 485: Weight Command History

    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...
  • Page 486: Guidelines For Changing Watermark Values

    (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...
  • Page 487: Restrictions And Limitations For Vc Weighting

    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.
  • Page 488: Configuring Vc Weighting

    10 for ATM PVC 1/32 on the ATM point-to-point subinterface 1/0/0.1. Example 15-6 Configuring ATM VC Weighting Router(config)# interface atm 1/0/0.1 point-to-point Router(config-subif)# pvc 1/32 Router(config-if-atm-vc)# weight 10 Cisco 10000 Series Router Quality of Service Configuration Guide 15-28 OL-7433-09...
  • Page 489: Configuring Vc Weighting Using A Vc Class Map

    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...
  • Page 490: Configuring Vc Weighting On A Range Of Pvcs

    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...
  • Page 491: Configuring Vc Weighting On Subinterfaces Using A Bandwidth Remaining Ratio

    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.
  • Page 493: Configuration Example For Configuring Vc Weighting On A Subinterface Using Bandwidth Remaining Ratio

    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...
  • Page 494: Configuring Vc Weighting On Class Queues Using Bandwidth Remaining Ratio

    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.
  • Page 497: Configuration Example For Vc Weighting On A Class Queue Using Bandwidth Remaining Ratio

    1000000 bandwidth remaining ratio 100 <---- Subinterface-level ratio service-policy child_policy interface GigabitEthernet 1/0/0.10 encapsulation dot1q 10 service-policy output vlan10_policy interface GigabitEthernet 1/0/0.20 encapsulation dot1q 20 service-policy output vlan20_policy Cisco 10000 Series Router Quality of Service Configuration Guide 15-37 OL-7433-09...
  • Page 498: Configuring Vc Queue Depth

    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...
  • Page 499: Configuration Example For Oversubscribing A Shaped Atm Vc And Vp

    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...
  • Page 500: Configuration Example For Configuring The Weight Of Multiple Vcs

    10.18.100.1 255.255.255.0 pvc 18/100 vbr-nrt 100 100 50 encapsulation aal5snap service-policy output myParentPolicy Policy Map myParentPolicy Class class-default Average Rate Traffic Shaping cir 25% bandwidth remaining ratio 100 service-policy myChildPolicy Cisco 10000 Series Router Quality of Service Configuration Guide 15-40 OL-7433-09...
  • Page 501: Configuration Example For Setting High And Low Watermark Thresholds

    (/), 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...
  • Page 502: Verification Examples For Oversubscription And Vc Weighting

    Config. is ACTIVE Default Queue Depth settings: Rate Range High Watermark Low Watermark Kbps Cells Cells 0 - 4499 4500 - 40999 41000 - 99999 100000 - 622000 149760 - 149760* Cisco 10000 Series Router Quality of Service Configuration Guide 15-42 OL-7433-09...
  • Page 503: Verifying High And Low Watermarks On An Individual Vc

    - protocol ppp Virtual-Template1 - VC-class configured on vc ubr - no cdvt - queue depth high watermark 96 low watermark 80 - VC-class configured on vc Cisco 10000 Series Router Quality of Service Configuration Guide 15-43 OL-7433-09...
  • Page 504: Related Documentation

    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 505: Link Fragmentation And Interleaving

    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.
  • Page 507: Feature History For Link Fragmentation And Interleaving

    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...
  • Page 508: System Limits For Link Fragmentation And Interleaving

    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...
  • Page 509: Configuration Commands For Mlp-Based Fragmentation And Interleaving

    • 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)
  • Page 510: Ppp Multilink Command

    • 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.
  • Page 511: Ppp Multilink Fragment-Delay Command

    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.
  • Page 512: Ppp Multilink Interleave Command

    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.
  • Page 513: Ppp Multilink Fragment Disable Command

    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.
  • Page 514: Ppp Multilink Group Command

    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.
  • Page 515: Multilink Ppp-Based Link Fragmentation And Interleaving

    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.
  • Page 516: How Mlp-Based Lfi Works

    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...
  • Page 517: Mlp Over Serial-Based Lfi

    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...
  • Page 518: Restrictions And Limitations For Mlp Over Serial-Based Lfi

    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 •...
  • Page 519: Feature History For Single-Vc Mlp Over Atm-Based Lfi

    Protocol Compression Minimum Fragment Size AAL5 MUX 82 Bytes AAL5 SNAP 78 Bytes AAL5 Cisco 80 Bytes AAL5 MUX 83 Bytes AAL5 SNAP 79 Bytes AAL5 Cisco 81 Bytes Cisco 10000 Series Router Quality of Service Configuration Guide 16-15 OL-7433-09...
  • Page 520: Mlp Bundle Interface And Service Policies

    (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...
  • Page 521: Transmit Processing

    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...
  • Page 522: Performance And Scalability For Single-Vc Mlp Over Atm-Based Lfi

    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 •...
  • Page 523: Multi-Vc Mlp Over Atm-Based Lfi

    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...
  • Page 524: Performance And Scalability For Multi-Vc Mlp Over Atm-Based Lfi

    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.
  • Page 525: Line Card Support For Mlp Over Atm-Based Lfi

    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 •...
  • Page 526: Receive Processing

    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...
  • Page 527: Fragment Size Calculation For Mlp Over Frame Relay-Based Lfi

    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...
  • Page 528: Restrictions And Limitations For Mlp Over Frame Relay-Based Lfi

    • 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.”...
  • Page 529: Creating A Mlp Bundle Interface

    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...
  • Page 531: Enabling Mlp On A Virtual Template Interface

    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...
  • Page 533: Configuring A Shaping Policy For Mlp Over Frame Relay-Based Lfi

    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...
  • Page 534: Adding An Atm Member Link To A Mlp Bundle

    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...
  • Page 536 Router(config-if)# ppp multilink Router(config-if)# ppp multilink fragment-delay 8 Router(config-if)# ppp multilink interleave Router(config-if)# ppp multilink group 10000 Router(config-if)# exit Router(config)# interface virtual-template1 Router(config-if)# ppp max-configure 110 Router(config-if)# ppp max-failure 100 Cisco 10000 Series Router Quality of Service Configuration Guide 16-32 OL-7433-09...
  • Page 537: Adding A Frame Relay Member Link To A Mlp Bundle

    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...
  • Page 539: Moving A Member Link To A Different Mlp Bundle

    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...
  • Page 540: Removing A Member Link From A Mlp Bundle

    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...
  • Page 541: Frf.12 Fragmentation

    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...
  • Page 542: Feature History For Frf.12 Fragmentation

    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...
  • Page 543: Frf.12 Fragmentation Inheritance

    Router(config-cmap)# match ip precedence 1 Router(config)# policy-map policy_12_p0 Router(config-pmap)# class prec_q0 Router(config-pmap-c)# priority Router(config-pmap-c)# police 64000 Router(config-pmap-c)# class prec_q1 Router(config-pmap-c)# bandwidth percent 39 Router(config-pmap-c)# class prec_q2 Router(config-pmap-c)# bandwidth percent 4 Router(config)# policy-map policy_13 Cisco 10000 Series Router Quality of Service Configuration Guide 16-39 OL-7433-09...
  • Page 544: Pvc-Based Frf.12 Fragmentation

    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...
  • Page 545: Frame-Relay Fragment Command (Map-Class)

    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...
  • Page 546: Performance And Scalability For Frf.12 Fragmentation

    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.
  • Page 547: Restrictions And Limitations For Frf.12 Fragmentation

    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;...
  • Page 548: Configuring Pvc-Based Frf.12 Fragmentation

    Step 4 Disables Frame Relay adaptive traffic shaping. Router(config-map-c)# no frame-relay adaptive-shaping Cisco 10000 Series Router Quality of Service Configuration Guide 16-44 OL-7433-09...
  • Page 549: Attaching The Map Class

    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...
  • Page 556: Configuring A Hierarchical Policy And Pvc-Based Frf.12 Fragmentation

    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...
  • Page 561: Configuring Interface-Based Frf.12 Fragmentation

    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...
  • Page 562: Configuration Example For Enabling Interface-Based Frf.12 Fragmentation

    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...
  • Page 563: Configuration Examples For Link Fragmentation And Interleaving

    Router(config-if)# ppp multilink fragment delay 2 Router(config-if)# ppp multilink interleave Router(config-if)# ppp multilink group 2 Router(config-if)# service-policy output policy_MLPLFI Router(config)# interface serial 8/0/0.2/7:0 Router(config-subif)# no ip address Router(config-subif)# encapsulation ppp Router(config-subif)# load-interval 30 Cisco 10000 Series Router Quality of Service Configuration Guide 16-59 OL-7433-09...
  • Page 564: Configuration Example For Single-Vc Mlp Over Atm-Based Lfi

    Router(config-if)# ppp multilink fragment-delay 8 Router(config-if)# ppp multilink interleave Router(config-if)# ppp multilink group 10020 Router(config-if)# ppp chap hostname router2 Router(config)# interface virtual-template1 Router(config-if)# ppp max-configure 110 Router(config-if)# ppp max-failure 100 Cisco 10000 Series Router Quality of Service Configuration Guide 16-60 OL-7433-09...
  • Page 565: Configuration Example For Multi-Vc Mlp Over Atm-Based Lfi

    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...
  • Page 566: Configuration Example For Mlp Over Frame Relay-Based Lfi

    Router(config-if)# frame-relay interface-dlci 18 ppp Virtual-Template209 Router(config-if)# service-policy output Premium Router(config)# interface Virtual-Template1 Router(config-if)# description mlp_lfi_c10k Router(config-if)# no ip address Router(config-if)# ppp chap hostname lfiofr-10002 Router(config-if)# ppp multilink Router(config-if)# ppp multilink group 10002 Cisco 10000 Series Router Quality of Service Configuration Guide 16-62 OL-7433-09...
  • Page 567: Configuration Examples For Pvc-Based Frf.12 Fragmentation

    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...
  • Page 568: Configuration Example For Interface-Based Frf.12 Fragmentation

    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...
  • Page 569: Verifying And Monitoring Link Fragmentation And Interleaving

    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...
  • Page 571: Verification Example For Mlp Over Serial-Based Lfi

    Se8/0/0.2/7:0, since 02:31:57, 384 weight, 378 frag size Se8/0/0.2/9:0, since 00:03:46, 384 weight, 378 frag size Se8/0/0.2/8:0, since 00:03:06, 384 weight, 378 frag size HQF2_R2# Multilink2 Service-policy output: policy_MLPLFI Class-map: prec_5 (match-all) Cisco 10000 Series Router Quality of Service Configuration Guide 16-67 OL-7433-09...
  • Page 572: Verification Examples For Frf.12 Fragmentation

    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...
  • Page 573: Related Documentation

    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.
  • Page 576: Applying Traffic Shaping Parameters Using Radius Profiles

    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.
  • Page 577: Configuration Commands For Dbs

    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 •...
  • Page 578: Default Dbs Enable Command

    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 •...
  • Page 579: Pcr And Scr Parameters For Multiple Sessions On A Vc

    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...
  • Page 580: Dynamic Bandwidth Selection Configuration And Ppp Sessions

    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.
  • Page 581: Accounting Updates

    (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.
  • Page 582: Prerequisites For Dynamic Bandwidth Selection

    • 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.
  • Page 583: Configuring Dynamic Bandwidth Selection

    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...
  • Page 587: Configuring Radius Profiles For Dynamic Bandwidth Selection

    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.
  • Page 588: Configuration Examples For Dynamic Bandwidth Selection

    10.10.0.2 vpdn enable vpdn authen-before-forward vpdn-group 2 request-dialin protocol l2tp domain cisco.com initiate-to ip 192.168.1.2 local name c10k-lac l2tp tunnel password 7 13061E010803 mpls ldp log-neighbor-changes Cisco 10000 Series Router Quality of Service Configuration Guide 17-14 OL-7433-09...
  • Page 589 10/100 vbr-nrt 40 40 dbs enable/* Enables dynamic bandwidth selection on PVC.*/ encapsulation aal5mux ppp Virtual-Template1 interface ATM8/0/0.2 point-to-point atm pppatm passive pvc 22/222 class-vc pppoa Cisco 10000 Series Router Quality of Service Configuration Guide 17-15 OL-7433-09...
  • Page 590: Configuration Example For Enabling A Radius Domain Service Profile For Dynamic Bandwidth Selection

    Example 17-9 Enabling a RADIUS User Profile for Dynamic Bandwidth Selection L2TP user1@cisco.com Password = “cisco”, Service-Type = Outbound cisco-avpair = “vpdn:tunnel-id=shiva”, cisco-avpair = “vpdn:tunnel-type=l2tp”, cisco-avpair = “vpdn:l2tp-tunnel-password=password2”, cisco-avpair = “vpdn:ip-addresses=172.16.1.1”, cisco-avpair = “atm:peak-cell-rate=155000”, cisco-avpair = “atm:sustainable-cell-rate=155000” Cisco 10000 Series Router Quality of Service Configuration Guide 17-16 OL-7433-09...
  • Page 591: Verifying And Monitoring Dynamic Bandwidth Selection

    Router# debug ppp authentication Authentication Protocol (CHAP) packet exchanges and Password Authentication Protocol (PAP) exchanges. Displays protocol errors and error statistics associated with PPP Router# debug ppp error connection negotiation and operation. Cisco 10000 Series Router Quality of Service Configuration Guide 17-17 OL-7433-09...
  • Page 592: Dynamically Changing Vc Weight And Watermark Values

    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>”...
  • Page 593: Feature History For Dynamic Vc Weight And Watermarks

    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”...
  • Page 594: Default High And Low Watermark Values

    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...
  • Page 595: Configuring The Router For Dynamic Vc Weights And Watermarks

    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...
  • Page 596: Setting Up Radius For Dynamic Vc Weights And Watermarks

    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>”...
  • Page 597: Verification Example For Dynamic Vc Weights And Watermarks

    PPPoA Session ID = 4 PPPoA Handle = 0xA8000003, SSS Handle = 0x00000000 Switch Handle = 0xF5000003, PPP Handle = 0x18000005 AAA Unique ID = 0x00000005, AIE Handle = 0xBE000003 Cisco 10000 Series Router Quality of Service Configuration Guide 17-23 OL-7433-09...
  • Page 598: Applying Qos Parameters Dynamically To Sessions

    (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.
  • Page 600: Feature History For Define Interface Policy-Map Av Pairs Aaa

    RADIUS policy maps (test_vc and dyn_out) are now attached to PVC 4/103. Router# show policy-map interface atm 4/0/0.3 ATM4/0/0.3: PVC 4/103 - Service-policy input: test_vc Class-map: class-default (match-any) 0 packets, 0 bytes Cisco 10000 Series Router Quality of Service Configuration Guide 17-26 OL-7433-09...
  • Page 601: Prerequisites For Define Interface Policy-Map Av Pairs Aaa

    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...
  • Page 602: Configuring The Router For Dynamic Qos Policies At The Session Level

    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...
  • Page 603: Setting Up Radius For Dynamic Qos Policies At The Session Level

    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>...
  • Page 604: Configuration Examples For Dynamic Qos Policies At The Session Level

    Service-policy output: outname Class-map: class-default (match-any) 0 packets, 0 bytes 5 minute offered rate 0 bps, drop rate 0 bps Match: any 0 packets, 0 bytes 5 minute rate 0 bps Cisco 10000 Series Router Quality of Service Configuration Guide 17-30 OL-7433-09...
  • Page 605 5 packets, 370 bytes 5 minute rate 0 bps Router# show pppoe session PPPoE Session Information Unique ID PPPoE RemMAC Port VT State LocMAC VA-st 0010.1436.bc70 ATM4/0.31 Vi3.1 0010.1436.b070 VC:4/103 Cisco 10000 Series Router Quality of Service Configuration Guide 17-31 OL-7433-09...
  • Page 606: Configuration Examples For Pulled Policies And A Router Without Existing Policies

    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...
  • Page 607: Verification Examples For Dynamic Qos Policies At The Session Level

    1/101 dbs enable encapsulation aal5mux ppp Virtual-Template1 interface Virtual-Template1 ip address negotiated peer default ip address pool POOL1 ppp authentication chap radius-server host 172.16.197.225 auth-port 1890 acct-port 1891 Cisco 10000 Series Router Quality of Service Configuration Guide 17-33 OL-7433-09...
  • Page 608: Shaping Pppoe Over Vlan Sessions Using Radius

    • 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...
  • Page 609: Feature History For Per Session Queuing And Shaping For Pppoe Over Vlans

    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...
  • Page 610: Per Session Shaping Inheritance

    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...
  • Page 611: Configuring Per Session Queuing And Shaping For Pppoe Over Vlans Using Radius

    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...
  • Page 614: Setting Up Radius For Per Session Queuing And Shaping

    (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.
  • Page 616: Verifying Per Session Queuing And Shaping Policies

    (average) cir 154400, bc 7720, be 7720 target shape rate 154400 overhead accounting: enabled bandwidth 30% (463 kbps) overhead accounting: disabled queue limit 64 packets (queue depth/total drops/no-buffer drops) 0/0/0 (pkts output/bytes output) 100/1000 Cisco 10000 Series Router Quality of Service Configuration Guide 17-42 OL-7433-09...
  • Page 617 Class-map: voice (match-all) 0 packets, 0 bytes 30 second offered rate 0 bps, drop rate 0 bps Match: ip precedence 5 Priority: Strict, burst bytes 1500, b/w exceed drops: 0 Cisco 10000 Series Router Quality of Service Configuration Guide 17-43 OL-7433-09...
  • Page 618: Shaping And Queuing Per-Session Traffic On Lns

    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...
  • Page 619: Feature History For Per Session Shaping And Queuing On Lns

    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 620: Configuring A Per Session Shaping And Queuing On Lns 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 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...
  • Page 624: Queuing Ppp Sessions On Atm Vcs

    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...
  • Page 625: Feature History For Ppp Session Queuing On Atm Vcs

    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...
  • Page 626: Ppp Session Queuing Inheritance

    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...
  • Page 627: Bandwidth Sharing And Atm Port Oversubscription

    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...
  • Page 628: Configuring Ppp Session Queuing On Atm Vcs

    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...
  • Page 634: Configuring Ppp Session Queuing Using Radius

    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.
  • Page 635: Example Of Configuring Ppp Session Queuing On Atm Vcs

    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...
  • Page 636: Example Of Setting Up Radius For Ppp Session Queuing On Atm Vcs

    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.
  • Page 637: Examples Of Verifying Ppp Session Queuing On Atm Vcs

    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...
  • Page 640: Related Documentation

    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...
  • Page 642: Subscriber-Based Ip Quality Of Service

    – 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 •...
  • Page 643: C H A P T E R 18 Regulating And Shaping Subscriber Traffic

    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.
  • Page 644: Feature History For Per Session Rate Limiting

    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.
  • Page 645: Feature History For Per User Multiservice Rate Limiting

    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.
  • Page 646: Feature History For Per Session Service Policy Using Radius

    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”...
  • Page 647: Input And Output Policy Actions

    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”...
  • Page 649: Configuring Ip Quality Of Service For Subscribers

    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...
  • Page 650: Configuring Per User Multiservice 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.
  • Page 651: Configuring Per Session Service Policy Using Radius

    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.
  • Page 652: Configuration Examples For Subscriber-Based Ip Qos

    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. •...
  • Page 653: Configuration Example For Per User Multiservice Rate Limiting

    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...
  • Page 656: Verifying A Subscriber-Based Ip Qos Configuration

    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...
  • Page 657: Verification Examples For Subscriber-Based Ip Qos Configurations

    Idle Time con0 — 00:14:31 00:12:14 vty2 — 00:16:45 00:00:00 Vi1.1 abc@hello1 PPPoE 00:12:10 — Vi1.2 abc@hello1 PPPoE 00:12:10 — Vi1.3 abc@hello1 PPPoE 00:12:10 — Vi1.4 abc@hello1 PPPoE 00:12:10 — Cisco 10000 Series Router Quality of Service Configuration Guide 18-17 OL-7433-09...
  • Page 658: Mqc Support For Ip Sessions

    • 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...
  • Page 659: Feature History For Mqc Support For Ip Sessions

    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...
  • Page 660: Service Policy Maps And Service Profiles

    (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 •...
  • Page 661: Configuring Mqc On Ip Sessions

    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. •...
  • Page 662: Configuring Qos On Service Policy Maps With Traffic Classes

    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...
  • Page 663: Configuration Examples For Mqc On Ip Sessions

    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...
  • Page 664: Verifying Service Policies On Ip Sessions

    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...
  • Page 665: Prerequisites For Per Session Shaping And Queuing On Lns

    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...
  • Page 669: Queuing Ppp Sessions On Atm Vcs

    “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...
  • Page 670: Dynamically Applying Qos Policies To Ppp Sessions On Atm Vcs

    (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...
  • Page 671: Interfaces Supporting Ppp Session Queuing

    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...
  • Page 672: Oversubscription At The Session Level

    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...
  • Page 673: Configuring Ppp Session Queuing Using A Virtual Template

    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...
  • Page 678: Configuring Ppp Session Queuing Using Radius

    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).
  • Page 679: Configuration Examples For Ppp Session Queuing On Atm Vcs

    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.
  • Page 680: Example Of Configuring And Applying An Hierarchical Policy Map

    Router(config-pmap-c)# police 8000 Router(config-pmap-c)# exit Router(config-pmap)# policy-map parent Router(config-pmap)# class class-default Router(config-pmap-c)# shape 512000 Router(config-pmap-c)# service-policy child1 Router(config-pmap-c)# exit Router(config-pmap)# exit Router(config)# interface virtual-template 1 Router(config-if)# service-policy output parent Cisco 10000 Series Router Quality of Service Configuration Guide 18-40 OL-7433-09...
  • Page 681: Verifying Ppp Session Queuing On Atm Vcs

    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.
  • Page 682: Verification Examples For Ppp Session Queuing On Atm Vcs

    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...
  • Page 685: Per-Session Shaping For Atm Interfaces

    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...
  • Page 686: Feature History For Per-Session Shaping For Atm Interfaces

    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...
  • Page 690: Configuration Example For Per-Session Shaping On Atm Interfaces

    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...
  • Page 691: Related Documentation

    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...
  • Page 693: Pvc Bundles

    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.
  • Page 694: Feature History For Pvc Bundles

    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...
  • Page 695: Traffic Bumping

    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...
  • Page 696: Atm Pvc Selection

    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.
  • Page 697: Feature History For Atm Pvc Selection

    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...
  • Page 698: Bundle Command

    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...
  • Page 699: Class-Bundle Command

    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...
  • Page 700: Class-Vc Command

    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...
  • Page 701: Mpls Experimental Command

    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...
  • Page 702: Oam-Bundle Command

    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...
  • Page 703: Precedence Command

    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...
  • Page 704: Protect Command

    {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...
  • Page 705: Pvc-Bundle Command

    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...
  • Page 706: Atm Bundle Management

    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...
  • Page 708: Bumping And Atm Pvc Bundles

    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...
  • Page 709: Prerequisites For Atm Pvc Selection

    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 •...
  • Page 710: Configuring Atm Bundles

    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...
  • Page 712: Creating An Atm Bundle Using A Vc Class

    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...
  • Page 715: Adding An Atm Pvc To A Pvc Bundle

    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...
  • Page 717: Configuring An Atm Bundle Member Using A Vc Class

    (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...
  • Page 719: Configuring A Pvc Not To Accept Bumped Traffic

    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...
  • Page 720: Verifying And Monitoring Atm Pvc Bundles

    (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...
  • Page 721: Configuration Examples For Configuring Atm Bundles And Pvc Selection

    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...
  • Page 723: Configuration Example For Mpls Exp-Based Atm Pvc Selection

    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.
  • Page 724: Feature History For Frame Relay Pvc Selection

    Command, page 19-36 • precedence Command (Frame Relay VC-bundle-member), page 19-37 • protect Command (Frame Relay VC-bundle-member), page 19-38 • pvc Command (Frame Relay VC-bundle), page 19-39 • Cisco 10000 Series Router Quality of Service Configuration Guide 19-32 OL-7433-09...
  • Page 725: Bump Command (Frame Relay Vc-Bundle-Member)

    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...
  • Page 726: Dscp Command (Frame Relay Vc-Bundle-Member)

    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...
  • Page 727: Exp Command

    (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...
  • Page 728: Frame-Relay Vc-Bundle Command

    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...
  • Page 729: Precedence Command (Frame Relay Vc-Bundle-Member)

    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...
  • Page 730: Protect Command (Frame Relay Vc-Bundle-Member)

    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...
  • Page 731: Pvc Command (Frame Relay Vc-Bundle)

    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...
  • Page 732: Service Levels And Pvc Selection Criteria

    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 •...
  • Page 733: Restrictions And Limitations For Frame Relay Pvc Selection

    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. •...
  • Page 734: Creating A Frame Relay 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...
  • Page 735: Adding A Pvc To A Frame Relay Pvc Bundle

    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...
  • Page 736: Configuring Frame Relay Bundle Members

    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...
  • Page 741: Configuration Examples For Configuring Frame Relay Bundles And Pvc Selection

    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...
  • Page 742: Configuration Example For Mpls Exp-Based Frame Relay Pvc Selection

    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...
  • Page 744: Verification Example For Monitoring Pvc Bundles

    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...
  • Page 745: Related Documentation

    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...
  • Page 747: Mpls Qos

    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 •...
  • Page 748: Feature History For Mpls Qos

    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...
  • Page 749: Mpls Tunneling Modes

    (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.
  • Page 750: How Qos Works For Mpls Traffic

    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.
  • Page 751: Mpls Qos Implementation

    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...
  • Page 752: Classifying Ip Packets Using A Class Map

    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...
  • Page 753: Setting The Mpls Exp Field Using A Policy Map

    (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...
  • Page 754: Attaching An Mpls Qos Service Policy To An Interface

    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...
  • Page 755: Configuration Example For Short Pipe Mode

    4 1500 2000 20 shape 120000 class exp4 bandwidth remaining percent 12 random-detect precedence-based random-detect precedence 1 500 1000 1 random-detect precedence 2 800 1300 5 random-detect precedence 3 1000 1800 15 Cisco 10000 Series Router Quality of Service Configuration Guide 20-9 OL-7433-09...
  • Page 756: Configuration Example For Pipe Mode

    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...
  • Page 758: Mpls Cos Multi-Vc Mode

    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.
  • Page 759: Label Switched Paths

    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.
  • Page 760: Qos For Label-Controlled Atm 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.
  • Page 761: Benefits Of Mpls Cos Multi-Vc Mode

    • 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.
  • Page 762: Configuring Mpls Cos Multi-Vc Mode

    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 •...
  • Page 763: Configuring Queueing Functions On Router Output Interfaces

    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...
  • Page 764: Monitoring And Maintaining Mpls Cos Multi-Vc Mode Configuration

    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...
  • Page 765: Feature History For Mpls Te—Ds

    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...
  • Page 766: Global Pool Tunnels

    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.
  • Page 767: Activating Traffic Engineering On The Router

    [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...
  • Page 769: Activating Traffic Engineering On The Interface

    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...
  • Page 770: Configuring The Tunnel Interface

    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.
  • Page 771: Configuring Guaranteed Bandwidth Service

    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...
  • Page 772: Verifying And Monitoring Ds-Te Configurations

    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...
  • Page 774: Configuration Examples For Ds-Te

    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...
  • Page 775 10.24.1.1 router-1(config-if)# tunnel mode mpls traffic-eng router-1(config-if)# tunnel mpls traffic-eng priority 0 0 router-1(config-if)# tunnel mpls traffic-eng bandwidth sub-pool 320000 router-1(config-if)# tunnel mpls traffic-eng path-option 1 dynamic router-1(config-if)# exit Cisco 10000 Series Router Quality of Service Configuration Guide 20-29 OL-7433-09...
  • Page 776: Configuration Examples For Configuring Ds-Te On The Midpoint Routers

    POS4/1 router-2(config-if)# ip address 10.12.1.2 255.255.255.0 router-2(config-if)# mpls traffic-eng tunnels router-2(config-if)# ip rsvp bandwidth 130000 130000 sub-pool 80000 router-1(config-if)# ip router isis router-1(config-if)# exit Cisco 10000 Series Router Quality of Service Configuration Guide 20-30 OL-7433-09...
  • Page 777: Configuration Examples For Configuring The Tail-End Router

    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...
  • Page 778: Related Documentation

    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...
  • Page 781: Vlan Tag-Based Qos

    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.
  • Page 782: Feature History For Vlan Tag-Based Qos

    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.
  • Page 783: Modification Of A Vlan-Group Policy Map

    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.
  • Page 784: System Limits For Vlan Tag-Based Qos

    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...
  • Page 785: Restrictions For Vlan Tag-Based Qos

    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...
  • Page 787: Configuring Vlan Tag-Based Qos

    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...
  • Page 788: Configuring Vlan-Group Class Maps

    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...
  • Page 789: Configuring A Vlan-Group Policy

    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...
  • Page 790: Configuring Qos Policies For Traffic Classes—Outbound Vlan Group And Class-Default Classes

    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...
  • Page 792: Attaching Vlan Tag-Based Policies

    (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...
  • Page 793: Configuration Examples For Vlan Tag-Based Qos

    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...
  • Page 794: Configuring A Vlan Tag-Based Qos Policy: Example

    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...
  • Page 795: Related Documents

    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...
  • Page 797: Hierarchical Queuing Framework

    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...
  • Page 798: Feature History For Hierarchical Queuing Framework

    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...
  • Page 799: Qos Shaping Using Hqf

    0 minimum-thresh 10 maximum-thresh 20 mark-prob 10 random-detect precedence values 1 minimum-thresh 40 maximum-thresh 80 mark-prob 10 interface ATM 1/0/0.1 point-to-point pvc 0/110 vbr-nrt 512 512 94 encapsulation aal5autoppp Virtual-Template1 service-policy output pppoe_vc_out Cisco 10000 Series Router Quality of Service Configuration Guide 22-3 OL-7433-09...
  • Page 800: Hierarchical Atm Vp And Vc Shaping Using Hqf

    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...
  • Page 801: Ip And Ppp Session Shaping Using Hqf

    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...
  • Page 802: Feature History For Mqc Hierarchical Queuing With 3-Level Scheduler

    • 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).
  • Page 803: Priority Service And Latency

    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...
  • Page 804: Configuring Mqc Hierarchical Queuing With 3-Level Scheduler

    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...
  • Page 805: Tuning The Bandwidth-Remaining Ratio: Example

    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...
  • Page 806: Level Scheduler

    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...
  • Page 807: Feature History For 4-Level Scheduler

    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...
  • Page 808: Related Documentation

    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 809: Creating A Map Class

    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...
  • Page 810: Enabling Weighted Fair Queuing On The Interface

    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...
  • Page 811: Specifying Tail Drop

    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...
  • Page 812: Configuring Frame Relay Ip Rtp Priority

    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...
  • Page 813: Configuring Frame Relay Traffic Shaping

    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...
  • Page 815: Qppb Configuration Example

    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 843 VBR-nrt virtual circuits AAL5 disabling on ATM interfaces Frame Relay PVCs 7, 11, 12, 15 bandwidth command hierarchical policies 11, 10 calculation interface 2, 45 child priority queues Cisco 10000 Series Router Quality of Service Configuration Guide IN-13 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...

Table of Contents