Specifications
2-20
Catalyst 2950 and Catalyst 2955 Switch Command Reference
78-15304-01
Chapter 2 Cisco IOS Commands
class-map
Note For more information about configuring ACLs, refer to the “Configuring Network Security with ACLs”
chapter in the Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide for this release.
Examples This example shows how to configure the class map named class1. class1 has one match criteria, which
is a numbered ACL.
Switch(config)# access-list 103 permit tcp any any eq 80
Switch(config)# class-map class1
Switch(config-cmap)# match access-group 103
Switch(config-cmap)# exit
You can verify your settings by entering the show class-map privileged EXEC command.
Related Commands Command Description
class Defines a traffic classification for the policy to act on by using the class-map
name or access group.
match Defines the match criteria to classify traffic.
policy-map Creates or modifies a policy map that can be attached to multiple interfaces to
specify a service policy.
show class-map Displays QoS class maps.