Quality of Service (QoS) Commands | 339The command defines how matching in the policy works. Policy statements describe what to match inthe packet. For example, “class-map match-all Dallas” means “Create a policy named ‘Dallas’ thatmust match all statements in the policy.”Example Figure 20-117. Creating a Class MapRelatedCommandsSee also Policy Commands on page 346.class-map renameThis command changes the name of a DiffServ class. The classname is the name of an existingDiffServ class. The newclassname parameter is a case-sensitive alphanumeric string from 1 to 31characters uniquely identifying the class (Note: the class name ‘default’ is reserved and must not beused here).Syntax class-map rename classname newclassnameDefault noneMode 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)#exitmatch any This command adds a match condition whereby all packets are considered tobelong 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 fieldin a packetmatch vlan This command adds a match condition based on the value of the Layer 2VLAN Identifier field.traffic-shape ingress rate limiting