27-43
Cisco ME 3800X and 3600X Switch Software Configuration Guide
OL-23400-01
Chapter 27 Configuring QoS
Configuring QoS
Use the no form of the appropriate command to delete an existing class map or remove a match criterion.
Step 3
match {cos cos-list | cos inner
cos-list |
discard-class value | ip
dscp dscp-list | ip precedence
ip-precedence-list | mpls
experimental topmost value|
qos-group value | vlan vlan-list
| vlan inner vlan-list}
Define the match criterion to classify traffic. By default, no match criterion is
defined. Only one match type per class map is supported, and only one ACL per
class map is supported.
•
Enter cos
cos-list
to match a packet based on the outer VLAN tag or the
service-provider CoS value. You can specify up to four Layer 2 CoS values
to match against the packet. Separate each value with a space. The range is 0
to 7.
•
Enter cos inner
cos-list
to match a packet based on the inner CoS value. For
packets with less than two tags, this command has no effect. You can specify
up to four Layer 2 CoS values to match against the packet. Separate each
value with a space. The range is 0 to 7.
•
Enter discard-class value
to match a packet based the drop precedence for a
packet during congestion management. The range is 0 to 7. Matching discard
class is supported only in output policy maps
•
For ip dscp dscp-list, enter a list of up to eight IPv4 DSCP values to match
against incoming packets. Separate each value with a space. You can enter
multiple dscp-list lines to match more than eight DSCP values. The numerical
range is 0 to 63. You can also configure DSCP values in other forms (af
numbers, cs numbers, default, or ef).
•
For ip precedence ip-precedence-list, enter a list of up to four IPv4
precedence values to match against incoming packets. Separate each value
with a space. You can enter multiple ip-precedence-list lines to match more
than four precedence values. The range is 0 to 7.
•
For mpls experimental topmost value, enter a list of up to eight MPLS
experimental labels. You can enter multiple lines to match more than eight
MPLS experimental values. This keyword matches only valid MPLS packets.
Separate each value with a space. The range is 0 to 7.
•
For qos-group value, specify the QoS group number. The range is 0 to 99.
Matching of QoS groups is supported only in output policy maps.
•
Enter vlan vlan-id to match a packet based on the outermost, service-provider
VLAN ID (S-VLAN). For untagged packets, this matches the default VLAN
associated with the packets from the port or EFP.
You can enter a single VLAN ID or a range of VLANs separated by a hyphen.
The range is from 1 to 4095.
•
Enter vlan inner vlan-id to match a packet based on the C-VLAN, the inner
customer VLAN ID of an 802.1Q tunnel. For packets with less than 2 tags,
the command has no effect.
You can specify a single VLAN identified by a VLAN number or a range of
VLANs separated by a hyphen. The range is 1 to 4094.
Step 4
end
Return to privileged EXEC mode.
Step 5
show class-map
Verify your entries.
Step 6
copy running-config
startup-config
(Optional) Save your entries in the configuration file.
Command
Purpose