Cisco Catalyst 4500 Series Configuration Manual page 596

Ios software configuration guide isco ios xe 3.9.0e and ios 15.2(5)ex
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Chapter 2
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
The following 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 XE 3.9.xE and 15.2(5)Ex
2-556

Advertisement

Table of Contents
loading

Table of Contents