show class-map
show class-map
Use the show class-map user EXEC command to display quality of service (QoS) class maps, which
define the match criteria to classify traffic.
This command is available only if your switch is running the enhanced software image (EI).
Syntax Description
class-map-name
| begin
| exclude
| include
expression
Command Modes
User EXEC
Command History
Release
12.1(6)EA2
Usage Guidelines
If you do not specify a class-map-name, all class maps appear.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output
do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show class-map test command:
Switch> show class-map test
Class Map match-all test (id 2)
Match access-group name testingacl
This is an example of output from the show class-map command:
Switch> show class-map
Class Map match-all wizard_1-1-1-2 (id 3)
Match access-group name videowizard_1-1-1-2
Class Map match-all test (id 2)
Match access-group name testingacl
Class Map match-any class-default (id 0)
Match any
Class Map match-all class1 (id 5)
Match access-group
Class Map match-all classtest (id 4)
Description: This is a test.
Match access-group name testingacl
Catalyst 2950 Desktop Switch Command Reference
2-138
show class-map [class-map-name] [ | {begin | exclude | include} expression]
(Optional) Display the contents of the specified class map.
(Optional) Display begins with the line that matches the expression.
(Optional) Display excludes lines that match the expression.
(Optional) Display includes lines that match the specified expression.
Expression in the output to use as a reference point.
Modification
This command was first introduced.
103
Chapter 2 Cisco IOS Commands
78-11381-05