Quick Reference Guide

Quality of Service (QoS) Commands | 339
The command defines how matching in the policy works. Policy statements describe what to match in
the packet. For example, “class-map match-all Dallas” means “Create a policy named ‘Dallas’ that
must match all statements in the policy.”
Example
Figure 20-117. Creating a Class Map
Related
Commands
See also Policy Commands on page 346.
class-map rename
This command changes the name of a DiffServ class. The classname is the name of an existing
DiffServ class. The newclassname parameter is a case-sensitive alphanumeric string from 1 to 31
characters uniquely identifying the class (Note: the class name ‘default’ is reserved and must not be
used here).
Syntax
class-map rename classname newclassname
Default
none
Mode
Global Config
!Create “Dallas” class map!
(Force10) (Config)#class-map match-all Dallas
(Force10) (Config-classmap)#match any
(Force10) (Config-classmap)#exit
!Further define “Dallas”!
(Force10) (Config)#class-map Dallas
(Force10) (Config-classmap)#match ip precedence 6
(Force10) (Config-classmap)#exit
match any This command adds a match condition whereby all packets are considered to
belong to the class.
match ip dscp Configure the match criteria based on the DSCP value.
match ip precedence Identify IP precedence values as match criteria.
match ip tos This command adds a match condition based on the value of the IP TOS field
in a packet
match vlan This command adds a match condition based on the value of the Layer 2
VLAN Identifier field.
traffic-shape ingress rate limiting