38-40
Cisco IE 2000 Switch Software Configuration Guide
OL-25866-01
Chapter 38 Configuring Standard QoS
How to Configure Standard QoS
Creating Nonhierarchical Policy Maps
Command Purpose
Step 1 configure terminal Enters global configuration mode.
Step 2 class-map [match-all | match-any]
class-map-name
Creates a class map, and enters class-map configuration mode.
By default, no class maps are defined.
(Optional) match-all—Performs a logical-AND of all matching
statements under this class map. All match criteria in the class map
must be matched.
(Optional) match-any keyword—Performs a logical-OR of all
matching statements under this class map. One or more match
criteria must be matched.
class-map-name—Specifies the name of the class map.
If neither the match-all or match-any keyword is specified, the default
is match-all.
Note Because only one match command per class map is supported,
the match-all and match-any keywords function the same.
Step 3 policy-map policy-map-name Creates a policy map by entering the policy map name, and enters
policy-map configuration mode.
By default, no policy maps are defined.
The default behavior of a policy map is to set the DSCP to 0 if the
packet is an IP packet and to set the CoS to 0 if the packet is tagged. No
policing is performed.
Step 4 class class-map-name Defines a traffic classification, and enters policy-map class
configuration mode.
By default, no policy map class-maps are defined.
If a traffic class has already been defined by using the class-map glob al
configuration command, Specifies its name for class-map-name in this
command.