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

Release
Modification

4.1(3)N1(1)

This command was introduced.


Examples

This example shows how to display all type qos class maps on a switch that runs Cisco NX-OS Release 4.1(3)N1(1):

switch(config)# show class-map type qos 

  Type qos class-maps
  ===================

    class-map type qos s1
      match cos 0

    class-map type qos s2
      match protocol ldp
      match ip rtp 2000
      match protocol dhcp
      match protocol arp

    class-map type qos s3
      match access-group name mac

    class-map type qos s4
      match access-group name ipv4

    class-map type qos cp1
      match precedence 4-5
      match cos 0,4
      match dscp 4
      match protocol ldp
      match protocol arp

    class-map type qos cp2
      match ip rtp 2000
      match cos 0

    class-map type qos cp3
      match access-group name mac

    class-map type qos cp5

    class-map type qos cq1
      match protocol ldp
      match precedence 7
      match cos 0

    class-map type qos cq2
      match protocol ldp
      match cos 1-2

    class-map type qos cq3
      match access-group name mac

    class-map type qos cq4
      match access-group name ipv4-1

    class-map type qos cq5
      match access-group name ipv6-based

    class-map type qos p1.1
      match cos 7

    class-map type qos p1.2
      match protocol ldp
      match ip rtp 2000-6001,10000-20000,60000-65535
      match dscp 1
      match protocol dhcp
      match protocol arp
      match precedence 0-7

    class-map type qos p1.3
      match access-group name mac

    class-map type qos p1.4
      match access-group name ipv4

    class-map type qos p2.1
      match cos 0,7

    class-map type qos p2.2
      match protocol ldp
      match ip rtp 2000-6000,6002,10000-20000,60000-65535
      match dscp 2
      match protocol dhcp
      match protocol arp
      match precedence 0-7

    class-map type qos p2.3
      match access-group name mac

    class-map type qos p2.4
      match access-group name ipv4

    class-map type qos p3.1
      match cos 0,7

    class-map type qos p3.2
      match protocol ldp
      match ip rtp 2000-6000,6003,10000-20000,60000-65535
      match dscp 3
      match protocol dhcp
      match protocol arp
      match precedence 0-7

    class-map type qos p3.3
      match access-group name mac

    class-map type qos p3.4
      match access-group name ipv4

    class-map type qos p4.1
      match cos 0,7

    class-map type qos p4.2
      match protocol ldp
      match ip rtp 2000-6000,6004,10000-20000,60000-65535
      match dscp 4
      match protocol dhcp
      match protocol arp
      match precedence 0-7

    class-map type qos p4.3
      match access-group name mac

    class-map type qos p4.4
      match access-group name ipv4

    class-map type qos p5.1
      match cos 0,7

    class-map type qos p5.2
      match protocol ldp
      match ip rtp 2000-6000,6005,10000-20000,60000-65535
      match dscp 5
      match protocol dhcp
      match protocol arp
      match precedence 0-7

    class-map type qos p5.3
      match access-group name mac

    class-map type qos p5.4
      match access-group name ipv4

    class-map type qos p6.1
      match cos 0,7

    class-map type qos p6.2
      match protocol ldp
      match ip rtp 2000-6000,6006,10000-20000,60000-65535
      match dscp 6
      match protocol dhcp
      match protocol arp
      match precedence 0-7

    class-map type qos p6.3
      match access-group name mac

    class-map type qos p6.4
      match access-group name ipv4

    class-map type qos p7.1
      match cos 0,7

    class-map type qos p7.2
      match protocol ldp
      match ip rtp 2000-6000,6007,10000-20000,60000-65535
      match dscp 7
      match protocol dhcp
      match protocol arp
      match precedence 0-7

    class-map type qos p7.3
      match access-group name mac

    class-map type qos p7.4
      match access-group name ipv4

    class-map type qos p8.1
      match cos 0,7

    class-map type qos p8.2
      match protocol ldp
      match ip rtp 2000-6000,6008,10000-20000,60000-65535
      match dscp 8
      match protocol dhcp
      match protocol arp
      match precedence 0-7

    class-map type qos p8.3
      match access-group name mac

    class-map type qos p8.4
      match access-group name ipv4

    class-map type qos p9.1
      match cos 0,7

    class-map type qos p9.2
      match protocol ldp
      match ip rtp 2000-6000,6009,10000-20000,60000-65535
      match dscp 9
      match protocol dhcp
      match protocol arp
      match precedence 0-7

    class-map type qos p9.3
      match access-group name mac

    class-map type qos p9.4
      match access-group name ipv4

    class-map type qos class-0
      match cos 0

    class-map type qos class-6
      match cos 6

    class-map type qos class-7
      match cos 7

    class-map type qos clsas-0

    class-map type qos cos-6-7
      match cos 7

    class-map type qos ip-based
      match access-group name ip-based

    class-map type qos acl-based
      match access-group name ipPacl

    class-map type qos class-1-2
      match cos 1-2

    class-map type qos class-4-5
      match cos 4-5

    class-map type qos class-4-6
      match cos 5

    class-map type qos class-4-7
      match cos 5,7

    class-map type qos class-405

    class-map type qos cos-based

    class-map type qos mac-based
      match access-group name foo

    class-map type qos udp-based
      match access-group name ip-based

    class-map type qos class-fcoe
      match cos 3

    class-map type qos class-flood

    class-map type qos class-default
      match any

    class-map type qos class-all-flood
      match all flood

    class-map type qos class-ip-multicast
      match ip multicast

switch(config)#

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 on a switch that runs Cisco NX-OS Release 5.0(3)N1(1):

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#

Related Commands

Command
Description

class-map

Creates or modifies a class map.