hit counter script
Cisco Nexus 7000 Series Command Reference Manual

Cisco Nexus 7000 Series Command Reference Manual

Nx-os quality of service
Hide thumbs Also See for Nexus 7000 Series:

Advertisement

S e n d d o c u m e n t c o m m e n t s t o n e x u s 7 k - d o c f e e d b a c k @ c i s c o . c o m
Cisco Nexus 7000 Series NX-OS Quality of
Service Command Reference, Release 5.x
October 2010
Americas Headquarters
Cisco Systems, Inc.
170 West Tasman Drive
San Jose, CA 95134-1706
USA
http://www.cisco.com
Tel: 408 526-4000
800 553-NETS (6387)
Fax: 408 527-0883
Text Part Number: OL-23378-01

Advertisement

Table of Contents
loading

Summary of Contents for Cisco Nexus 7000 Series

  • Page 1 S e n d d o c u m e n t c o m m e n t s t o n e x u s 7 k - d o c f e e d b a c k @ c i s c o . c o m Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x...
  • Page 2 OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Cisco and the Cisco Logo are trademarks of Cisco Systems, Inc. and/or its affiliates in the U.S. and other countries. A listing of Cisco's trademarks can be found at www.cisco.com/go/trademarks.
  • Page 3: Table Of Contents

    QOS-23 match discard-class QOS-25 match dscp QOS-26 match ip rtp QOS-28 match packet length QOS-29 match precedence QOS-30 match protocol QOS-32 match qos-group QOS-34 police (QoS) QOS-36 Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01...
  • Page 4 QOS-79 show policy-map interface brief QOS-82 show policy-map vlan QOS-84 show qos shared-policer QOS-86 show queuing interface QOS-87 show running-config ipqos QOS-89 show table-map QOS-94 table-map QOS-96 Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01...
  • Page 5: 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 Service Command Reference, Release 5.x. To check for additional information about Cisco NX-OS Release 5.1(1), see the Cisco Nexus 7000 Series NX-OS Release Notes, Release 5.x available at the following Cisco website:...
  • Page 6 Added the ability for the qos-dynamic 4.2(1) class (policy map type qos) variable variable to list the class-map and policy-map names that are already configured in a class. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01...
  • Page 7: Document Conventions

    S e n d d o c u m e n t c o m m e n t s t o n e x u s 7 k - d o c f e e d b a c k @ c i s c o . c o m . Preface This preface describes the audience, organization, and conventions of the Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x. It also provides information on how to obtain related documentation.
  • Page 8: Related Documentation

    Cisco Nexus 7000 Series NX-OS Release Notes, Release 5.x NX-OS Configuration Guides Cisco Nexus 7000 Series NX-OS Getting Started with Virtual Device Contexts, Release 5.x Cisco Nexus 7000 Series OTV Quick Start Guide Cisco Nexus 7000 Series NX-OS Fundamentals Configuration Guide, Release 5.x Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x...
  • Page 9: Obtaining Documentation And Submitting A Service Request

    Obtaining Documentation and Submitting a Service Request 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/whatsnew.html...
  • Page 10 S e n d d o c u m e n t c o m m e n t s t o n e x u s 7 k - d o c f e e d b a c k @ c i s c o . c o m . Subscribe to the What’s New 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.
  • Page 11: Service Commands

    S e n d d o c u m e n t c o m m e n t s t o n e x u s 7 k - d o c f e e d b a c k @ c i s c o . c o m . Cisco Nexus 7000 Series NX-OS Quality of Service Commands This chapter describes the Cisco NX-OS quality of service (QoS) commands. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-1...
  • Page 12: Bandwidth (Qos)

    Ingress queue 1 of 2q4t type 2q4t-in-q-default Ingress default queue of 2q4t type 1 Gigabit Module Egress: 1 strict priority queue and 3 normal queues with 4 thresholds per queue Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-2 OL-23378-01...
  • Page 13 1p7q4t-out-pq1 switch(config-pmap-c-que)# bandwidth 10 mbps This example shows how to remove a bandwidth rate for a queue: switch(config)# policy-map type queuing my_policy1 Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-3...
  • Page 14: Bandwidth Remaining

    Command Description bandwidth remaining Configures the bandwidth remaining on the interface in a queue. show class-map Displays class maps. show policy-map Displays policy maps and statistics. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-4 OL-23378-01...
  • Page 15 For more information about system-defined type queuing class maps Table 1. You can use this command with the priority command. For more information on using this command, see the Cisco Nexus 7000 Series NX-OS Quality of Service Configuration Guide, Release 5.x. This command does not require a license.
  • Page 16 Command Description bandwidth Allocates a minimum percentage of the interface bandwidth to a queue. show class-map Displays class maps. show policy-map Displays policy maps and statistics. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-6 OL-23378-01...
  • Page 17: Class (Policy Map Type Qos)

    This example shows how to add a reference to a class map at the end of a policy map: switch(config)# policy-map my_policy1 switch(config-pmap)# class traffic_class2 switch(config-pmap-c-qos)# Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-7...
  • Page 18 This example shows how to remove a class map reference in a policy map: switch(config)# policy-map my_policy1 switch(config-pmap)# no class traffic_class1 switch(config-pmap)# Related Commands Command Description show class-map qos Displays class maps. show policy-map Displays policy maps and statistics. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-8 OL-23378-01...
  • Page 19: Class Type Queuing (Policy Map Type Queuing)

    This example shows how to remove a class map reference in a type queuing policy map: switch(config)# policy-map type queuing my_policy1 switch(config-pmap-que)# no class type queuing 8q2t-in-q4 switch(config-pmap-que)# Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-9...
  • Page 20 S e n d d o c u m e n t c o m m e n t s t o n e x u s 7 k - d o c f e e d b a c k @ c i s c o . c o m . Related Commands Command Description show class-map Displays class maps. queuing show policy-map Displays policy maps and statistics. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-10 OL-23378-01...
  • Page 21 Global configuration network-admin  Supported User Roles vdc-admin Command History Release Modification 5.1(1) This command was introduced. Usage Guidelines This command does not require a license. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-11...
  • Page 22 Command Description show class-map Display type network-qos class maps. network-qos match cos (class map Defines the class of traffic in type network-qos class maps. type network-qos) Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-12 OL-23378-01...
  • Page 23 Defaults type—qos Command Modes Global configuration Supported User Roles network-admin vdc-admin Command History Release Modification This command was introduced. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-13...
  • Page 24: Class-Map Type Qos

    Usage Guidelines You cannot delete the system-defined queuing class map names. For more information about the class-map command, see the Cisco Nexus 7000 Series NX-OS Quality of Service Configuration Guide, Release 5.x. When you configure match all for a qos class map by entering the class-map type qos match-all Note command, the match-all option does not work.
  • Page 25: Class-Map Type Queuing Match-Any

    VDCs. You cannot delete system-defined queuing class map names. For more information on using the class-map type queuing match-any command, see the Cisco Nexus 7000 Series NX-OS Quality of Service Configuration Guide, Release 5.x. This command does not require a license.
  • Page 26: Clear Qos Statistics

    This example shows how to clear all input QoS statistics for VLAN 1: switch# clear qos statistics vlan 1 input switch# Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-16 OL-23378-01...
  • Page 27 S e n d d o c u m e n t c o m m e n t s t o n e x u s 7 k - d o c f e e d b a c k @ c i s c o . c o m . Related Commands Command Description qos statistics Enables or disables QoS statistics. show qos statistics Displays QoS statistics. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-17...
  • Page 28 This example shows how to configure congestion control: switch# config t switch(config)# policy-map type network-qos my_template switch(config-pmap-nqos)# class type network-qos eth switch(config-pmap-nqos-c)# no congestion-control tail-drop threshold mesh-optimized Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-18 OL-23378-01...
  • Page 29 Configures the maximum transmission unit (MTU) size in a network qos policy. pause Configure no-drop per CoS. priority Marks the priority level in a traffic queue. shape Configures the traffic rate for a given traffic profile. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-19...
  • Page 30: Default (Table Map)

    Related Commands Command Description from Specifies the input field to output field mappings in table maps. show table-map Displays table maps. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-20 OL-23378-01...
  • Page 31: Description

    Related Commands Command Description class-map Creates or modifies a class map. policy-map Creates or modifies a policy map. table-map Creates or modifies a table map. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-21...
  • Page 32: From (Table Map)

    (table map) Specifies the default action for mapping of the input field value to the output field value in a table map. show table-map Displays table maps. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-22 OL-23378-01...
  • Page 33: Match Access-Group

    This example shows how to create a qos class map that matches characteristics of the ACL my_acl: switch(config)# class-map class_acl switch(config-cmap-qos)# match access-group name my_acl Related Commands Command Description show class-map Displays class maps. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-23...
  • Page 34: Match Class-Map

    This example shows how to match on the matches specified in class map named my_test: switch(config)# class-map my_test switch(config-cmap-qos)# match class-name my_test Related Commands Command Description show class-map Displays class maps. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-24 OL-23378-01...
  • Page 35 This example shows how to match on the CoS value for a type network qos class map: switch(config)# class-map type network-qos match-any eth switch(config-cmap-nqos)# match cos 3-5 switch(config-cmap-nqos)# Related Commands Command Description show class-map Displays class maps. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-25...
  • Page 36: Match Cos (Class Map Type Qos)

    This command does not require a license. Examples This example shows how to match on the CoS value for a type qos class map: switch(config)# class-map class_acl switch(config-cmap-qos)# match cos 5-7 Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-26 OL-23378-01...
  • Page 37 S e n d d o c u m e n t c o m m e n t s t o n e x u s 7 k - d o c f e e d b a c k @ c i s c o . c o m . Related Commands Command Description show class-map Displays class maps. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-27...
  • Page 38: Match Cos (Class Map Type Queuing)

    This example shows how to modify a type queuing class map to match on CoS: switch(config)# class-map type queuing match-any 8q2t-in-q4 switch(config-cmap-que)# match cos 3 switch(config-cmap-que)# Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-28 OL-23378-01...
  • Page 39 S e n d d o c u m e n t c o m m e n t s t o n e x u s 7 k - d o c f e e d b a c k @ c i s c o . c o m . Related Commands Command Description show class-map Displays class maps. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-29...
  • Page 40: Match Discard-Class

    This example shows how to match on the discard class value 5: switch(config)# class-map my_test switch(config-cmap-qos)# match discard-class 5 Related Commands Command Description show class-map Displays class maps. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-30 OL-23378-01...
  • Page 41: Match Dscp

    AF23 dscp (010110)—decimal value 22 af31 AF31 dscp (011010)—decimal value 26 af32 AF40 dscp (011100)—decimal value 28 af33 AF33 dscp (011110)—decimal value 30 af41 AF41 dscp (100010)—decimal value 34 Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-31...
  • Page 42 This example shows how to match on DSCP value af21: switch(config)# class-map my_test switch(config-cmap-qos)# match dscp af21 Related Commands Command Description show class-map Displays class maps. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-32 OL-23378-01...
  • Page 43: Match Ip Rtp

    This example shows how to match on a port using RTP: switch(config)# class-map my_test switch(config-cmap-qos)# match ip rtp 2300 Related Commands Command Description show class-map Displays class maps. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-33...
  • Page 44: Match Packet Length

    This example shows how to match on a Layer 3 packet length of 600 to 660: switch(config)# class-map my_test switch(config-cmap-qos)# match packet length 600-660 Related Commands Command Description show class-map Displays class maps. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-34 OL-23378-01...
  • Page 45: Match Precedence

    Flash override precedence (4) immediate Immediate precedence (2) internet Internetwork control precedence (6) network Network control precedence (7) priority Priority precedence (1) routine Routine precedence (0) Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-35...
  • Page 46 This example shows how to match on an IP precedence value: switch(config)# class-map my_test switch(config-cmap-qos)# match precedence 7 Related Commands Command Description show class-map Displays class maps. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-36 OL-23378-01...
  • Page 47: Match Protocol

    CLNS Intermediate System dhcp Dynamic Host Configuration (DHCP) isis Intermediate system to intermediate system (IS-IS) Label Distribution Protocol (LDP) netbios NetBIOS Extended User Interface (NetBEUI) Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-37...
  • Page 48 This example shows how to match on a specified protocol: switch(config)# class-map my_test switch(config-cmap-qos)# match protocol ldp Related Commands Command Description show class-map Displays class maps. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-38 OL-23378-01...
  • Page 49: Match Qos-Group

    This command does not require a license. Examples This example shows how to match on a specified qos group value: switch(config)# class-map my_test switch(config-cmap-qos)# match qos-group 6 Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-39...
  • Page 50 S e n d d o c u m e n t c o m m e n t s t o n e x u s 7 k - d o c f e e d b a c k @ c i s c o . c o m . Related Commands Command Description show class-map Displays class maps. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-40 OL-23378-01...
  • Page 51 Configures congestion control in a network qos policy. pause Configure no-drop per CoS. priority Marks the priority level in a traffic queue. shape Configures the traffic rate for a given traffic profile. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-41...
  • Page 52 Related Commands Command Description congestion-control Configures congestion control in a network qos policy. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-42 OL-23378-01...
  • Page 53 S e n d d o c u m e n t c o m m e n t s t o n e x u s 7 k - d o c f e e d b a c k @ c i s c o . c o m . Command Description Configures the maximum transmission unit (MTU) size in a network qos policy. priority Marks the priority level in a traffic queue. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-43...
  • Page 54: Police (Qos)

    Peak information rate. Valid values are from 1 to 80000000000; the range of policing values that are mathematically significant is 8000 to 80 Gbps. Specifies the extended burst rate. Valid values are from 1 to 536870912. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-44 OL-23378-01...
  • Page 55 Policy map type qos class configuration Supported User Roles network-admin vdc-admin Command History Release Modification This command was introduced. Usage Guidelines This command does not require a license. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-45...
  • Page 56 256000 pir 512000 conform set-cos-transmit 5 exceed set dscp dscp table cir-markdown-map violate drop switch(config-pmap-c-qos)# Related Commands Command Description show policy-map Displays policy maps and statistics. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-46 OL-23378-01...
  • Page 57: Police Aggregate

    This example shows how to remove the configuration of a shared policer from the class-default class of traffic: switch(config)# policy-map my_policy1 switch(config-pmap-qos)# class default-class switch(config-pmap-c-qos)# no police aggregate my_aggregate_policer switch(config-pmap-c-qos)# Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-47...
  • Page 58 S e n d d o c u m e n t c o m m e n t s t o n e x u s 7 k - d o c f e e d b a c k @ c i s c o . c o m . Related Commands Command Description qos shared-policer Configures simultaneous policing across multiple interfaces for a specified class of traffic. show policy-map Displays policy maps and statistics. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-48 OL-23378-01...
  • Page 59 This example shows how to remove a policy map of the type network qos: switch# configure terminal switch(config)# no policy-map type network-qos my_template switch(config)# Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-49...
  • Page 60 S e n d d o c u m e n t c o m m e n t s t o n e x u s 7 k - d o c f e e d b a c k @ c i s c o . c o m . Related Commands Command Description service-policy Attaches a policy map to an interface. show policy-map Displays policy maps and statistics. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-50 OL-23378-01...
  • Page 61: Policy-Map Type Qos

    This example shows how to create or modify a type qos policy map: switch(config)# policy-map my_policy1 switch(config-pmap-qos)# This example shows how to remove a type qos policy map: switch(config)# no policy-map my_policy1 Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-51...
  • Page 62 S e n d d o c u m e n t c o m m e n t s t o n e x u s 7 k - d o c f e e d b a c k @ c i s c o . c o m . Related Commands Command Description service-policy Attaches a policy map to an interface. show policy-map Displays policy maps and statistics. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-52 OL-23378-01...
  • Page 63: Policy-Map Type Queuing

    This example shows how to create or modify a queuing policy map: switch(config)# policy-map type queuing my_policy1 switch(config-pmap-que)# This example shows how to remove a type queuing policy map: switch(config)# no policy-map type queuing my_policy1 switch(config)# Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-53...
  • Page 64 S e n d d o c u m e n t c o m m e n t s t o n e x u s 7 k - d o c f e e d b a c k @ c i s c o . c o m . Related Commands Command Description service-policy Attaches a policy map to an interface. show policy-map Displays policy maps and statistics. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-54 OL-23378-01...
  • Page 65: Priority (Queuing)

    This example shows how to assign a priority queue: switch(config)# policy-map type queuing match-first my_queue switch(config-pmap-que)# class type queuing 1p3q4t-out-pq1 switch(config-pmap-c-que)# priority level 1 switch(config-pmap-c-que)# This example shows how to remove a priority queue: Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-55...
  • Page 66 Configures the bandwidth remaining on the interface in a queue. police Configures policing for specified classes of traffic. show policy-map Displays policy maps and statistics. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-56 OL-23378-01...
  • Page 67 This example shows how to set the PFC mode to off: switch# configure terminal switch(config)# interface ethernet 2/5 switch(config-if)# priority-flow-control mode off switch(config-if)# Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-57...
  • Page 68 S e n d d o c u m e n t c o m m e n t s t o n e x u s 7 k - d o c f e e d b a c k @ c i s c o . c o m . Related Commands Command Description show interface Displays the status of priority flow control (PFC) on all interfaces. priority-flow-control Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-58 OL-23378-01...
  • Page 69  Supported User Roles network-operator vdc-admin vdc-operator Command History Release Modification 5.1(1) This command was introduced. Usage Guidelines This command does not require a license. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-59...
  • Page 70 Related Commands Command Description policy-map type Configure a policy map and enter the policy map type network qos network-qos configuration mode. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-60 OL-23378-01...
  • Page 71: Qos Shared-Policer

    Peak information rate. Valid values are from 1 to 80000000000; the range of policing values that are mathematically significant is from 8000 to 80 Gbps. Specifies the extended burst rate. Valid values are from 1 to 536870912. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-61...
  • Page 72 Command Modes Global configuration Supported User Roles network-admin vdc-admin Command History Release Modification This command was introduced. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-62 OL-23378-01...
  • Page 73 Description police aggregate Configures simultaneous policing of the data rates for a particular class of traffic across multiple interfaces. show policy-map Displays policy maps and statistics. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-63...
  • Page 74: Qos Statistics

    This example shows how to disable QoS statistics: switch(config)# no qos statistics switch(config)# Related Commands Command Description show policy-map Displays policy maps and statistics. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-64 OL-23378-01...
  • Page 75: Queue-Limit

    The system drops packets that exceed the configured queue-size threshold. By default, the queue limit is applied to all packets with a class of service (CoS) value that is not assigned a queue limit. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-65...
  • Page 76: Random-Detect

    3 10 mbytes switch(config-pmap-c-que)# Related Commands Command Description random-detect Configures weighted random early detection (WRED). show policy-map Displays policy maps and statistics. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-66 OL-23378-01...
  • Page 77: Random-Detect Cos-Based

    The random-detect cos-based command must be specified for a queue to establish default thresholds for any CoS values that are not specified in random-detect commands for the same queue. Command Modes Policy map type queuing class configuration Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-67...
  • Page 78 1p3q4t-out-pq1 switch(config-pmap-c-que)# no random-detect cos-based aggregate 10 mbytes 20 mbytes switch(config-pmap-c-que)# no random-detect cos 5 percent 5 percent 15 switch(config-pmap-c-que)# Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-68 OL-23378-01...
  • Page 79 S e n d d o c u m e n t c o m m e n t s t o n e x u s 7 k - d o c f e e d b a c k @ c i s c o . c o m . Related Commands Command Description random-detect Configures WRED. cos-based queue limit Configures tail drop. show policy-map Displays policy maps and statistics. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-69...
  • Page 80 1 to 100. Defaults Thresholds are in packets by default. Command Modes Policy map type queuing class configuration Supported User Roles network-admin vdc-admin Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-70 OL-23378-01...
  • Page 81 5 percent 5 percent 15 switch(config-pmap-c-que)# Related Commands Command Description random-detect Configures WRED. queue limit Configures tail drop. show policy-map Displays policy maps and statistics. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-71...
  • Page 82: Service-Policy

    Supported User Roles network-admin vdc-admin Command History Release Modification This command was introduced. 4.0(3) Support for tunnel interfaces is added. 4.2(1) The qos-dynamic variable was added. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-72 OL-23378-01...
  • Page 83 Only one policy map can be attached to the input and one to the output of a given interface for each of the policy type qos and queuing. For more information on using service policies, see the Cisco Nexus 7000 Series NX-OS Quality of Note Service Configuration Guide, Release 5.x.
  • Page 84: Set Cos (Policy Map Type Qos)

    This example shows how to remove an assignment of CoS for a class of traffic in a type qos policy map: switch(config)# policy-map my_policy1 switch(config-pmap-qos)# class traffic_class2 switch(config-pmap-c-qos)# no set cos 3 switch(config-pmap-c-qos)# Related Commands Command Description show policy-map Displays policy maps and statistics. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-74 OL-23378-01...
  • Page 85: Set Cos (Policy Map Type Queuing)

    This example shows how to remove a CoS assignment for a class of traffic in a queuing policy map: switch(config)# policy-map type queuing match-first my_queuing_policy1 Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-75...
  • Page 86 S e n d d o c u m e n t c o m m e n t s t o n e x u s 7 k - d o c f e e d b a c k @ c i s c o . c o m . switch(config-pmap-que)# class type queuing 2q4t-in-q-default switch(config-pmap-c-que)# no set cos 3 switch(config-pmap-c-que)# Related Commands Command Description show policy-map Displays policy maps and statistics. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-76 OL-23378-01...
  • Page 87: Set Discard-Class

    This example shows how to assign the discard-class value for a class of traffic in a type qos policy map: switch(config)# policy-map my_policy1 switch(config-pmap-qos)# class traffic_class2 switch(config-pmap-c-qos)# set discard-class 40 switch(config-pmap-c-qos)# Related Commands Command Description show policy-map Displays policy maps and statistics. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-77...
  • Page 88: Set Dscp (Qos)

    This example shows how to assign DSCP for a class of traffic in a type qos policy map: switch(config)# policy-map my_policy1 switch(config-pmap-qos)# class traffic_class2 switch(config-pmap-c-qos)# set cos 3 switch(config-pmap-c-qos)# Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-78 OL-23378-01...
  • Page 89 S e n d d o c u m e n t c o m m e n t s t o n e x u s 7 k - d o c f e e d b a c k @ c i s c o . c o m . Related Commands Command Description show policy-map Displays policy maps and statistics. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-79...
  • Page 90: Set Precedence (Qos)

    This example shows how to set the IP precedence value for a class of traffic in a type qos policy map: switch(config)# policy-map policy1 switch(config-pmap-qos)# class class2 switch(config-pmap-c-qos)# set precedence 3 switch(config-pmap-c-qos)# Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-80 OL-23378-01...
  • Page 91 S e n d d o c u m e n t c o m m e n t s t o n e x u s 7 k - d o c f e e d b a c k @ c i s c o . c o m . Related Commands Command Description show policy-map Displays policy maps and statistics. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-81...
  • Page 92: Set Qos-Group

    This example shows how to assign a QoS group identifier for a class of traffic in a type qos policy map: switch(config)# policy-map my_policy1 switch(config-pmap-qos)# class traffic_class2 switch(config-pmap-c-qos)# set qos-group 100 switch(config-pmap-c-qos)# Related Commands Command Description show policy-map Displays policy maps and statistics. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-82 OL-23378-01...
  • Page 93: Set Table

    Usage Guidelines The system-defined table maps used in the set table command are shown in Table Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-83...
  • Page 94 DSCP and output IP precedence by using a user-defined table map: switch(config)# policy-map my_policy1 switch(config-pmap-qos)# class class_default switch(config-pmap-c-qos)# set dscp dscp table my_table switch(config-pmap-c-qos)# Related Commands Command Description show policy-map Displays policy maps and statistics. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-84 OL-23378-01...
  • Page 95: Shape

    12.5, 6.25, 3.13, or 1.07. If you configure shaping, you cannot configure bandwidth or priority in the same policy map. Note This command does not require a license. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-85...
  • Page 96 1p3q4t-out-pq1 switch(config-pmap-c-que)# no shape percent 25 switch(config-pmap-c-que)# Related Commands Command Description show policy-map Displays policy maps and statistics. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-86 OL-23378-01...
  • Page 97 Description: 4E No-Drop CoS map match cos 1-2,4 class-map type network-qos match-any c-nq-6e-ndrop Description: 6E No-Drop CoS map match cos 4 class-map type network-qos match-any c-nq-4e-ndrop-fcoe Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-87...
  • Page 98 Description: 7E No-Drop FCoE CoS map match cos 3 match protocol fcoe Related Commands Command Description class-map Creates or modifies a class map. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-88 OL-23378-01...
  • Page 99: Show Class-Map Type Qos

    When you enter the command show class-map with no arguments or keywords, the system also displays the Control Plane Policing (CoPP) configuration. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-89...
  • Page 100 Description: Exceed color map in input direction class-map type qos exceed-color-out Description: exceed color map in output direction Related Commands Command Description class-map Creates or modifies a class map. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-90 OL-23378-01...
  • Page 101: Show Class-Map Type Queuing

    Description: Classifier for ingress default queue of type 2q4t match cos 0-4 class-map type queuing match-any 8q2t-in-q1 Description: Classifier for ingress queue 1 of type 8q2t Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-91...
  • Page 102 Description: Classifier for egress queue 7 of type 1p7q4t class-map type queuing match-any 1p7q4t-out-q-default Description: Classifier for egress default queue of type 1p7q4t match cos 0-4 Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-92 OL-23378-01...
  • Page 103 S e n d d o c u m e n t c o m m e n t s t o n e x u s 7 k - d o c f e e d b a c k @ c i s c o . c o m . Related Commands Command Description class-map Creates or modifies a class map. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-93...
  • Page 104 Auto Ethernet5/4 Auto Ethernet5/5 Ethernet5/6 Auto Ethernet5/7 Auto Ethernet5/8 Auto Ethernet5/9 Auto Ethernet5/10 Auto Ethernet5/11 Auto Ethernet5/12 Auto Ethernet5/13 Auto Ethernet5/14 Auto Ethernet5/15 Auto Ethernet5/16 Auto Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-94 OL-23378-01...
  • Page 105 S e n d d o c u m e n t c o m m e n t s t o n e x u s 7 k - d o c f e e d b a c k @ c i s c o . c o m . Ethernet5/17 Auto Ethernet5/18 Auto Ethernet5/19 Auto Ethernet5/20 Auto Ethernet5/21 Auto --More-- Related Commands Command Description priority-flow-control Configures priority flow control (PFC) on an interface, Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-95...
  • Page 106: Show Policy-Map

    This example shows how to display a named policy map: switch(config)# show policy-map abc Type qos policy-maps ==================== policy-map type qos abc class set dscp 3 Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-96 OL-23378-01...
  • Page 107 1 class type queuing out-q-default queue-limit percent 82 bandwidth remaining percent 25 Related Commands Command Description class-map Creates or modifies a class map. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-97...
  • Page 108: Show Policy-Map Interface

    This example shows how to display policy maps that are assigned to a specified interface: switch(config)# show policy-map interface ethernet 2/10 Global statistics status : enabled Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-98 OL-23378-01...
  • Page 109 Class-map (qos): class-default (match-any) 1000000 packets police cir percent 10 bc 200 ms conformed 39481856 bytes, 1362794 bps action: transmit violated 88518144 bytes, 3055378 bps action: drop Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-99...
  • Page 110 S e n d d o c u m e n t c o m m e n t s t o n e x u s 7 k - d o c f e e d b a c k @ c i s c o . c o m . Related Commands Command Description class-map Creates or modifies a class map. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-100 OL-23378-01...
  • Page 111: Show Policy-Map Interface Brief

    [Active]: default-in-po default-out-p port-channel30 [Active]: default-in-po default-out-p port-channel37 [Active]: default-in-po default-out-p port-channel50 [Active]: default-in-po default-out-p Ethernet2/2 [Active]: default-in-po default-out-p Ethernet2/3 [Active]: default-in-po default-out-p ================================================================================== Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-101...
  • Page 112 S e n d d o c u m e n t c o m m e n t s t o n e x u s 7 k - d o c f e e d b a c k @ c i s c o . c o m . Related Commands Command Description show policy-map Displays policy maps and statistics. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-102 OL-23378-01...
  • Page 113 1500 class type network-qos c-nq-4e-ndrop-fcoe match cos 3 match protocol fcoe pause mtu 2112 class type network-qos c-nq-4e-ndrop match cos 1-2,4 pause mtu 1500 Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-103...
  • Page 114 S e n d d o c u m e n t c o m m e n t s t o n e x u s 7 k - d o c f e e d b a c k @ c i s c o . c o m . Related Commands Command Description show policy-map type Displays the type network qos policy maps. network-qos show policy-map Displays policy maps and statistics. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-104 OL-23378-01...
  • Page 115 1500 policy-map type network-qos default-nq-6e-policy class type network-qos c-nq-6e-drop congestion-control tail-drop mtu 1500 class type network-qos c-nq-6e-ndrop-fcoe pause mtu 2112 class type network-qos c-nq-6e-ndrop Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-105...
  • Page 116 2112 policy-map type network-qos default-nq-8e-policy class type network-qos c-nq-8e congestion-control tail-drop mtu 1500 Related Commands Command Description show policy-map Displays policy maps and statistics. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-106 OL-23378-01...
  • Page 117: Show Policy-Map Vlan

    Global statistics status : enabled Vlan 1 Service-policy (qos) input: policy statistics status: enabled Class-map (qos): abc (match-all) Match: dscp 0-3 set dscp 3 set qos-group 3 Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-107...
  • Page 118 Class-map (qos): class-default (match-any) Service-policy (qos) output: policy statistics status: enabled Related Commands Command Description class-map Creates or modifies a class map. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-108 OL-23378-01...
  • Page 119 No/No Ethernet5/7 Yes/No No/No Yes/No No/No Ethernet5/8 No/No No/No No/No No/No Ethernet5/9 No/No No/No No/No No/No Ethernet5/10 No/No No/No No/No No/No Ethernet5/11 No/No No/No No/No No/No Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-109...
  • Page 120 No/No No/No Ethernet5/32 No/No No/No No/No No/No switch# Related Commands Command Description show interface Displays the status of priority flow control (PFC) on all interfaces. priority-flow-control Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-110 OL-23378-01...
  • Page 121: Show Qos Shared-Policer

    300 mbps bc 200 ms conform transmit violate drop Related Commands Command Description class-map Creates or modifies a class map. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-111...
  • Page 122: Show Queuing Interface

    1p3q4t-out-q-default 1p3q4t-out-q2 1p3q4t-out-q3 1p3q4t-out-pq1 Priority Configured WRR WRR bandwidth ratios: 25[1p3q4t-out-q-default] 38[1p3q4t-out-q2] 37[1p3q 4t-out-q3] WRR configuration read from HW WRR bandwidth ratios: 24[1p3q4t-out-q-default] 37[1p3q4t-out-q2] 37[1p3q 4t-out-q3] Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-112 OL-23378-01...
  • Page 123 Command Description show class-map type queuing Displays information about the class maps type queuing. show policy-map type queuing Displays information about the policy maps type queuing. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-113...
  • Page 124: Show Running-Config Ipqos

    2q4t-in-q1 match cos 5-7 class-map type queuing match-any 2q4t-in-q-default match cos 0-4 Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-114 OL-23378-01...
  • Page 125 Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-115...
  • Page 126 0 to 2 table-map t1 default copy table-map abc default copy table-map my_table1 default copy table-map steve_tm2 default 3 table-map steve_table_map Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-116 OL-23378-01...
  • Page 127 1p3q4t-out-pq1 policy-map type queuing untrusted_port_cos class type queuing 2q4t-in-q-default interface Ethernet2/4 service-policy type qos input abc service-policy type qos output def service-policy type queuing output q1 Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-117...
  • Page 128 S e n d d o c u m e n t c o m m e n t s t o n e x u s 7 k - d o c f e e d b a c k @ c i s c o . c o m . Related Commands Command Description show class-map Displays information about class maps. show policy-map Displays statistics and information about policy maps. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-118 OL-23378-01...
  • Page 129: Show Table-Map

    The changes you configured to the table map. This command does not require a license. Examples In the Cisco NX-OS Release 4.0.2 and later releases, the following example shows how to display a system-defined table map: switch(config-pmap-c-qos)# show table-map cos-dscp-map...
  • Page 130: Table-Map

    4 to 4 from 5 to 5 from 6 to 6 from 7 to 7 Related Commands Command Description table-map Creates or modifies a table map. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x QOS-120 OL-23378-01...
  • Page 131 This example shows how to remove a table map: switch(config)# no table-map my_table1 switch(config)# Related Commands Command Description show table-map Displays table maps. Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x OL-23378-01 QOS-121...
  • Page 132 S e n d d o c u m e n t c o m m e n t s t o n e x u s 7 k - d o c f e e d b a c k @ c i s c o . c o m . Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x...

Table of Contents