27-3
Cisco ME 3800X and 3600X Switch Software Configuration Guide
OL-23400-01
Chapter 27 Configuring QoS
Understanding QoS
•
Hierarchical QoS, page 27-4
•
Classification, page 27-5
•
Policing, page 27-13
•
Marking, page 27-14
•
Congestion Avoidance and Queuing, page 27-15
•
Congestion Management and Scheduling, page 27-17
•
Input and Output Policy Maps, page 27-20
•
QoS Treatment for Performance-Monitoring Protocols, page 27-23
Modular QoS CLI Configuration
With the modular QoS CLI, you create traffic policies and attach these policies to physical interfaces or
EFP service instances. A traffic policy contains a traffic class and one or more QoS features. You define
a traffic class to classify traffic, use a traffic policy to define how to treat the classified traffic, and attach
the policy to a port or service instance to create a service policy.
Step 1
Define a traffic class.
Use the class-map global configuration command to define a traffic flow or class and to enter class-map
configuration mode. A traffic class contains:
•
A name—You name the traffic class in the class-map command line to enter class-map
configuration mode.
•
(Optional) Keywords to evaluate the match commands, either class-map match-any or class-map
match-all. By default, match-all is supported with a class map is defined and match-any is not
specified. Only one match statement is allowed for match-all, except for outer VLAN and inner
VLAN, or outer CoS and inner CoS matches for 802.1Q tunneling (QinQ) packets.
•
A series of match class-map configuration commands to specify criteria for classifying packets.
Criteria can include matching an access group defined by an ACL or matching a specific list of COS,
DSCP, IP precedence, or MPLS EXP values. If a packet matches the specified criteria, that packet
is considered a member of the class and is forwarded according to the QoS specifications set in the
traffic policy. Packets that do not meet any of the matching criteria are classified as members of the
default traffic class.
Note
For exceptions to the list of match statements, see the
“Classification” section on page 27-5
.
Step 2
Associate policies and actions with each traffic class.
Use the policy-map global configuration command to create a traffic policy and to enter policy-map
configuration mode. A traffic policy specifies the traffic class to act on and defines the QoS features to
associate with the specified traffic class. A traffic policy contains a name, a traffic class (specified with
the class policy-map configuration command), and the QoS policies configured in the class.
•
A name—You name the traffic policy in the policy-map command line to enter policy-map
configuration mode.
•
A traffic class—Use the class policy-map configuration command to enter the name of the traffic
class used to classify traffic to the specified policy, and enter policy-map class configuration mode.