2-277
Catalyst 2950 and Catalyst 2955 Switch Command Reference
0L-10102-01
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands
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.
show class-map [class-map-name] [ | {begin | exclude | include} expression]
This command is available only if your switch is running the enhanced software image (EI).
Syntax Description
Command Modes User EXEC
Command History
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 103
Class Map match-all classtest (id 4)
Description: This is a test.
Match access-group name testingacl
class-map-name (Optional) Display the contents of the specified class map.
| begin (Optional) Display begins with the line that matches the expression.
| exclude (Optional) Display excludes lines that match the expression.
| include (Optional) Display includes lines that match the specified expression.
expression Expression in the output to use as a reference point.
Release Modification
12.1(6)EA2 This command was introduced.