Cisco Catalyst 4500 Series Command Reference Manual page 579

Cisco ios command reference release ios xe 3.4.0sg and ios 15.1(2)sg
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Chapter 2
Cisco IOS Commands for the Catalyst 4500 Series Switches
police (two rates)
Figure 2-1
Marking Packets and Assigning Actions with the Two-Rate Policer
PIR
CIR
Be
Bc
No
No
B > Tp
B > Tc
Packet of size B
Yes
Yes
Violate
Exceed
Conform
Action
Action
Action
Examples
This example shows how to configure two-rate traffic policing on a class to limit traffic to an average
committed rate of 500 kbps and a peak rate of 1 Mbps:
Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# class-map police
Switch(config-cmap)# match access-group 101
Switch(config-cmap)# policy-map policy1
Switch(config-pmap)# class police
Switch(config-pmap-c)# police cir 500000 bc 10000 pir 1000000 be 10000 conform-action
transmit exceed-action set-prec-transmit 2 violate-action drop
Switch(config-pmap-c)# interface gigabitethernet 6/1
Switch(config-if)# service-policy output policy1
Switch(config-if)# end
Switch# show policy-map policy1
Policy Map policy1
Class police
police cir 500000 conform-burst 10000 pir 1000000 peak-burst 10000 conform-action
transmit exceed-action set-prec-transmit 2 violate-action drop
Switch#
Traffic marked as conforming to the average committed rate (500 kbps) will be sent as is. Traffic marked
as exceeding 500 kbps, but not exceeding 1 Mbps, will be marked with IP Precedence 2 and then sent.
All traffic marked as exceeding 1 Mbps will be dropped. The burst parameters are set to 10000 bytes.
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.4.0SG and IOS 15.1(2)SG)
2-521
OL-27596 -01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents