Cisco Cisco IOS Software Release 12.4(6)T

Page de 34
Tag and Template
  show class-map
28
Cisco IOS Security Configuration Guide
show class-map
To display all class maps and their matching criteria, use the show class-map command in privileged 
EXEC mode.
show class-map [type {stack access-control tag}] [class-map-name]
Syntax Description
Command Modes
Privileged EXEC 
Command History
Usage Guidelines
You can use the show class-map command to display all class maps and their matching criteria. If you 
enter the optional class-map-name argument, the specified class map and its matching criteria will be 
displayed.
Examples
In the following example, three class maps are defined. Packets that match access list 103 belong to 
class c3, IP packets belong to class c2, and packets that come through input Ethernet interface 1/0 belong 
to class c1. The output from the show class-map command shows the three defined class maps.
Router# show class-map
 Class Map c3 
 Match access-group 103 
class-map-name
(Optional) Name of the class map. The class map name can be a maximum 
of 40 alphanumeric characters.
type stack
(Optional) Displays class maps that are configured to determine the correct 
protocol stack in which to examine via flexible packet matching (FPM).
type access-control
(Optional) Displays class maps that are configured to determine the exact 
pattern to look for in the protocol stack of interest. 
type tag
(Optional) Displays class maps that are configured to determine the 
class-map configuration. 
Release
Modification
12.0(5)T 
This command was introduced.
12.2(13)T
This command was modified to display the Frame Relay data-link 
connection identified (DLCI) number as a criterion for matching traffic 
inside a class map.
In addition, this command was modified to display Layer 3 packet length as 
a criterion for matching traffic inside a class map.
12.4(4)T
The typestack, and access-control keywords were added to support 
flexible packet matching (FPM).
12.2(18)SXE
This command was integrated into Cisco IOS Release 12.2(18)SXE.
12.2(28)SB
This command was integrated into Cisco IOS Release 12.2(28)SB.
12.4(6)T
The tag keyword was added.