`
`."'I-‘",
`
`’_
`
`4
`
`Cisco Nexus 7000 Series NX-OSQuality of
`Service Configuration Guide
`April 2014
`
`Ciseo Systems, Inc.
`www.cisco.c0m
`
`Cisco has more than 200 offices worldwide.
`Addresses. phone numbers, and fax numbers
`are listed on the Cisco website at
`www.cisco.com/go/offices.
`
`Text Part Number: UL-2337963
`
`
`Exhibit 2020
`IPR2016-00309
`
`
`
`THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WI'I'HOU'I' NOTICE. ALL
`STATEME\ITS, INFORMATION, AND RECOMMENDATIONS IN 'I'HIS MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE PRESENTED WITHOUT
`WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. USERS MUST TAKE FULL RESPONSIBILITY FOR THEIR APPLICATION OF ANY PRODUCTS.
`
`THE SOFTWARE I JCENSF. AND LIMITED WARRANTY FOR TIIE ACCOMPANYING PRODLCT ARE SET FORTH IN THE INFORMATION PACKET TIIAT
`SHIPPED WITH THE PRODUCT AND ARE INCORPORATED HEREIN BY TIIIS REFERENCE. IF YOU ARE UNABLE TO LOCATE THE SOFTWARE LICENSE
`OR LIMITED WARRANTY, CONTACT YOUR CISCO REPRESENTATIVE FOR A COPY.
`
`The Ciseo implementation of TCP header compression is an adaptation of a program developed by the Ifniversity of California, Berkeley (UCB) as part of UCB’s public
`domain version ofthe UNIX operating system. All rights reserved. Copyright © l98l, Regents of the University of California.
`
`NOTWITIISTANDING ANY OTHER WARRANTY HEREIN, ALL DOCUMENT FILES AND SOFTWARE OF THESE SUPPLIERS ARE PROVIDED “AS IS" WITH
`ALL FAULTS. CISCO AND THE AEOVE-NAMED SUPPLIERS DISCLAIM ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDNG, WITHOUT
`LIMITATION, THOSE OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OR ARISING FROM A COURSE OF
`DEALING, USAGE, OR TRADE PRACTICE.
`
`IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, OR INCIDEN'I'AL DAMAGES, INCLUDING,
`WITHOUT LIMITATION, LOST PROFI I S OR LOSS OR DAMAGE TO DATA ARISING OUT OFTHE USE OR INABILITY TO USE THIS MAN UAL, EVEN II‘ CISCO
`OR ITS SUPPLIERS IIAVE BEEN ADVISED OF THE POSSIBILITY OI‘ SUCH DAMAGES.
`
`Cisco and the Ciseo logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Ciseo trademarks, go to this
`URL: www.ciseo.er>m/go/trademarks. Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply 21partnership
`relutionslnp between Cisco and any other company. (1 I IOR)
`
`Any Internet Protocol (IP) addresses used in this document are not intended to he actual addresses. Any examples, command display output. and Ilgures included in the
`document are shown for illustrative purposes only. Any use of actual IP addresses in illustrative content is unintentional and coincidental.
`
`Ctsco Nexus 700!) SEFIESNX-OS Quality ufService Configuration Guide
`2009-2014 Cisco Systems, Inc. All rights reserved.
`
`
`
`REVIEW DRAFT—ClSCO CONFIDENTIAL
`
`_
`
`I
`
`. Sf
`' Mi
`' i
`‘
`."
`- T
`
`-_
`
`-
`
`' 1. c §ct.o|1-as
`\
`-
`1.
`
`i
`
`-
`
`-
`__,
`-:v-i-
`5;
`1
`'
`in-...,,
`7f"_::-
`'.._=:
`UL
`’“
`E111:--';-‘I-qi§'_=" an "‘ " I
`'
`I
`_ q
`-1:111:-=:=:'-i"'
`14411-'
`.-‘_=;r-:-."
`‘_-,.
`-.
`=;;=
`iii
`i
`;
`:.....--I---_-‘n-1‘
`_
`1;i
`‘HT
`1-; ;.r,_ -
`,
`‘.1
`,t_ , km __ :1::::::::::%_~
`"
`B*,§|,:,,__=f_-I
`'_~--1» -1_ _’,.- _,,_.,,__-.—
`— -3-
`" .
`
`1| mm
`_li mull
`Ilillllll
`,,,,
`ml
`|~ul|||
`nnluu
`"pusltlli
`IlI_I|l_Il
`'3;
`imluié
`- -—— -~ 1,
`
`--_.
`
`New and Changed lniiormatinn
`
`1-xi
`
`Audience
`
`xiii
`
`Organization
`
`xiii
`
`Document Conventions
`
`Heiated Documentation
`
`xiv
`
`xv
`
`xvi
`
`Documentation Feedback
`
`xvii
`
`Obtaining Documentation, Obtaining Support, and Security Guidelines
`
`xvii
`
`CHAPTER 1
`
`o\IBf\|'iEW
`
`1-1
`
`Information About OoS Features
`
`1-1
`
`Using OoS
`Classification
`
`1-2
`
`1-2
`
`Marking
`Mutation
`
`1-3
`1-3
`
`Policing
`
`1-3
`
`Oueuing and Scheduling
`Sequencing of OoS Actions
`
`1-3
`1-4
`
`Sequencing of ingress Traffic Actions
`
`Sequencing of Egress Traffic Actions
`
`1-4
`
`1-4
`
`High Avaiiability Requirements for OoS Features
`
`1-5
`
`OoS Feature Configuration with MOC 1-5
`
`OoS Statistics
`
`1-5
`
`Default OoS Behavior
`
`145
`
`O03 Policies on Fabric Extenders
`
`1-5
`
`CHAPTER 2
`
`|.|SiI'lQ Mlldlllfll‘
`
`Z-'|
`
`Finding Feature information
`
`2-1
`
`information About MOO 2-1
`
`Licensing Hequirements for Using MOB Objects
`
`2-2
`
`Using an MOE Object
`
`Type qos Policies
`
`2-3
`
`2-it
`
`| 78-11:11!-xx
`
`_
`
`Ciscu Nnxui TIJIIIDSeries NX-I15Quality oi Service Configuration Guide
`
`1
`
`
`
`I
`
`Contents
`
`REVIEW DRAFT—CI-SCO CUNFIDENTIAL
`
`Type Queuing Policies
`
`2-5
`
`System-Defined MCC Objects
`
`2-1
`
`Configuring an MEICUbiect
`
`2-1n
`
`Configuring or Modifying a Class Map
`
`Configuring or Modifying a Table Map
`
`2-11
`
`2-13
`
`Configuring or Modifying a Policy Map
`
`2-14
`
`Applying Descriptions to MDC Objects
`
`2-15
`
`Verifying an MDC Object
`
`2-17
`
`Attaching and Detaching a EloS Poficy Action
`
`2-1?
`
`Attaching a C-oSPolicy Action to an Interface or Tunnel
`
`2-15
`
`Attaching a l1oS Policy Action to a VLAN 2-211
`
`Session Manager Supportfor [loS
`
`2-21
`
`Feature History for Using Modular (1oS CLI
`
`2-21
`
`xf
`
`ConfiguringClassification3-1
`Finding Feature Information
`3-1
`
`Information About Classification
`
`3-1
`
`Licensing Heouirements for Classification
`
`3-3
`
`Prerequisites for Classification
`
`:1-3
`
`Guidelines and Limitations
`
`3-3
`
`Configuring Traffic Classes
`
`3-4
`
`Configuring ACLClassification
`
`3-4
`
`Configuring a Deny ACE
`
`3-5
`
`Configuring DSCP Classification
`
`3-s
`
`Configuring IP Precedence Classification
`
`3-1!
`
`Configuring Protocol Classification
`
`3-111
`
`Configuring l1oS Group Classification
`
`3-11
`
`Configuring Discard Class Classification
`
`3-12
`
`Configuring Layer 3 Packet Length Classification
`
`3-13
`
`Configuring CoS Classification
`
`3-14
`
`Configuring IP RTP Classification
`
`3-15
`
`Configuring Class Map Classification
`
`3-ifi
`
`Verifying the Classification Configuration
`
`3-11!
`
`Configuration Examples for Classification
`
`3-13
`
`Feature History for Classification
`
`3-1s
`
`CHAPTER4
`
`Configuring Marking
`
`4-1
`
`Finding Feature Information
`
`4-1
`
`I
`
`Bison Nexus 1000Series NI-US flunlity nf§5rrice ConfigurationGuido
`
`73-Jlxxxx-xx
`
`
`
`REVIEW DIi'AFT—CISCO CONFIDENTIAL
`
`Contents I
`
`information About Marking
`
`4-1
`
`Licensing Requirements for Marking
`
`4-2
`
`Prerequisites for Marking
`
`4-2
`
`Guidelines and Lirnitations
`
`4-3
`
`Configuring Marking
`
`4-3
`
`Configuring DSCP Marking
`
`4-3
`
`Configuring lP Precedence Marking
`
`4-5
`
`Configuring CoS Marking
`
`4-1
`
`Configuring E105Group Marking
`
`4-7
`
`Configuring Disearcl Class Marking
`
`4-B
`
`Configuring ingress and Egress Marking
`
`4-1o
`
`Configuring DSCP Port Marking
`
`4-10
`
`Configuring Table Maps for Use in Marking
`
`4-12
`
`Configuring Marking Using Table Maps
`
`4-13
`
`Verifying the Marking Configuration
`
`4-15
`
`Configuration Examplesfor Marking
`
`4-15
`
`Feature History for Marking
`
`4-15
`
`emu-Tea 5
`
`Configuring Mutation Mapping
`
`5-1
`
`Finding Feature information
`
`5-1
`
`information About Mutation Mapping
`
`5-1
`
`Licensing Requirements for Mutation Mapping
`
`5-2
`
`Prerequisites for Mutation Mapping
`
`5-2
`
`Guidelines and Limitations
`
`5-3
`
`Configuring Mutation Mapping
`
`5-3
`
`Verifying the Mutation Mapping Configuration
`
`Configuration Examples for Mutation Mapping
`
`5-5
`
`5-5
`
`Feature History for Mutation Mapping
`
`5-6
`
`cl-|AP1'en6
`
`Configuring Policing
`
`6-1
`
`Finding Feature information
`
`Ii-‘I
`
`Information About Policing
`Shared Policers
`6-2
`
`5-1
`
`Licensing Flequirements for Policing
`
`6-2
`
`Prerequisites for Policing
`
`a-2
`
`Guidelines and Limitations
`
`6-3
`
`Configuring Policing
`
`5-3
`
`i
`
`II-xxxxx-xx
`
`Cisco Nouns 7lJ|]0Series NX-OSQuality oi Se wig Configuration Guido
`
`‘II
`
`
`
`I
`
`Contents
`
`REVIEW DRAF'l"—ClSCO CONFIDENTIAL
`
`Configuring 1-Rate and 2-Hate, 2-Color and 3-Color Policing
`
`s-4
`
`Configuring Color-Aware Policing
`
`6-B
`
`Configuring ingress and Egress Policing
`
`s-13
`
`Configuring Markdown Policing
`
`6-13
`
`Configuring Shared Poiicers
`
`6-15
`
`Verifying the Policing Configuration
`
`6-18
`
`Configuration Examples for Policing
`
`B-111
`
`Feature History for Policing
`
`6-19
`
`Configuring Fabric Q05 Mapping
`
`1-1
`
`Finding Feature information
`
`1-1
`
`information About Fabric Q08 Mapping
`
`1-1
`
`CQS-to-Queue Fabric Mapping
`
`1-2
`
`ingress Buffer Policy
`
`1-2
`
`Egress Queue Bandwidth Allocation
`
`1-2
`
`Guidelines and Limitations
`
`1-3
`
`Configuring Fabric QoS Mapping
`
`1-3
`
`Copying a Default Policy
`
`1-:1
`
`Configuring Cos2q Fabric Mapping
`
`1-4
`
`Configuring ingress Buffer Policy
`
`1-5
`
`Configuring Egress Queue Bandwidth Allocation
`
`1-11
`
`Configuring the new User-defined Policy on Fabric
`
`1-I1
`
`Configuration Examples for Fabric QoS Mapping
`
`1-B
`
`Example: Copying Default Policy to Create a new User-defined ingress and Egress Policy
`
`1-9
`
`Example: Configuring Cos2q Fabric Mapping
`
`1-9
`
`Example: Configuring the User-defined Policy on Fabric
`
`1-9
`
`Example: Verifying System Fabric Configuration
`
`1-9
`
`Example: Verifying the QoS Mapping on Fabric
`
`1-1|!
`
`Feature History for Fabric QoS Mapping
`
`1-11
`
`Configuring Queuing and Scheduling
`
`I-1
`
`Finding Feature information
`
`11-1
`
`information About Queuing and Scheduling
`
`8-1
`
`Setting ingress Port CoS
`
`11-3
`
`Modifying Class Maps
`
`8-3
`
`Congestion Avoidance
`Congestion Management
`
`B-3
`ll-1
`
`Vlrtuaiization Support
`
`11-4
`
`r
`
`Bison Nexus
`
`Series IllX-USDuality oi Service Configuration Guide
`
`‘ll-xxxxx-xx
`
`
`
`I
`
`Contents I
`
`REVIEW DRAFT—CISCO CONFIDENTIAL
`
`Licensing Fleouirements for Queuing and Scheduling
`
`B-4
`
`Prerequisites for Queuing and Scheduling
`
`B-4
`
`Guidelines and Limitations
`
`8-5
`
`Configuring Queuing and Scheduling
`
`11-5
`
`Configuring ingress Port CoS
`
`8-6
`
`Modifying Queuing Class Maps for COS
`
`a-a
`
`Modifying Queuing Class Maps for DSCP
`
`11-1n
`
`Configuring Congestion Avoidance
`
`a-11
`
`Configuring Tail Drop by CQS Values
`
`11-12
`
`Configuring Tail Drop by DSCP Values
`
`11-14
`
`Configuring WFIED by COS Values
`
`s-15
`
`Configuring WFiED by DSCP Values
`
`8-‘I9
`
`Configuring Congestion Management
`
`B-22
`
`Configuring Bandwidth and Bandwidth Remaining
`
`1!-23
`
`Configuring Priority
`
`9-5
`
`Configuring Shaping
`
`1!-27
`
`Configuring Queue Limits
`
`9-29
`
`Enabling DSCPto Queue Mapping
`
`9-31
`
`Verifying the Queuing and Scheduling Configuration
`
`B-31
`
`Configuration Examples for Queuing and Scheduling
`
`B-32
`
`Example: Setting ingress Port CoS Configuration
`
`11-32
`
`Example: Priority and Queue Limit Configuration
`
`B-33
`
`Example: Shaping and fail ‘DropConfiguration
`
`Example: Bandwidth and WHED Configuration
`
`9-33
`
`11-:4
`
`Example: Verifying the Status of DSCP-to-queue Mapping
`
`9-3-1
`
`Feature History for Queuing and Scheduling
`
`11-35
`
`cunrvrzn 9
`
`Configuring Network Q08
`
`9-1
`
`Finding Feature Information
`
`9-1
`
`Information About Network QoS
`
`9-1
`
`Licensing Requirements for Network QoS
`
`9-I
`
`Prerequisites for Network QoS
`
`5-ll
`
`Guidelines and Limitations
`
`9-9
`
`Configuring Network QoS Policies
`
`9-9
`
`Applying a Network QoS Policy on a Target
`
`9-13
`
`Verifying the Network QoS
`
`9-14
`
`Configuration Examples for Network QoS
`
`9-15
`
`Feature History for Network QoS
`
`9-15
`
`I1=-»-»---
`
`Cigar:Nexus I
`
`r
`
`Sarina NX-USDuality of Service Cnlrliguration Gui||_e
`
`J1
`
`
`
`I
`
`Cuntor|1s
`
`REVIEW DRAFT—CISCO CONFIDENTIAL
`
`cl-iru='r5n 1°
`
`Configuring Queuing and Scheduling on F-Series U0 Modules
`
`10-1
`
`Finding Feature information
`
`10-1
`
`Information About Queuing and Scheduling
`
`tn-1
`
`ingress Queuing
`Egress Queuing
`
`1o-3
`1-1
`
`Licensing Requirements for Queuing and Scheduling
`
`to-9
`
`Prerequisites for Queuing and Scheduling
`
`1|!-9
`
`Guidelines and Limitations
`
`1o-1o
`
`Configuring Queuing and Scheduling
`
`to-11
`
`Configuring an ingress Queuing Policy
`
`1o-12
`
`Configuring an Egress Queuing Policy
`
`111-14
`
`Enabling DSCP to Queue Mapping
`
`to-15
`
`Verifying the Queuing and Scheduling Configuration
`
`to-11
`
`Configuration Examples for Queuing and Scheduling on F-Series Modules
`
`to-111
`
`Example: ingress Queuing Policy Configuration
`
`to-19
`
`Example: Egress Queuing Policy Configuration
`
`1o1e
`
`Example: Hierarchical Queuing Policy Configuration
`
`10-zo
`
`Example: Verifying the Status of DSCP-to-queue Mapping
`
`to-zo
`
`Feature History for Queuing and Scheduling for F-Series Modules
`
`to-21
`
`CHAPTER 11
`
`Configuring Priority Flow Control
`
`11-1
`
`Finding Feature Information
`
`11-1
`
`Information About Priority Flow Control
`
`11-1
`
`Licensing Requirements for Priority Flow Control
`
`11-2
`
`Prerequisites
`
`for Priority Flow Control
`
`11-2
`
`Guidelines and Lirnitations
`
`11-2
`
`Default Settings for Priority Flow Control
`
`11-3
`
`Configuring Priority Flow Control
`
`11-3
`
`Verifying the Priority Flow Control Configuration
`
`Configuration Examples for Priority Flow Control
`
`11-4
`
`11-I
`
`Feature History for Priority Flow Control
`
`11-5
`
`cunrrun ‘I2
`
`Configuring Local Policy-Based Flouting
`
`12-1
`
`Finding Feature Information
`
`12-1
`
`Information About Local Policy-Based Ftouting
`
`12-1
`
`12-2
`Route Maps
`Match Criteria
`
`12-2
`
`Disco Nexus 7000Series NI-OS Quality nl Service Configuration Guide
`
`7
`
`‘Ill-Jnurxx-xx
`
`m‘
`
`
`
`REVIEW DRAI-'T—CISCO CONFIDENTIAL
`
`Comants
`
`I
`
`Set Changes
`
`12-2
`
`Licensing Requirements for Local Policy-Based Routing
`
`12-3
`
`Prerequisites for Local Policy-Based Routing
`
`12-3
`
`Guidelines and Limitations
`
`12-3
`
`Default Settings for Local Policy-Based Routing
`
`12-3
`
`Configuring Local Policy-Based Routing
`
`12-4
`
`‘Configuring Route Maps
`
`12-4
`
`Enabling the Policy-Based Routing Feature
`
`12-5
`
`Configuring a Local Route Policy
`
`12-6
`
`Verifying the Local Policy-Based Routing Configuration
`
`12-1
`
`Configuration Examples for Local Policy-Based Routing
`
`12-I
`
`Feature History for Local Policy-Based Routing
`
`12-11
`
`cl-|APTEn13
`
`Monitoring I105 Statistics
`
`13-1
`
`Finding Feature Information
`
`13-1
`
`Information About DoS Statistics
`
`13-1
`
`Licensing Requirements for Monitoring CloSStatistics
`
`13-1
`
`Prerequisites for Monitoring [loS Statistics
`
`13-3
`
`Enabling Statistics
`
`13-3
`
`Monitoring the Statistics
`
`13--1
`
`ClearingStatistics
`
`13-5
`
`Configuration Examples For Monitoring [loS Statistics
`
`13-5
`
`Feature History for Statistics
`
`13-B
`
`at-1-sun-X A
`
`Configuration Limits for Ci:-co NX-OS Quality of Service Configuration Features. Release 6.0 A-1
`
`Amrenrnrx B
`
`Additional References
`
`B-1
`
`Related Documents
`
`B-1
`
`RFCs
`
`B-1
`
`|
`
`It!-xxxxrrr-xx
`
`Disco Nexus ‘IDIJIJSeries NX-OS Duality of Service Configuration Guide
`
`'1
`
`
`
`I
`
`Contents
`
`REVIEW DRAFT-—CISCO CONFIDENTIAL
`
`Ii‘
`
`Ciscu Nexus 7000Series NX-OSDuality of Service Configuration Guide
`
`78-xxxxx-xx
`
`
`
`ia
`
`t mm
`|; unit
`‘I4mm
`|_ mm
`r-mm
`_ _-‘- ~ =....t.l.
`~-
`,..,-it
`;-Eu:::::::
`
`i
`
`1 *3“
`Lg
`
`= -
`
`-
`
`-|--._‘:f-‘— '
`a;:::::::-::::::
`=*;::.--~;-_---
`l.
`yardrltaa;;a===5=5§z:e-.1;
`_
`____
`-
`
`-
`
`,
`
`.
`
`.‘
`t
`
`_
`
`.
`
`., Ft
`"11
`
`'i\ H l-
`
`‘I
`
`.
`.
`
`in
`
`';
`
`.
`
`.
`
`‘ ‘
`
`* l
`.,
`.,
`:_,.,
`,;..1.-._-
`'
`‘
`‘
`=-~'-{,4 ‘it.’-X“
`7"
`'
`
`’
`;_-.;l-e?»
`,
`v_",-115%-M1.
`if
`'
`
`New and Changed Information
`
`This chapter provides release-specific information for each new and changed feature in the Cisco Nexus
`7000 Series NX-OS Quality of.S'ervice Cottfigur-nrion Guide, Release 6.x. The latest version of this
`document is available at the following Cisco website:
`http:Hwww.cisco.com!ent'USfdocs/'switchesldatacenter/swf6_tu'nx—osfqosfconfigurationlguidelnx-os_qo
`s_book.html
`To check for additional information about Cisco NX-OS Release 6.x, see the Clsco NX-OS Release
`Notes, which is available at the following Cisco website:
`http:Ilwww.eisco.com/en/US{productsips94l)2.'prod_release_notes_list.html
`Table l summarizes the new and changed features for the Cfsco Nexus 7000 Series NX-OS Quality of
`Service Configuration Guide, and tells you where they are documented. Your software release might not
`support all the features in this document. For the latest caveats and feature information, see the Bug
`Search Tool at https:Htools.c~iscocomfbugsearehf and the release notes for your software release.
`
`Table 1'
`
`New and Changed Features
`
`Feature
`
`Fabric QoS Mapping
`
`l
`
`K
`Description
`The Fabric Q08 Mapping feature
`allows copying the default
`configuration and modifying the
`copied system queues that perform
`flow control on fabric traffic
`within the Cisco NX-OS device.
`
`Changed in
`Release
`62(2)
`
`Where Documented
`
`Chapter '5',“Configuring
`Fabric QoS Mapping"
`
`4qSq policy template
`that support S egress
`queues
`
`s Four 4q8q policy templates that
`support eight egress queues on the
`‘Cisco Nexus 7710 switch and
`Cisco Nexus 7718 switch only.
`
`62(2)
`
`Local Policy-Based
`Rotltlng (PER)
`
`You can now configure local
`policy—based routing.
`
`default—nq-Se-4q4q
`policy template for F2
`modules
`
`The defaultnq~8e-4q4q-policy
`template supports four ingress
`buffers.
`
`62(2)
`
`6.l(3)
`
`Chapter 9, “Configuring
`Network Q05” and
`Chapter 10,
`“Configuring Queuing
`and Scheduling on
`F-Series I/O Modules”
`
`Chapter 12,
`“Configuring Local
`Policy-Based Routing”
`Chapter 10,
`"Configuring Queuing
`and Scheduling on
`F-Series I/O Modules”
`
`I ut-utazsaut
`
`_
`
`Giseo Nexus TlltltlSeries lllll-OSQuality of Service Gonliguration Guide
`
`1
`
`
`
`
`illew alttl Changed lnfumtatinn
`
`‘Where Documented
`
`Chapter IO,
`“Configuring Queuing
`and Scheduling on
`F~Series L'O Modules"
`
`Chapter 9, “Configuring
`Network Q05” and
`‘Chapter l0,
`“Configuring Queuing
`and Scheduling on
`F-Series I/O Modules“
`
`Chapter ll,
`“Configuring Priority
`Flow Control"
`
`Chapter l, “Overview”
`
`lChapter 3, “Configuring
`Classification"
`
`Chapter 5, “Configuring
`Mutation Mapping”
`
`Chapter 2, “Using
`Modular Q08 CLI,"
`Chapter 4, “Configuring
`Marking,“Chapter 5,
`“Configuring Mutation
`Mapping,”Chapter 6,
`“Configuring
`Policing,"Chapter 8,
`“Configuring Queuing
`and Scheduling"
`
`Table 1‘
`
`New and Changed Features
`
`Feature
`
`Description
`
`DSCP mapping for F2 Support for DSCP mapping for F2
`modules
`modules
`
`Changed in
`Release
`s.1(t)*
`
`Network Q05 policy
`
`Priority flow control
`[PFC]
`
`Fabric Extender
`(FEX) support
`Match IPv6 ACLs.
`
`You can now configure a network
`qos policy, which defines the
`characteristics of each C05 that is
`applicable network wide, across
`virtual device contexts (VDCs),
`and switches.
`
`You can now configure PFC,
`which prevents frame loss that is
`‘due to congestion.
`You can now configure QoS
`policies on the FEX interfaces.
`You can now match IPv6, as well
`as IPv4, addresses.
`
`You can match only the sarne
`Only same variable
`for mutation mapping variable with different values for
`mutation mapping.
`The qos-dynamic variable lists
`already configured class-map and
`policy-map names.
`
`Added qos-dynamic
`variable
`
`5.l(i)
`
`5.l(l)
`
`5.l(l)
`
`141(2)
`
`751.1(2)
`
`42(1)
`
`Support for Session
`Manager
`
`Allows you to verify the
`configuration and required
`resources prior to committing
`them to the running configuration.
`
`l4.2(1)
`
`E‘
`
`Ciscu Nexus 7000 Series NX-O5Ollnlitv of Sentice Configuration Guide
`
`i
`
`i
`
`at-19325411
`
`I
`
`
`
`"
`
`-ll |
`‘::
`I.
`
`~
`
`,1 _"
`:2
`
`_.- ..
`_.“la
`rm _ =
`-‘-
`._
`
`‘
`
`§§.i§
`.'-‘
`
`I 3
`"
`-_
`I---,'."_':'_'"
`‘
`rt----;:L 22:‘
`-~»-:
`-12:.
`$3.5 t_
`:::;___
`___::g=;
`4% ;; ...-----
`---1-a---.
`_-
`ll“7:27r1'iI 2552253."?
`
`__
`‘qr mm .
`,
`.,
`‘r
`'1‘5 4,1,‘3-F1;
`5:,‘
`. ;:1:
`" __
`“
`
`-
`(
`-,r __.',, ‘t
`r:
`'f' ;_ ~_
`1.
`; 1
`,,
`
`r
`
`‘
`.ittJ
`'
`
`r
`
`‘
`
`,
`-
`“ ;
`"*9
`" *1*"' 7 -1.
`-if!-"=‘*;”“|‘.
`‘-1
`
`"
`
`.
`_
`
`.
`-K-"_
`
`.-
`
`.~
`“
`'*.. 1 >1
`:
`-
`- W-'
`'
`-
`:»"-
`
`J‘,
`
`-‘
`
`Preface
`
`_
`
`/’
`
`-‘
`\.
`
`.
`
`—
`
`i -,1?
`
`‘
`
`i-.-I
`1| mm
`
`yi nun
`numr
`I: mm
`| mun
`--A-I---'
`It -snrr
`Jrmm
`,,nmII=
`
`*1an
`’ETiti‘11
`
`This preface describes the audience. organization, and conventions of the Cisco Nexus 7000 Series
`NX-OS Quality ofService Corrfigrrrarion Guide. It also provides information on how to obtain related
`documentation.
`
`This chapter includes the following sections:
`
`v Audience, page xiii
`
`0 Organization, page xiii
`Q Document Conventions, page xiv
`
`" Related Documentation, page xv
`I Documentation Feedback, page xvii
`
`- Obtaining Documentation, Obtaining Support, and Security Guidelines. page xvii
`
`Audience
`
`This guide is for experienced network administrators who configure and maintain Cisco NX-OS devices.
`
`Organization
`This publication is organized as follows:
`
`Chapter
`New and Changed Information
`
`Chapter l, "Overview"
`
`Chapter 3, “Configuring Classification"
`
`Chapter 2. “Using Modular Q05 CLI"
`
`Chapter 4, “Configuring Marking”
`Chapter 5, “Configuring Mutation Mapping"
`
`Description
`Describes the new and changed information for
`each Cisco NX~OS software release.
`
`Provides an overview of quality of service (Q03)
`features.
`
`Describes how to configure the classification
`feature.
`
`iDescribes how to use Modular Q08 CLI (MQC) to
`define Q05 policies.
`Describes how to configure the marking feature.
`Describes how to configure the mutation feature.
`
`I
`
`ct-19025-n1
`
`Disco Nexus ?|]lJ0Series NX-USQuality oi Service Corrliguratinn Guide
`
`I
`
`
`
`Description
`
`Chapter
`Chapter 6. “Configuring Policing"
`‘Describes how to configure the policing feature.
`‘De5Cribeshow to configure the queuing and
`Chapter 8, “Configuring Queuing and
`scheduling feature.
`Scheduling"
`Describes how to configure a network qos policy.
`Chapter 9, “Configuring Network Q05”
`Describes how to configure the queuing and
`Chapter ll]. “Configuring Queuing and
`scheduling feature on F-Series I/O modules.
`Scheduling on F-Series I/O Modules"
`Chapter l l, “Configuring Priority Flow Control" Describes how to configure priority flow control.
`Describes how to configure local policy-based
`Chapter I2, “Configuring Local Policy-Based
`Routing“
`routing.
`CDescribes how to view Q05 statistics.
`Chapter 13. “Monitoring QoS Statistics”
`Lists information related to numerical limitations
`Appendix A, “Configuration Limits for Cisco
`in implementing Q03.
`NX-OS Quality of Service Configuration
`Features. Release 6.0"
`
`Appendix B, “Additional References"
`
`Lists related documents and RFCs, and how to get
`support and help from Cisco.
`
`Document Conventions
`
`This publication uses the following conventions:
`
`s.
`
`Note Means reader micenote. Notes contain helpful suggestions or references to material not covered in the
`manual.
`
`A.
`Baution Means reader be careful. ln this situation, you might do something that could result in equipment
`damage or loss of data.
`
`9
`Tip
`
`.
`Means thefollowing iJ1f0rmt1lt'0nwill’help you solve a problem.
`
`Command descriptions use these conventions:
`
`boldface font
`italic font
`{ ]
`[ ]
`
`x I y IX
`
`|Comrnands and keywords are in boldface.
`‘Arguments for which you suppiy values are in italics.
`‘Elements in braces are required choices.
`Elements in square brackets are optional.
`
`Alternative, mutually exclusive elements are separated by
`vertical bars.
`
`ri
`
`Cisuo Nexus 1000SeriesVNX-OSDuality of Service Configuration fiyuiger
`
`ot-19nz5»|u l
`
`
`
`j’””'
`
`Screen examples use these conventions:
`
`scrccn font
`
`boldface screen font
`1talic
`sci een font
`
`[ ]
`
`lTerminal sessions and information that the switch displays arc
`lin screen font.
`‘Information that you must enter is in boldface screen font.
`Arguments for which you supply values are in italic screen
`font.
`
`Nonprinting characters, such as passwords, are in angle
`brackets.
`
`lDefault responses to system prompts are in square brackets.
`An exclamation point (1) or number sign (#) at the beginning
`of a line of code indicates a comment line.
`
`Related Documentation
`
`Cisco NX-OS includes the following documents:
`
`Release Notes
`
`Cisco Nexus 7000 Series NX»OSRelease Notes, Release 6.x
`
`NX-OSConfiguration Guides
`
`Cisco Nexus 7000 Series NX-OS Configuration Examples, Release 54"
`
`Configuring the Cisco Nexus 2000 Series Fabric Extender
`
`Cisco Nexus 7000 Series NX-OS Fubr/TcPath,Configuration. Guide
`
`Configuring Feature Setfor FahricPatl1
`Cisco NX-OS FCOE Configuration Guide for Ciseo Nexus 7000 and Cisco MDS 9500
`Cisco Nexus 7000 Series NX-OS Fundamentals Configuration Guide, Release 6.x
`
`Cisco Nexus 7000 Series NX-OS High Availability and Redundancy Guide
`Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 6.x
`
`Cisco Nexus 7000 Series NX-OS IP SLAs Configuration Guide
`
`Cisco Nexus 7000 Series NX-OS Layer 2 Switching Configuration Guide
`
`Cisco Nexus 7000 Series NX-OS LISP Configuration Guide
`
`Cisco Nexus 7000 Series NX-OS MPLS Configuration Guide
`Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide
`
`Cisco Nexus 7000 Series NX-OS OTV Configuration Guide
`
`Cisco Nexus 7000 Series OTV Quick Start Guide
`
`Cisco Nexus 7000 Series NX~OSQuality ofServiee Configuration Guide, Release 6.x
`
`Cisco Nexus 7000 Series NX-OS SANSwitching Configuration Guide
`
`Cisco Nexus 7000 Series NX-OS Security Configuration Guide, Release 6.x
`
`Cisco Nexus 7000 Series NX-OS System Management Configuration. Guide, Release 6.x
`
`I 0L-19825-01
`
`i Cisco Nexus 7000Series NX-OSQuality oi Service Configuration Guide
`
`I
`
`
`
`Cisco Nexus 7000 Series NXVOSUnicast Routing Configuration Guide, Release 6.x
`
`Cisco Nexus 7000 Series NX-OS Virtual Device Context Configuration Guide, Release 5.x
`
`Cisco Nexus 7000 Series NX-OS Virtual Device Context Quick Start
`
`NX-OSCommand References
`
`Cisco Nexus 7000 Series NX-OS Command Reference Master Index
`Cisco Nexus 7000 Series NX-OS FabricPath Command Reference
`
`Cisco NX»OSFCoE Command Referencefor Cisco Nexus 7000 and Cisco MDS 9500
`Cisco Nexus 7000 Series NX-OS Fundamentals Command Reference
`
`Cisco Nexus 7000 Series NXeOSHigh Availability Command Reference
`
`Cisco Nexus 7000 Series NX-OS Interfizces Command Reference
`
`Cisco Nexus 7000 Series NX-OS Layer 2 Switching Command Reference
`
`Cisco Nexus 7000 Series NX~USLISP Command Reference
`
`Cisco Nexus 7000 Series NX-OS MRLS Command Reference
`
`Cisco Nexus 7000 Series NX»OSMulticast Routing Command Reference
`
`Cisco Nexus 7000 Series NX-OS OTV Command Reference
`
`Cisco Nexus 7000 Series NX-OS Quality 0fService Command Reference
`Cisco Nexus 7000 Series NX-OS SAN Switching Command Reference
`
`Cisco Nexus 7000 Series NX-OS Security Command Reference
`
`Cisco Nexus 7000 Series NX-OS System Management Command Reference
`Cisco Nexus 7000 Series NX-OS Unicast Routing Command Reference
`
`Cisco Nexus 7000 Series NX-OS Virtual Device Context Command Reference
`
`Other Software Documents
`
`Cisco NX-OS Licensing Guide
`
`Cisco Nexus 7000 Series NX-OS MIR Quick Reference
`
`Cisco Nexus 7000 Series NX-OS Software Upgrade and Downgrade Guide, Release 6.x
`
`Cisco NX-OS System Messages Reference
`Cisco Nexus 7000 Series NX-OS Troubleshooting Guide
`
`Cisco NX-OS XML Interface User Guide
`
`F
`
`Cisco Nexas TQOOSeries NX-OSQuality of Service Cunfiguratinn Guide
`
`0L-19825-01
`
`I
`
`
`
`Documentation Feedback
`
`To provide technical feedback on this document, or to report an error or omission, please send your
`comments to nexus7k-docleedbaek@cisco.com. We appreciate your feedback.
`
`Obtaining Documentation, Obtaining Support, and Security
`Guidelines
`
`For information on obtaining documentation, submitting a service request, and gathering additional
`information, see the monthly What's New in Cisco Product Documentation, which also lists all new and
`revised Cisco technical documentation, at:
`
`http://www.cisco.com/en/US/docs/general/whatsnew/whalsnew.html
`Subscribe to the Wlzat’.rNew in Cisco Product Documentation as a Really Simple Syndication (RSS) feed
`and set content to be delivered directly to your desktop using a reader application. The RSS feeds are a free
`service and Cisco currently supports RSS version 2.0.
`
`W Vi V in
`l OL-19825-01
`
`Cisco Nexus 7000 Series NX-OSQuality of Service Conliguration Guide
`
`jm
`
`
`
`Disco Nexus 7000Series NX-OSQuality ul Service Configuialipn Guide
`
`0L-19025-01
`
`I
`
`
`
`5|fl_|,
`.1: -.
`
`-
`
`|' r
`-
`
`.
`
`_
`,1’
`
`_:
`.—
`
`"—--w
`;-'
`,k
`_--.. 1
`-;-;f',”..--._,
`--
`'——-. .._3-
`..---
`~-"'"-
`
`--
`
`‘L
`
`M“
`»
`
`,
`IL.
`’;|v_:§.u:L‘|.]é_‘
`KV
`‘S-.=_.1_,
`_
`.p!$;__\_.,,
`
`Overview
`
`i
`
`_._,_______;i§ 3-*5
`2-
`7 _l_
`
`'
`
`if
`
`_.~ .-_'L_
`;IZ...::::
`=:=::=-"
`i1EE:::::=::::::=-
`ii I:__?flQ.lt-!fI1T..,.___--_-_
`
`__
`
`-. -
`
`'
`
`‘gill
`
`wk
`
`c H A P T_E
`
`i
`Hlltlll
`It nun
`‘Ktlllll
`ttwutit
`l\||:
`.'. ,,.,.
`
`er III |
`i-
`Illll-i
`
`This chapter describes the configurable Cisco NX-OS quality of service (Q05) features on the Cisco
`NX-OS device.
`
`Q05 allows you to classify the network traffic, police and prioritize the traffic flow, and help avoid traffic
`Congestion in a network.
`This chapter includes the following sections:
`'
`Information About QoS Features, page 1-l
`
`¢ High Availability Requirements for QOSFeatures, page 1-5
`' Q05 Feature Configuration with MQC, page l-5
`
`I Q05 Statistics, page I-5
`I QoS Policies on Fabric Extenders. page I-6
`
`Information About 00$ Features
`
`You use the QOS features to provide the most desirable flow of traffic through a network. Q03 allows
`you to classify the network traffic, police and prioritize the traffic flow. and provide congestion
`avoidance. The control of traffic is based on the fields in the packets that flow through the system. You
`use the Modular Q05 CLI (MQC) to create the traffic classes and policies of the Q05 features.
`
`Q03 features are applied using Q05 policies and queuing policies are as follows:
`v QoS policies include the policing feature and the marking features.
`
`v Queuing policies use the queuing and scheduling features as well as a limited set of the marking
`feature.
`
`%.
`Nnta
`
`The system-defined QoS features and values that are discussed in Chapter 2, “Using Modular Q05 CLI”
`apply globally to the entire switch and cannot he modified. For complete information on virtual device
`contexts (VDCs), see the Cisco Nexus 7000 Series NX-OS Virtual Device Context Configuration Guide.
`Release 5.x.
`
`I at-19:25-nt
`
`(linen Nexus IBM!Series Nit-BS Quality of Service Configuration Guide
`
`I
`
`
`
`l
`
`lnfiilnalinn AboutU05Feature
`
`Chapter!
`
`Overview |
`
`Caution Before you attempt a downgrade from Cisco NX-OS Release 5.2(x) to any release prior to Release
`5.2(l), you should clear the Q08 M133and MPLS Q05 defaults by using the clear qos mpls-snmp
`command. The downgrade might fail if the defaults are not cleared.
`
`Before you downgrade from Cisco NX-OS Release 5.2(x) or 5. l (it) to Cisco NX-OS Release 5.0(x) or
`an earlier release, remove all system Q05 and Q05 policies configured on F-Series I/O modules. Use the
`clear qos policies command to remove the defaults for F-Series modules. An internal process failure can
`result if the QoS policies are not removed prior to the downgrade.
`
`This section includes the following topics:
`
`I Using Q03, page l-2
`I Classification, page 1-2
`' Marking, page l-3
`
`I Mutation. page L-3
`' Policing, page l-3
`I Queuing and Scheduling, page 1-3
`
`0 Sequencing of QoS Actions, page l-4
`
`Using Q08
`
`Traffic is processed based on how you classify it and the policies that you create and apply to traffic
`classes.
`
`To configure QoS features, you use the following steps:
`1. Create traffic classes by classifying the incoming and outgoing packets that match criteria such as
`[P address or QoS fields.
`
`2. Create policies by specifying actions to take on the traffic classes, such as limiting, marking, or
`dropping packets.
`3. Apply policies to a port, port channel, VLAN, or a subinterface.
`You use MQC to create the traffic classes and policies of the Q03 features. For more information, see
`Chapter 2. “Using Modular Q05 CLI."
`
`‘hr.
`Note
`
`,
`The queuing and scheduling operations of the overall Q03 feature are applicable to both IPv4 and IPv6.
`
`Classification
`
`You use classification to partition traffic into classes. You classify the traffic:based on the port
`characteristics (class of service [C05] field) or the packet header fields that include ].Pprecedence.
`Differentiated Services Code Point (DSCP), Layer 2 to Layer 4 parameters, and the packet length.
`
`The values used to classify traffic are called match criteria. When you defi ne a traffic class, you can
`specify multiple match criteria, you can choose to not match on a particular criterion, or you can
`determine the traffic class by matching any or all criteria.
`Traffic that fails to match any class is assigned to a default class of traffic called class-default.
`
`Cisco Nexus 7000 Series NX-OSlluality of Service Configuration Guide
`
`E.
`
`at-1aszs-inI
`
`
`
`| Ghaptar I Overview
`
`7
`
`lninrmatiunAboutllnS Features
`
`I
`
`For more information about configuring classification, see Chapter 3. “Configuring Classification.“
`
`Marking
`
`Mutation
`
`Policing
`
`Marking is the selling of Q03 information that is related to a packet. You can set the value of a standard
`Q03 field IP precedence, DSCP and CoS, and internal labels that can he used in subsequent actions.
`Marking is used to identify the traffic type for policing, queuing, and scheduling traffic (only CoS is used
`in scheduling).
`For more information about configuring marking, see Chapter 4, “Configuring Marking."
`
`Mutation is the changing of packet header Q08 fields. You can map IP precedence, DSCP, or C05 values
`to all incoming or outgoing packets. You Can use mutation in policies that contain policing commands,
`btlt you cannot use mutation in queuing and scheduling commands. You use configurable, user-defined
`table maps for mutation.
`For more information about configuring mutation, see Chapter 5, “Configuring Mutation Mapping."
`
`Policing is the monitoring of data rates for a particular class of traffic. The device can also monitor
`associated hurst sizes.
`
`Three colors, or conditions, are determined by the policer depending on the data rate parameters
`supplied: conform (green), exceed (yellow), or violate (red). You can configure only one action for eac