Quick Reference Guide

Quality of Service | 185
Figure 12-142. show class-map Command Example
show class-map
If classname is specified, the following fields are displayed:
Class Name—The user-designated name of this class
Class Type—The class type (All, any, or acl) indicating how the match criteria are evaluated for this class. A
class type of All means every match criterion defined for the class is evaluated simultaneously. They must all
be true to indicate a class match. For a type of any, each match criterion is evaluated sequentially and only one
need be true to indicate a class match. Rules with an acl class type are evaluated in a hybrid manner, with those
derived from each ACL rule grouped and evaluated simultaneously, while each such grouping is evaluated
sequentially.
Match Criteria—The Match Criteria fields are only displayed if they have been configured. They are displayed
in the order entered by the user. The fields are evaluated in accordance with the class type. The possible Match
Criteria fields are: Class of Service, Destination IP Address, Destination Layer 4 Port, Destination MAC
Address, Every, IP DSCP, IP Precedence, IP TOS, Protocol Keyword, Reference Class, Source IP Address,
Source Layer 4 Port, Source MAC Address, CoS, Secondary CoS, and VLAN, Secondary VLAN, and
Ethertype.
Values—This field displays the values of the Match Criteria.
Excluded—This field indicates whether or not this Match Criteria is excluded.
Command Syntax Command Mode Usage
show class-map [classname] Privileged Exec and
User Exec
This command displays all configuration information for the
specified class. The classname is the name of an existing
DiffServ class.
Force10 #show class-map cm-3
Class Name..................................... cm-3
Class Type..................................... All
Match Criteria Values
---------------------------- -------------------------------------
IP Precedence 1
Reference Class cl-map-2
Force10 #show class-map cl-map-2
Class Name..................................... cl-map-2
Class Type..................................... All
Match Criteria Values
---------------------------- -------------------------------------
Destination Layer 4 Port 7(echo)
Force10 #