Classifying Egress Traffic By Using Class Maps - Cisco Catalyst 3750 Software Configuration Manual

Metro switch
Hide thumbs Also See for Catalyst 3750:
Table of Contents

Advertisement

Configuring Hierarchical QoS

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
Step 1
configure terminal
Step 2
class-map [match-all | match-any]
class-map-name
Catalyst 3750 Metro Switch Software Configuration Guide
26-78
Configuring CBWFQ and Tail Drop, page 26-86
Configuring CBWFQ and DSCP-Based WRED, page 26-89
Configuring CBWFQ and IP Precedence-Based WRED, page 26-93
Enabling LLQ, page 26-97
Configuring Shaping, page 26-99
(optional)
(optional)
(optional)
Purpose
Enter global configuration mode.
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).
Chapter 26
Configuring QoS
(optional)
(optional)
78-15870-01

Advertisement

Table of Contents
loading

Table of Contents