Cisco Catalyst 2950 Command Reference Manual page 36

Desktop switch
Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

class
After entering the class command, you enter policy-map class configuration mode. These configuration
commands are available:
To return to policy-map configuration mode, use the exit command. To return to privileged EXEC mode,
use the end command.
For more information about configuring ACLs, refer to the "Configuring Network Security with ACLs"
Note
chapter in the Catalyst 2950 Desktop Switch Software Configuration Guide for this release.
Examples
This example shows how to create a policy map named policy1. When attached to the ingress port, it
matches all the incoming traffic defined in class1 and polices the traffic at an average rate of 1 Mbps and
bursts at 131072 bytes. Traffic exceeding the profile is dropped.
Switch(config)# policy-map policy1
Switch(config-pmap)# class class1
Switch(config-pmap-c)# police 1000000 131072 exceed-action drop
Switch(config-pmap-c)# exit
Switch(config-pmap)#
You can verify your settings by entering the show policy-map privileged EXEC command.
Related Commands
Command
class-map
match
policy-map
show policy-map
Catalyst 2950 Desktop Switch Command Reference
2-12
default: sets a command to its default.
exit: exits policy-map class configuration mode and returns to policy-map configuration mode.
no: returns a command to its default setting.
set: specifies a Differentiated Services Code Point (DSCP) value to be assigned to the classified
traffic. For more information, see the set command.
police: defines a policer for the classified traffic. The policer specifies the bandwidth limitations and
the action to take when the limits are exceeded. For more information, see the police command.
Description
Creates a class map to be used for matching packets to the class whose name
you specify.
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 quality of service (QoS) policy maps.
Chapter 2
Cisco IOS Commands
78-11381-05

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents