background image

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

Содержание NCS 540 Series

Страница 1: ...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 ...

Страница 2: ...RSE OF DEALING USAGE OR TRADE PRACTICE IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT SPECIAL CONSEQUENTIAL OR INCIDENTAL DAMAGES INCLUDING WITHOUT LIMITATION LOST PROFITS OR LOSS OR DAMAGE TO DATA ARISING OUT OF THE USE OR INABILITY TO USE THIS MANUAL EVEN IF CISCO OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES Any Internet Protocol IP addresses and pho...

Страница 3: ...gress model peering 8 hw module profile qos max classmap size 9 hw module profile stats qos enhanced 10 match access group 11 match cos 13 match dei 15 match dscp 16 match mpls experimental topmost 19 match precedence 21 match protocol 23 match qos group 25 random detect discard class 27 set cos 29 set dei 30 set discard class 31 set dscp 33 set mpls experimental 34 Modular QoS Command Reference f...

Страница 4: ...p targets 60 show policy map type pbr 62 Congestion Avoidance Commands 63 C H A P T E R 3 bandwidth QoS 64 bandwidth remaining 66 queue limit 68 random detect 71 service policy interface 73 Hierarchical Modular QoS Commands 75 C H A P T E R 4 hw module profile qos hqos enable 76 hw module profile qos max trunks hw module profile bundle scale 77 Modular QoS Command Reference for Cisco NCS 5500 Seri...

Страница 5: ... features November 2016 Republished with documentation updates for Cisco IOS XR Release 6 1 31 features May 2017 Republished for Release 6 3 2 March 2018 Republished for Release 6 5 1 July 2018 Obtaining Documentation and Submitting a Service Request For information on obtaining documentation using the Cisco Bug Search Tool BST submitting a service request and gathering additional information see ...

Страница 6: ...Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers vi Preface Obtaining Documentation and Submitting a Service Request ...

Страница 7: ...ofile qos ingress model peering on page 8 hw module profile qos max classmap size on page 9 hw module profile stats qos enhanced on page 10 match access group on page 11 match cos on page 13 match dei on page 15 match dscp on page 16 match mpls experimental topmost on page 19 match precedence on page 21 match protocol on page 23 match qos group on page 25 random detect discard class on page 27 set...

Страница 8: ...pecify a policy map you can configure the policy for new classes or modify the policy for any existing classes in that policy map The class name that you specify in the policy map ties the characteristics for that class that is its policy to the class map and its match criteria as configured using the class map command The class default keyword is used for configuring default classes It is a reser...

Страница 9: ...U0 router config policy map policy1 RP 0 RP0 CPU0 router config pmap class class1 RP 0 RP0 CPU0 routerconfig pmap c shape average percent 30 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 shape average percent 20 The default class is used for packets that do not satisfy configured match criteria for class1 Class1 must...

Страница 10: ...r and in addition to alphanumeric characters can contain any of the following characters _ class map name Command Default Type is QoS when not specified Command Modes XR Config mode Command History Modification Release This command was introduced Release 6 0 Usage Guidelines The class map command specifies the name of the class for which you want to create or modify class map match criteria Use of...

Страница 11: ...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 5 QoS Classification Commands class map ...

Страница 12: ...cation Release This command was introduced Release 6 0 Usage Guidelines No specific guidelines impact the use of this command Task ID Operations Task ID read write qos Examples 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 co...

Страница 13: ... was introduced Release 6 0 Usage Guidelines No specific guidelines impact the use of this command Task ID Operations Task ID read write qos Examples 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...

Страница 14: ...y default unless enabled by this command Command Modes XR Config mode Command History Modification Release This command was introduced Release 6 2 1 Usage Guidelines The router must be reloaded for the hw module command to be functional Task ID Operation Task ID read write qos The following example shows how to enable the peering QoS profile feature RP 0 RP0 CPU0 router config RP 0 RP0 CPU0 router...

Страница 15: ...ge Guidelines The router must be reloaded for the hw module command to be functional This command only applies to ingress policies and only 4 8 16 or 32 classes per policy map are supported Egress policies can support up to 8 classes per policy map Task ID Operation Task ID read write qos The following example shows how to change the maximum number of class maps to 16 RP 0 RP0 CPU0 router config R...

Страница 16: ...and therefore only the conform and violate statistics are available in the two counter mode Command Modes XR Config mode Command History Modification Release This command was introduced Release 6 2 1 Usage Guidelines The router must be reloaded for the hw module command to be functional Task ID Operation Task ID read write qos The following example shows how to enable the four counter mode on the ...

Страница 17: ... class constitute the traffic for that class The match access group command specifies an ACL whose contents are used as the match criteria against which packets are checked to determine if they belong to the class specified by the class map The match access group command is supported only in the ingress direction The maximum allowed entries 8 To use the match access group command you must first en...

Страница 18: ...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 12 QoS Classification Commands match access group ...

Страница 19: ...first enter the class map command to specify the name of the class whose match criteria you want to establish If you specify more than one match cos command in a class map the values of subsequent match statements are added to the first match cos command Task ID Operations Task ID read write qos Examples This example shows how to configure the service policy called policy in and attach service pol...

Страница 20: ...fig 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 14 QoS Classification Commands match cos ...

Страница 21: ...elong to the class specified by the class map Task ID Operation Task ID read write qos Examples In this example DEI value is specified as the matching criteria in a class map RP 0 RP0 CPU0 router config class map match any match dei RP 0 RP0 CPU0 router config cmap match dei 0 RP 0 RP0 CPU0 router config cmap exit RP 0 RP0 CPU0 router config policy map p1 RP 0 RP0 CPU0 router config pmap class mat...

Страница 22: ...ion Release This command was introduced Release 6 0 Usage Guidelines The match dscp command is supported only in the ingress direction The minimum value is 0 and maximum value is 63 The maximum allowed entries 64 The match dscp command specifies a DSCP value that is used as the match criteria against which packets are checked to determine if they belong to the class specified by the class map To u...

Страница 23: ... AF23 22 AF31 26 AF32 28 AF33 30 AF41 34 AF42 36 AF43 38 EF 46 CS1 8 CS2 16 CS3 24 CS4 32 CS5 40 CS6 48 CS7 56 ipv4 dscp ipv4 ipv6 dscp ipv6 Task ID Operations Task ID read write qos Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers 17 QoS Classification Commands match dscp ...

Страница 24: ...PU0 router config class map dscp14 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...

Страница 25: ...matching on a packet To use the match mpls experimental topmost command you must first enter the class map command to specify the name of the class whose match criteria you want to establish If you specify more than one match mpls experimental topmost command in a class map the new values are added to the existing match statement This command examines the three experimental bits contained in the t...

Страница 26: ...router config class map mplsmap1 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 interf...

Страница 27: ...e that is used as the match criteria against which packets are checked to determine if they belong to the class specified by the class map To use the match precedence command you must first enter the class map command to specify the name of the class whose match criteria you want to establish If you specify more than one match precedence command in a class map the new values are added to the exist...

Страница 28: ...h the precedence value of 5 the packet is queued to the class queue with the bandwidth setting of 1000 mbps RP 0 RP0 CPU0 router configure RP 0 RP0 CPU0 router config class map ipprec5 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 confi...

Страница 29: ...Release 6 0 Usage Guidelines The match protocol command is supported only in ingress direction The maximum allowed entry is 1 Definitions of traffic classes are based on match criteria including protocols access control lists ACLs input interfaces QoS labels and experimental EXP field values Packets satisfying the match criteria for a class constitute the traffic for that class The match protocol ...

Страница 30: ...spf Payload Compression Protocol pcp Protocol Independent Multicast pim Stream Control Transmission Protocol sctp Transport Control Protocol tcp User Datagram Protocol udp Task ID Operations Task ID read write qos 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 Ref...

Страница 31: ...QoS group value is used as a matching criterion only The value has no mathematical significance For instance the QoS group value 2 is not greater than 1 The value simply indicates that a packet marked with the QoS group value of 2 should be treated differently than a packet marked with a QoS group value of 1 The treatment of these different packets is defined using the service policy command in po...

Страница 32: ...e with the bandwidth setting of 1000 mbps RP 0 RP0 CPU0 router config class map qosgroup5 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 pm...

Страница 33: ...s all packets with the specified discard class value max threshold Optional Units for the threshold values Values can be bytes bytes gbytes gigabytes kbytes kilobytes mbytes megabytes ms milliseconds packets packets default us microseconds units Command Default Default unit for max threshold and min threshold is packets Command Modes Policy map class configuration Command History Modification Rele...

Страница 34: ... 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 28 QoS Classification Commands random detect discard class ...

Страница 35: ... supported only in the ingress direction Only unconditional COS marking in the ingress direction is supported Task ID Operations Task ID read write qos Examples In this example the policy map called cos set is created to assign different CoS values for different service classes and then is attached to the output interface HundredGigE 0 0 0 3 RP 0 RP0 CPU0 router config policy map cos set RP 0 RP0 ...

Страница 36: ...further downstream when there is congestion Task ID Operation Task ID read write qos Examples In this example 802 1ad CoS plus DEI is derived from the incoming 802 1q CoS Packets with a CoS value of 0 are remarked with a DEI value of 1 RP 0 RP0 CPU0 router config class map match any remark cos RP 0 RP0 CPU0 router config cmap match cos 0 RP 0 RP0 CPU0 router config cmap exit RP 0 RP0 CPU0 router c...

Страница 37: ...te on the bit settings Discard class indicates the discard portion of the per hop behavior PHB The set discard class command is typically used in Pipe mode Discard class is required when the input PHB marking is used to classify packets on the output interface The set discard class command is supported only in the ingress direction Unconditional discard class marking is supported The discard class...

Страница 38: ...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 32 QoS Classification Commands set discard class ...

Страница 39: ... This command was introduced Release 6 0 Usage Guidelines After the DSCP bit is set other quality of service QoS services can then operate on the bit settings The set dscp is supported only in the ingress direction The network gives priority or some type of expedited handling to marked traffic Typically you set the DSCP value at the edge of the network or administrative domain data then is queued ...

Страница 40: ...S experimental marking is supported The network gives priority or some type of expedited handling to the marked traffic Typically the MPLS experimental value is set at the edge of the network or administrative domain and queuing is acted on it thereafter Task ID Operations Task ID read write qos Examples This example shows how to set the MPLS experimental to 5 for packets that match access list 10...

Страница 41: ...ess direction Unconditional precedence marking is supported The network gives priority or some type of expedited handling to the marked traffic IP precedence can be set at the edge of the network or administrative domain and have queueing act on it thereafter The mapping from keywords such as 0 routine and 1 priority to a precedence value is useful only in some instances That is the use of the pre...

Страница 42: ...dence 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 36 QoS Classification Commands set precedence ...

Страница 43: ...ingress direction The set qos group will be used as internal priority to choose the queue on the egress port In the ingress policy map in order to designate the traffic class to a certain CoSQ other than CoSQ 0 the class map needs to have an explicit set qos group x statement where x is the CoSQ in the range of 0 to 7 The default COSQ is 0 In the egress policy map a class map with a corresponding ...

Страница 44: ...0 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 54...

Страница 45: ... Guidelines The shape average command is supported only in the egress direction When you use the shape average command egress shaping is done at the Layer 1 level and includes the Layer 1 header in the rate calculation The minimum shape rate is 469 kbps If you have both shape and bandwidth configured for a class ensure that the shape percent value is always greater than the percent value for bandw...

Страница 46: ...0 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 40 QoS Classification Commands shape average ...

Страница 47: ...ly to only the Cisco NCS 5500 Series Router Note This chapter describes the commands used to manage congestion decapsulate gre on page 42 police rate on page 43 policy map on page 45 priority QoS on page 47 vrf policy on page 48 show qos interface on page 49 show policy map interface on page 55 show policy map targets on page 60 show policy map type pbr on page 62 Modular QoS Command Reference for...

Страница 48: ... History Modification Release This command was introduced Release 6 0 1 Usage Guidelines This command applies only to the incoming IPv4 packets only Task ID Operations Task ID read write qos Examples 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 C...

Страница 49: ...for information on how to use this keyword percent percentage Optional Specifies the burst size in the specified burst units The default burst value is 10 milliseconds of the CIR The maximum burst value allowed is 4194304 bytes burst burst size Optional Unit of measurement for the burst values Values can be bytes bytes default gbytes gigabytes kbytes kilobytes mbytes megabytes ms milliseconds us m...

Страница 50: ...QoS Configuration Guide for Cisco NCS 5500 Series Routers A police rate minimum of 21 kbps is supported Note Task ID Operations Task ID read write qos In this example for MPLS traffic policing is configured with the average rate at 250 kbps and the normal burst size at 50 bytes for all packets leaving HundredGigE interface 0 1 0 0 RP 0 RP0 CPU0 router config class map class1 RP 0 RP0 CPU0 router c...

Страница 51: ...s Use the policy map command to specify the name of the policy map to be created added to or modified before you can configure policies for classes whose match criteria are defined in a class map Entering the policy map command enables policy map configuration mode in which you can configure or modify the class policies for that policy map You can configure class policies in a policy map only if t...

Страница 52: ...ches access control list 136 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...

Страница 53: ...sensitive data such as voice to be dequeued and sent before packets in other queues are dequeued The priority command is supported only in the egress direction No policer is allowed with a priority class To limit the priority traffic use the shape average command The priority command sets up classes based on a variety of criteria not just User Datagram Protocol UDP ports and assigns a priority to ...

Страница 54: ...troduced Release 6 0 1 Usage Guidelines This command is supported with sub mode This command applies only to the incoming IPv4 packets only Use this command to apply a PBR policy on a per VRF basis during the classification and decapsulation of GRE packets Task ID Operations Task ID read write qos Examples This example shows how to apply an already configured policy on a per VRF basis Configuring ...

Страница 55: ...ent is entered in the rack slot module notation location node id Command Default No default behavior or values Command Modes XR EXEC mode Command History Modification Release This command was introduced Release 6 0 Usage Guidelines The show qos interface command displays configuration for all classes in the service policy that is attached to an interface Use this command to check the actual values...

Страница 56: ...lass Level1 Class exp classifier af4 New topmost exp 3 Default Policer Bucket ID 0x102a3 Default Policer Stats Handle 0x8b3046a8 Policer not configured for this class Level1 Class exp classifier be1 New topmost exp 4 Default Policer Bucket ID 0x102a4 Default Policer Stats Handle 0x8b304458 Policer not configured for this class Level1 Class inet4 classifier af1 New qos group 1 Default Policer Bucke...

Страница 57: ...et ID 0x102ac Default Policer Stats Handle 0x8b3031d8 Policer not configured for this class Level1 Class inet6 classifier af3 New qos group 3 Default Policer Bucket ID 0x102ad Default Policer Stats Handle 0x8b302f88 Policer not configured for this class Level1 Class inet6 classifier af4 New qos group 4 Default Policer Bucket ID 0x102ae Default Policer Stats Handle 0x8b302d38 Policer not configured...

Страница 58: ...efault Policer Stats Handle 0x8b301d08 Policer not configured for this class Level1 Class inet classifier ipv6 af6 New qos group 6 Default Policer Bucket ID 0x102b6 Default Policer Stats Handle 0x8b301ab8 Policer not configured for this class Level1 Class inet management classifier af4 New qos group 7 Default Policer Bucket ID 0x102b7 Default Policer Stats Handle 0x8b301868 Policer not configured ...

Страница 59: ... queue Queue Max BW 0 kbps default TailDrop Threshold 125304832 bytes 10 ms default WRED not configured for this class Level1 Class HP6 qos 2 Egressq Queue ID 11178 HP6 queue Queue Max BW 0 kbps default TailDrop Threshold 125304832 bytes 10 ms default WRED not configured for this class Level1 Class class default Egressq Queue ID 11176 Default LP queue Queue Max BW 101803495 kbps default Queue Min ...

Страница 60: ...rse value Note Inverse Weight Weight Number of bytes taildropped for this queue and the default user configured queue limit expressed in milliseconds user configured unit TailDrop Threshold Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers 54 Congestion Management Commands show qos interface ...

Страница 61: ...statistics on inbound traffic for the specified policy map and interface input Optional Displays per class statistics on outbound traffic for the specified policy map and interface output Command Default None Command Modes XR EXEC mode Command History Modification Release This command was introduced Release 6 0 Usage Guidelines The show policy map interface command displays the statistics for clas...

Страница 62: ... Matched 38796901 14695393569 1580677 Transmitted 38796901 14695393569 1580677 Total Dropped 0 0 0 Class inet4 classifier af2 Classification statistics packets bytes rate kbps Matched 38850080 14715510334 1589124 Transmitted 38850080 14715510334 1589124 Total Dropped 0 0 0 Class inet4 classifier af3 Classification statistics packets bytes rate kbps Matched 38757080 14679867944 1580632 Transmitted ...

Страница 63: ...810 2415137 Total Dropped 0 0 0 Class inet classifier ipv6 af1 Classification statistics packets bytes rate kbps Matched 0 0 0 Transmitted 0 0 0 Total Dropped 0 0 0 Class inet classifier ipv6 af2 Classification statistics packets bytes rate kbps Matched 0 0 0 Transmitted 0 0 0 Total Dropped 0 0 0 Class inet classifier ipv6 af3 Classification statistics packets bytes rate kbps Matched 0 0 0 Transmi...

Страница 64: ...097766449 37758302 Queueing statistics Queue ID 10409 Taildropped packets bytes 586133497 596097766449 Class qos grp2 Classification statistics packets bytes rate kbps Matched 0 0 0 Transmitted 0 0 0 Total Dropped 0 0 0 Queueing statistics Queue ID 10410 Taildropped packets bytes 0 0 Class class default Classification statistics packets bytes rate kbps Matched 1487720301 1513011546117 98203543 Tra...

Страница 65: ...ts or bytes that violated the police rate for this class Policed violate Number of packets or bytes dropped by the policer of this class Policed and dropped Queuing statistics VOQ number of the packet in this class Queue ID Number of bytes taildropped for this queue Taildropped bytes Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers 59 Congestion Management C...

Страница 66: ...duced Release 6 0 Usage Guidelines For a short period of time while a QoS policy is being modified there might not be any policy in effect on the interfaces in which the modified policy is used For this reason modify QoS policies that affect the fewest number of interfaces at a time Use the show policy map targets command to identify the number of interfaces that will be affected during policy map...

Страница 67: ...tput HundredGigE0 6 0 19 output HundredGigE0 6 0 1 output HundredGigE0 6 0 3 output HundredGigE0 6 0 4 output HundredGigE0 6 0 5 output HundredGigE0 6 0 6 output HundredGigE0 6 0 7 output HundredGigE0 6 0 8 output HundredGigE0 6 0 9 output 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 outpu...

Страница 68: ...ask ID Operations Task ID read qos Examples This example shows how to view details of the configured PBR policy and related statistics Configuring a VRF RP 0 RP0 CPU0 router config vrf gre vrf address family ipv4 unicast 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 ip...

Страница 69: ...es in Command History tables apply to only the Cisco NCS 5500 Series Router Note This chapter describes commands used to avoid congestion Congestion avoidance is achieved through packet dropping bandwidth QoS on page 64 bandwidth remaining on page 66 queue limit on page 68 random detect on page 71 service policy interface on page 73 Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco...

Страница 70: ...Usage Guidelines The bandwidth command is used to specify the minimum guaranteed bandwidth allocated for traffic matching a particular class Bandwidth may be defined as a specific value or may be set as a percentage of the interface bandwidth If a percentage value is set the accuracy that can be expected is 1 percent The bandwidth command is supported only in the egress direction A policy map can ...

Страница 71: ... 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 65 Congestion Avoidance ...

Страница 72: ...6 0 Usage Guidelines Bandwidth bandwidth remaining shaping queue limit and WRED commands can be configured together in the same class The bandwidth remaining command is supported only in the egress direction Note The available bandwidth is equally distributed among those queueing classes that do not have the remaining bandwidth explicitly configured The bandwidth remaining command is used to propo...

Страница 73: ...ercent 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 67 Congestion Avoidance Commands bandwidth remaining ...

Страница 74: ... based on the assumption that a port takes 40 milli seconds of buffering at port rate This option was introduced in Release 6 1 2 percent Command Default The default value is 10 milliseconds for all queues including the high priority queues Command Modes Policy map class configuration Command History Modification Release This command was introduced Release 6 0 Usage Guidelines When configuring the...

Страница 75: ...o compute the queue limit These restrictions apply to queue limits For releases before Release 6 3 2 the queue limit should be at least the maximum MTU size which is fixed at 9 1024 bytes 9kb From Release 6 3 2 onwards the minimum queue limit is the interface MTU which is dynamically configured Queue limit should be 3 GB which is the maximum packet buffer size in ingress and egress queuing ASICs O...

Страница 76: ...s 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 70 Congestion Avoidance Commands queue limit ...

Страница 77: ...icroseconds units Command Default Default unit for max threshold and min threshold is packets Command Modes Policy map class configuration Command History Modification Release This command was introduced Release 6 0 Usage Guidelines The RED congestion avoidance technique takes advantage of the congestion control mechanism of TCP By randomly dropping packets before periods of high congestion RED te...

Страница 78: ...ervice rate is used to calculate the thresholds in bytes For bundles queue limit and WRED thresholds are supported in time units only Task ID Operations Task ID read write qos Examples 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 R...

Страница 79: ...e service policy for those interfaces The class policies composing the policy map are then applied to packets that satisfy the class map match criteria for the class To apply a new policy to an interface you must remove the previous policy A new policy cannot replace an existing policy Task ID Operations Task ID read write qos Examples This example shows policy map policy2 applied to HundredGigabi...

Страница 80: ...ther1 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 74 Congestion Avoidance Commands service policy interface ...

Страница 81: ... 2 References to earlier releases in Command History tables apply to only the Cisco NCS 5500 Series Router Note This chapter describes the commands used to manage hierarchical modular QoS hw module profile qos hqos enable on page 76 hw module profile qos max trunks hw module profile bundle scale on page 77 Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers 75 ...

Страница 82: ... mode Command History Modification Release This command was introduced Release 6 3 1 Usage Guidelines After enabling H QoS profile the router must be reloaded Task ID Operation Task ID read write qos 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 R...

Страница 83: ... interfaces each containing up to 64 member links Command Modes XR Config mode Command History Modification Release This command was introduced Release 6 3 1 The hw module profile qos max trunks 256 512 1024 command is replaced with the hw module profile bundle scale 256 512 1024 command Release 6 5 1 Usage Guidelines The router must be reloaded for the hw module command to be functional Task ID O...

Страница 84: ...Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers 78 Hierarchical Modular QoS Commands hw module profile qos max trunks hw module profile bundle scale ...

Отзывы: