Cisco Catalyst 3750 Software Configuration Manual page 533

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

Advertisement

Chapter 26
Configuring QoS
Command
Step 3
class-map [match-all | match-any]
class-map-name
Step 4
match {access-group acl-index-or-name |
ip dscp dscp-list | ip precedence
ip-precedence-list}
Step 5
end
Step 6
show class-map
Step 7
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 {access-group
acl-index-or-name | ip dscp | ip precedence} class-map configuration command.
This example shows how to configure the class map called class1. The class1 has one match criterion,
which is access list 103. It permits traffic from any host to any destination that matches a DSCP value
of 10.
Switch(config)# access-list 103 permit any any dscp 10
Switch(config)# class-map class1
Switch(config-cmap)# match access-group 103
Switch(config-cmap)# exit
This example shows how to create a class map called class2, which matches inbound traffic with DSCP
values of 10, 11, and 12:
Switch(config)# class-map class2
Switch(config-cmap)# match ip dscp 10 11 12
Switch(config-cmap)# exit
78-15870-01
Purpose
Create a class map, and enter class-map configuration mode.
By default, no class maps are defined.
(Optional) Use the match-all keyword to perform a logical-AND
of all matching statements under this class map. All criteria in the
class map must be matched.
(Optional) Use the match-any keyword to perform a logical-OR
of all matching statements under this class map. One or more
criteria must be matched.
For class-map-name, specify the name of the class map.
If neither the match-all nor the match-any keyword is specified, the
default is match-all.
Define the match criterion to classify traffic.
By default, no match criterion is defined.
Only one ACL per class map is supported.
For access-group acl-index-or-name, specify the number or name
of the ACL created in Step 2.
For ip dscp dscp-list, enter a list of up to eight IP DSCP values to
match against inbound packets. Separate each value with a space.
The range is 0 to 63.
For ip precedence ip-precedence-list, enter a list of up to eight
IP-precedence values to match against inbound packets. Separate
each value with a space. The range is 0 to 7.
Return to privileged EXEC mode.
Verify your entries.
(Optional) Save your entries in the configuration file.
Catalyst 3750 Metro Switch Software Configuration Guide
Configuring Standard QoS
26-53

Advertisement

Table of Contents
loading

Table of Contents