Cisco Catalyst 3550 Command Reference Manual page 67

Multilayer switch
Hide thumbs Also See for Catalyst 3550:
Table of Contents

Advertisement

Chapter 2
Catalyst 3550 Switch Cisco IOS Commands
To define packet classification on a physical-port basis, only one match command per class map is
supported. In this situation, the match-all and match-any keywords are equivalent.
To define packet classification on a per-port per-VLAN basis, you must use the match-all keyword with
the class-map global configuration command. You also must enter the match vlan vlan-list and the
match class-map class-map-name class-map configuration commands. For more information, see the
"match (class-map configuration)" section on page
Only one access control list (ACL) can be configured in a class map. The ACL can have multiple access
control entries (ACEs).
Examples
This example shows how to configure the class map called class1. class1 has one match criterion, which
is an access list called 103.
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 delete the class map class1:
Switch(config)# no class-map class1
This example shows how to configure a class map called dscp_class whose match criterion is to match
IP DSCP 9. A second class map, called vlan_class, matches traffic on VLANs 10, 20 to 30, and 40 to
class map dscp_class:
Switch(config)# class-map match-any dscp_class
Switch(config-cmap)# match ip dscp 9
Switch(config-cmap)# exit
Switch(config)# class-map match-all vlan_class
Switch(config-cmap)# match vlan 10 20-30 40
Switch(config-cmap)# match class-map dscp_class
Switch(config-cmap)# exit
You can verify your settings by entering the show class-map privileged EXEC command.
Related Commands
Command
match (class-map
configuration)
policy-map
show class-map
OL-8566-02
2-235.
Description
Defines the match criteria to classify traffic.
Creates or modifies a policy map that can be attached to multiple
interfaces to specify a service policy.
Displays QoS class maps.
Catalyst 3550 Multilayer Switch Command Reference
class-map
2-41

Advertisement

Table of Contents
loading

Table of Contents