Cisco WS-C3550-12G Software Configuration Manual page 483

Multilayer switch
Hide thumbs Also See for WS-C3550-12G:
Table of Contents

Advertisement

Chapter 20
Configuring QoS
Command
Step 4
class-map class-map-name [match-all |
match-any]
Step 5
match {access-group acl-index-or-name |
ip dscp dscp-list | ip precedence
ip-precedence-list}
Step 6
end
Step 7
show class-map
Step 8
copy running-config startup-config
To delete an existing class map, use the no class-map class-map-name [match-all | match-any] 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)# end
Switch#
78-11194-03
Purpose
Create a class map, and enter class-map configuration mode.
By default, no class maps are defined.
For class-map-name, specify the name of the class map.
(Optional) Use the match-all keyword to perform a logical-AND
of all matching statements under this class map. All match 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
match criteria must be matched.
If neither the match-all or match-any keyword is specified, the
default is match-all.
Because only one match command per class map is supported,
Note
the match-all and match-any keywords function the same.
Define the match criterion to classify traffic.
By default, no match criterion is supported.
Only one match criterion 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 the ACL created in Step 3.
For ip dscp dscp-list, enter a list of up to eight IP DSCP values to
match against incoming 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 incoming packets. Separate
each value with a space. The range is 0 to 7.
Note
You can use the match ip dscp dscp-list class-map
configuration command only in a policy map that is attached to
an egress interface.
Return to privileged EXEC mode.
Verify your entries.
(Optional) Save your entries in the configuration file.
Catalyst 3550 Multilayer Switch Software Configuration Guide
Configuring QoS
20-31

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 3550

Table of Contents