Cisco Catalyst 2960 Command Reference Manual page 227

Hide thumbs Also See for Catalyst 2960:
Table of Contents

Advertisement

Chapter 2
Catalyst 2960 Switch Cisco IOS Commands
Examples
This example shows how to create a class map called class2, which matches all the incoming 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
This example shows how to create a class map called class3, which matches all the incoming traffic with
IP-precedence values of 5, 6, and 7:
Switch(config)# class-map class3
Switch(config-cmap)# match ip precedence 5 6 7
Switch(config-cmap)# exit
This example shows how to delete the IP-precedence match criteria and to classify traffic using acl1:
Switch(config)# class-map class2
Switch(config-cmap)# match ip precedence 5 6 7
Switch(config-cmap)# no match ip precedence
Switch(config-cmap)# match access-group acl1
Switch(config-cmap)# exit
You can verify your settings by entering the show class-map privileged EXEC command.
Related Commands
Command
class-map
show class-map
OL-8604-03
Description
Creates a class map to be used for matching packets to the class whose name
you specify.
Displays quality of service (QoS) class maps.
match (class-map configuration)
Catalyst 2960 Switch Command Reference
2-201

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents