27-6
Cisco ME 3800X and 3600X Switch Software Configuration Guide
OL-23400-01
Chapter 27 Configuring QoS
Understanding QoS
Figure 27-2 QoS Classification Layers in Frames and Packets
• “The match Command” section on page 27-6
• “Classification Based on Layer 2 CoS” section on page 27-7
• “Classification Based on IP Precedence” section on page 27-7
• “Classification Based on IP DSCP” section on page 27-7
• “CoS Mapping” section on page 27-8
• “Ingress Classification Based on QoS ACLs” section on page 27-9
• “Classification Based on QoS Groups” section on page 27-10
• “Classification Based on Discard Class” section on page 27-11
• “Classification Based on VLAN IDs” section on page 27-11
• “Classification for MPLS and EoMPLS” section on page 27-11
The match Command
In class-map configuration mode, you use the match class-map configuration command to define the
match criterion for the traffic. You can also create a class map that requires that all matching criteria in
the class map be in the packet header by using the class map match-all class-map name global
configuration command.
Note The match-all keyword is supported only for outer and inner VLAN, or outer and inner CoS matches
for QinQ packets and is rejected for all other mutually exclusive match criteria. You can configure only
one match entry in a match-all class map
141151
Layer 2 IEEE 802.1Q and IEEE 802.1p Frame
Preamble
Start frame
delimiter
DA
Len
SA Type
TAG
2 Bytes
PT Data FCS
Layer 3 IPv4 Packet
Version
length
ToS
1 Byte
ID Offset TTL Proto FCS IP-SA IP-DA
PRI
7
6 5 4 3 2 1 0
CFI VLAN ID
Data
3 bits used for CoS
(IEEE 802.1p user priority)
IP precedence
DSCP
Standard IPv4:
MSBs called IP precedence
Flow control
for DSCP