hit counter script
Cisco NCS 540 Series Routers Command Reference Manual

Cisco NCS 540 Series Routers Command Reference Manual

Modular qos command reference
Hide thumbs Also See for NCS 540 Series Routers:

Advertisement

Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco
NCS 540 Series Routers
First Published: 2015-12-23
Last Modified: 2018-08-01
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

Advertisement

Table of Contents
loading

Summary of Contents for Cisco NCS 540 Series Routers

  • Page 1 Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers First Published: 2015-12-23 Last Modified: 2018-08-01 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)
  • Page 2 Cisco has more than 200 offices worldwide. Addresses and phone numbers are listed on the Cisco website at www.cisco.com/go/offices. 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...
  • Page 3: Table Of Contents

    Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 4 (interface) C H A P T E R 4 Hierarchical Modular QoS Commands hw-module profile qos hqos-enable hw-module profile qos max-trunks (hw-module profile bundle-scale) Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 5: Changes To This Document

    What's New in Cisco Product Documentation. To receive new and revised Cisco technical content directly to your desktop, you can subscribe to the What's New in Cisco Product Documentation RSS feed. RSS feeds are a free service.
  • Page 6 Preface Obtaining Documentation and Submitting a Service Request Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 7: Qos Classification Commands

    QoS Classification Commands Note All commands applicable for the Cisco NCS 5500 Series Router are also supported on the Cisco NCS 540 Series Router that is introduced from Cisco IOS XR Release 6.3.2. References to earlier releases in Command History tables apply to only the Cisco NCS 5500 Series Router.
  • Page 8: Class (Policy-Map)

    RP/0/RP0/CPU0:router(config)# class-map p2 RP/0/RP0/CPU0:router(config-cmap)# match precedence 2 RP/0/RP0/CPU0:router(config-cmap)# end-class-map RP/0/RP0/CPU0:router(config)# commit RP/0/RP0/CPU0:router(config)# policy-map pm2 RP/0/RP0/CPU0:router(config-pmap)# class p2 RP/0/RP0/CPU0:router(config-pmap-c)# set precedence 3 RP/0/RP0/CPU0:router(config-pmap-c)# end-policy-map RP/0/RP0/CPU0:router(config)# commit RP/0/RP0/CPU0:router(config)# end Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 9 Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 10: Class-Map

    • match access-group • match [not] dscp • match [not] mpls experimental topmost • match [not] precedence • match [not] protocol Task ID Task Operations read, write Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 11 This example shows how to specify class1 as the name of a class and defines a class map for this class. The packets that match the access list 1 are matched to class class1. RP/0/RP0/CPU0:router(config)# class-map class1 RP/0/RP0/CPU0:router(config-cmap)# match access-group ipv4 1 Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 12: End-Class-Map

    This example shows how to end the class map configuration and exit class map configuration mode: RP/0/RP0/CPU0:router(config)# class-map class1 RP/0/RP0/CPU0:router(config-cmap)# match access-group ipv4 1 RP/0/RP0/CPU0:router(config-cmap)# end-class-map Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 13: End-Policy-Map

    This example shows how to end the policy map configuration and exit policy map configuration mode. RP/0/RP0/CPU0:router(config)# policy-map policy1 RP/0/RP0/CPU0:router(config-pmap)# class class1 RP/0/RP0/CPU0:router(config-pmap-c)# police rate 250 RP/0/RP0/CPU0:router(config-pmap)# end-policy-map Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 14: Hw-Module Profile Qos Ingress-Model Peering

    Task Operation read, write The following example shows how to enable the peering QoS profile feature. RP/0/RP0/CPU0:router#config RP/0/RP0/CPU0:router(config)#hw-module profile qos ingress-model peering RP/0/RP0/CPU0:router(config)#commit RP/0/RP0/CPU0:router# reload Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 15: Hw-Module Profile Qos Max-Classmap-Size

    The following example shows how to change the maximum number of class-maps to 16. RP/0/RP0/CPU0:router#config RP/0/RP0/CPU0:router(config)#hw-module profile qos max-classmap-size 16 RP/0/RP0/CPU0:router(config)#commit RP/0/RP0/CPU0:router# reload Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 16: Hw-Module Profile Stats Qos-Enhanced

    Operation read, write The following example shows how to enable the four counter mode on the router. RP/0/RP0/CPU0:router#config RP/0/RP0/CPU0:router(config)#hw-module profile stats qos-enhanced RP/0/RP0/CPU0:router(config)#commit RP/0/RP0/CPU0:router# reload Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 17: Match Access-Group

    Examples This example shows how to specify a class map called map1 and configures map1 to be used as the match criteria for this class: Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 18 QoS Classification Commands match access-group RP/0/RP0/CPU0:router(config)# class-map map1 RP/0/RP0/CPU0:router(config-cmap)# match access-group ipv4 map1 RP/0/RP0/CPU0:router(config-cmap)# match access-group ipv6 map2 Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 19: Match Cos

    RP/0/RP0/CPU0:router(config)# class-map cos146 RP/0/RP0/CPU0:router(config-cmap)# match cos 1 4 6 RP/0/RP0/CPU0:router(config-cmap)# exit RP/0/RP0/CPU0:router(config)# policy-map policy-in RP/0/RP0/CPU0:router(config-pmap)# class cos146 RP/0/RP0/CPU0:router(config-pmap-c)# police rate 300 mbps RP/0/RP0/CPU0:router(config-pmap-police)#exit RP/0/RP0/CPU0:router(config-pmap-c)# exit RP/0/RP0/CPU0:router(config-pmap)# exit Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 20 QoS Classification Commands match cos RP/0/RP0/CPU0:router(config)# interface HundredGigE 0/0/0/3 RP/0/RP0/CPU0:router(config-if)# service-policy input policy-in Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 21: Match Dei

    RP/0/RP0/CPU0:router(config-pmap)# set dei 1 RP/0/RP0/CPU0:router(config-pmap-c)#exit RP/0/RP0/CPU0:router(config)# interface HundredGigE 0/5/0/0.0 l2transport RP/0/RP0/CPU0:router(config-subif)# encapsulation dot1q 1 RP/0/RP0/CPU0:router(config-subif)# rewrite ingress tag push dot1ad 5 symmetric RP/0/RP0/CPU0:router(config-subif)# service-policy input p1 Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 22: Match Dscp

    IP DSCP value of 2 should be treated differently than a packet marked with an IP DSCP value of 1. The treatment of these marked packets is defined by the user through the setting of policies in policy map class configuration mode. Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 23 AF11 AF12 AF13 AF21 AF22 AF23 AF31 AF32 AF33 AF41 AF42 AF43 ipv4 ipv4 dscp ipv6 ipv6 dscp Task ID Task Operations read, write Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 24 RP/0/RP0/CPU0:router(config-cmap)# match dscp ipv4 14 RP/0/RP0/CPU0:router(config-cmap)# exit RP/0/RP0/CPU0:router(config)# policy-map policy1 RP/0/RP0/CPU0:router(config-pmap)# class dscp14 RP/0/RP0/CPU0:router(config-pmap-c)#bandwidth 1000 mbps RP/0/RP0/CPU0:router(config-pmap-c)#exit RP/0/RP0/CPU0:router(config-pmap)# exit RP/0/RP0/CPU0:router(config)# interface HundredGigE 0/7/0/0 RP/0/RP0/CPU0:router(config-if)# service-policy input policy1 Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 25: Match Mpls Experimental Topmost

    QoS policies in policy map class configuration mode. Task ID Task Operations read, write Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 26 RP/0/RP0/CPU0:router(config-cmap)# match mpls experimental topmost 1 RP/0/RP0/CPU0:router(config-cmap)# exit RP/0/RP0/CPU0:router(config)# policy-map policy1 RP/0/RP0/CPU0:router(config-pmap)# class mplsmap1 RP/0/RP0/CPU0:router(config-pmap-c)# bandwidth 1000 mbps RP/0/RP0/CPU0:router(config-pmap-c)#exit RP/0/RP0/CPU0:router(config-pmap)#exit RP/0/RP0/CPU0:router(config)# interface HundredGigabitEthernet 0/1/0/9 RP/0/RP0/CPU0:router(config-if)# service-policy input policy1 Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 27: Match Precedence

    QoS policies in policy map class configuration mode. This table lists the IP precedence value number and associated name in descending order of importance. Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 28 RP/0/RP0/CPU0:router(config-cmap)# match precedence ipv4 5 RP/0/RP0/CPU0:router(config-cmap)# exit RP/0/RP0/CPU0:router(config)# policy-map policy1 RP/0/RP0/CPU0:router(config-pmap)# class ipprec5 RP/0/RP0/CPU0:router(config-pmap-c)# bandwidth 1000 mbps RP/0/RP0/CPU0:router(config-pmap)# exit RP/0/RP0/CPU0:router(config)# interface HundredGigabitEthernet 0/1/0/9 RP/0/RP0/CPU0:router(config-if)# service-policy input policy1 Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 29: Match Protocol

    Table 4: Protocol Names and Descriptions Name Description Authentication Header Protocol Encapsulation Security Payload Cisco Generic Routing Encapsulation Tunneling Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 30 Task ID Task Operations read, write Examples In this example, all TCP packets belong to class class 1: RP/0/RP0/CPU0:router(config)# class-map class 1 RP/0/RP0/CPU0:router(config-cmap)# match protocol tcp Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 31: Match Qos-Group

    Quality of Service actions to be applied to the traffic class. For example, class-map prec1 match prec 1 policy-map test-ingress class prec1 set qos-group 1 police rate percent 50 class-map qg1 Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 32 RP/0/RP0/CPU0:router(config-cmap)# match qos-group 5 RP/0/RP0/CPU0:router(config-cmap)# exit RP/0/RP0/CPU0:router(config)# policy-map policy1 RP/0/RP0/CPU0:router(config-pmap)# class qosgroup5 RP/0/RP0/CPU0:router(config-pmap-c)# bandwidth 1000 mbps RP/0/RP0/CPU0:router(config-pmap-c)# exit RP/0/RP0/CPU0:router(config-pmap)# exit RP/0/RP0/CPU0:router(config)# interface HundredGigabitEthernet 0/1/0/9 RP/0/RP0/CPU0:router(config-if)# service-policy output policy1 Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 33: Random-Detect Discard-Class

    When the value of the units argument is packets, packets are assumed to be 256 bytes in size. Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 34 This example shows how to set the discard class values for discard class 1 to a minimum byte threshold of 1000000 and a maximum byte threshold of 2000000: RP/0/RP0/CPU0:router(config)# policy-map policy1 RP/0/RP0/CPU0:router(config-pmap)# class class1 RP/0/RP0/CPU0:router(config-pmap-c)# random-detect discard-class 1 1000000 bytes 2000000 bytes Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 35: Set Cos

    RP/0/RP0/CPU0:router(config)# policy-map cos-set RP/0/RP0/CPU0:router(config-pmap)# class class1... RP/0/RP0/CPU0:router(config-pmap-c)# set cos 1 RP/0/RP0/CPU0:router(config-pmap-c)# exit RP/0/RP0/CPU0:router(config-pmap)# class class2... RP/0/RP0/CPU0:router(config-pmap-c)#set cos 2 RP/0/RP0/CPU0:router(config-pmap-c)#exit RP/0/RP0/CPU0:router(config-pmap)# interface HundredGigE 0/0/0/3 RP/0/RP0/CPU0:router(config-if)# service-policy input cos-set Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 36: Set Dei

    RP/0/RP0/CPU0:router(config-pmap-c)# set dei 1 RP/0/RP0/CPU0:router(config-pmap-c)# exit RP/0/RP0/CPU0:router(config)# interface HundredGigE0/5/0/0.0 l2transport RP/0/RP0/CPU0:router(config-subif)# encapsulation dot1q 1 RP/0/RP0/CPU0:router(config-subif)# rewrite ingress tag push dot1ad 5 symmetric RP/0/RP0/CPU0:router(config-subif)# service-policy input p1 Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 37: Set Discard-Class

    This example shows how to set the discard class value to 1 for packets that match the MPLS experimental bits 1: RP/0/RP0/CPU0:router(config)# class-map cust1 RP/0/RP0/CPU0:router(config-cmap)# match mpls experimental topmost 1 Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 38 RP/0/RP0/CPU0:router(config-cmap)# exit RP/0/RP0/CPU0:router(config)# policy-map policy2 RP/0/RP0/CPU0:router(config-pmap)# class cust1 RP/0/RP0/CPU0:router(config-pmap-c)# set discard-class 1 RP/0/RP0/CPU0:router(config-pmap-c)# exit RP/0/RP0/CPU0:router(config-pmap)# exit RP/0/RP0/CPU0:router(config)# interface HundredGigE 0/1/0/0 RP/0/RP0/CPU0:router(config-if)# service-policy input policy2 Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 39: Set Dscp

    DSCP value of 6. The network configuration determines how packets are marked. RP/0/RP0/CPU0:router (config)# policy-map policy-in RP/0/RP0/CPU0:router(config-pmap)# class class1 RP/0/RP0/CPU0:router(config-pmap-c)# set dscp 6 Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 40: Set Mpls Experimental

    RP/0/RP0/CPU0:router(config-cmap)# exit RP/0/RP0/CPU0:router(config)# policy-map policy1 RP/0/RP0/CPU0:router(config-pmap)# class class1 RP/0/RP0/CPU0:router(config-pmap-c)# set mpls experimental topmost 5 RP/0/RP0/CPU0:router(config-pmap-c)# exit RP/0/RP0/CPU0:router(config-pmap)# exit RP/0/RP0/CPU0:router(config)# interface HundredGigE 0/1/0/0 RP/0/RP0/CPU0:router(config-if)# service-policy input policy1 Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 41: Set Precedence

    This example shows how to set the IP precedence to 5 (critical) for packets that match the access control list named customer1: RP/0/RP0/CPU0:router(config)# class-map class1 RP/0/RP0/CPU0:router(config-cmap)# match access-group ipv4 customer1 RP/0/RP0/CPU0:router(config-cmap)# exit Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 42 QoS Classification Commands set precedence RP/0/RP0/CPU0:router(config)# policy-map policy1 RP/0/RP0/CPU0:router(config-pmap)# class class1 RP/0/RP0/CPU0:router(config-pmap-c)# set precedence 5 RP/0/RP0/CPU0:router(config-pmap-c)# exit RP/0/RP0/CPU0:router(config-pmap)# exit RP/0/RP0/CPU0:router(config)# interface HundredGigE 0/1/0/9 RP/0/RP0/CPU0:router(config-if)# service-policy input policy1 Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 43: Set Qos-Group

    1 police rate percent 50 class-map qg1 match qos-group 1 policy-map test-egress class qg1 shape average percent 70 Task ID Task Operations read, write Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 44 RP/0/RP0/CPU0:router(config-cmap)# match mpls experimental topmost 1 RP/0/RP0/CPU0:router(config-cmap)# exit RP/0/RP0/CPU0:router(config)# policy-map policy1 RP/0/RP0/CPU0:router(config-pmap)# class class1 RP/0/RP0/CPU0:router(config-pmap-c)# set qos-group 5 RP/0/RP0/CPU0:router(config-pmap-c)# exit RP/0/RP0/CPU0:router(config-pmap)# exit RP/0/RP0/CPU0:router(config)# HundredGigE interface 0/1/0/0 RP/0/RP0/CPU0:router(config-if)# service-policy input policy1 Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 45: Shape Average

    This example sets traffic shaping to 50 percent of the parent shaper rate milliseconds: RP/0/RP0/CPU0:router(config)# policy-map policy1 RP/0/RP0/CPU0:router(config-pmap)# class class1 RP/0/RP0/CPU0:router(config-pmap-c)# shape average percent 50 Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 46 QoS Classification Commands shape average This example shows how to set traffic shaping to 100000 kbps: RP/0/RP0/CPU0:router(config)# policy-map policy1 RP/0/RP0/CPU0:router(config-pmap)# class class1 RP/0/RP0/CPU0:router(config-pmap-c)# shape average 100000 kbps Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 47: Congestion Management Commands

    Congestion Management Commands Note All commands applicable for the Cisco NCS 5500 Series Router are also supported on the Cisco NCS 540 Series Router that is introduced from Cisco IOS XR Release 6.3.2. References to earlier releases in Command History tables apply to only the Cisco NCS 5500 Series Router.
  • Page 48: Decapsulate Gre

    This example shows how to configure decapsulation of the GRE packets : RP/0/RP0/CPU0:router(config)# policy-map type pbr gre-policy RP/0/RP0/CPU0:router(config-pmap)# class type traffic gre-class RP/0/RP0/CPU0:router(config-pmap-c)# decapsulate gre Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 49: Police Rate

    4194304 bytes. No restrictions on the flow of data are applied to any interface. Command Default Policy map class configuration Command Modes Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 50 RP/0/RP0/CPU0:router(config)# policy-map policy1 RP/0/RP0/CPU0:router(config-pmap)# class class1 RP/0/RP0/CPU0:router(config-pmap-c)# police rate 250 kbps burst 50 RP/0/RP0/CPU0:router(config-pmap-c)# exit RP/0/RP0/CPU0:router(config-pmap)# exit RP/0/RP0/CPU0:router(config)# HundredGigE interface 0/1/0/0 RP/0/RP0/CPU0:router(config-if) service-policy input policy1 Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 51: Policy-Map

    For egress classification, in order to see statistics on all 8 CoSQs, you are recommended to configure all 8 classes including class-default. Task ID Task Operations read, write Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 52 RP/0/RP0/CPU0:router(config)# class-map class1 RP/0/RP0/CPU0:router(config-cmap)# match access-group ipv4 136 RP/0/RP0/CPU0:router(config)# policy-map policy1 RP/0/RP0/CPU0:router(config-pmap)# class class1 RP/0/RP0/CPU0:router(config-pmap-c)# set precedence 3 RP/0/RP0/CPU0:router(config-pmap-c)# exit RP/0/RP0/CPU0:router(config-pmap)# class class-default RP/0/RP0/CPU0:router(config-pmap-c)# queue-limit 1000000 bytes Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 53: Priority (Qos)

    This example shows how to configure priority queuing for the policy map named policy1 : RP/0/RP0/CPU0:router(config)# policy-map policy1 RP/0/RP0/CPU0:router(config-pmap)# class class1 RP/0/RP0/CPU0:router(config-pmap-c)# priority level 1 Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 54: Vrf-Policy

    /* Configuring a policy */ RP/0/RP0/CPU0:router(config)# policy-map type pbr gre-policy /* Applying the policy on the VRF */ RP/0/RP0/CPU0:router(config)# vrf-policy vrf gre-vrf address-family ipv4 policy type pbr input gre-policy Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 55: Show Qos Interface

    This is the sample output shows the QoS information on a interface hundredGigE 0/6/0/18 that are in the input direction: RP/0/RP0/CPU0:router# show qos interface hundredGigE 0/6/0/18 input Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 56 Policer not configured for this class Level1 Class inet4-classifier-af3 New qos group Default Policer Bucket ID 0x102a7 Default Policer Stats Handle 0x8b303d68 Policer not configured for this class Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 57 Level1 Class inet6-classifier-nc1 New qos group Default Policer Bucket ID 0x102b0 Default Policer Stats Handle 0x8b302898 Policer not configured for this class Level1 Class inet-classifier-ipv6-af1 Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 58 Policer not configured for this class Level1 Class inet-management-classifier-nc1 New prec New qos group Default Policer Bucket ID 0x102b9 Default Policer Stats Handle 0x8b3013c8 Policer not configured for this class Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 59 Policer Stats Handle Policer statistics handle for this class. Queue ID VOQ number of the packet in this class. Queue Max. BW Maximum bandwidth of the queue. Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 60 The hardware weight is expressed in Note inverse value. TailDrop Threshold Number of bytes taildropped for this queue and the default/user-configured queue-limit expressed in milliseconds/user-configured unit. Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 61: Show Policy-Map Interface

    Examples This sample output shows how to display policy statistics information for all classes on the interface hundredGigE 0/6/0/18 that are in the input direction: Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 62 Total Dropped Class inet4-classifier-nc1 Classification statistics (packets/bytes) (rate - kbps) Matched 77088116/29199136824 3144053 Transmitted 77088116/29199136824 3144053 Total Dropped Class inet6-classifier-af1 Classification statistics (packets/bytes) (rate - kbps) Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 63 Class inet-classifier-ipv6-af6 Classification statistics (packets/bytes) (rate - kbps) Matched Transmitted Total Dropped Class inet-management-classifier-af4 Classification statistics (packets/bytes) (rate - kbps) Matched Transmitted Total Dropped Class exp-classifier-nc1 Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 64 Number of packets or bytes that matched this class. Transmitted Number of packets or bytes transmitted for this class. Total Dropped Number of packets or bytes dropped for this class. Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 65 Number of packets or bytes dropped by the policer of this class. Queuing statistics Queue ID VOQ number of the packet in this class. Taildropped (bytes) Number of bytes taildropped for this queue. Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 66: Show Policy-Map Targets

    1) Policymap: test-qlimit Type: qos Targets (applied as main policy): TenGigE0/4/0/10/0 output TenGigE0/6/0/30/1 output Total targets: 2 Targets (applied as child policy): Total targets: 0 Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 67 HundredGigE0/6/0/10 output HundredGigE0/6/0/11 output HundredGigE0/6/0/13 output HundredGigE0/6/0/14 output HundredGigE0/6/0/15 output HundredGigE0/6/0/16 output HundredGigE0/6/0/17 output Total targets: 30 Targets (applied as child policy): Total targets: 0 Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 68: Show Policy-Map Type Pbr

    RP/0/RP0/CPU0:router(config)# vrf-policy vrf gre-vrf address-family ipv4 policy type pbr input gre-policy /* Displaying policy details and statistics */ RP/0/RP0/CPU0:router# show policy-map type pbr vrf gre-vrf addr-family ipv4 policy type pbr input gre-policy Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 69: Congestion Avoidance Commands

    Congestion Avoidance Commands Note All commands applicable for the Cisco NCS 5500 Series Router are also supported on the Cisco NCS 540 Series Router that is introduced from Cisco IOS XR Release 6.3.2. References to earlier releases in Command History tables apply to only the Cisco NCS 5500 Series Router.
  • Page 70: Bandwidth (Qos)

    For configured behavior to work correctly, you must ensure that the sum of the bandwidths plus any priority traffic is not greater than the bandwidth of the interface itself. If the interface is oversubscribed, unpredictable behavior results. Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 71 10 percent of the interface bandwidth to a class called class2: RP/0/RP0/CPU0:router(config)# policy-map policy1 RP/0/RP0/CPU0:router(config-pmap)# class class1 RP/0/RP0/CPU0:router(config-pmap-c)# bandwidth percent 50 RP/0/RP0/CPU0:router(config-pmap-c)# exit RP/0/RP0/CPU0:router(config-pmap)# class class2 RP/0/RP0/CPU0:router(config-pmap-c)# bandwidth percent 10 Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 72: Bandwidth Remaining

    Operations read, write Examples This example shows how the remaining bandwidth is shared by classes class1 and class2 in a 20:80 ratio. RP/0/RP0/CPU0:router(config)# policy-map policy1 Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 73 Congestion Avoidance Commands bandwidth remaining RP/0/RP0/CPU0:router(config-pmap)# class class1 RP/0/RP0/CPU0:router(config-pmap-c)# bandwidth remaining percent 20 RP/0/RP0/CPU0:router(config-pmap-c)# exit RP/0/RP0/CPU0:router(config-pmap)# class class2 RP/0/RP0/CPU0:router(config-pmap-c)# bandwidth remaining percent 80 Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 74: Queue-Limit

    The queue-limit command defines the maximum threshold for a class. When that threshold is reached, enqueued packets to the class queue result in tail drop (packet drop). Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 75 = 20 percent LR + (30 percent * 50 percent * LR) guaranteed service rate of class-default = 30 percent * 50 percent * LR Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 76 This example shows how to set the queue limit for a class to 1000000 packets for policy map policy1: RP/0/RP0/CPU0:router(config)# policy-map policy1 RP/0/RP0/CPU0:router(config-pmap)# class class1 RP/0/RP0/CPU0:router(config-pmap-c)# queue-limit 1000000 Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 77: Random-Detect

    RED distributes losses in time and maintains normally low queue depth while absorbing traffic bursts. When enabled on an interface, RED begins dropping packets when congestion occurs at a rate you select during configuration. Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 78 This example shows how to enable RED using a minimum threshold value of 1000000 and a maximum threshold value of 2000000: RP/0/RP0/CPU0:router(config)# policy-map policy1 RP/0/RP0/CPU0:router(config-pmap)# class class1 RP/0/RP0/CPU0:router(config-pmap-c)# random-detect 1000000 2000000 Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 79: Service-Policy (Interface)

    RP/0/RP0/CPU0:router(config-pmap)# class-map class2 RP/0/RP0/CPU0:router(config-pmap-c)# set precedence 3 RP/0/RP0/CPU0:router(config-pmap)# exit RP/0/RP0/CPU0:router(config)# HundredGigabitEthernet 0/0/0/1 RP/0/RP0/CPU0:router(config-if)# service-policy input policy2 This example shows policy map policy 1 applied to Bundle-Ether interface. Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 80 Congestion Avoidance Commands service-policy (interface) RP/0/RP0/CPU0:router(config)# interface Bundle-Ether1 RP/0/RP0/CPU0:router(config-if)# service-policy input policy1 RP/0/RP0/CPU0:router(config-if)# exit Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 81: Hierarchical Modular Qos Commands

    Hierarchical Modular QoS Commands Note All commands applicable for the Cisco NCS 5500 Series Router are also supported on the Cisco NCS 540 Series Router that is introduced from Cisco IOS XR Release 6.3.2. References to earlier releases in Command History tables apply to only the Cisco NCS 5500 Series Router.
  • Page 82: Hw-Module Profile Qos Hqos-Enable

    The following example shows how to enable the H-QoS profile on the router. RP/0/RP0/CPU0:router#config RP/0/RP0/CPU0:router(config)# hw-module profile qos hqos-enable RP/0/RP0/CPU0:router(config)# commit RP/0/RP0/CPU0:router# reload Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 83: Hw-Module Profile Qos Max-Trunks (Hw-Module Profile Bundle-Scale)

    The following example shows how to change the scale of bundle interfaces to 256. RP/0/RP0/CPU0:router#config RP/0/RP0/CPU0:router(config)# hw-module profile qos hqos-enable RP/0/RP0/CPU0:router(config)#hw-module profile qos max-trunks 256 RP/0/RP0/CPU0:router(config)# commit RP/0/RP0/CPU0:router# reload Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...
  • Page 84 Hierarchical Modular QoS Commands hw-module profile qos max-trunks (hw-module profile bundle-scale) Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers...

This manual is also suitable for:

Ncs 5500 series

Table of Contents

Save PDF