26-78
Catalyst 3750 Metro Switch Software Configuration Guide
78-15870-01
Chapter 26 Configuring QoS
Configuring Hierarchical QoS
• Configuring CBWFQ and Tail Drop, page 26-86 (optional)
• Configuring CBWFQ and DSCP-Based WRED, page 26-89 (optional)
• Configuring CBWFQ and IP Precedence-Based WRED, page 26-93 (optional)
• Enabling LLQ, page 26-97 (optional)
• Configuring Shaping, page 26-99 (optional)
Classifying Egress Traffic by Using Class Maps
You use the class-map global configuration command to create a class map for matching packets to the
class whose name you specify. The class map isolates a specific outbound traffic flow (class) from all
other traffic by defining the criteria to use to match against a specific flow. The match criterion is defined
with a match statement entered within the class-map configuration mode. Packets are checked against
the match criteria configured for a class map. If a packet matches the specified criteria, the packet is
considered a member of the class and is forwarded according to the QoS specifications set in the traffic
policy.
Beginning in privileged EXEC mode, follow these steps to create a class-level class-map and to define
the match criterion to classify outbound traffic. This procedure is required. The examples that follow the
procedure show how to create a class-level and a VLAN-level class-map.
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
class-map [match-all | match-any]
class-map-name
Create a class map, and enter class-map configuration mode.
By default, no class maps are defined.
• (Optional) Use the match-all keyword to perform a logical-AND
of all matching statements under this class map. All criteria in the
class map must be matched.
• (Optional) Use the match-any keyword to perform a logical-OR
of all matching statements under this class map. One or more
criteria must be matched.
• For class-map-name, specify the name of the class map.
If neither the match-all nor the match-any keyword is specified, the
default is match-all. You must use the match-all keyword if you are
matching an 802.1Q tunneling pair (instead of matching a single
VLAN).