EasyManua.ls Logo

Cisco Catalyst 3750 Metro - Page 376

Cisco Catalyst 3750 Metro
985 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
2-348
Catalyst 3750 Metro Switch Command Reference
OL-9645-10
Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands
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 Description
class Specifies the name of the class whose traffic policy you want to
create or change.
mls qos map policed-dscp Defines the policed-DSCP map.
policy-map Creates or modifies a policy map that can be attached to multiple
ports to specify a service policy.
show policy-map Displays quality of service (QoS) policy maps.

Table of Contents

Related product manuals