hit counter script
Cisco ASR 9000 Series Configuration Manual
Cisco ASR 9000 Series Configuration Manual

Cisco ASR 9000 Series Configuration Manual

Aggregation services router modular quality of service
Hide thumbs Also See for ASR 9000 Series:
Table of Contents

Advertisement

D r a f t — C i s c o C o n f i d e n t i a l
Cisco ASR 9000 Series Aggregation
Services Router Modular Quality of
Service Configuration Guide
Cisco IOS XR Software Release 3.7 FCI
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-17239-01

Advertisement

Table of Contents
loading

Summary of Contents for Cisco ASR 9000 Series

  • Page 1 D r a f t — C i s c o C o n f i d e n t i a l Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Configuration Guide Cisco IOS XR Software Release 3.7 FCI Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 http://www.cisco.com...
  • Page 2 LIMITED WARRANTY, CONTACT YOUR CISCO REPRESENTATIVE FOR A COPY. The Cisco implementation of TCP header compression is an adaptation of a program developed by the University of California, Berkeley (UCB) as part of UCB’s public domain version of the UNIX operating system. All rights reserved. Copyright © 1981, Regents of the University of California.
  • Page 3: Table Of Contents

    Information About Configuring Modular QoS Packet Classification on Cisco ASR 9000 Series Routers QC-8 Packet Classification Overview QC-8 Traffic Class Elements QC-9 Traffic Policy Elements QC-9 Default Traffic Class QC-10 Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Configuration Guide QC-iii OL-17239-01...
  • Page 4 IP Precedence Value Settings QC-12 IP Precedence Compared to IP DSCP Marking QC-12 Hierarchical Ingress Policing QC-13 How to Configure Modular QoS Packet Classification on Cisco ASR 9000 Series Routers QC-13 Creating a Traffic Class QC-13 Restrictions QC-13 Creating a Traffic Policy...
  • Page 5 Traffic Policing for a Bundled Interface: Example QC-58 Traffic Policing for an IPSec Interface: Example QC-59 Multiaction Set/Policer: Example QC-59 Where to Go Next QC-60 Additional References QC-60 Related Documents QC-60 Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Configuration Guide QC-v OL-17239-01...
  • Page 6 Prerequisites for Configuring ANCP on Cisco ASR 9000 Series Routers QC-80 Restrictions for Configuring ANCP on Cisco ASR 9000 Series Routers QC-80 Information About Configuring ANCP on Cisco ASR 9000 Series Routers QC-80 Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Configuration Guide QC-vi OL-17239-01...
  • Page 7 Mapping AN ports to VLAN Subinterfaces: Example QC-96 Configuring ANCP Rate Adjustment: Example QC-97 Additional References QC-99 Related Documents QC-99 Standards QC-99 MIBs QC-99 RFCs QC-99 Technical Assistance QC-100 Index Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Configuration Guide QC-vii OL-17239-01...
  • Page 8 Contents D r a f t — C i s c o C o n f i d e n t i a l Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Configuration Guide QC-viii OL-17239-01...
  • Page 9: Changes To This Document

    For QoS command descriptions, usage guidelines, and examples, refer to the Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Command Reference. The preface contains the following sections: •...
  • Page 10 Preface D r a f t — C i s c o C o n f i d e n t i a l Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Configuration Guide QC-x OL-17239-01...
  • Page 11: Contents

    Cisco ASR 9000 Series Router software master command index. Contents Information About Modular Quality of Service on Cisco ASR 9000 Series Routers, page 2 • Where to Go Next, page 5 •...
  • Page 12: Information About Modular Quality Of Service On Cisco Asr 9000 Series Routers

    Benefits of Cisco ASR 9000 Series Router QoS Features Cisco IOS XR QoS features enable networks to control and predictably service a variety of networked applications and traffic types. Implementing Cisco IOS XR QoS in your network promotes the following benefits: Control over resources.
  • Page 13 • For detailed conceptual and configuration information about packet marking, see the “Configuring Modular Quality of Service Packet Classification on Cisco ASR 9000 Series Routers” module in this guide for unconditional marking, and the “Configuring Modular Quality of Service Congestion Management on Cisco ASR 9000 Series Routers”...
  • Page 14: Modular Qos Command Line Interface

    Differentiated Service Model for Cisco IOS XR Software Cisco IOS XR software supports a differentiated service that is a multiple-service model that can satisfy different QoS requirements. However, unlike in the integrated service model, an application using differentiated service does not explicitly signal the router before sending data.
  • Page 15: Where To Go Next

    D r a f t — C i s c o C o n f i d e n t i a l For detailed conceptual and configuration information about the MQC feature, see the “Configuring Modular Quality of Service Packet Classification on Cisco ASR 9000 Series Routers” module in this guide.
  • Page 16: Mibs

    Registered Cisco.com users can log in from this page to access even more content. Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Configuration Guide QC-6 OL-17239-01...
  • Page 17: Configuring Modular Quality Of Service Packet Classification On Cisco Asr 9000 Series Routers

    Information About Configuring Modular QoS Packet Classification on • Cisco ASR 9000 Series Routers, page 8 How to Configure Modular QoS Packet Classification on Cisco ASR 9000 Series Routers, page 13 • Configuration Examples for Configuring Modular QoS Packet Classification on Cisco IOS XR •...
  • Page 18: Prerequisites For Configuring Modular Qos Packet Classification On Cisco Asr 9000 Series Routers

    On Cisco IOS XR software, methods of classification may consist of the logical combination of any fields in the packet header, where a packet header may be a Layer 2, a Layer 3, or a Layer 4 header; or classification based on the incoming or outgoing physical or virtual interface.
  • Page 19: Traffic Class Elements

    The traffic class is named in the class-map command. For example, if you use the word cisco with the class-map command, the traffic class would be named cisco.
  • Page 20: Default Traffic Class

    Configuring Modular Quality of Service Packet Classification on Cisco ASR 9000 Series Routers Information About Configuring Modular QoS Packet Classification on Cisco ASR 9000 Series Routers D r a f t — C i s c o C o n f i d e n t i a l The traffic policy configuration task is described in the “Creating a Traffic Policy”...
  • Page 21: Specification Of The Cos For A Packet With Ip Precedence

    LLQ, can use the IP precedence setting of the packet to prioritize traffic. By setting precedence levels on incoming traffic and using them in combination with the Cisco IOS XR QoS queueing features, you can create differentiated service.
  • Page 22: Ip Precedence Value Settings

    IP precedence bit settings 6 and 7 are reserved for network control information, such as routing updates. IP Precedence Value Settings By default, Cisco IOS XR software leaves the IP precedence value untouched. This preserves the precedence value set in the header and allows all internal network devices to provide service based on the IP precedence setting.
  • Page 23: Hierarchical Ingress Policing

    Configuring Modular Quality of Service Packet Classification on Cisco ASR 9000 Series Routers How to Configure Modular QoS Packet Classification on Cisco ASR 9000 Series Routers D r a f t — C i s c o C o n f i d e n t i a l...
  • Page 24 Configuring Modular Quality of Service Packet Classification on Cisco ASR 9000 Series Routers How to Configure Modular QoS Packet Classification on Cisco ASR 9000 Series Routers D r a f t — C i s c o C o n f i d e n t i a l match [not] discard-class discard-class-value [discard-class-value1 ...
  • Page 25 Configuring Modular Quality of Service Packet Classification on Cisco ASR 9000 Series Routers How to Configure Modular QoS Packet Classification on Cisco ASR 9000 Series Routers D r a f t — C i s c o C o n f i d e n t i a l...
  • Page 26: Creating A Traffic Policy

    (tail drop threshold) for the class. See the “Configuring • Modular QoS Congestion Avoidance on Cisco ASR 9000 Series Routers” module in this guide. Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Configuration Guide QC-16...
  • Page 27: Restrictions

    See the “Configuring Modular Quality of Service Congestion Management on Cisco ASR 9000 Series Routers” module in this guide. For additional commands that can be entered as match criteria, see the Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Command Reference.
  • Page 28 Configuring Modular Quality of Service Packet Classification on Cisco ASR 9000 Series Routers How to Configure Modular QoS Packet Classification on Cisco ASR 9000 Series Routers D r a f t — C i s c o C o n f i d e n t i a l...
  • Page 29: Attaching A Traffic Policy To An Interface

    Configuring Modular Quality of Service Packet Classification on Cisco ASR 9000 Series Routers How to Configure Modular QoS Packet Classification on Cisco ASR 9000 Series Routers D r a f t — C i s c o C o n f i d e n t i a l...
  • Page 30: Attaching A Traffic Policy To Multiple Subinterfaces

    Configuring Modular Quality of Service Packet Classification on Cisco ASR 9000 Series Routers How to Configure Modular QoS Packet Classification on Cisco ASR 9000 Series Routers D r a f t — C i s c o C o n f i d e n t i a l...
  • Page 31 Configuring Modular Quality of Service Packet Classification on Cisco ASR 9000 Series Routers How to Configure Modular QoS Packet Classification on Cisco ASR 9000 Series Routers D r a f t — C i s c o C o n f i d e n t i a l...
  • Page 32: Configuring Class-Based Unconditional Packet Marking

    Configuring Modular Quality of Service Packet Classification on Cisco ASR 9000 Series Routers How to Configure Modular QoS Packet Classification on Cisco ASR 9000 Series Routers D r a f t — C i s c o C o n f i d e n t i a l...
  • Page 33 Configuring Modular Quality of Service Packet Classification on Cisco ASR 9000 Series Routers How to Configure Modular QoS Packet Classification on Cisco ASR 9000 Series Routers D r a f t — C i s c o C o n f i d e n t i a l...
  • Page 34 Configuring Modular Quality of Service Packet Classification on Cisco ASR 9000 Series Routers How to Configure Modular QoS Packet Classification on Cisco ASR 9000 Series Routers D r a f t — C i s c o C o n f i d e n t i a l...
  • Page 35: Configuring Hierarchical Ingress Policing

    Configuring Modular Quality of Service Packet Classification on Cisco ASR 9000 Series Routers How to Configure Modular QoS Packet Classification on Cisco ASR 9000 Series Routers D r a f t — C i s c o C o n f i d e n t i a l...
  • Page 36: Restrictions

    Configuring Modular Quality of Service Packet Classification on Cisco ASR 9000 Series Routers How to Configure Modular QoS Packet Classification on Cisco ASR 9000 Series Routers D r a f t — C i s c o C o n f i d e n t i a l...
  • Page 37 Configuring Modular Quality of Service Packet Classification on Cisco ASR 9000 Series Routers How to Configure Modular QoS Packet Classification on Cisco ASR 9000 Series Routers D r a f t — C i s c o C o n f i d e n t i a l...
  • Page 38: Configuration Examples For Configuring Modular Qos Packet Classification On Cisco Ios Xr Software

    Configuring Modular Quality of Service Packet Classification on Cisco ASR 9000 Series Routers Configuration Examples for Configuring Modular QoS Packet Classification on Cisco IOS XR Software D r a f t — C i s c o C o n f i d e n t i a l...
  • Page 39: Traffic Policy Created: Example

    Configuring Modular Quality of Service Packet Classification on Cisco ASR 9000 Series Routers Configuration Examples for Configuring Modular QoS Packet Classification on Cisco IOS XR Software D r a f t — C i s c o C o n f i d e n t i a l...
  • Page 40: Class-Map Match-Any Command Configuration: Example

    In the example in this section, the traffic policy called child is the child policy, and the traffic policy called parent is the parent policy. Hierarchical traffic policies can be attached to all supported interfaces for this Cisco IOS XR software release, such as the OC-192 and 10-Gigabit Ethernet interfaces.
  • Page 41: Class-Based, Unconditional Packet Marking Examples

    Configuring Modular Quality of Service Packet Classification on Cisco ASR 9000 Series Routers Configuration Examples for Configuring Modular QoS Packet Classification on Cisco IOS XR Software D r a f t — C i s c o C o n f i d e n t i a l...
  • Page 42: Qos Group Marking Configuration: Example

    Configuring Modular Quality of Service Packet Classification on Cisco ASR 9000 Series Routers Configuration Examples for Configuring Modular QoS Packet Classification on Cisco IOS XR Software D r a f t — C i s c o C o n f i d e n t i a l QoS Group Marking Configuration: Example In the following example, a service policy called policy1 is created.
  • Page 43: Mpls Experimental Bit Imposition Marking Configuration: Example

    Configuring Modular Quality of Service Packet Classification on Cisco ASR 9000 Series Routers Configuration Examples for Configuring Modular QoS Packet Classification on Cisco IOS XR Software D r a f t — C i s c o C o n f i d e n t i a l The set cos command is supported only on an egress policy.
  • Page 44: Where To Go Next

    To configure class-based traffic shaping, traffic policing, and low latency queueing, see the “Configuring Modular QoS Congestion Avoidance on Cisco ASR 9000 Series Routers” module in this guide. To configure WRED and tail drop, see the see the “Configuring Modular QoS Congestion Avoidance on Cisco ASR 9000 Series Routers”...
  • Page 45: Additional References

    Configuring Modular Quality of Service Packet Classification on Cisco ASR 9000 Series Routers Additional References D r a f t — C i s c o C o n f i d e n t i a l Additional References The following sections provide references related to implementing QoS service packet classification on Cisco IOS XR software.
  • Page 46: Technical Assistance

    Configuring Modular Quality of Service Packet Classification on Cisco ASR 9000 Series Routers Additional References D r a f t — C i s c o C o n f i d e n t i a l Technical Assistance...
  • Page 47: Configuring Modular Quality Of Service Congestion Management On Cisco Asr 9000 Series Routers

    Cisco ASR 9000 Series Routers Congestion management controls congestion after it has occurred on a network. Congestion can be managed on Cisco IOS XR software by using packet queueing methods, and by shaping the packet flow through use of traffic regulation mechanisms.
  • Page 48: Prerequisites For Configuring Qos Congestion Management On Cisco Asr 9000 Series Routers

    Information About Configuring QoS Congestion Management on Cisco ASR 9000 Series Routers, • page 38 How to Configure QoS Congestion Management on Cisco ASR 9000 Series Routers, page 45 • Configuration Examples for Configuring QoS Congestion Management on Cisco ASR 9000 Series •...
  • Page 49: Congestion Management Overview

    The congestion management features in Cisco IOS XR software allow you to specify creation of a different number of queues, affording greater or lesser degree of differentiation of traffic, and to specify the order in which that traffic is sent.
  • Page 50: Low-Latency Queueing With Strict Priority Queueing

    Configuring Modular Quality of Service Congestion Management on Cisco ASR 9000 Series Routers Information About Configuring QoS Congestion Management on Cisco ASR 9000 Series Routers D r a f t — C i s c o C o n f i d e n t i a l Packets in a queue are served as long as the deficit counter is greater than zero.
  • Page 51: Traffic Shaping Mechanism Regulates Traffic

    Configuring Modular Quality of Service Congestion Management on Cisco ASR 9000 Series Routers Information About Configuring QoS Congestion Management on Cisco ASR 9000 Series Routers D r a f t — C i s c o C o n f i d e n t i a l When the exceed burst size (Be) equals 0, the interface sends no more than the burst size every interval, achieving an average rate no higher than the mean rate.
  • Page 52: Traffic Policing

    The two-rate policer and two-token bucket algorithm is supported in Cisco IOS XR software. For Cisco IOS XR software, a single-rate, two-color policer is supported that provides one token bucket with two actions for each packet: a conform action and an exceed action. To support multiaction...
  • Page 53: Traffic Policing Mechanism Regulates Traffic

    Configuring Modular Quality of Service Congestion Management on Cisco ASR 9000 Series Routers Information About Configuring QoS Congestion Management on Cisco ASR 9000 Series Routers D r a f t — C i s c o C o n f i d e n t i a l Marking IP fields on an MPLS-enabled interface results in non-operation on that particular interface.
  • Page 54: Traffic Shaping Versus Traffic Policing

    Configuring Modular Quality of Service Congestion Management on Cisco ASR 9000 Series Routers Information About Configuring QoS Congestion Management on Cisco ASR 9000 Series Routers D r a f t — C i s c o C o n f i d e n t i a l...
  • Page 55: How To Configure Qos Congestion Management On Cisco Asr 9000 Series Routers

    Configuring Modular Quality of Service Congestion Management on Cisco ASR 9000 Series Routers How to Configure QoS Congestion Management on Cisco ASR 9000 Series Routers D r a f t — C i s c o C o n f i d e n t i a l...
  • Page 56 Configuring Modular Quality of Service Congestion Management on Cisco ASR 9000 Series Routers How to Configure QoS Congestion Management on Cisco ASR 9000 Series Routers D r a f t — C i s c o C o n f i d e n t i a l...
  • Page 57 Configuring Modular Quality of Service Congestion Management on Cisco ASR 9000 Series Routers How to Configure QoS Congestion Management on Cisco ASR 9000 Series Routers D r a f t — C i s c o C o n f i d e n t i a l...
  • Page 58: Configuring Low-Latency Queueing With Strict Priority Queueing

    Configuring Modular Quality of Service Congestion Management on Cisco ASR 9000 Series Routers How to Configure QoS Congestion Management on Cisco ASR 9000 Series Routers D r a f t — C i s c o C o n f i d e n t i a l...
  • Page 59 Configuring Modular Quality of Service Congestion Management on Cisco ASR 9000 Series Routers How to Configure QoS Congestion Management on Cisco ASR 9000 Series Routers D r a f t — C i s c o C o n f i d e n t i a l...
  • Page 60 Configuring Modular Quality of Service Congestion Management on Cisco ASR 9000 Series Routers How to Configure QoS Congestion Management on Cisco ASR 9000 Series Routers D r a f t — C i s c o C o n f i d e n t i a l...
  • Page 61: Configuring Traffic Shaping

    Configuring Modular Quality of Service Congestion Management on Cisco ASR 9000 Series Routers How to Configure QoS Congestion Management on Cisco ASR 9000 Series Routers D r a f t — C i s c o C o n f i d e n t i a l...
  • Page 62 Configuring Modular Quality of Service Congestion Management on Cisco ASR 9000 Series Routers How to Configure QoS Congestion Management on Cisco ASR 9000 Series Routers D r a f t — C i s c o C o n f i d e n t i a l...
  • Page 63 Configuring Modular Quality of Service Congestion Management on Cisco ASR 9000 Series Routers How to Configure QoS Congestion Management on Cisco ASR 9000 Series Routers D r a f t — C i s c o C o n f i d e n t i a l...
  • Page 64: Configuring Traffic Policing

    Configuring Modular Quality of Service Congestion Management on Cisco ASR 9000 Series Routers How to Configure QoS Congestion Management on Cisco ASR 9000 Series Routers D r a f t — C i s c o C o n f i d e n t i a l Configuring Traffic Policing Traffic policing allows you to control the maximum rate of traffic sent or received on an interface.
  • Page 65 Configuring Modular Quality of Service Congestion Management on Cisco ASR 9000 Series Routers How to Configure QoS Congestion Management on Cisco ASR 9000 Series Routers D r a f t — C i s c o C o n f i d e n t i a l...
  • Page 66 Configuring Modular Quality of Service Congestion Management on Cisco ASR 9000 Series Routers How to Configure QoS Congestion Management on Cisco ASR 9000 Series Routers D r a f t — C i s c o C o n f i d e n t i a l...
  • Page 67: Configuration Examples For Configuring Qos Congestion Management On Cisco Asr 9000 Series Routers

    Configuring Modular Quality of Service Congestion Management on Cisco ASR 9000 Series Routers Configuration Examples for Configuring QoS Congestion Management on Cisco ASR 9000 Series Routers D r a f t — C i s c o C o n f i d e n t i a l...
  • Page 68 Configuring Modular Quality of Service Congestion Management on Cisco ASR 9000 Series Routers Configuration Examples for Configuring QoS Congestion Management on Cisco ASR 9000 Series Routers D r a f t — C i s c o C o n f i d e n t i a l...
  • Page 69 128000 conform transmit exceed drop interface service-ipsec 2 service-policy input pre-decrypt policy2 Refer to “Implementing IPSec Network Security on Cisco ASR 9000 Series Routers” in the Cisco ASR 9000 Series Aggregation Services Router System Security Configuration Guide for more information on configuring IPSec.
  • Page 70: Where To Go Next

    Configuring Modular Quality of Service Congestion Management on Cisco ASR 9000 Series Routers Where to Go Next D r a f t — C i s c o C o n f i d e n t i a l...
  • Page 71: Rfcs

    Configuring Modular Quality of Service Congestion Management on Cisco ASR 9000 Series Routers Additional References D r a f t — C i s c o C o n f i d e n t i a l RFCs RFCs...
  • Page 72 Configuring Modular Quality of Service Congestion Management on Cisco ASR 9000 Series Routers Additional References D r a f t — C i s c o C o n f i d e n t i a l Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Configuration Guide...
  • Page 73: Configuring Modular Qos Congestion Avoidance On Cisco Asr 9000 Series Routers

    Cisco ASR 9000 Series Router software command index. Feature History for Configuring Modular QoS Congestion Avoidance on Cisco ASR 9000 Series Routers Release Modification Release 3.7 FCI...
  • Page 74: Prerequisites For Configuring Modular Qos Congestion Avoidance On Cisco Asr 9000 Series Routers

    Configuring Modular QoS Congestion Avoidance on Cisco ASR 9000 Series Routers Prerequisites for Configuring Modular QoS Congestion Avoidance on Cisco ASR 9000 Series Routers D r a f t — C i s c o C o n f i d e n t i a l •...
  • Page 75: Average Queue Size For Wred

    Configuring Modular QoS Congestion Avoidance on Cisco ASR 9000 Series Routers Information About Configuring Modular QoS Congestion Avoidance on Cisco ASR 9000 Series Routers D r a f t — C i s c o C o n f i d e n t i a l WRED makes early detection of congestion possible and provides for multiple classes of traffic.
  • Page 76: Wred Support For Ipv4 Multicast Egress Qos Traffic

    Configuring Modular QoS Congestion Avoidance on Cisco ASR 9000 Series Routers Information About Configuring Modular QoS Congestion Avoidance on Cisco ASR 9000 Series Routers D r a f t — C i s c o C o n f i d e n t i a l If the value of x gets too high, WRED does not react to congestion.
  • Page 77: Restrictions

    When configuring the random-detect dscp command, you must configure one of the following commands: shape average, bandwidth, and bandwidth remaining. SUMMARY STEPS configure policy-map policy-name Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Configuration Guide QC-67 OL-17239-01...
  • Page 78 RP/0/RSP0/CPU0:router(config-pmap-c)# bandwidth percent 30 Step 6 (Optional) Specifies how to allocate leftover bandwidth to bandwidth remaining percent value various classes. Example: RP/0/RSP0/CPU0:router(config-pmap-c)# bandwidth remaining percent 20 Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Configuration Guide QC-68 OL-17239-01...
  • Page 79 Use the commit command to save the configuration • changes to the running configuration file and remain within the configuration session. Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Configuration Guide QC-69 OL-17239-01...
  • Page 80: Configuring Weighted Random Early Detection

    {bandwidth [units] | percent percentage-value} bandwidth remaining percent percentage-value shape average {percent | value [units]} exit interface type instance service-policy {input | output} policy-map commit Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Configuration Guide QC-70 OL-17239-01...
  • Page 81 } belonging to a policy map. This example guarantees 30 percent of the interface • Example: bandwidth to class class1. RP/0/RSP0/CPU0:router(config-pmap-c)# bandwidth percent 30 Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Configuration Guide QC-71 OL-17239-01...
  • Page 82 • Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session. Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Configuration Guide QC-72 OL-17239-01...
  • Page 83: Configuring Tail Drop

    [units] priority class class-name bandwidth {bandwidth [units] | percent value} exit exit interface type instance service-policy {input | output} policy-map commit Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Configuration Guide QC-73 OL-17239-01...
  • Page 84 Returns the router to policy map configuration mode. exit Example: RP/0/RSP0/CPU0:router(config-pmap-c)# exit Step 9 Returns the router to global configuration mode. exit Example: RP/0/RSP0/CPU0:router(config-pmap)# exit Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Configuration Guide QC-74 OL-17239-01...
  • Page 85 Use the commit command to save the configuration • changes to the running configuration file and remain within the configuration session. Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Configuration Guide QC-75 OL-17239-01...
  • Page 86: Configuration Examples For Configuring Policy Maps

    The precedences for policy_A and policy_B are mapped to the same RED profile although the minimum and maximum RED thresholds are different. The interface mapped to policy_C is configured differently than the interfaces mapped to policy_A and policy_B. Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Configuration Guide QC-76 OL-17239-01...
  • Page 87: Where To Go Next

    Packet classification Configuring Modular QoS Packet Classification on Cisco ASR 9000 Series Routers module Cisco ASR 9000 Series Router getting started material Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Cisco ASR 9000 Series Router QoS overview Modular Quality of Service Overview on Cisco ASR 9000 Series...
  • Page 88: Rfcs

    Registered Cisco.com users can log in from this page to access even more content. Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Configuration Guide QC-78 OL-17239-01...
  • Page 89: Configuring Access Node Control Protocol

    ANCP server are applied to the QoS configuration corresponding to that subscriber. DSL train rates received via ANCP are used to alter shaping rates on subscriber-facing interfaces and subinterfaces on the Cisco ASR 9000 Series Router. ANCP runs as a single process on the route processor (RP).
  • Page 90: Prerequisites For Configuring Ancp On Cisco Asr 9000 Series Routers

    Only Rate Adaptive Mode is supported in Cisco IOS XR Release 3.7 FCI. • VPN routing and forwarding (VRF) awareness is not supported in Cisco IOS XR Release 3.7 FCI. • All IP interfaces receiving ANCP traffic should be in default VRF.
  • Page 91: Neighbor Adjacency Timing

    When a mapping for that port is configured, the AN port database is scanned to identify any ANCP messages that were received on this port prior to the mapping configuration. If there were, the known rate is published. Cisco ASR 9000 Series Aggregation Services Routers Modular Quality of Service Configuration Guide QC-81 OL-17239-01...
  • Page 92: Rate Adjustment

    QoS shaping rate. (The ANCP rate used by QoS is rounded down to the nearest 128 kbps.) Prioritization of ANCP Traffic In case of congestion, the Cisco ASR 9000 Series Router marks ANCP messages as high priority so that the aggregation network between the Network Access Server (NAS) and the access node (AN) can prioritize the ANCP messages ahead of other traffic.
  • Page 93: Enabling Ancp

    DETAILED STEPS Command or Action Purpose Step 1 Enters global configuration mode. configure Example: RP/0/RSP0/CPU0:router# configure RP/0/RSP0/CPU0:router(config) Step 2 Enables ANCP. ancp Example: RP/0/RSP0/CPU0:router(config) # ancp Cisco ASR 9000 Series Aggregation Services Routers Modular Quality of Service Configuration Guide QC-83 OL-17239-01...
  • Page 94: Configuring Ancp Server Sender Name

    The ANCP server sender name is used by the ANCP server in adjacency protocol messages to DSLAMs. SUMMARY STEPS configure ancp server sender-name {H.H.H | A.B.C.D} commit Cisco ASR 9000 Series Aggregation Services Routers Modular Quality of Service Configuration Guide QC-84 OL-17239-01...
  • Page 95: Configuring Ancp Neighbors

    Optionally, a description string can be supplied to identify the ANCP neighbor on the system and an adjacency timer interval configured. Cisco ASR 9000 Series Aggregation Services Routers Modular Quality of Service Configuration Guide QC-85...
  • Page 96 [adjacency-timer interval ] neighbor session is already established, it will be reset so this timer can take affect. Example: RP/0/RSP0/CPU0:router(config)# ancp neighbor sender-name 0013.1aff.c2bd adjacency-timer 20 Cisco ASR 9000 Series Aggregation Services Routers Modular Quality of Service Configuration Guide QC-86 OL-17239-01...
  • Page 97 (Optional) Clears aggregate message statistics clear ancp summary [statistics | detail] only, without modifying individual neighbor or port statistics. Example: RP/0/RSP0/CPU0:router# clear ancp summary statistics Cisco ASR 9000 Series Aggregation Services Routers Modular Quality of Service Configuration Guide QC-87 OL-17239-01...
  • Page 98: Mapping An Ports To Vlan Subinterfaces

    {description string | sender-name {H.H.H | A.B.C.D}} [statistics] show ancp an-port {description description-string | sender-name {H.H.H | A.B.C.D}} show ancp an-port state [up | down | none] [statistics] Cisco ASR 9000 Series Aggregation Services Routers Modular Quality of Service Configuration Guide QC-88 OL-17239-01...
  • Page 99 DSLAM access ports (or CPE instance | mapping}[statistics | detail] clients of a DSLAM) with VLAN subinterfaces. Example: RP/0/RSP0/CPU0:router# show ancp an-port gigabitethernet 2/0/1/1.1 Cisco ASR 9000 Series Aggregation Services Routers Modular Quality of Service Configuration Guide QC-89 OL-17239-01...
  • Page 100: Configuring Ancp Rate Adjustment

    Use the ancp rate-adjustment command to apply a mathematical correction to the ANCP rate update prior to applying it as a shaper rate. SUMMARY STEPS configure ancp rate-adjustment dsl-type access-loop-type percent-factor factor commit show ancp summary detail Cisco ASR 9000 Series Aggregation Services Routers Modular Quality of Service Configuration Guide QC-90 OL-17239-01...
  • Page 101 ATM or Ethernet. percent-factor factor—(Required) A percent • value to be applied to the ANCP reported rate update prior to configuring it as a shaping rate. Cisco ASR 9000 Series Aggregation Services Routers Modular Quality of Service Configuration Guide QC-91 OL-17239-01...
  • Page 102: Configuring Ancp Server Sender Name: Example

    Configuring ANCP Rate Adjustment: Example, page 97 • Configuring ANCP Server Sender Name: Example The following example shows how to configure the ANCP local sender name: configure ancp server sender-name 0013.1aff.c2bd Cisco ASR 9000 Series Aggregation Services Routers Modular Quality of Service Configuration Guide QC-92 OL-17239-01...
  • Page 103 Remote Instance Local Instance Remote Partition ID List of AN port data for neighbor sender name 0006.2aaa.281b ------------------------------ ----- ---------- -------- ---- ------------ Line Adjusted DS Cisco ASR 9000 Series Aggregation Services Routers Modular Quality of Service Configuration Guide QC-93 OL-17239-01...
  • Page 104 The following example shows how to display rate adjustment configuration information in addition to the generic information shown in the previous example: show ancp summary detail ANCP Summary Information ---------------------------------------------- Capability: Topology Discovery Server sender-name: 0013:1aff.c2bd Cisco ASR 9000 Series Aggregation Services Routers Modular Quality of Service Configuration Guide QC-94 OL-17239-01...
  • Page 105 The following example shows how to clear a specific neighbor: clear ancp neighbor description vendor1a The following example shows how to clear aggregate message statistics: clear ancp summary statistics Cisco ASR 9000 Series Aggregation Services Routers Modular Quality of Service Configuration Guide QC-95 OL-17239-01...
  • Page 106: Mapping An Ports To Vlan Subinterfaces: Example

    Sub-interface Name ifhandle --------------------------------- ---------- GigabitEthernet0/0/0/37.1 GigabitEthernet0/0/0/37.11 GigabitEthernet0/0/0/38.10 0xb80 The following example uses the statistics keyword to display port message statistics for a specific AN port: Cisco ASR 9000 Series Aggregation Services Routers Modular Quality of Service Configuration Guide QC-96 OL-17239-01...
  • Page 107: Configuring Ancp Rate Adjustment: Example

    Topology Discovery Server sender-name: 0013:1aff.c2bd Neighbor count by state: SYNSENT SUNRCVD ESTAB ---------------------------------- Total Port count by state: State Up State Down State Unknown ---------------------------------- Total Cisco ASR 9000 Series Aggregation Services Routers Modular Quality of Service Configuration Guide QC-97 OL-17239-01...
  • Page 108 The following example shows how to display a summary of ANCP message statistics: show ancp summary statistics ANCP Summary Message Statistics -------------------------------------- Sent Received SYNACK 7105 2819 RSTACK Port Up Port Down Drops Total 7114 2831 Cisco ASR 9000 Series Aggregation Services Routers Modular Quality of Service Configuration Guide QC-98 OL-17239-01...
  • Page 109 D r a f t — C i s c o C o n f i d e n t i a l Additional References The following sections provide references related to implementing QoS on Cisco IOS XR software. Related Documents...
  • Page 110 Registered Cisco.com users can log in from this page to access even more content. Cisco ASR 9000 Series Aggregation Services Routers Modular Quality of Service Configuration Guide QC-100 OL-17239-01...
  • Page 111 QC-22 tail drop QC-10 class command QC-17 differentiated service model, classification QC-11 classification DSLAM access ports QC-88 defined QC-8 methods QC-8 QoS group QC-10 Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Configuration Guide IX-1 OL-17239-01...
  • Page 112 Low Latency Queueing (LLQ) shape average command QC-52, QC-72 See queueing policy-map command QC-17 policy map police submode conform-action command QC-55 exceed-action command QC-50, QC-55 Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Configuration Guide IX-2 OL-17239-01...
  • Page 113 QC-43 summary QC-3 traffic policy attaching to an interface QC-19 service models, end-to-end, differentiated service QC-4 class command QC-9 service-policy command QC-19, QC-21 creating QC-16 Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Configuration Guide IX-3 OL-17239-01...
  • Page 114 QC-44 VLAN subinterfaces QC-88 WRED (Weighted Random Early Detection) average queue size QC-65 IP Precedence QC-64 overview QC-64 QC-65 uses QC-65 Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Configuration Guide IX-4 OL-17239-01...

Table of Contents