hit counter script

Cisco Catalyst 2950 Command Reference Manual page 66

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.
Note
For more information about configuring ACLs, see the "Configuring Network Security with ACLs"
chapter in the 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 and Catalyst 2955 Switch Command Reference
2-36
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
Catalyst 2950 and 2955 Cisco IOS Commands
OL-10102-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2955

Table of Contents