- bandwidth (QoS)
- class (control plane policy map)
- class (policy map type qos)
- class class-default
- class type network-qos
- class type queuing
- class-map
- class-map type control-plane
- class-map type network-qos
- class-map type queuing
- clear copp statistics
- clear qos statistics
- congestion-control random-detect
- congestion-control random-detect ecn
- congestion-control random-detect forward-nonecn
- congestion-control random-detect global-buffer
- control-plane
- description
- hardware profile pfc mmu buffer-reservation
- ip dscp (ERSPAN)
- ip ttl (ERSPAN)
- match access-group
- match cos
- match dscp
- match ip rtp
- match precedence
- match qos-group
- mtu (ERSPAN)
- mtu (interface)
- pause buffer-size
- pause no-drop
- pause priority-group
- police (policy map)
- policy-map type control-plane
- policy-map type network-qos
- policy-map (type qos)
- policy-map type queuing
- priority
- priority level
- priority-flow-control mode
- queue-limit
- random-detect
- service-policy (control-plane)
- service-policy (policy-map class)
- service-policy (system qos)
- set cos (policy map type network-qos)
- set dscp
- set precedence
- set qos-group
- shape
- show class-map type control-plane
- show class-map type network-qos
- show class-map type qos
- show class-map type queuing
- show copp status
- show interface priority-flow-control
- show interface untagged-cos
- show policy-map
- show policy-map interface
- show policy-map interface brief
- show policy-map interface control-plane
- show policy-map system
- show policy-map type control-plane
- show queuing
- show queuing interface
- show running-config copp
- show running-config ipqos
- show startup-config copp
- show startup-config ipqos
- show wrr unicast-bandwidth
- show wrr-queue qos-group-map
- system jumbomtu
- system qos
- untagged cos
- wred-queue qos-group-map queue-only
- wrr-queue qos-group-map
- wrr unicast-bandwidth
Quality of Service Commands
This chapter describes the Cisco NX-OS quality of service (QoS) commands available on Cisco Nexus 3000 Series switches.
bandwidth (QoS)
To allocate a minimum percentage of the interface bandwidth to a queue and configure the bandwidth on both ingress and egress queues, use the bandwidth command. To remove a bandwidth configuration, use the no form of this command.
Syntax Description
Specifies the percentage of bandwidth of the underlying link rate. |
|
Command Default
Command Modes
Policy map type queuing class configuration
Command History
|
|
---|---|
Examples
This example shows how to set the bandwidth for the specified queue:
This example shows how to remove the bandwidth for the specified queue:
Related Commands
|
|
---|---|
Displays information about the switch profile and the configuration revision. |
|
class (control plane policy map)
To specify a control plane class map for a control plane policy map, use the class command. To delete a control plane class map from a control plane policy map, use the no form of this command.
class { class-map-name [ insert-before class-map-name2 ]}
Syntax Description
Command Default
Command Modes
Control plane policy map configuration
Command History
|
|
Usage Guidelines
You must create the control plane class maps before you reference them in this command.
Examples
This example shows how to configure a class map for a control plane policy map:
This example shows how to configure a class map for a control plane policy map and insert it before an existing class map:
This example shows how to delete a class map from a control plane policy map:
Related Commands
class (policy map type qos)
To add a reference to an existing qos class map in a policy map and enter the class mode, use the class command. To remove a class from the policy map, use the no form of this command.
class [ type qos ] class-map-name
Syntax Description
Command Default
Command Modes
Qos policy map configuration
Qos policy map in switch profile configuration mode
Command History
|
|
Usage Guidelines
Policy actions in the first class that matches the traffic type are performed.
By default, the class-default class of type qos is created under every policy map of type qos in the system and it is mapped to the QoS group 0. You cannot change this mapping.
You cannot remove the class-default of type qos. If you attempt to delete the class-default class, the switch returns an error message.
Examples
This example shows how to add a reference to a qos class map at the end of a policy map:
switch(
config)#
policy-map my_policy1
This example shows how to remove a class map reference in a policy map:
switch(
config)#
policy-map my_policy1
Related Commands
|
|
---|---|
Displays information about the switch profile and the configuration revision. |
|
class class-default
To add a reference to the system default class that does not match any traffic class, use the class class-default command. To remove the system default class from the policy map, use the no form of this command.
Syntax Description
Command Default
Command Modes
QoS policy map configuration
QoS policy map in switch profile configuration mode
Command History
|
|
---|---|
Usage Guidelines
Traffic that fails to match any class is assigned to a default class of traffic called class-default. You cannot delete this class.
Examples
This example shows how to add a reference to the system default class at the end of a policy map in a switch profile:
Related Commands
|
|
---|---|
Displays information about the switch profile and the configuration revision. |
|
class type network-qos
To add a reference to an existing network QoS class map in a policy map and enter the class mode, use the class type network-qos command. To remove a class from the policy map, use the no form of this command.
class type network-qos class-map-name
no class type network-qos class-map-name
Syntax Description
Reference to a network QoS class map. The class map name can be a maximum of 40 characters. The name is case sensitive and can only contain alphabetic characters, numbers, hyphens, and underscores. |
Command Default
Command Modes
Policy map type network-qos configuration
Policy map type network-qos in switch profile configuration mode
Command History
|
|
---|---|
Usage Guidelines
Policy actions in the first class that matches the traffic type are performed.
Examples
This example shows how to add a reference to a class map in a type network-qos policy map:
This example shows how to remove a class map reference in a type network-qos policy map:
This example shows how to add a reference to a class map in a network-qos policy map in a switch profile:
Related Commands
|
|
---|---|
Displays information about the switch profile and the configuration revision. |
|
class type queuing
To add a reference to an existing queuing class map in a policy map and enter the class mode, use the class type queuing command. To remove a class from the policy map, use the no form of this command.
class type queuing class-map-name
no class type queuing class-map-name
Syntax Description
Reference to a queuing class map. The class map name can be a maximum of 40 characters. The name is case sensitive and can only contain alphabetic characters, numbers, hyphens, and underscores. |
Command Default
Command Modes
Policy map type queuing configuration
Command History
|
|
Usage Guidelines
Policy actions in the first class that matches the traffic type are performed.
Examples
This example shows how to add a reference to a class map in a type queuing policy map:
switch(
config)#
policy-map type queuing my_policy1
This example shows how to remove a class map reference in a type queuing policy map:
switch(
config)#
policy-map type queuing my_policy1
Related Commands
|
|
---|---|
Displays information about the switch profile and the configuration revision. |
|
class-map
To create or modify a class map and enter the class-map configuration mode, use the class-map command. To remove a class map, use the no form of this command.
class-map [ type qos ] [ match-all | match-any ] class-map-name
no class-map [ type qos ] [ match-all | match-any ] class-map-name
Syntax Description
Command Default
Command Modes
Global configuration mode
Switch profile configuration mode
Command History
|
|
Usage Guidelines
You can define a class map for each class of traffic to be used in QoS policies.
If the packet matches any of the criteria configured for this class map with the match command, then this class map is applied to the packet. If no execution strategy is specified (match-any or match-all), then the default value of match-any is applied to the traffic class.
Examples
This example shows how to create or modify a qos class map:
switch(
config)#
class-map my_class1
This example shows how to create a qos class map to match all traffic packets:
switch(
config)#
class-map type qos match-all my_class2
This example shows how to remove a qos class map:
switch(
config)#
no class-map my_class1
Related Commands
|
|
---|---|
Displays information about the switch profile and the configuration revision. |
|
class-map type control-plane
To create or specify a control plane class map and enter class map configuration mode, use the class-map type control-plane command. To delete a control plane class map, use the no form of this command.
class-map type control-plane [ match-any ] class-map-name
no class-map type control-plane [ match-any ] class-map-name
Syntax Description
(Optional) Specifies to match any match conditions in the class map. |
|
Name of the class map. The name is alphanumeric and case-sensitive. The maximum length is 64 characters. |
Command Default
Command Modes
Command History
|
|
Usage Guidelines
You cannot use match-any or class-default as names for control plane class maps.
You can delete only dynamic class-maps of type control-plane. You cannot delete static class-maps of type control-plane.
Examples
This example shows how to specify a control plane class map and enter class map configuration mode:
This example shows how to delete a control plane class map:
Related Commands
|
|
---|---|
Matches traffic with a specified access control list (ACL) group. |
|
Displays control plane policy map configuration information. |
class-map type network-qos
To create or modify a class map that defines a network QoS class of traffic and enter the class-map configuration mode, use the class-map type network-qos command. To remove a class map, use the no form of this command.
class-map type network-qos class_map_name
no class-map type network-qos class_map_name
Syntax Description
Command Default
Command Modes
Global configuration mode
Switch profile configuration mode
Command History
|
|
---|---|
Usage Guidelines
Class maps of type network qos support only the match qos-group command. If a traffic packet matches any of the criteria configured for this class map with the match command, then this class map is applied to the packet. By default, traffic is filtered using the implicit match-any option.
Examples
This example shows how to create or modify a network qos class map named my_class1:
switch(
config)#
class-map type network-qos my_class1
This example shows how to remove a network qos class map:
switch(
config)#
no class-map my_class1
Related Commands
|
|
---|---|
Displays information about the switch profile and the configuration revision. |
|
class-map type queuing
To create or modify a class map that defines a queuing class of traffic and enter the class-map configuration mode, use the class-map type queuing command. To remove the queuing class map, use the no form of this command.
class-map type queuing class_map_name
no class-map type queuing class_map_name
Syntax Description
Command Default
Command Modes
Global configuration mode
Switch profile configuration mode
Command History
|
|
---|---|
Usage Guidelines
If you modify the queuing type class maps, the configuration for all ports of the specified port type also changes.
You cannot delete the system-defined queuing class map names.
Class maps of type queuing support only the match qos-group command. If a traffic packet matches any of the criteria configured for this class map with the match command, then this class map is applied to the packet. By default, traffic is filtered using the implicit match-any option.
Examples
This example shows how to create or modify a queuing class map:
switch(
config)#
class-map type queuing my_class1
This example shows how to remove a queuing class map:
switch(
config)#
no class-map type queuing my_class1
Related Commands
|
|
---|---|
Configures a traffic class that matches the QoS group values. |
|
Displays information about the switch profile and the configuration revision. |
|
clear copp statistics
To clear Control Plane Policing (CoPP) statistics, use the clear copp statistics command.
Syntax Description
Command Default
Command Modes
Command History
|
|
Usage Guidelines
Examples
This example shows how to clear the CoPP statistics:
Related Commands
|
|
---|---|
clear qos statistics
To clear the quality of service (QoS) statistics, use the clear qos statistics command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Examples
This example shows how to clear all the QoS statistics:
Related Commands
|
|
---|---|
congestion-control random-detect
To configure weighted random early detection (WRED), use the congestion-control random-detect command. To remove the WRED configuration, use the no form of this command.
congestion-control random-detect
no congestion-control random-detect
Syntax Description
Command Default
Command Modes
Policy-map type network-qos configuration mode
Policy-map type network-qos in switch profile configuration mode
Command History
|
|
---|---|
Usage Guidelines
WRED is useful on any output interface where you expect to have congestion.
Examples
This example shows how to configure congestion control:
This example shows how to configure an ECN in a switch profile:
Related Commands
|
|
---|---|
Displays information about the switch profile and the configuration revision. |
|
congestion-control random-detect ecn
To configure an explicit congestion notification (ECN), use the congestion-control random-detect ecn command. To remove the ECN configuration, use the no form of this command.
congestion-control random-detect ecn
no congestion-control random-detect ecn
Syntax Description
Command Default
Command Modes
Policy-map type network-qos configuration mode
Policy-map type network-qos in switch profile configuration mode
Command History
|
|
---|---|
Usage Guidelines
ECN marks packets, instead of dropping them, when the average queue length exceeds a specific threshold.
Examples
This example shows how to configure an ECN:
This example shows how to configure an ECN in a switch profile:
Related Commands
|
|
---|---|
Displays information about the switch profile and the configuration revision. |
|
congestion-control random-detect forward-nonecn
To allow non-ECN-capable traffic to bypass WRED thresholds and grow until the egress queue-limit and tail drops use the congestion-control random-detect forward-nonecn command.
congestion-control random-detect forward-nonecn
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
This command is intended to be used with a WRED+ECN configuration and when the intention is to avoid WRED drops of non-ECN-capable traffic. This command is not supported on the Cisco Nexus 3500 Series Switches but is supported on all other Cisco Nexus 3000 Series Switches.
Examples
This example shows how the command is used on the switch:
Related Commands
|
|
---|---|
congestion-control random-detect global-buffer
To configure the global threshold for ECN, use the congestion-control random-detect global-buffer command. To remove the configuration, use the no form of this command.
congestion-control random-detect global-buffer min-threshold [ bytes | kbytes | mbytes | packets ] maximum-threshold max-threshold [ bytes | kbytes | mbytes | packets ]
no congestion-control random-detect global-buffer min-threshold [ bytes | kbytes | mbytes | packets ] maximum-threshold max-threshold [ bytes | kbytes | mbytes | packets ]
Syntax Description
Command Default
Command Modes
Policy-map type network-qos configuration mode
Command History
|
|
---|---|
Usage Guidelines
Examples
This example shows how to configure congestion control global buffer:
Related Commands
|
|
---|---|
control-plane
To enter control-plane configuration mode, which allows users to associate attributes that are associated with the control plane of the device, use the control-plane command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
After you use the control-plane command, you can associate a service policy to police all traffic that is destined to the control plane.
Examples
This example shows how to enter the control plane configuration mode:
Related Commands
|
|
---|---|
Attaches a policy map to a control plane for aggregate control plane services. |
|
Displays the configuration of a class or all classes for the policy map of a control plane. |
description
To add a description to a class map, policy map, or table map, use the description command. To remove the description, use the no form of this command.
Syntax Description
Description for the class map, policy map, or table map. The description can be a maximum of 200 alphanumeric characters. |
Command Default
Command Modes
Class map (type network qos, qos, queuing) configuration mode
Policy map (type network qos, qos, queuing) configuration mode
Class map in switch profile configuration mode
Policy map in switch profile configuration mode
Command History
|
|
Examples
This example shows how to add a description to a qos class map:
switch(
config)#
class-map my_class1
Related Commands
|
|
---|---|
Displays information about the switch profile and the configuration revision. |
|
hardware profile pfc mmu buffer-reservation
To reserve a percentage of shared buffers for PFC traffic, use the hardware profile pfc mmu buffer-reservation command.
hardware profile pfc mmu buffer-reservation percentage
Syntax Description
Command Default
Command Modes
Command History
|
|
Examples
This example shows how to add a description to a qos class map:
switch#
configure terminal
Usage Guidelines
When you run this command, there will be system-wide traffic disruption on all ports.
Configure this buffer reservation percentage before enabling PFC on the interfaces. If you do not have PFC-enabled interfaces, using the default reservation is recommended.
Related Commands
|
|
---|---|
ip dscp (ERSPAN)
To configure the differentiated services code point (DSCP) value of the packets in the Encapsulated Remote Switched Port Analyzer (ERSPAN) traffic, use the ip dscp command. To revert to the default settings, use the no form of this command.
Syntax Description
DSCP value of the packets in the ERSPAN traffic. The range is from 0 to 63. |
Command Default
Command Modes
ERSPAN session configuration mode
Command History
|
|
Usage Guidelines
Examples
This example shows how to configure the DSCP value of the packets in the ESRSPAN traffic:
Related Commands
|
|
---|---|
Configures the IP time-to-live (TTL) value of the ERSPAN traffic. |
|
Enters the monitor configuration mode for configuring an ERSPAN session for analyzing traffic between ports. |
ip ttl (ERSPAN)
To configure the IP time-to-live (TTL) value of the Encapsulated Remote Switched Port Analyzer (ERSPAN) traffic, use the ip ttl command. To revert to the default setting, use the no form of this command.
Syntax Description
IP TTL value of the ERSPAN traffic. The range is from 1 to 255. |
Command Default
Command Modes
ERSPAN session configuration mode
Command History
|
|
Usage Guidelines
Examples
This example shows how to configure the IP TTL value of the ESRSPAN source:
Related Commands
|
|
---|---|
Configures the DSCP value of the packets in the ERSPAN traffic. |
|
Enters the monitor configuration mode for configuring an ERSPAN session for analyzing traffic between ports. |
match access-group
To identify a specified access control list (ACL) group as a match criteria for a class map, use the match access-group command. To remove an ACL match criteria from a class map, use the no form of this command.
match access-group name acl-name
no match access-group name acl-name
Syntax Description
Command Default
Command Modes
QoS class-map configuration mode
Control plane class-map configuration mode
Command History
|
|
Support for this command was introduced in control plane class maps. |
Usage Guidelines
You must create the IP ACLs before you reference them in this command.
You can associate only one ACL with a class-map of type control-plane.

Note The permit and deny ACL keywords do not affect the matching of packets.
Examples
This example shows how to create a qos class map that matches characteristics of the ACL my_acl:
switch#
configure terminal
switch(
config)#
class-map class_acl
This example shows how to create a control plane class map that matches characteristics of the ACL copp-system-acl-snmp:
switch#
configure terminal
switch(
config)#
class-map type control-plane match-any copp-snmp
This example shows how to remove an access group from a control plane class map:
switch#
configure terminal
switch(
config)#
class-map type control-plane match-any copp-snmp
Related Commands
|
|
---|---|
Creates or specifies a control plane class map and enters class map configuration mode. |
|
Displays configuration information for control plane class maps. |
match cos
To define the class of traffic using the class of service (CoS) value in a type qos class map, use the match cos command. To remove the match on the CoS value, use the no form of this command.
Syntax Description
Specified CoS value or list of specified CoS values. Valid values are from 0 to 7. |
Command Default
Command Modes
Class-map type qos configuration
Command History
|
|
Usage Guidelines
To specify a list of values, use one of the following options:
- Specify a range of values separated by a dash
- Specify a noncontiguous list of values separated by commas

Note Only class maps of type qos support the optional not keyword form of this command. Class maps of type queuing do not support the not keyword.
Examples
This example shows how to match on the CoS value for a type qos class map:
switch(
config)#
class-map type qos match-any class_acl
Related Commands
|
|
---|---|
Displays information about the switch profile and the configuration revision. |
|
match dscp
To identify specific differentiated services code point (DSCP) values as a match criteria, use the match dscp command. To remove specified DSCP values as a match criteria, use the no form of this command.
no match [ not ] dscp dscp-list
Syntax Description
Specified DSCP value or list of DSCP values. See Table 1 for a list of valid DSCP values. |
Command Default
Command Modes
Class-map type qos configuration
Command History
|
|
Usage Guidelines
The standard DSCP values are shown in Table 1 .
|
|
---|---|
To specify a list of values, use one of the following options:
Examples
This example shows how to match on DSCP value af21:
switch(
config)#
class-map type qos my_test
Related Commands
|
|
---|---|
Displays information about the switch profile and the configuration revision. |
|
match ip rtp
To configure a class map to use the Real-Time Protocol (RTP) port as a match criteria, use the match ip rtp command. To remove the RTP port as a match criteria, use the no form of this command.
match [ not ] ip rtp port-list
no match [ not ] ip rtp port-list
Syntax Description
Specified UDP port or list of UDP ports that are using RTP. Valid values range from 2000 to 65535. |
Command Default
Command Modes
Class-map type qos configuration
Command History
|
|
Usage Guidelines
To specify a list of values, use one of the following options:
Examples
This example shows how to match on a port using RTP:
switch(
config)#
class-map type qos my_test
Related Commands
|
|
---|---|
Displays information about the switch profile and the configuration revision. |
|
match precedence
To configure a class map to use the precedence value in the type of service (ToS) byte field of the IP header as a match criteria, use the match precedence command. To remove the precedence values as a match criteria, use the no form of this command.
match [ not ] precedence precedence-list
no match [ not ] precedence precedence-list
Syntax Description
Specified IP precedence value or list of IP precedence values specified in bytes. Valid values are shown in Table 2 . |
Command Default
Command Modes
Class-map type qos configuration
Command History
|
|
Usage Guidelines
See Table 2 for a list of precedence values.
|
|
---|---|
To specify a list of values, use one of the following options:
Examples
This example shows how to match on an IP precedence value:
switch(
config)#
class-map my_test
Related Commands
|
|
---|---|
Displays information about the switch profile and the configuration revision. |
|
match qos-group
To configure a class map to use a specific QoS group value as a match criterion, use the match qos-group command. To remove the specified protocol as a match criteria, use the no form of this command.
match qos-group qos-group-list
no match qos-group qos-group-list
Specified Qos group value or list of QoS group values specified in bytes. The valid values are from 1 to 7. |
Command Default
Command Modes
Class map type network-qos configuration
Class map type queuing configuration
Class map in switch profile configuration mode
Command History
|
|
---|---|
Usage Guidelines
The QoS group is an internal label and is not part of the packet payload or any packet header. The QoS group values have no mathematical significance. For example, a QoS group value of 2 is not greater than 1; the values are used only to internally differentiate QoS groups. As such, this value has local significance only.
You match on the QoS group only in egress policies because its value is undefined until you set it in an ingress policy.
To specify a list of values, use one of the following options:
Examples
This example shows how to match on a specified QoS group value:
Related Commands
|
|
---|---|
Displays information about the switch profile and the configuration revision. |
|
mtu (ERSPAN)
To set the maximum transmission unit (MTU) size for ERSPAN packets in a monitor session, use the mtu command. To remove the configured MTU, use the no form of this command.
Syntax Description
Maximum allowable MTU for ERSPAN packets in a monitor session. The range is from 64 to 1518 bytes. |
Command Default
Command Modes
ERSPAN session configuration mode
Command History
|
|
---|---|
Usage Guidelines
ERSPAN packets that are larger than the specified allowable size for the monitor session are truncated.
Examples
This example shows how to set an MTU value for an ERSPAN session:
Related Commands
|
|
---|---|
mtu (interface)
To configure the maximum transmission unit (MTU) size for Layer 2 and Layer 3 Ethernet interfaces, use the mtu command. To remove the configured MTU, use the no form of this command.
Syntax Description
MTU value for the class of service (CoS). Valid values are 1500 to 9216. |
Command Default
Command Modes
Policy map type network-qos class configuration
Policy map type network-qos class in switch profile configuration mode
Command History
|
|
---|---|
Usage Guidelines
You can specify the MTU value for either a single Layer 3 interface or a range of Layer 3 interfaces. When you change the Layer 3 interface MTU value to the Jumbo MTU value (1500 bytes or greater), you must also change the network QoS MTU value to 1500 bytes or greater. The device generates a syslog message to inform you of this requirement.
The MTU value you configure is determined by the MTU value configured on the class-default class map.

Note Make sure you configure the same MTU value on all class maps in the system.
Examples
This example shows how to set an MTU value for a class in a type network-qos policy map:
This example shows how to set an MTU value for a class in a network-qos policy map in a switch profile:
Related Commands
|
|
---|---|
Displays information about the switch profile and the configuration revision. |
|
pause buffer-size
To specify the buffer threshold settings for pause and resume, use the pause buffer-size command. To remove the buffer threshold settings for pause and resume, use the no form of this command.
pause buffer-size buffer-size pause-threshold xoff-size resume-threshold xon-size
no pause buffer-size buffer-size pause-threshold xoff-size resume-threshold xon-size
Syntax Description
Command Default
Command Modes
Policy map type queuing class configuration mode
Command History
|
|
Usage Guidelines
Use this command to configure the buffer size and threshold values.
Examples
This example shows how to configure the buffer size:
Related Commands
|
|
---|---|
pause no-drop
To enable Class Based Flow Control (CBFC) pause characteristics on a class referenced in a type network-qos policy map, use the pause command. To disable the CBFC pause characteristics on a class, use the no form of this command.
Syntax Description
Command Default
Command Modes
Policy map type network-qos class configuration
Command History
|
|
Usage Guidelines
You can configure PFC CoS only for traffic classes that match a criteria other than the CoS value (match cos).
Examples
This example shows how to enable pause no-drop on a class referenced in a type network-qos policy map:
Related Commands
|
|
---|---|
pause priority-group
To map no-drop class traffic to a priority group, use the pause priority-group command.
pause priority-group priority group number
Syntax Description
Ingress priority group to which the traffic is mapped and pause limits are applied. The values range from 0 to 5. |
Command Default
Command Modes
Policy map type queuing class configuration mode
Command History
|
|
Usage Guidelines
By default, the system maps the priority groups. Use this command only if you want to change these mappings.
Examples
This example shows how to map no-drop traffic classes to priority groups:
Related Commands
|
|
---|---|
police (policy map)
To configure traffic policing for a class map in a control plane policy map, use the police command.
Syntax Description
Average rate in packets per second (pps). The range is from 0 to 20,000. |
|
(Optional) Specifies units for traffic rates in packets per second. |
Command Default
Command Modes
Control plane policy map configuration mode
Command History
|
|
Usage Guidelines
The PPS Credit Limit (PCL), which is the aggregate of packets per second (pps) rates of all classes in the policy, cannot exceed 22,800 packets per second for a control plane policy map. If you exceed this limit, the configuration is rejected and you will see the following error message:
Examples
This example shows how to configure traffic policing in a control plane policy map with the average rate at 200 packets per second:
Related Commands
policy-map type control-plane
To enter the control plane policy map configuration mode, use the policy-map type control-plane command.
policy-map type control-plane policy-map-name
Syntax Description
Name of the default control plane policy map. The name is alphanumeric, case sensitive, and has a maximum of 64 characters. |
Command Default
Command Modes
Command History
|
|
Usage Guidelines
In Cisco Nexus 3000 Series switches, you cannot create a user-defined Control Plane Policing (CoPP) policy map. The switch software includes a default control plane policy map, copp-system-policy. You can, however, add or remove classes to or from the default control-plane policy map.
If you attempt to create a control plane policy with a name other than the default, you will see the following error message:
Examples
This example shows how to enter the control plane policy map configuration mode:
This example shows the error message that appears when you create a control plane policy map other than the default control plane policy map:
Related Commands
|
|
---|---|
Displays configuration information for control plane policy maps. |
policy-map type network-qos
To create or modify a policy map and enter the policy map type network-qos configuration mode, use the policy-map type network-qos command. To remove a policy map, use the no form of this command.
policy-map type network-qos policy-map-name
no policy-map type network-qos policy-map-name
Syntax Description
Name assigned to a type network-qos policy map. The name can be a maximum of 40 alphanumeric characters. |
Command Default
Command Modes
Global configuration mode
Switch profile configuration mode
Command History
|
|
---|---|
The prompt on entering policy map type network-qos has changed. |
|
Usage Guidelines
Use the service-policy command to assign policy maps to interfaces.
Examples
This example shows how to create or modify a type network-qos policy map:
This example shows how to remove a type network-qos policy map:
This example shows how to create or modify a network-qos policy map in a switch profile:
Related Commands
|
|
---|---|
Displays information about the switch profile and the configuration revision. |
|
policy-map (type qos)
To create or modify a policy map and enter the policy map type qos configuration mode, use the policy-map command. To remove a QoS policy map, use the no form of this command.
policy-map [ type qos ] qos-policy-map-name
no policy-map [ type qos ] qos-policy-map-name
Syntax Description
Name assigned to a type qos policy map. The name can be a maximum of 40 alphanumeric characters. |
Command Default
The software enters the policy map type qos configuration mode if you enter the policy-map command without specifying a type.
Command Modes
Global configuration mode
Switch profile configuration mode
Command History
|
|
Usage Guidelines
Use the service-policy command to assign policy maps to interfaces.
Examples
This example shows how to create or modify a type qos policy map:
switch(
config)#
policy-map my_policy1
This example shows how to remove a type qos policy map:
switch(
config)#
no policy-map my_policy1
Related Commands
|
|
---|---|
Displays information about the switch profile and the configuration revision. |
|
policy-map type queuing
To create or modify a policy map and enter the policy map type queuing configuration mode, use the policy-map type queuing command. To remove a policy map, use the no form of this command.
policy-map type queuing queuing-policy-map-name
no policy-map type queuing queuing-policy-map-name
Syntax Description
Name assigned to a type queuing policy map. The name can be a maximum of 40 alphanumeric characters. |
Command Default
Command Modes
Global configuration mode
Switch profile configuration mode
Command History
|
|
Usage Guidelines
Use the service-policy command to assign policy maps to interfaces.
Examples
This example shows how to create or modify a queuing policy map:
switch(
config)#
policy-map type queuing my_policy1
This example shows how to remove a type queuing policy map:
switch(
config)#
no policy-map type queuing my_policy1
Related Commands
|
|
---|---|
Displays information about the switch profile and the configuration revision. |
|
priority
To assign a priority to a traffic class in a policy map, use the priority command. To remove the mapping, use the no form of this command.
Syntax Description
Command Default
Command Modes
Policy map type queuing class configuration
Command History
|
|
---|---|
Usage Guidelines
When you configure a strict priority queue for a traffic class in a policy map, the priority class receives preference over other class queues. This queue is serviced before all other queues except queue zero (which carries control traffic, not data traffic).
You can configure a strict priority queue for only one traffic class.
Examples
This example shows how to map the traffic class to a strict priority queue:
Related Commands
|
|
---|---|
Displays information about the switch profile and the configuration revision. |
|
priority level
To assign a strict priority level to a traffic class in a policy map for the Cisco Nexus 3100 Series switches, use the priority level command. To remove the mapping, use the no form of this command.
priority level strict-priority level
no priority level strict-priority level
Syntax Description
Specifies the strict-priority level. These levels can range from 1 to 3, where 1 is the highest and 3 is the lowest priority. |
Command Default
Command Modes
Policy map type queuing class configuration
Command History
|
|
---|---|
Usage Guidelines
When you configure a strict priority level for a traffic class in a policy map, the priority class receives preference over other class queues. A queue with priority level 1 is serviced before a queue with priority level 2 or 3.

Note You can use this command only on Cisco Nexus 3100 Series switches.
Examples
This example shows how to map the traffic class to a strict priority level:
Related Commands
|
|
---|---|
Displays information about the switch profile and the configuration revision. |
|
priority-flow-control mode
To set the priority-flow-control (PFC) mode for the selected interface, use the priority-flow-control mode command.
priority-flow-control mode {auto | on | off}
no priority-flow-control mode {auto | on | off}
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Examples
This example shows how to force-enable PFC on an interface:
This example shows how to force-disable PFC on an interface:
Related Commands
|
|
---|---|
Displays the priority flow control details for a specified interface. |
queue-limit
To set queue limits on ingress priority group and egress queues, use the queue-limit command. To remove a queue limit, use the no form of this command.
queue-limit queue-size [dynamic dynamic threshold]
no queue-limit queue-size [dynamic dynamic threshold]
Syntax Description
Queue size threshold (in bytes). The range is from 0 to 9437184. |
|
Index used to calculate the queue's threshold size based on the number of free cells available. |
Command Default
Command Modes
Policy map type queuing class configuration mode
Command History
|
|
---|---|
Usage Guidelines
You can use this command to specify or modify the maximum number of packets that a queue can hold for a class policy configured in a policy map. The system drops packets that exceed the configured queue-size threshold.
Examples
This example shows how to set a dynamic queue limit:
This example shows how to set a static queue limit:
Related Commands
|
|
---|---|
random-detect
To configure weighted random early detection (WRED) or explicit congestion notification (ECN) on both ingress and egress queues by setting aggregate minimum and maximum packet drop or mark threshold default values for a specific class of service, use the random-detect command. To remove a WRED configuration, use the no form of this command.
random-detect minimum-threshold min-threshold [ bytes | kbytes | mbytes | packets ] maximum-threshold max-threshold [ bytes | kbytes | mbytes | packets ] drop-probability drop probability weight weight cap-average
no random-detect minimum-threshold min-threshold [ bytes | kbytes | mbytes | packets ] maximum-threshold max-threshold [ bytes | kbytes | mbytes | packets ] drop-probability drop probability value weight weight cap-average
Syntax Description
Command Modes
Policy map type queuing class configuration
Command History
|
|
---|---|
The drop-probability, weight and cap-average keywords were introduced. |
|
Usage Guidelines
The minimum and maximum threshold units must match.
The system drops packets that exceed the minimum threshold at an increasing rate as the maximum threshold is reached. By default, the units are in packets,
You cannot configure WRED on ingress on the 10-Gigabit Ethernet ports.
This command does not require a license.
This example shows how to map the traffic class to a strict priority queue:
Examples
This example shows how to configure ECN threshold on a per class basis:
Related Commands
|
|
---|---|
service-policy (control-plane)
To attach a policy map to a control plane for aggregate control plane services, use the service-policy command.
service-policy input policy-map-name
Syntax Description
Applies the specified service policy to packets that are entering the control plane. |
|
Name of the control plane policy map to be attached. The name can be a maximum of 64 alphanumeric characters. |
Command Default
Command Modes
Control-plane configuration mode
Command History
|
|
---|---|
Usage Guidelines
After using the control-plane command, you should use the service-policy command to configure a quality of service (QoS) policy. This policy is attached to the control plane interface for aggregate control plane services, which can control the number or rate of packets that are going to the process level.
Examples
This example shows how to attach a control-plane policy map to the control plane:
Related Commands
|
|
---|---|
Displays the configuration of a class or all classes for the policy map of a control plane. |
service-policy (policy-map class)
To attach a policy map to an interface, use the service-policy command. To remove a service-policy from an interface, use the no form of this command.
service-policy { input | type { qos input | queuing [input | output] }} policy-map-name
no service-policy { input | type { qos input | queuing [input | output] }} policy-map-name
Syntax Description
Command Default
Command Modes
Interface configuration mode
Subinterface configuration mode
Command History
|
|
Usage Guidelines
You can attach one egress type queuing policy map to an interface of type port, and port channel. Only one policy map can be attached to the input of a given interface for the policy type qos.
Examples
This example shows how to attach qos type policy maps to the incoming packets of a Layer 2 interface:
switch(config)#
system qos
This example shows how to attach a qos type policy map named set-dscp to the incoming packets of a Layer 2 interface:
switch(config)#
interface ethernet 2/1
Related Commands
|
|
---|---|
Displays all interfaces and VLANs with attached service policies in a brief format. |
|
service-policy (system qos)
To attach a policy map to a system policy, use the service-policy command. To remove a service-policy from a system policy, use the no form of this command.
service-policy { input | type { network-qos | qos input | queuing [input | output] }} policy-map-name
no service-policy { input | type { network-qos | qos input | queuing [input | output }} policy-map-name
Syntax Description
Command Default
Command Modes
System QoS configuration mode
Switch profile system QoS configuration mode
Command History
|
|
Suppport for this command was introduced in switch profiles. |
Examples
This example shows how to attach a queuing policy map to the system policy:
switch(
config)#
system qos
Related Commands
|
|
---|---|
set cos (policy map type network-qos)
To assign a class of service (CoS) value for a class of traffic in a type network-qos policy map, use the set cos command. To remove the assigned value from the class, use the no form of this command.
Syntax Description
CoS value to assign for this class of traffic. The range is from 0 to 7. |
Command Default
Command Modes
Policy map type network-qos class configuration
Policy map type network-qos class in switch profile configuration mode
Command History
|
|
Usage Guidelines
You can use this command only on type network-qos policies that are attached to egress ports.
Examples
This example shows how to assign a CoS value for a class of traffic in a type network-qos policy map:
switch(
config)#
policy-map type network-qos my_policy1
This example shows how to remove the assignment of CoS for a class of traffic in a type network-qos policy map:
switch(
config)#
policy-map type network-qos my_policy1
This example shows how to assign a CoS value for a class of traffic in a network-qos policy map in a switch profile:
Related Commands
|
|
---|---|
Displays information about the switch profile and the configuration revision. |
|
set dscp
To assign a Differentiated Services Code Point (DSCP) value for a traffic class in a type qos policy map, use the set dscp command. To remove a previously set DSCP value, use the no form of this command.
Syntax Description
DSCP value or parameter to assign for this class of traffic. Valid values are from 0 to 63. For a list of standard DSCP values, see Table 1 . |
Command Default
Command Modes
Policy map type qos configuration mode
QoS policy map in switch profile configuration mode
Command History
|
|
---|---|
Usage Guidelines
Marking is a method that you use to modify the QoS fields of the incoming and outgoing packets.
You can set the value of standard QoS fields IP precedence, DSCP, class of service (CoS), and internal labels that can be used in subsequent actions. Marking is used to identify the traffic type for use in policing, queuing, and scheduling traffic (only CoS is used in scheduling).
Use this command to classify the traffic based on the DSCP packet header field. When you set the DSCP value for a packet, make sure that you use a traffic class other than the class-default system class. For example, you would use qos-group x, where x is any value from 1 to 7.

Note You cannot set the DSCP packet header field if the traffic is in the class-default system class (qos-group 0).
You can set the DSCP value in the six most significant bits of the DiffServ field of the IP header to a specified value. You can enter numeric values from 0 to 63, as well as the standard DSCP values shown in Table Table 1 .
If you set the values for more than two IP header fields, an error similar to the following appears:

Note You can set DSCP or IP precedence but you cannot set both values because they modify the same field in the IP packet.
After you set the DSCP value, for the QoS policy map to work correctly and create the specified QoS groups, make sure that you attach the QoS policy map to a system policy, define a network-qos policy map, and attach it to the system policy. Make sure that the QoS group of the QoS policy map matches the QoS group of the network-qos policy.
Examples
This example shows how to set the DSCP value for a QoS policy:
This example shows how to set the DSCP value for a QoS policy in a switch profile:
Related Commands
|
|
---|---|
Copies the running configuration to the startup configuration file. |
|
Displays information about the switch profile and the configuration revision. |
|
set precedence
To set the precedence value in an IP header for a class of traffic in a type qos policy map, use the set precedence command. To leave the precedence value unchanged for the class, use the no form of this command.
set precedence precedence-value
no set precedence precedence-value
Syntax Description
IP precedence value to assign for this class of traffic. Valid values are from 0 to 7. For a list of standard precedence values, see Table 2 . |
Command Default
Command Modes
Policy map type qos configuration
Policy map type qos in switch profile configuration mode
Command History
|
|
---|---|
Support was added to set IP precedence values in a switch profile. |
Usage Guidelines
Marking is a method that you use to modify the QoS fields of the incoming and outgoing packets.
You can set the value of standard QoS fields IP precedence, DSCP, class of service (CoS), and internal labels that can be used in subsequent actions. Marking is used to identify the traffic type for use in policing, queuing, and scheduling traffic (only CoS is used in scheduling).
Use this command to classify the traffic based on the IP precedence packet header field. When you set the IP precedence value for a packet, make sure that you use a traffic class other than the class-default system class. For example, you would use qos-group x, where x is any value from 1 to 7.

Note You cannot set the IP precedence packet header field if the traffic is in the class-default system class (qos-group 0).
If you set the values for more than two IP header fields, you see the following error message:

Note You can set DSCP or IP precedence but you cannot set both values because they modify the same field in the IP packet.
After you set the IP precedence value, for the QoS policy map to work correctly and create the specified QoS groups, make sure that you attach the QoS policy map to a system policy, define a network-qos policy map, and attach it to the system policy. Make sure that the QoS group of the QoS policy map matches the QoS group of the network-qos policy.
Examples
This example shows how to set the IP precedence value for a QoS policy:
This example shows how to set the IP precedence value for a QoS policy in a switch profile:
Related Commands
|
|
---|---|
Copies the running configuration to the startup configuration file. |
|
Displays information about the switch profile and the configuration revision. |
|
set qos-group
To assign the qulaity of service (QoS) group identifier for a class of traffic in a type qos policy map, use the set qos-group command. To remove the assigned value from the class, use the no form of this command.
no set qos-group qos-group-value
Syntax Description
QoS group value to assign for this class of traffic. The range is from 1 to 7. |
Command Default
Command Modes
Policy map type qos class configuration
Policy map type qos in switch profile configuration mode
Command History
|
|
---|---|
Usage Guidelines
You can set the QoS group identifier value only in ingress policies. You can set a maximum of seven QoS groups in ingress policies.
Examples
This example shows how to assign a QoS group identifier for a class of traffic in a type qos policy map:
This example shows how to assign a QoS group identifier to a QoS policy in a switch profile:
Related Commands
|
|
---|---|
Copies the running configuration to the startup configuration file. |
|
Displays information about the switch profile and the configuration revision. |
|
shape
To control the traffic going out an interface in order to match its flow to the speed of the remote target interface, use the shape command.
shape {kbps | mbps | gbps} burst size min minimum bandwidth
Syntax Description
Specifies the threshold value as Kilobytes per second, Megabytes per second, or Gigabytes per second. |
|
Command Default
Command Modes
Policy map queue configuration mode
Command History
|
|
Usage Guidelines
Examples
The following example shows how to configuring shaping using 30000000 kbps:
Related Commands
|
|
---|---|
Displays the queuing information configured the specified interface. |
|
Shows the aggregated output traffic rate on all egress queues of the specified interface. |
show class-map type control-plane
To display control plane class map information, use the show class-map type control-plane command.
show class-map type control-plane [ class-map-name ]
Syntax Description
(Optional) Name of the control plane class map. The name is alphanumeric and case-sensitive. The maximum length is 64 characters. |
Command Default
Command Modes
Command History
|
|
Usage Guidelines
Examples
This example shows how to display control plane class map information:
Related Commands
|
|
---|---|
show class-map type network-qos
To display type network-qos class maps, use the show class-map type network-qos command.
show class-map type network-qos [ class-map-name ]
Syntax Description
Name of the class map. The name can be a maximum of 40 alphanumeric characters. |
Command Default
Displays all type network-qos class maps if no class map name is specified.
Command Modes
Command History
|
|
---|---|
Usage Guidelines
If you do not specify the type, the command displays all the class maps configured in the system.
Examples
This example shows how to display all type network-qos class maps:
This example shows how to display all network-qos class maps:
Starting with Release 7.0(3)I2(1), the output of the show class-map type network-qos command has been updated to display all type network-qos class maps:
switch# show class-map type network-qos
Related Commands
|
|
---|---|
show class-map type qos
To display type qos class maps, use the show class-map type qos command.
show class-map type qos [ class-map-name ]
Syntax Description
Named class map. The name class-default is reserved. The name can be a maximum of 40 alphanumeric characters. |
Command Default
Displays all type qos class maps if no class map name is specified.
Command Modes
Command History
|
|
Examples
This example shows how to display all type qos class maps:
switch(
config)#
show class-map type qos
Starting with Release 7.0(3)I2(1), the output of the show class-map type qos command has been updated as follows:
switch# show class-map type qos
Related Commands
|
|
---|---|
show class-map type queuing
To display type queuing class maps, use the show class-map type queuing command.
show class-map type queuing [ class-map-name ]
Syntax Description
Named class map. The name can be a maximum of 40 alphanumeric characters. |
Command Default
Displays all type queuing class maps if no class map name is specified.
Command Modes
Command History
|
|
Examples
This example shows how to display all type queuing class maps:
switch(
config)#
show class-map type queuing
Related Commands
|
|
---|---|
show copp status
To display the Control Plane Policing (CoPP) configuration status, use the show copp status command.
Syntax Description
Command Default
Command Modes
Command History
|
|
Usage Guidelines
Examples
This example shows how to display the CoPP configuration status information:
Related Commands
|
|
---|---|
Displays CoPP configuration information in the running configuration. |
show interface priority-flow-control
To display the priority flow control details for all interfaces or a specific interface, use the show interface priority-flow-control command.
show interface [ethernet slot/port] priority-flow-control [ detail ]
Syntax Description
(Optional) Specifies the Ethernet interface and its slot number and port number. |
|
(Optional) Displays the priority flow control details for each priority level. |
Command Default
Command Modes
Command History
|
|
Examples
This example shows how to display the priority flow control details for a specified interface:
This example shows how to display the priority flow control information for all interfaces:
This example shows how to display the detailed priority flow control information for a specified interface:
Starting with Release 7.0(3)I2(1), the output of the show interface priority-flow-control and show interface priority-flow-control detail commands has been updated:
show interface priority-flow-control detail
Related Commands
|
|
---|---|
show interface untagged-cos
|
|
---|---|
To display the untagged class of service (CoS) values for a specified interface, use the show interface untagged-cos command.
show interface untagged-cos [ module module_no ]
Syntax Description
(Optional) Displays the interfaces on this module of the switch chassis. |
|
Module number in the switch chassis. The range is from 1 to 18. |
Command Default
Command Modes
Command History
|
|
Examples
This example shows how to display the untagged CoS values for interfaces:
switch#
show interface untagged-cos
Related Commands
|
|
---|---|
show policy-map
To display policy maps, use the show policy-map command.
show policy-map [ type { network-qos | qos | queuing }] [ policy-map-name ]
Syntax Description
(Optional) Named policy map. The name can be a maximum of 40 alphanumeric characters. |
Command Default
Command Modes
Command History
|
|
Support for this command was introduced for control-plane policy maps. |
|
Usage Guidelines
When you enter the show policy-map command with no arguments or keywords, the system also displays the Control Plane Policing (CoPP) information.
Examples
This example shows how to display all configured policy maps on a switch that runs Cisco NX-OS Release 5.0(3)U1(1):
This example shows how to display a named network-qos policy map on a switch that runs Cisco NX-OS Release 5.0(3)U1(1):
This example shows how to display all configured policy maps on a switch that runs Cisco NX-OS Release 5.0(3)U2(1):
Starting with Release 7.0(3)I2(1), the output of the show policy-map command has been updated as follows:
Related Commands
|
|
---|---|
show policy-map interface
To display the service policy maps configured on the interfaces, use the show policy-map interface command.
show policy-map interface [ ethernet slot / port | port-channel channel-number ] [ input | output ] [ type { qos | queuing }]
Syntax Description
Command Default
Command Modes
Command History
|
|
Usage Guidelines
Examples
This example shows how to display policy maps assigned to a specified interface:
switch#
show policy-map interface ethernet 1/1
This example shows how to display QoS policy maps assigned to a specified interface:
This example shows how to display the policy maps assigned to the output traffic of a specified interface:
Starting with Release 7.0(3)I2(1), the output of the show policy-map interface command has been updated as follows:
Related Commands
|
|
---|---|
show policy-map interface brief
To display policy maps applied to interfaces in a brief format, use the show policy-map interface brief command.
show policy-map interface brief
Syntax Description
Command Default
Command Modes
Command History
|
|
Examples
This example shows how to display assigned policy maps in a brief format:
switch(
config)#
show policy-map interface brief
Related Commands
|
|
---|---|
show policy-map interface control-plane
To display the control-plane policy maps applied to interfaces, use the show policy-map interface control-plane command.
show policy-map interface control-plane
Syntax Description
Command Default
Command Modes
Command History
|
|
Examples
This example shows how to display assigned control-plane policy maps:
switch(
config)#
show policy-map interface control-plane
Related Commands
|
|
---|---|
show policy-map system
To display all active policy maps in the system, use the show policy-map system command.
show policy-map system [ type { network-qos | qos [ input ] | queuing [ input | output ]}]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
If you do not specify a policy map type and name, the system displays all the active policy maps in the system.
Examples
This example shows how to display all active policy maps in the system:
This example shows how to display active network-qos policy maps in the system:
Starting with Release 7.0(3)I2(1), the output of the show policy-map system command has been updated as follows:
switch# show policy-map system
Related Commands
|
|
---|---|
show policy-map type control-plane
To display control plane policy map information, use the show policy-map type control-plane command.
show policy-map type control-plane [ expand ] [ name policy-map-name ]
Syntax Description
Command Default
Command Modes
Command History
|
|
Usage Guidelines
Examples
This example shows how to display control plane policy map information:
This example shows how to display control plane policy map information in expanded format:
Related Commands
|
|
---|---|
show queuing
To display the queuing information configured for all interfaces, use the show queuing command.
Syntax Description
Command Default
Displays the queuing information for all interfaces, including the control traffic queue statistics.
Command Modes
Command History
|
|
---|---|
Examples
This example shows how to display the queuing information for all interfaces:
Starting with Release 7.0(3)I2(1), the output of the show queuing command has been updated:
Usage Guidelines
The output for this command includes shaper configuration information for each class, the control queue Tx and drop statistics for each port, and WRED drop packet counts. You can also display the output in xml format by using the show queuing | xml command.
Related Commands
|
|
---|---|
show queuing interface
To display the queuing information on interfaces, use the show queuing interface command.
show queuing interface [ ethernet slot-no / port-no ]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Examples
This example shows how to display the queuing information for a specific interface:
Starting with Release 7.0(3)I2(1), the output of the show queuing interface command has been updated as shown below. Note that the output includes all queues whether or not policy has the queues enabled:
Table 3 describes the significant fields shown in the display.
|
|
---|---|
Related Commands
|
|
---|---|
show running-config copp
To display Control Plane Policing (CoPP) configuration information in the running configuration, use the show running-config copp command.
show running-config copp [ all ]
Syntax Description
Command Default
Command Modes
Command History
|
|
CoPP static class maps, copp-s-bfd and copp-s-ptp, was introduced. |
Usage Guidelines
Examples
This example shows how to display the configured CoPP information in the running configuration on a switch that runs Cisco NX-OS Release 5.0(3)U2(1):
This example shows how to display the configured and default CoPP information in the running configuration:
Related Commands
|
|
---|---|
Copies the running configuration to the startup configuration file. |
|
Displays the CoPP configuration information in the startup configuration file. |
show running-config ipqos
To display information about the running-system configuration for quality of service (QoS), use the show running-config ipqos command.
show running-config ipqos [ all ]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Use this command to view a list of default and configured class maps and policy maps and the policies attached to interfaces.
Examples
This example shows how to display QoS information:
Starting with Release 7.0(3)I2(1), the output of the show running-configuration ipqos command has been updated to view a list of default and configured class maps and policy maps and the policies attached to the interfaces:
Related Commands
|
|
---|---|
Copies the running configuration to the startup configuration file. |
|
show startup-config copp
To display the Control Plane Policing (CoPP) configuration information in the startup configuration, use the show startup-config copp command.
Syntax Description
Command Default
Command Modes
Command History
|
|
Usage Guidelines
Examples
This example shows how to display the CoPP information in the startup configuration:
Related Commands
|
|
---|---|
Copies the running configuration to the startup configuration file. |
|
Displays the CoPP configuration information in the running configuration. |
show startup-config ipqos
To display quality of service (QoS) configuration information in the startup configuration, use the show startup-config ipqos command.
show startup-config ipqos [ all ]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Examples
This example shows how to display the QoS information in the startup configuration file:
Related Commands
|
|
---|---|
Copies the running configuration to the startup configuration file. |
|
show wrr unicast-bandwidth
To display the weighted round robin (WRR) bandwidth information, use the show wrr unicast-bandwidth command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Examples
This example shows how to display the WRR bandwidth value:
Related Commands
|
|
---|---|
Assigns a weighted round robin (WRR) bandwidth value for interfaces. |
show wrr-queue qos-group-map
To display the mapped quality of service (QoS) values to egress queues, use the show wrr-queue qos-group-map command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Examples
This example shows how to display the QoS groups that are mapped to the egress queue:
Related Commands
|
|
---|---|
Maps quality of service (QoS) values to select one of the egress queues. |
system jumbomtu
To define the upper bound of any maximum transmission unit (MTU) in the system, use the system jumbomtu command.
Syntax Description
Command Default
Command Modes
Global configuration mode
Switch profile configuration mode
Command History
|
|
Suppport for this command was introduced in switch profiles. |
Examples
This example shows how to define the upper bound of any MTU in the system:
switch(
config)#
system jumbomtu 9216
This example shows how to define the upper bound of any MTU in a switch profile named s5010:
Related Commands
|
|
---|---|
Displays the jumbo MTU frames sent and received on the specified interface. |
system qos
To configure a system policy, use the system qos command.
Syntax Description
Command Default
Command Modes
Global configuration mode
Switch profile configuration mode
Command History
|
|
Suppport for this command was introduced in switch profiles. |
Examples
This example shows how to configure a system qos to apply a queuing policy to all interfaces in the system:
switch(config)#
system qos
This example shows how to configure a system qos in a switch profile named s5010:
Related Commands
|
|
---|---|
Associates the system class policy-map to the service policy for the system. |
untagged cos
To override the class of service (CoS) value for the selected interface, use the untagged cos command. To revert to the defaults, use the no form of this command.
Syntax Description
Class of service (CoS) value for untagged frames. Values can range from 0 to 7. |
Command Default
Command Modes
Interface configuration mode
Subinterface configuration mode
Command History
|
|
Usage Guidelines
Ethernet frames received with no CoS value are given a CoS value of 0.
Examples
This example shows how to set the CoS value to 4 for untagged frames received on an interface:
switch#
configure terminal
switch(config)#
interface ethernet 1/2
switch(config-if)#
untagged cos 4
This example shows how to set the CoS value to 3 for untagged frames received on a Layer 3 interface:
switch#
configure terminal
switch(config)#
interface ethernet 1/5
switch(config-if)#
no switchport
switch(config-if)#
untagged cos 3
switch(config-if)#
Related Commands
|
|
---|---|
wred-queue qos-group-map queue-only
Configures ECN on QoS group traffic based on the queue threshold, use the wred-queue qos-group-map queue-only command. To revert to the defaults, use the no form of this command.
wred-queue qos-group-map queue-only queue-group
no wred-queue qos-group-map queue-only queue-group
Syntax Description
Command Default
Command Modes
Policy map type queuing class configuration
Command History
|
|
Usage Guidelines
Related Commands
|
|
---|---|
wrr-queue qos-group-map
To map assigned quality of service (QoS) group values to select one of the egress queues, use the wrr-queue qos-group-map command. To return the QoS map to the default setting, use the no form of this command.
wrr-queue qos-group-map queue-id qos1... qos8
no wrr-queue qos-group-map queue-id qos1... qos8
Syntax Description
QoS group values that are mapped to select a queue. Enter up to eight QoS values. Separate each value with a space. The range is from 0 to 7. |
Command Default
Command Modes
Global configuration mode
Switch profile configuration mode
Command History
|
|
---|---|
Usage Guidelines

Note This command is applicable only to Layer 3 multicast traffic.
You can use this command to distribute traffic into different queues, where each queue is configured with different weighted round robin (WRR) parameters.
You can configure a maximum of four multicast queues for Layer 3 multicast traffic. We recommend that you configure at least one quality of service (QoS) value for each multicast queue.
Examples
This example shows how to map QoS values 0 and 1 to queue 1:
This example shows how to map QoS values 0 and 1 to queue 1 in a switch profile:
Related Commands
|
|
---|---|
Displays information about the switch profile and the configuration revision. |
|
wrr unicast-bandwidth
To assign weighted round robin (WRR) weights, as a percentage of the interface data rate, to the egress queues, use the wrr unicast-bandwidth command. To unassign the WRR bandwidth values, use the no form of this command.
wrr unicast-bandwidth percentage-value
no wrr unicast-bandwidth percentage-value
Syntax Description
Command Default
Command Modes
Global configuration mode
Interface configuration mode
Switch profile configuration mode
Command History
|
|
---|---|
Usage Guidelines
Use this command to change the bandwidth alloted to unicast and multicast traffic on traffic congestion.
Examples
This example shows how to set the bandwidth to 75 percent for a specific interface:
This example shows how to set the bandwidth to 75 percent in a switch profile:
Related Commands
|
|
---|---|
Displays information about the switch profile and the configuration revision. |
|
Displays the weighted round robin (WRR) bandwidth information. |
|