Show Commands
This chapter describes the Cisco NX-OS quality of service (QoS) show commands.
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
class-map-name |
(Optional) Name of the control plane class map. The name is alphanumeric and case sensitive. The maximum length is 64 characters. |
Command Modes
Any command mode
Command History
|
|
5.2(1)N1(1) |
This command was introduced. |
Usage Guidelines
This command does not require a license.
Examples
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
class-map type control-plane match-any copp-system-class-bgp
class-map type control-plane match-any copp-system-class-bridging
class-map type control-plane match-any copp-system-class-cdp
class-map type control-plane match-any copp-system-class-default
Related Commands
|
|
class-map type control-plane |
Creates or configures a control plane class map. |
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
class-map-name |
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
Any command mode
Command History
|
|
5.2(1)N1(1) |
This command was introduced. |
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:
switch(config)# show class-map type network-qos
Type network-qos class-maps
==============================
class-map type network-qos s1
class-map type network-qos s2
class-map type network-qos s3
class-map type network-qos s4
class-map type network-qos cu1
class-map type network-qos cu2
class-map type network-qos cu3
class-map type network-qos cu4
class-map type network-qos new
class-map type network-qos class7
class-map type network-qos class-0
class-map type network-qos ip-based
class-map type network-qos class-1-2
class-map type network-qos class-4-7
class-map type network-qos cos-based
class-map type network-qos class-fcoe
class-map type network-qos class-flood
class-map type network-qos cos-based-3
class-map type network-qos cos-based-4
class-map type network-qos class-default
class-map type network-qos class-multicast
class-map type network-qos class-ip-multicast
Related Commands
|
|
class-map |
Creates or modifies a class map. |
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
class-map-name |
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
Any command mode
Command History
|
|
5.2(1)N1(1) |
This command was introduced. |
Examples
This example shows how to display a specific class map:
switch# show class-map type qos class-4-6
class-map type qos class-4-6
This example shows how to display all type qos class maps:
switch# show class-map type qos
class-map type qos match-any class-fcoe
class-map type qos match-any class-default
class-map type qos match-any class-all-flood
class-map type qos match-any class-ip-multicast
Related Commands
|
|
class-map |
Creates or modifies a class map. |
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
class-map-name |
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
Any command mode
Command History
|
|
5.2(1)N1(1) |
This command was introduced. |
Examples
This example shows how to display all type queuing class maps:
switch#
show class-map type queuing
class-map type queuing class-fcoe
class-map type queuing class-default
class-map type queuing class-all-flood
class-map type queuing class-ip-multicast
Related Commands
|
|
class-map |
Creates or modifies a class map. |
show copp status
To display the Control Plane Policing (CoPP) configuration status, use the show copp status command.
show copp status
Syntax Description
This command has no arguments or keywords.
Command Modes
Any configuration mode
Command History
|
|
5.2(1)N1(1) |
This command was introduced. |
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display the CoPP configuration status information:
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
Related Commands
|
|
clear copp statistics |
Clears the CoPP statistics. |
show running-config copp |
Displays CoPP configuration information in the running configuration. |
show interface flowcontrol
To display the detailed listing of the flow control settings on all interfaces, use the show interface flowcontrol command.
show interface flowcontrol [ module number ]
Syntax Description
module number |
(Optional) Displays flow control settings on all interfaces on a specified module. The module number range is from 1 to 3. |
Command Modes
EXEC mode
Command History
|
|
5.2(1)N1(1) |
This command was introduced. |
Usage Guidelines
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.
Examples
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
--------------------------------------------------------------------------------
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
show hardware profile tcam feature qos
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
Syntax Description
tcam-size |
Interface QoS TCAM limit. The tcam-size can be from 7- 446 entries. |
Command Modes
Global configuration mode
Command History
|
|
5.2(1)N1(1) |
This command was introduced. |
Usage Guidelines
No interface policy entry should be present after the interface_qos limit in the QoS region of any TCAM.
Examples
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
--------------------------------------------------------------------------------
vlan-qos + global-qos 428
switch(config)# copy running-config startup-config
Related Commands
|
|
hardware profile tcam feature interface-qos limit |
Configures the QoS TCAM limit |
show interface priority-flow-control
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
Syntax Description
ethernet slot / [QSFP-module/] port |
(Optional) Specifies the Ethernet interface and its slot number and port number. The slot number is from 1 to 255. The QSFP-module number is from 1 to 4. The port number is from 1 to 128. Note The QSFP-module number applies only to the QSFP+ Generic Expansion Module (GEM). |
Command Modes
Any command mode
Command History
|
|
6.0(2)N1(1) |
Support for the QSFP+ GEM was added. |
5.2(1)N1(1) |
This command was introduced. |
Usage Guidelines
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).
Examples
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
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
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/5 On On (0) 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/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
Related Commands
|
|
no switchport |
Configures a Layer 3 routed interface. |
priority-flow-control |
Sets the PFC mode for the selected interface. |
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
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. |
Command Modes
EXEC mode
Command History
|
|
5.2(1)N1(1) |
This command was introduced. |
Examples
This example shows how to display the untagged CoS values for interfaces:
switch#
show interface untagged-cos
=================================
=================================
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
=================================
=================================
Related Commands
|
|
untagged cos |
Sets a CoS value for untagged Ethernet frames. |
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
type |
(Optional) Specifies the component type to display. |
network-qos |
Displays policy maps of type network-qos. |
qos |
Displays policy maps of type qos only. |
queuing |
Displays policy maps of type queuing only. |
policy-map-name |
(Optional) Named policy map. The name can be a maximum of 40 alphanumeric characters. |
Command Modes
Any command mode
Command History
|
|
5.2(1)N1(1) |
This command was introduced. |
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 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
class type network-qos class-fcoe
class type network-qos class-default
Related Commands
|
|
policy-map |
Creates or modifies a policy map. |
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 / [QSFP-module/] port | port-channel channel-number ] [ input | output ] [ type { qos | queuing }]
Syntax Description
ethernet |
(Optional) Displays policy maps assigned to Ethernet interfaces. |
slot/ [QSFP-module/] port |
Ethernet interface slot number and port number. The slot number is from 1 to 255. The QSFP-module number is from 1 to 4. The port number is from 1 to 128. Note The QSFP-module number applies only to the QSFP+ Generic Expansion Module (GEM). |
port-channel |
(Optional) Displays policy maps assigned to EtherChannels. |
channel-number |
EtherChannel number. The number is from 1 to 4096. |
input |
(Optional) Displays policy maps assigned to input traffic only. |
output |
(Optional) Displays policy maps assigned to output traffic only. |
type |
(Optional) Specifies the component type to display. |
qos |
Displays policy maps of type qos only. |
queuing |
Displays policy maps of type queuing only. |
Command Modes
Any command mode
Command History
|
|
5.2(1)N1(1) |
This command was introduced. |
Usage Guidelines
Statistics are on by default.
Examples
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
Service-policy (qos) input: s
policy statistics status: disabled
Class-map (qos): s1 (match-any)
Class-map (qos): class-1-2 (match-any)
Class-map (qos): class-4-5 (match-any)
Class-map (qos): class-6 (match-any)
Class-map (qos): class-fcoe (match-any)
Class-map (qos): class-default (match-any)
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
Service-policy (queuing) output: pqe1
policy statistics status: disabled
Class-map (queuing): cqe1 (match-any)
Class-map (queuing): cqe2 (match-any)
Class-map (queuing): cqe3 (match-any)
Class-map (queuing): cqe4 (match-any)
Class-map (queuing): class-fcoe (match-any)
Class-map (queuing): class-default (match-any)
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
Service-policy (queuing) input: p2
policy statistics status: disabled
Class-map (queuing): class-default (match-any)
Related Commands
|
|
policy-map |
Creates or modifies a policy map. |
service-policy (virtual Ethernet interface) |
Attaches a policy map to a virtual Ethernet interface. |
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
This command has no arguments or keywords.
Command Modes
Any command mode
Command History
|
|
5.2(1)N1(1) |
This command was introduced. |
Examples
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
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
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
Related Commands
|
|
policy-map |
Creates or modifies a policy map. |
show policy-map |
Displays policy maps. |
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
This command has no arguments or keywords.
Command Modes
Any command mode
Command History
|
|
5.2(1)N1(1) |
This command was introduced. |
Examples
This example shows how to display assigned control-plane policy maps:
switch# show policy-map interface control-plane
service-policy input: copp-system-policy-default
class-map copp-system-class-igmp (match-any)
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)
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)
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)
Related Commands
|
|
policy-map |
Creates or modifies a policy map. |
show policy-map |
Displays policy maps. |
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
type |
(Optional) Specifies the component type to display. |
network-qos |
Displays policy maps of type network-qos only. |
qos |
Displays policy maps of type qos only. |
input |
(Optional) Displays policy maps assigned to input traffic. |
queuing |
Displays policy maps of type queuing only. |
output |
(Optional) Displays policy maps assigned to output traffic. |
Command Default
All policy maps
Command Modes
EXEC mode
Command History
|
|
5.2(1)N1(1) |
This command was introduced. |
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:
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
class type network-qos s1 match qos-group 2
class type network-qos s3 match qos-group 4
class type network-qos s4 match qos-group 5
class type network-qos class-fcoe match qos-group 1
class type network-qos class-default match qos-group 0
Service-policy (qos) input: s
policy statistics status: disabled
Class-map (qos): s1 (match-any)
Class-map (qos): class-1-2 (match-any)
Class-map (qos): class-4-5 (match-any)
Class-map (qos): class-6 (match-any)
Class-map (qos): class-fcoe (match-any)
Class-map (qos): class-default (match-any)
Service-policy (queuing) input: pqe1
policy statistics status: disabled
Class-map (queuing): cqe1 (match-any)
Class-map (queuing): cqe2 (match-any)
Class-map (queuing): cqe3 (match-any)
Class-map (queuing): cqe4 (match-any)
Class-map (queuing): class-fcoe (match-any)
Class-map (queuing): class-default (match-any)
Service-policy (queuing) output: pqe1
policy statistics status: disabled
Class-map (queuing): cqe1 (match-any)
Class-map (queuing): cqe2 (match-any)
Class-map (queuing): cqe3 (match-any)
Class-map (queuing): cqe4 (match-any)
Class-map (queuing): class-fcoe (match-any)
Class-map (queuing): class-default (match-any)
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
class type network-qos s1 match qos-group 2
class type network-qos s3 match qos-group 4
class type network-qos s4 match qos-group 5
class type network-qos class-fcoe match qos-group 1
class type network-qos class-default match qos-group 0
Related Commands
|
|
show policy-map |
Displays all policy maps. |
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
expand |
(Optional) Displays expanded control plane policy map information. |
name policy-map-name |
(Optional) Specifies the name of the control plane policy map. The name is case sensitive and can be a maximum of 64 alphanumeric characters. |
Command Modes
Any command mode
Command History
|
|
5.2(1)N1(1) |
This command was introduced. |
Usage Guidelines
This command does not require a license.
Examples
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
This example shows how to display control plane policy map information in expanded format:
switch# show policy-map type control-plane expand
Related Commands
|
|
policy-map type control-plane |
Creates or configures a control plane policy map. |
show policy-map vlan
To display VLAN policy maps, use the show policy-map vlan command.
show policy-map vlan [vlan-number]
Syntax Description
vlan-number |
Displays the QoS policies configured on the specified VLAN. |
Command Modes
Any command mode
Command History
|
|
5.2(1)N1(1) |
This command was introduced. |
Usage Guidelines
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.
Examples
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)
class-map (qos): vcq4 (match-any)
match: access-group ipacl1-vq
class-map (qos): vcq4 (match-any)
class-map (qos): vcq4 (match-any)
Related Commands
|
|
policy-map |
Creates or modifies a policy map. |
show queuing interface
To display the queuing information on interfaces, use the show queuing interface command.
show queuing interface [ ethernet slot /[QSFP-module/] port ]
Syntax Description
ethernet |
(Optional) Specifies that queuing information to be displayed for an Ethernet interface. |
slot |
Slot number of the Ethernet interface. The range is from 1 to 255. |
QSFP-module |
The QSFP-module number is from 1 to 4. Note The QSFP-module number applies only to the QSFP+ Generic Expansion Module (GEM). |
port |
Port number of the Ethernet interface. The range is from 1 to 128. |
Command Default
Displays the queuing information for all interfaces.
Command Modes
EXEC mode
Command History
|
|
6.0(2)N1(1) |
Support for the QSFP+ GEM was added. |
5.2(1)N1(1) |
This command was introduced. |
Examples
This example shows how to display the queuing information for all interfaces:
switch# show queuing interface
Ethernet1/1 queuing information:
qos-group sched-type oper-bandwidth
q-size: 25600, HW MTU: 9280 (9216 configured)
drop-type: drop, xon: 0, xoff: 160
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)
q-size: 76800, HW MTU: 2240 (2158 configured)
drop-type: no-drop, xon: 128, xoff: 240
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)
q-size: 20480, HW MTU: 9280 (9216 configured)
drop-type: drop, xon: 0, xoff: 128
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)
q-size: 20480, HW MTU: 9280 (9216 configured)
drop-type: drop, xon: 0, xoff: 128
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)
q-size: 20480, HW MTU: 9280 (9216 configured)
drop-type: drop, xon: 0, xoff: 128
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)
q-size: 81920, HW MTU: 9280 (9216 configured)
drop-type: no-drop, xon: 128, xoff: 230
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:
qos-group sched-type oper-bandwidth
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:
qos-group sched-type oper-bandwidth
q-size: 25600, HW MTU: 9280 (9216 configured)
drop-type: drop, xon: 0, xoff: 160
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)
q-size: 76800, HW MTU: 2240 (2158 configured)
drop-type: no-drop, xon: 128, xoff: 240
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)
q-size: 20480, HW MTU: 9280 (9216 configured)
drop-type: drop, xon: 0, xoff: 128
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)
Table 1 describes the significant fields shown in the display.
Table 1 show queuing interface Field Descriptions
|
|
Ethernet... |
Ethernet interface information. |
qoS-group |
Information about QoS groups configured on the switch. |
sched-type |
Type of schedule. |
WRR |
Weighted round robin(WRR). Queue eight for scheduling. |
Priority |
Priority of the queue. |
q-size |
Queue size. |
drop-type |
Queue drop type can be either drop or no-drop. |
MTU |
Maximum transmit unit (MTU) for the queue. |
Xon |
Transmission on at this threshold. |
Xoff |
Transmission off at this threshold. |
Related Commands
|
|
hardware buffer-threshold |
Configures the hardware buffer threshold. |
hardware queue-limit |
Configures the hardware queue limit. |
show fex |
Displays all configured Fabric Extender chassis connected to the switch. |
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
all |
(Optional) Displays configured and default information. |
Command Modes
Any command mode
Command History
|
|
5.2(1)N1(1) |
This command was introduced. |
Usage Guidelines
This command does not require a license.
Examples
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
Related Commands
|
|
control-plane |
Enters the control-plane configuration mode. |
copy running-config startup-config |
Copies the running configuration to the startup configuration file. |
show startup-config aclmgr |
Displays the ACL startup configuration. |
show startup-config copp |
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
all |
(Optional) Displays configured and default information. |
Command Modes
EXEC mode
Command History
|
|
5.2(1)N1(1) |
This command was introduced. |
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:
switch# show running-config ipqos
!Command: show running-config ipqos
!Time: Thu Sep 9 06:26:49 2010
class-map type qos class-fcoe
class-map type qos match-all 1
class-map type qos match-all 2
class-map type qos match-all 3
class-map type qos match-all 4
class-map type qos match-any 5
class-map type qos match-all arp
class-map type qos match-all cos
class-map type qos match-all dot
match access-group name dot
class-map type qos match-all my_class
class-map type qos match-all new
class-map type queuing my_qclass
class-map type queuing Video-Signalling
class-map type queuing class-ip-multicast
policy-map type qos my_policy
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
class type network-qos class-default
service-policy type qos input voice
service-policy type network-qos Network
service-policy type queuing output Queu
service-policy type queuing input Queue
Related Commands
|
|
copy running-config startup-config |
Copies the running configuration to the startup configuration file. |
show class-map |
Displays information about class maps. |
show policy-map |
Displays information about policy maps. |
show startup-config copp
To display the Control Plane Policing (CoPP) configuration information in the startup configuration, use the show startup-config copp command.
show startup-config copp
Syntax Description
This command has no arguments or keywords.
Command Modes
Any command mode
Command History
|
|
5.2(1)N1(1) |
This command was introduced. |
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display the CoPP information in the startup configuration:
switch# show startup-config copp
Related Commands
|
|
control-plane |
Enters the control-plane configuration mode. |
copy running-config startup-config |
Copies the running configuration to the startup configuration file. |
show running-config copp |
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
all |
(Optional) Displays configured and default information. |
Command Modes
EXEC mode
Command History
|
|
5.2(1)N1(1) |
This command was introduced. |
Examples
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
class-map type qos class-fcoe
class-map type qos match-all 1
class-map type qos match-all 2
class-map type qos match-all 3
class-map type qos match-all 4
class-map type qos match-any 5
class-map type qos match-all arp
class-map type qos match-all cos
class-map type qos match-all dot
match access-group name dot
class-map type qos match-all new
class-map type qos match-all rtp
class-map type qos match-all dscp
class-map type qos match-all Video
class-map type qos match-all Voice
class-map type qos match-all class1
class-map type qos match-all class2
class-map type qos match-all class3
class-map type qos match-all class4
class-map type qos match-all class5
Related Commands
|
|
copy running-config startup-config |
Copies the running configuration to the startup configuration file. |
show class-map |
Displays information about class maps. |
show policy-map |
Displays information about policy maps. |
show wrr-queue cos-map
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
Syntax Description
This command has no arguments or keywords.
Command Modes
EXEC mode
Command History
|
|
5.2(1)N1(1) |
This command was introduced. |
Examples
This example shows how to display the CoS values that are mapped to the egress queue:
switch# show wrr-queue cos-map
Related Commands
|
|
wrr-queue cos-map |
Maps class of service (CoS) values to select one of the egress queues. |