27-27
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 {access-group
acl-index-or-name | cos cos-list | cos
inner
cos-list |
ip dscp dscp-list | ip
precedence ip-precedence-list | mpls
experimental topmost 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.
•
For access-group acl-index-or-name, specify the number or name of an
ACL. Matching access groups is supported only in input policy maps.
•
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 only one tag, 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.
•
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.
•
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 only
one tag, 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