Cisco Catalyst 3750 Software Configuration Manual page 559

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

Advertisement

Chapter 26
Configuring QoS
Command
Step 3
match {cos cos-list | ip dscp dscp-list | ip
precedence ip-precedence-list | mpls
experimental exp-list | vlan {vlan-id |
inner vlan-id}}
Step 4
end
Step 5
show class-map
Step 6
copy running-config startup-config
To delete an existing class map, use the no class-map [match-all | match-any] class-map-name global
configuration command. To remove a match criterion, use the no match {cos cos-list | ip dscp dscp-list
| ip precedence ip-precedence-list | mpls experimental exp-list | vlan {vlan-id | inner vlan-id}}
class-map configuration command.
This example shows how to create a class-level class-map called class3, which matches traffic with
IP-precedence values of 5, 6, and 7:
Switch(config)# class-map class3
Switch(config-cmap)# match ip precedence 5 6 7
78-15870-01
Purpose
Define the match criterion to classify traffic.
By default, no match criterion is defined.
For cos cos-list, 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, specify up to eight IP DSCP values to match
against the packet. Separate each value with a space. The range is
0 to 63.
For ip precedence ip-precedence-list, specify up to eight
IP-precedence values to match against the packet. Separate each
value with a space. The range is 0 to 7.
For mpls experimental exp-list, specify up to eight MPLS EXP
values to match against the packet. Separate each value with a
space. The range is 0 to 7.
For vlan {vlan-id | inner vlan-id}, specify packet match based on
the VLAN ID.
For vlan vlan-id, match a packet based on the VLAN ID, or
match a packet based on the outer VLAN ID if an 802.1Q
tunnel is configured. 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.
For vlan inner vlan-id, match a packet based on the inner
VLAN ID of an 802.1Q tunnel.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.
When matching an 802.1Q tunneling pair (instead of matching a
single VLAN), you must enter the match vlan command before
the match vlan inner command.
You cannot mix VLAN-level and class-level matches within a
Note
class map.
Return to privileged EXEC mode.
Verify your entries.
(Optional) Save your entries in the configuration file.
Catalyst 3750 Metro Switch Software Configuration Guide
Configuring Hierarchical QoS
26-79

Advertisement

Table of Contents
loading

Table of Contents