Cisco Catalyst 3750 Metro Command Reference Manual page 376

Hide thumbs Also See for Catalyst 3750 Metro:
Table of Contents

Advertisement

police
how quickly (the average rate) the tokens are removed from the bucket by using the rate-bps option of
the police policy-map class configuration command or the mls qos aggregate-policer global
configuration command. For more information, see the software configuration guide for this release.
Examples
This example shows how to configure a policer that drops packets if traffic exceeds 1 Mbps average rate
with a burst size of 20 KB. The DSCP values of inbound packets are trusted, and there is no packet
modification.
Switch(config)# policy-map policy1
Switch(config-pmap)# class class1
Switch(config-pmap-c)# set ip dscp 45
Switch(config-pmap-c)# police 1000000 20000 exceed-action drop
Switch(config-pmap-c)# exit
This example shows how to configure a policer, which marks down the DSCP values with the values
defined in policed-DSCP map and sends the packet:
Switch(config)# policy-map policy2
Switch(config-pmap)# class class2
Switch(config-pmap-c)# police 1000000 20000 exceed-action policed-dscp-transmit
Switch(config-pmap-c)# exit
You can verify your settings by entering the show policy-map privileged EXEC command.
Related Commands
Command
class
mls qos map
policy-map
show policy-map
Catalyst 3750 Metro Switch Command Reference
2-348
Description
Specifies the name of the class whose traffic policy you want to
create or change.
policed-dscp
Defines the policed-DSCP map.
Creates or modifies a policy map that can be attached to multiple
ports to specify a service policy.
Displays quality of service (QoS) policy maps.
Chapter 2
Catalyst 3750 Metro Switch Cisco IOS Commands
OL-9645-10

Advertisement

Table of Contents
loading

Table of Contents