-
null
The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
This chapter describes the Cisco NX-OS quality of service (QoS) show commands.
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]
class-map-name |
(Optional) Name of the control plane class map. The name is alphanumeric and case sensitive. The maximum length is 64 characters. |
None
Any command mode
|
|
5.2(1)N1(1) |
This command was introduced. |
This command does not require a license.
This example shows how to display control plane class map information:
switch# show class-map type control-plane
class-map type control-plane match-any copp-system-class-arp
match protocol arp
class-map type control-plane match-any copp-system-class-bgp
match protocol bgp
class-map type control-plane match-any copp-system-class-bridging
match protocol bridging
class-map type control-plane match-any copp-system-class-cdp
match protocol cdp
class-map type control-plane match-any copp-system-class-default
match protocol default
<--Output truncated-->
switch#
|
|
---|---|
class-map type control-plane |
Creates or configures a control plane class map. |
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]
class-map-name |
Name of the class map. The name can be a maximum of 40 alphanumeric characters. |
Displays all type network-qos class maps if no class map name is specified.
Any command mode
|
|
---|---|
5.2(1)N1(1) |
This command was introduced. |
If you do not specify the type, the command displays all the class maps configured in the system.
This example shows how to display all type network-qos class maps:
switch(config)# show class-map type network-qos
Type network-qos class-maps
==============================
class-map type network-qos s1
match qos-group 2
class-map type network-qos s2
match qos-group 3
class-map type network-qos s3
match qos-group 4
class-map type network-qos s4
match qos-group 5
class-map type network-qos cu1
match qos-group 2
class-map type network-qos cu2
match qos-group 3
class-map type network-qos cu3
match qos-group 4
class-map type network-qos cu4
match qos-group 5
class-map type network-qos new
match qos-group 2
class-map type network-qos class7
match qos-group 5
class-map type network-qos class-0
match qos-group 2
class-map type network-qos ip-based
match qos-group 5
class-map type network-qos class-1-2
match qos-group 3
class-map type network-qos class-4-7
match qos-group 4
class-map type network-qos cos-based
match qos-group 2
class-map type network-qos class-fcoe
match qos-group 1
class-map type network-qos class-flood
match qos-group 2
class-map type network-qos cos-based-3
match qos-group 3
class-map type network-qos cos-based-4
match qos-group 4
class-map type network-qos class-default
match qos-group 0
class-map type network-qos class-multicast
class-map type network-qos class-ip-multicast
match qos-group 5
switch(config)#
|
|
---|---|
class-map |
Creates or modifies a class map. |
To display type qos class maps, use the show class-map type qos command.
show class-map type qos [class-map-name]
class-map-name |
Named class map. The name class-default is reserved. The name can be a maximum of 40 alphanumeric characters. |
Displays all type qos class maps if no class map name is specified.
Any command mode
|
|
5.2(1)N1(1) |
This command was introduced. |
This example shows how to display a specific class map:
switch# show class-map type qos class-4-6
Type qos class-maps
===================
class-map type qos class-4-6
match cos 5
switch#
This example shows how to display all type qos class maps:
switch# show class-map type qos
Type qos class-maps
===================
class-map type qos match-any class-fcoe
match cos 3
class-map type qos match-any class-default
match any
class-map type qos match-any class-all-flood
match all flood
class-map type qos match-any class-ip-multicast
match ip multicast
switch#
|
|
---|---|
class-map |
Creates or modifies a class map. |
To display type queuing class maps, use the show class-map type queuing command.
show class-map type queuing [class-map-name]
class-map-name |
Named class map. The name can be a maximum of 40 alphanumeric characters. |
Displays all type queuing class maps if no class map name is specified.
Any command mode
|
|
5.2(1)N1(1) |
This command was introduced. |
This example shows how to display all type queuing class maps:
switch#
show class-map type queuing
Type queuing class-maps
=======================
class-map type queuing class-fcoe
match qos-group 1
class-map type queuing class-default
match qos-group 0
class-map type queuing class-all-flood
match qos-group 2
class-map type queuing class-ip-multicast
match qos-group 2
switch#
|
|
---|---|
class-map |
Creates or modifies a class map. |
To display the Control Plane Policing (CoPP) configuration status, use the show copp status command.
show copp status
This command has no arguments or keywords.
None
Any configuration mode
|
|
5.2(1)N1(1) |
This command was introduced. |
This command does not require a license.
This example shows how to display the CoPP configuration status information:
switch# show copp status
Last Config Operation: class class-default
Last Config Operation Timestamp: 05:06:14 UTC Jan 1 2009
Last Config Operation Status: Success
Policy-map attached to the control-plane: copp-system-policy-default
switch#
|
|
---|---|
clear copp statistics |
Clears the CoPP statistics. |
show running-config copp |
Displays CoPP configuration information in the running configuration. |
To display the detailed listing of the flow control settings on all interfaces, use the show interface flowcontrol command.
show interface flowcontrol [module number]
module number |
(Optional) Displays flow control settings on all interfaces on a specified module. The module number range is from 1 to 3. |
None
EXEC mode
|
|
---|---|
5.2(1)N1(1) |
This command was introduced. |
You can use this command to display the flow control information for the following interfaces:
•Layer 2 interface
•Layer 3 interface
Note Use the no switchport command to configure an interface as a Layer 3 interface, and then use the flowcontrol command to configure flow control for the interface.
This example shows how to display the flow control settings on all interfaces on a switch:
switch# show interface flowcontrol
--------------------------------------------------------------------------------
Port Send FlowControl Receive FlowControl RxPause TxPause
admin oper admin oper
--------------------------------------------------------------------------------
Eth1/1 off off off off 0 0
Eth1/2 off off off off 0 0
Eth1/3 off off off off 0 0
Eth1/4 off off off off 0 0
Eth1/5 off off off off 0 0
Eth1/6 off off off off 0 0
Eth1/7 off off off off 0 0
Eth1/8 off off off off 0 0
Eth1/9 off off off off 0 0
Eth1/10 off off off off 0 0
Eth1/11 off off off off 0 0
--More--
switch#
To display the the limits of the QoS TCAMs, use the show hardware profile tcam feature-qos command.
show hardware profile tcam feature qos tcam-size
tcam-size |
Interface QoS TCAM limit. The tcam-size can be from 7- 446 entries. |
None
Global configuration mode
|
|
---|---|
5.2(1)N1(1) |
This command was introduced. |
No interface policy entry should be present after the interface_qos limit in the QoS region of any TCAM.
This example shows how to set the interface QoS TCAM limit to 20 entries:
switch(config)# configue terminal
switch(config)# hardware profile tcam feature interface-qos limit 20
switch(config)# show hardware profile tcam feature qos
Feature Limit
--------------------------------------------------------------------------------
Interface 20
vlan-qos + global-qos 428
switch(config)# copy running-config startup-config
|
|
---|---|
hardware profile tcam feature interface-qos limit |
Configures the QoS TCAM limit |
To display the priority flow control details for a specified interface, use the show interface priority-flow-control command.
show interface [ethernet slot/[QSFP-module/]port] priority-flow-control
None
Any command mode
|
|
6.0(2)N1(1) |
Support for the QSFP+ GEM was added. |
5.2(1)N1(1) |
This command was introduced. |
You can use this command to display the priority flow control information for the following interfaces:
•Layer 2 interface
•Layer 3 interface
Note Use the no switchport command to configure an interface as a Layer 3 interface, and then use the flowcontrol command to configure flow control for the interface.
If you do not specify an interface, the show interface priority-flow-control command will display the priority flow control information for all interfaces (Layer 2, Layer 3).
This example shows how to display the priority flow control details for a specified interface:
switch#
show interface ethernet 1/2 priority-flow-control
============================================================
Port Mode Oper(VL bmap) RxPPP TxPPP
============================================================
Ethernet1/2 Auto On (9) 4088353 1890
switch#
The interface specified is Ethernet 1/2, the PFC mode is set to negotiate PFC capability, the operation is on, and packets transmitted is 1890.
This example shows how to display the priority flow control information for a specified Layer 3 interface:
switch#
show interface ethernet 1/5 priority-flow-control
============================================================
Port Mode Oper(VL bmap) RxPPP TxPPP
============================================================
Ethernet1/5 On On (0) 0 0
switch#
This example shows how to display the priority flow control information for all interfaces:
switch#
show interface priority-flow-control
============================================================
Port Mode Oper(VL bmap) RxPPP TxPPP
============================================================
Ethernet1/1 Auto Off 0 0
Ethernet1/2 Auto Off 0 0
Ethernet1/3 Auto Off 0 0
Ethernet1/4 Auto Off 0 0
Ethernet1/5 On On (0) 0 0
Ethernet1/6 Auto Off 0 0
Ethernet1/7 Auto Off 0 0
Ethernet1/8 Auto Off 0 0
Ethernet1/9 Auto Off 0 0
Ethernet1/10 Auto Off 0 0
Ethernet1/11 Auto Off 0 0
Ethernet1/12 Auto Off 0 0
Ethernet1/13 Auto Off 0 0
Ethernet1/14 Auto Off 0 0
Ethernet1/15 Auto Off 0 0
Ethernet1/16 Auto Off 0 0
Ethernet1/17 Auto Off 0 0
Ethernet1/18 Auto Off 0 0
Ethernet1/19 Auto Off 0 0
Ethernet1/20 Auto Off 0 0
Ethernet1/21 Auto Off 0 0
Ethernet1/22 Auto Off 0 0
Ethernet1/23 Auto Off 0 0
Ethernet1/24 Auto Off 0 0
Ethernet1/25 Auto Off 0 0
Ethernet1/26 Auto Off 0 0
Ethernet1/27 Auto Off 0 0
Ethernet1/28 Auto Off 0 0
Ethernet1/29 Auto Off 0 0
Ethernet1/30 Auto Off 0 0
Ethernet1/31 Auto Off 0 0
Ethernet1/32 Auto Off 0 0
Ethernet3/1 Auto Off 0 0
Ethernet3/2 Auto Off 0 0
Ethernet3/3 Auto Off 0 0
Ethernet3/4 Auto Off 0 0
Ethernet3/5 Auto Off 0 0
Ethernet3/6 Auto Off 0 0
Ethernet3/7 Auto Off 0 0
Ethernet3/8 Auto Off 0 0
Ethernet3/9 Auto Off 0 0
Ethernet3/10 Auto Off 0 0
Ethernet3/11 Auto Off 0 0
Ethernet3/12 Auto Off 0 0
Ethernet3/13 Auto Off 0 0
Ethernet3/14 Auto Off 0 0
Ethernet3/15 Auto Off 0 0
Ethernet3/16 Auto Off 0 0
Ethernet3/17 Auto Off 0 0
Ethernet3/18 Auto Off 0 0
Ethernet3/19 Auto Off 0 0
Ethernet3/20 Auto Off 0 0
Ethernet3/21 Auto Off 0 0
Ethernet3/22 Auto Off 0 0
Ethernet3/23 Auto Off 0 0
Ethernet3/24 Auto Off 0 0
Ethernet3/25 Auto Off 0 0
Ethernet3/26 Auto Off 0 0
Ethernet3/27 Auto Off 0 0
Ethernet3/28 Auto Off 0 0
Ethernet3/29 Auto Off 0 0
Ethernet3/30 Auto Off 0 0
Ethernet3/31 Auto Off 0 0
Ethernet3/32 Auto Off 0 0
Ethernet100/1/1 Auto Off 0 0
Ethernet100/1/2 Auto Off 0 0
Ethernet100/1/3 Auto Off 0 0
Ethernet100/1/4 Auto Off 0 0
Ethernet100/1/5 Auto Off 0 0
Ethernet100/1/6 Auto Off 0 0
Ethernet100/1/7 Auto Off 0 0
Ethernet100/1/8 Auto Off 0 0
Ethernet100/1/9 Auto Off 0 0
Ethernet100/1/10 Auto Off 0 0
Ethernet100/1/11 Auto Off 0 0
Ethernet100/1/12 Auto Off 0 0
Ethernet100/1/13 Auto Off 0 0
Ethernet100/1/14 Auto Off 0 0
Ethernet100/1/15 Auto Off 0 0
Ethernet100/1/16 Auto Off 0 0
switch#
|
|
---|---|
no switchport |
Configures a Layer 3 routed interface. |
priority-flow-control |
Sets the PFC mode for the selected interface. |
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]
module |
(Optional) Displays the interfaces on this module of the switch chassis. |
module_no |
Module number in the switch chassis. The range is from 1 to 18. |
None
EXEC mode
|
|
5.2(1)N1(1) |
This command was introduced. |
This example shows how to display the untagged CoS values for interfaces:
switch#
show interface untagged-cos
=================================
Interface Untagged-CoS
=================================
port-channel1
port-channel3 2
port-channel5 5
port-channel6
port-channel12
port-channel15
port-channel20
port-channel24
port-channel25
port-channel33
port-channel41
port-channel44
--More--
switch#
This example shows how to display the untagged CoS values for all interfaces (Layer 2, Layer 3):
switch#
show interface untagged-cos
S3(config-if)# show int untagged-cos
=================================
Interface Untagged-CoS
=================================
port-channel100
port-channel127
port-channel128
Ethernet1/1
Ethernet1/2
Ethernet1/3
Ethernet1/4
Ethernet1/5 3
Ethernet1/6
Ethernet1/7
Ethernet1/8
Ethernet1/9
Ethernet1/10
Ethernet1/11
Ethernet1/12
:
<--snip-->
Ethernet3/31
Ethernet3/32
Ethernet100/1/1
Ethernet100/1/2
<--Output truncated-->
switch#
|
|
---|---|
untagged cos |
Sets a CoS value for untagged Ethernet frames. |
To display policy maps, use the show policy-map command.
show policy-map [type {network-qos | qos | queuing}] [policy-map-name]
None
Any command mode
|
|
5.2(1)N1(1) |
This command was introduced. |
When you enter the show policy-map command with no arguments or keywords, the system also displays the Control Plane Policing (CoPP) information.
This example shows how to display a named network-qos policy map:
switch# show policy-map type network-qos my_pnq
Type network-qos policy-maps
===============================
policy-map type network-qos my_pnq
class type network-qos cl_nq
multicast-optimize
queue-limit 20480 bytes
mtu 1500
class type network-qos class-fcoe
pause no-drop
mtu 2158
class type network-qos class-default
mtu 1500
switch#
|
|
---|---|
policy-map |
Creates or modifies a policy map. |
To display the service policy maps configured on the interfaces, use the show policy-map interface command.
show policy-map interface [ethernet slot/[QSFP-module/]port | port-channel channel-number] [input | output] [type {qos | queuing}]
None
Any command mode
|
|
5.2(1)N1(1) |
This command was introduced. |
Statistics are on by default.
This example shows how to display policy maps assigned to a specified interface:
switch(
config)#
show policy-map interface ethernet 2/10
This example shows how to display QoS policy maps assigned to a specified interface:
switch# show policy-map interface ethernet 3/1 type qos
Global statistics status : disabled
Ethernet3/1
Service-policy (qos) input: s
policy statistics status: disabled
Class-map (qos): s1 (match-any)
Match: cos 0
set qos-group 2
Class-map (qos): class-1-2 (match-any)
Match: cos 1-2
set qos-group 3
Class-map (qos): class-4-5 (match-any)
Match: cos 4-5
set qos-group 4
Class-map (qos): class-6 (match-any)
Match: cos 6
set qos-group 5
Class-map (qos): class-fcoe (match-any)
Match: cos 3
set qos-group 1
Class-map (qos): class-default (match-any)
Match: any
set qos-group 0
switch#
This example shows how to display the policy maps assigned to the output traffic of a specified interface:
switch# show policy-map interface ethernet 3/1 output
Global statistics status : disabled
Ethernet3/1
Service-policy (queuing) output: pqe1
policy statistics status: disabled
Class-map (queuing): cqe1 (match-any)
Match: qos-group 2
bandwidth percent 20
Class-map (queuing): cqe2 (match-any)
Match: qos-group 3
priority
Class-map (queuing): cqe3 (match-any)
Match: qos-group 4
bandwidth percent 20
Class-map (queuing): cqe4 (match-any)
Match: qos-group 5
bandwidth percent 40
Class-map (queuing): class-fcoe (match-any)
Match: qos-group 1
bandwidth percent 10
Class-map (queuing): class-default (match-any)
Match: qos-group 0
bandwidth percent 5
switch#
This example shows how to display the policy maps assigned to the input traffic of a virtual Ethernet interface:
switch# show policy-map interface vethernet 10 input type queuing
Global statistics status : disabled
Vethernet10
Service-policy (queuing) input: p2
policy statistics status: disabled
Class-map (queuing): class-default (match-any)
Match: qos-group 0
bandwidth percent 50
shape 30 kbps
switch#
|
|
---|---|
policy-map |
Creates or modifies a policy map. |
service-policy (virtual Ethernet interface) |
Attaches a policy map to a virtual Ethernet interface. |
To display policy maps applied to interfaces in a brief format, use the show policy-map interface brief command.
show policy-map interface brief
This command has no arguments or keywords.
None
Any command mode
|
|
5.2(1)N1(1) |
This command was introduced. |
This example shows how to display assigned policy maps in a brief format:
switch(
config)#
show policy-map interface brief
Interface [Status]:INP QOS INP QUE OUT QUE
===================================================================
port-channel1 [Active]:p1 pqe1 pqe1
port-channel3 [Active]:s pqe1 pqe1
port-channel5 [Active]:s pqe1 pqe1
port-channel6 [Active]:s pqe1 pqe1
port-channel12 [Active]:p12 p12-in p12-out
port-channel15 [Active]:s pqe1 pqe1
port-channel20 [Active]:s pqe1 pqe1
port-channel24 [Active]:p4 pqe1 pqe1
port-channel25 [Active]:p4 pqe1 pqe1
port-channel33 [Active]:s pqe1 pqe1
port-channel41 [Active]:s pqe1 pqe1
port-channel44 [Active]:s pqe1 pqe1
port-channel48 [Active]:s pqe1 pqe1
port-channel101 [Active]:s pqe1 pqe1
port-channel102 [Active]:p4
port-channel103 [Active]:p4
port-channel104 [Active]:p4
port-channel105 [Active]:p4
port-channel106 [Active]:p4
port-channel107 [Active]:p4
--More--
switch(
config)#
This example shows how to display assigned policy maps in a brief format:
switch#
show policy-map interface brief
S3(config-if)# show policy-map interface brief
Interface/VLAN [Status]:INP QOS OUT QOS INP QUE OUT QUE
================================================================================
port-channel100 [Active]:default-in-po default-in-po default-out-p
port-channel127 [Active]:default-in-po default-in-po default-out-p
port-channel128 [Active]:default-in-po default-in-po default-out-p
Ethernet1/1 [Active]:default-in-po default-in-po default-out-p
Ethernet1/2 [Active]:default-in-po default-in-po default-out-p
Ethernet1/3 [Active]:default-in-po default-in-po default-out-p
Ethernet1/4 [Active]:default-in-po default-in-po default-out-p
Ethernet1/5 [Active]:default-in-po default-in-po default-out-p
Ethernet1/6 [Active]:default-in-po default-in-po default-out-p
:
<Snip>
:
Ethernet3/31 [Active]:default-in-po default-in-po default-out-p
Ethernet3/32 [Active]:default-in-po default-in-po default-out-p
Ethernet100/1/1 [Active]:default-in-po default-in-po default-out-p
Ethernet100/1/2 [Active]:default-in-po default-in-po default-out-p
Ethernet100/1/3 [Active]:default-in-po default-in-po default-out-p
<--Output truncated-->
switch#
|
|
---|---|
policy-map |
Creates or modifies a policy map. |
show policy-map |
Displays policy maps. |
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
This command has no arguments or keywords.
None
Any command mode
|
|
5.2(1)N1(1) |
This command was introduced. |
This example shows how to display assigned control-plane policy maps:
switch# show policy-map interface control-plane
control Plane
service-policy input: copp-system-policy-default
class-map copp-system-class-igmp (match-any)
match protocol igmp
police cir 1024 kbps , bc 65535 bytes
conformed 0 bytes; action: transmit
violated 0 bytes; action: drop
class-map copp-system-class-pim-hello (match-any)
match protocol pim
police cir 1024 kbps , bc 4800000 bytes
conformed 0 bytes; action: transmit
violated 0 bytes; action: drop
class-map copp-system-class-bridging (match-any)
match protocol bridging
police cir 20000 kbps , bc 4800000 bytes
conformed 0 bytes; action: transmit
violated 0 bytes; action: drop
class-map copp-system-class-arp (match-any)
match protocol arp
<--Output truncated-->
switch(config)#
|
|
---|---|
policy-map |
Creates or modifies a policy map. |
show policy-map |
Displays policy maps. |
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]}]
All policy maps
EXEC mode
|
|
---|---|
5.2(1)N1(1) |
This command was introduced. |
If you do not specify a policy map type and name, the system displays all the active policy maps in the system.
This example shows how to display all active policy maps in the system:
switch# show policy-map system
Type network-qos policy-maps
===============================
policy-map type network-qos s
class type network-qos s2 match qos-group 3
mtu 4000
class type network-qos s1 match qos-group 2
mtu 5000
set cos 0
multicast-optimize
pause no-drop
class type network-qos s3 match qos-group 4
mtu 9216
class type network-qos s4 match qos-group 5
mtu 9216
class type network-qos class-fcoe match qos-group 1
pause no-drop
mtu 2158
class type network-qos class-default match qos-group 0
mtu 1500
Service-policy (qos) input: s
policy statistics status: disabled
Class-map (qos): s1 (match-any)
Match: cos 0
set qos-group 2
Class-map (qos): class-1-2 (match-any)
Match: cos 1-2
set qos-group 3
Class-map (qos): class-4-5 (match-any)
Match: cos 4-5
set qos-group 4
Class-map (qos): class-6 (match-any)
Match: cos 6
set qos-group 5
Class-map (qos): class-fcoe (match-any)
Match: cos 3
set qos-group 1
Class-map (qos): class-default (match-any)
Match: any
set qos-group 0
Service-policy (queuing) input: pqe1
policy statistics status: disabled
Class-map (queuing): cqe1 (match-any)
Match: qos-group 2
bandwidth percent 20
Class-map (queuing): cqe2 (match-any)
Match: qos-group 3
priority
Class-map (queuing): cqe3 (match-any)
Match: qos-group 4
bandwidth percent 20
Class-map (queuing): cqe4 (match-any)
Match: qos-group 5
bandwidth percent 40
Class-map (queuing): class-fcoe (match-any)
Match: qos-group 1
bandwidth percent 10
Class-map (queuing): class-default (match-any)
Match: qos-group 0
bandwidth percent 5
Service-policy (queuing) output: pqe1
policy statistics status: disabled
Class-map (queuing): cqe1 (match-any)
Match: qos-group 2
bandwidth percent 20
Class-map (queuing): cqe2 (match-any)
Match: qos-group 3
priority
Class-map (queuing): cqe3 (match-any)
Match: qos-group 4
bandwidth percent 20
Class-map (queuing): cqe4 (match-any)
Match: qos-group 5
bandwidth percent 40
Class-map (queuing): class-fcoe (match-any)
Match: qos-group 1
bandwidth percent 10
Class-map (queuing): class-default (match-any)
Match: qos-group 0
bandwidth percent 5
switch#
This example shows how to display active network-qos policy maps in the system:
switch# show policy-map system type network-qos
Type network-qos policy-maps
===============================
policy-map type network-qos s
class type network-qos s2 match qos-group 3
mtu 4000
class type network-qos s1 match qos-group 2
mtu 5000
set cos 0
multicast-optimize
pause no-drop
class type network-qos s3 match qos-group 4
mtu 9216
class type network-qos s4 match qos-group 5
mtu 9216
class type network-qos class-fcoe match qos-group 1
pause no-drop
mtu 2158
class type network-qos class-default match qos-group 0
mtu 1500
switch#
|
|
---|---|
show policy-map |
Displays all policy maps. |
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]
None
Any command mode
|
|
5.2(1)N1(1) |
This command was introduced. |
This command does not require a license.
This example shows how to display control plane policy map information:
switch# show policy-map type control-plane
policy-map type control-plane copp-system-policy-customized
class copp-system-class-igmp
police cir 1024 kbps bc 65535 bytes
class copp-system-class-pim-hello
police cir 1024 kbps bc 4800000 bytes
class copp-system-class-bridging
police cir 20000 kbps bc 4800000 bytes
class copp-system-class-arp
police cir 1024 kbps bc 3600000 bytes
class copp-system-class-dhcp
police cir 1024 kbps bc 4800000 bytes
class copp-system-class-mgmt
police cir 12000 kbps bc 4800000 bytes
class copp-system-class-lacp
police cir 1024 kbps bc 4800000 bytes
class copp-system-class-lldp
police cir 2048 kbps bc 4800000 bytes
class copp-system-class-udld
police cir 2048 kbps bc 4800000 bytes
<--Output truncated-->
switch#
This example shows how to display control plane policy map information in expanded format:
switch# show policy-map type control-plane expand
|
|
---|---|
policy-map type control-plane |
Creates or configures a control plane policy map. |
To display VLAN policy maps, use the show policy-map vlan command.
show policy-map vlan [vlan-number]
vlan-number |
Displays the QoS policies configured on the specified VLAN. |
None
Any command mode
|
|
5.2(1)N1(1) |
This command was introduced. |
You must configure the interface QoS limit and policy map before using the show policy-map vlan command. The TCAM must have enough free entries to configure the service policy on the VLAN.
This example shows how to display the QoS policies configured on the specified VLAN:
switch# show policy-map vlan 101
Service-policy (qos) input: vpq1
===============================
policy status statistics: disabled
class-map (qos): vcq2 (match-any)
match: cos 2
match: precedence 1
set cos-group 2
set prec 2
class-map (qos): vcq4 (match-any)
match: access-group ipacl1-vq
match: prec 7
set cos-group 4
class-map (qos): vcq4 (match-any)
match: cos 1
set cos-group 3
class-map (qos): vcq4 (match-any)
match: any
set cos-group 0
switch#
|
|
---|---|
policy-map |
Creates or modifies a policy map. |
To display the queuing information on interfaces, use the show queuing interface command.
show queuing interface [ethernet slot/[QSFP-module/]port]
Displays the queuing information for all interfaces.
EXEC mode
|
|
---|---|
6.0(2)N1(1) |
Support for the QSFP+ GEM was added. |
5.2(1)N1(1) |
This command was introduced. |
This example shows how to display the queuing information for all interfaces:
switch# show queuing interface
Ethernet1/1 queuing information:
TX Queuing
qos-group sched-type oper-bandwidth
0 WRR 73
1 WRR 0
2 WRR 1
3 WRR 6
4 WRR 20
5 priority 0
RX Queuing
qos-group 0
q-size: 25600, HW MTU: 9280 (9216 configured)
drop-type: drop, xon: 0, xoff: 160
Statistics:
Pkts received over the port : 0
Ucast pkts sent to the cross-bar : 0
Mcast pkts sent to the cross-bar : 0
Ucast pkts received from the cross-bar : 0
Pkts sent to the port : 0
Pkts discarded on ingress : 0
Per-priority-pause status : Rx (Inactive), Tx (Inactive)
qos-group 1
q-size: 76800, HW MTU: 2240 (2158 configured)
drop-type: no-drop, xon: 128, xoff: 240
Statistics:
Pkts received over the port : 0
Ucast pkts sent to the cross-bar : 0
Mcast pkts sent to the cross-bar : 0
Ucast pkts received from the cross-bar : 0
Pkts sent to the port : 0
Pkts discarded on ingress : 0
Per-priority-pause status : Rx (Inactive), Tx (Inactive)
qos-group 2
q-size: 20480, HW MTU: 9280 (9216 configured)
drop-type: drop, xon: 0, xoff: 128
Statistics:
Pkts received over the port : 0
Ucast pkts sent to the cross-bar : 0
Mcast pkts sent to the cross-bar : 0
Ucast pkts received from the cross-bar : 0
Pkts sent to the port : 0
Pkts discarded on ingress : 0
Per-priority-pause status : Rx (Inactive), Tx (Inactive)
qos-group 3
q-size: 20480, HW MTU: 9280 (9216 configured)
drop-type: drop, xon: 0, xoff: 128
Statistics:
Pkts received over the port : 0
Ucast pkts sent to the cross-bar : 0
Mcast pkts sent to the cross-bar : 0
Ucast pkts received from the cross-bar : 0
Pkts sent to the port : 0
Pkts discarded on ingress : 0
Per-priority-pause status : Rx (Inactive), Tx (Inactive)
qos-group 4
q-size: 20480, HW MTU: 9280 (9216 configured)
drop-type: drop, xon: 0, xoff: 128
Statistics:
Pkts received over the port : 0
Ucast pkts sent to the cross-bar : 0
Mcast pkts sent to the cross-bar : 0
Ucast pkts received from the cross-bar : 0
Pkts sent to the port : 0
Pkts discarded on ingress : 0
Per-priority-pause status : Rx (Inactive), Tx (Inactive)
qos-group 5
q-size: 81920, HW MTU: 9280 (9216 configured)
drop-type: no-drop, xon: 128, xoff: 230
Statistics:
Pkts received over the port : 0
Ucast pkts sent to the cross-bar : 0
Mcast pkts sent to the cross-bar : 0
Ucast pkts received from the cross-bar : 0
Pkts sent to the port : 0
Pkts discarded on ingress : 0
Per-priority-pause status : Rx (Inactive), Tx (Inactive)
Total Multicast crossbar statistics:
Mcast pkts received from the cross-bar : 0
Ethernet1/2 queuing information:
TX Queuing
qos-group sched-type oper-bandwidth
0 WRR 73
1 WRR 0
2 WRR 1
3 WRR 6
4 WRR 20
5 priority 0
<---output truncated--->
switch#
This example shows how to display the queuing information on Ethernet interface 1/2:
switch# show queuing interface ethernet 1/2
Ethernet1/2 queuing information:
TX Queuing
qos-group sched-type oper-bandwidth
0 WRR 73
1 WRR 0
2 WRR 1
3 WRR 6
4 WRR 20
5 priority 0
RX Queuing
qos-group 0
q-size: 25600, HW MTU: 9280 (9216 configured)
drop-type: drop, xon: 0, xoff: 160
Statistics:
Pkts received over the port : 0
Ucast pkts sent to the cross-bar : 0
Mcast pkts sent to the cross-bar : 0
Ucast pkts received from the cross-bar : 1851526994
Pkts sent to the port : 1851527000
Pkts discarded on ingress : 0
Per-priority-pause status : Rx (Inactive), Tx (Inactive)
qos-group 1
q-size: 76800, HW MTU: 2240 (2158 configured)
drop-type: no-drop, xon: 128, xoff: 240
Statistics:
Pkts received over the port : 0
Ucast pkts sent to the cross-bar : 0
Mcast pkts sent to the cross-bar : 0
Ucast pkts received from the cross-bar : 0
Pkts sent to the port : 0
Pkts discarded on ingress : 0
Per-priority-pause status : Rx (Inactive), Tx (Inactive)
qos-group 2
q-size: 20480, HW MTU: 9280 (9216 configured)
drop-type: drop, xon: 0, xoff: 128
Statistics:
Pkts received over the port : 0
Ucast pkts sent to the cross-bar : 0
Mcast pkts sent to the cross-bar : 0
Ucast pkts received from the cross-bar : 0
Pkts sent to the port : 0
Pkts discarded on ingress : 0
Per-priority-pause status : Rx (Inactive), Tx (Inactive)
--More--
switch#
Table 1 describes the significant fields shown in the display.
To display Control Plane Policing (CoPP) configuration information in the running configuration, use the show running-config copp command.
show running-config copp [all]
all |
(Optional) Displays configured and default information. |
None
Any command mode
|
|
5.2(1)N1(1) |
This command was introduced. |
This command does not require a license.
This example shows how to display the configured CoPP information in the running configuration:
switch# show running-config copp
This example shows how to display the configured and default CoPP information in the running configuration:
switch# show running-config copp all
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]
all |
(Optional) Displays configured and default information. |
None
EXEC mode
|
|
---|---|
5.2(1)N1(1) |
This command was introduced. |
Use this command to view a list of default and configured class maps and policy maps and the policies attached to interfaces.
This example shows how to display QoS information:
switch# show running-config ipqos
!Command: show running-config ipqos
!Time: Thu Sep 9 06:26:49 2010
version 5.2(1)N1(1)
class-map type qos class-fcoe
match cos 4
class-map type qos match-all 1
match cos 1
class-map type qos match-all 2
match cos 2
class-map type qos match-all 3
match cos 3
class-map type qos match-all 4
class-map type qos match-any 5
match cos 5,7
class-map type qos match-all arp
match protocol dhcp
match protocol arp
match cos 3
class-map type qos match-all cos
match cos 5
class-map type qos match-all dot
match access-group name dot
class-map type qos match-all my_class
match dscp 3
match precedence 0
match protocol dhcp
class-map type qos match-all new
match protocol netbios
:
<snip>
class-map type queuing my_qclass
match qos-group 3
class-map type queuing Video-Signalling
match qos-group 4
class-map type queuing class-ip-multicast
match qos-group 4
policy-map type qos 5
class 5
set qos-group 2
class Video
set qos-group 3
policy-map type qos my_policy
class my_class
set precedence 5
set dscp 5
class myQAll
set precedence 3
set dscp 48
:
<snip>
policy-map type network-qos my_policy1
class type network-qos my_class1
pause no-drop buffer-size 143680 pause-threshold 58860 resume-threshold 3840
class type network-qos class-fcoe
pause no-drop
mtu 2158
class type network-qos class-default
:
<snip>
system qos
service-policy type qos input voice
service-policy type network-qos Network
service-policy type queuing output Queu
service-policy type queuing input Queue
<--output truncated-->
switch#
To display the Control Plane Policing (CoPP) configuration information in the startup configuration, use the show startup-config copp command.
show startup-config copp
This command has no arguments or keywords.
None
Any command mode
|
|
5.2(1)N1(1) |
This command was introduced. |
This command does not require a license.
This example shows how to display the CoPP information in the startup configuration:
switch# show startup-config copp
To display quality of service (QoS) configuration information in the startup configuration, use the show startup-config ipqos command.
show startup-config ipqos [all]
all |
(Optional) Displays configured and default information. |
None
EXEC mode
|
|
---|---|
5.2(1)N1(1) |
This command was introduced. |
This example shows how to display the QoS information in the startup configuration file:
switch# show startup-config ipqos
!Command: show startup-config ipqos
!Time: Thu Sep 9 07:42:33 2010
!Startup config saved at: Tue Sep 7 08:45:03 2010
version 5.0(2)N1(1)
class-map type qos class-fcoe
match cos 4
class-map type qos match-all 1
match cos 1
class-map type qos match-all 2
match cos 2
class-map type qos match-all 3
match cos 3
class-map type qos match-all 4
class-map type qos match-any 5
match cos 5,7
class-map type qos match-all arp
match protocol dhcp
match protocol arp
match cos 3
class-map type qos match-all cos
match cos 5
class-map type qos match-all dot
match access-group name dot
class-map type qos match-all new
match protocol netbios
class-map type qos match-all rtp
match ip rtp 2000-40000
class-map type qos match-all dscp
match dscp 46
match precedence 7
match protocol arp
class-map type qos match-all Video
match dscp 34
class-map type qos match-all Voice
match dscp 40,46
class-map type qos match-all class1
match ip rtp 2000
class-map type qos match-all class2
match cos 1
class-map type qos match-all class3
match protocol arp
class-map type qos match-all class4
match protocol dhcp
class-map type qos match-all class5
match protocol ldp
:
:
<--output truncated--
switch#
To display the mapped class of service (CoS) values to egress queues, use the show wrr-queue cos-map command.
show wrr-queue cos-map
This command has no arguments or keywords.
None
EXEC mode
|
|
---|---|
5.2(1)N1(1) |
This command was introduced. |
This example shows how to display the CoS values that are mapped to the egress queue:
switch# show wrr-queue cos-map
MCAST Queue ID Cos Map
0 0 1
1 2
2 3 4 5
3 6 7
switch#
|
|
---|---|
wrr-queue cos-map |
Maps class of service (CoS) values to select one of the egress queues. |