Cisco ASR 901 Command Reference Manual page 112

Aggregation services router
Hide thumbs Also See for ASR 901:
Table of Contents

Advertisement

police (two rates)
Figure 1-1
Packet of size B
Examples
Setting Priority with an Explicit Policing Rate
In the following example, priority traffic is limited to a committed rate of 1000 kbps regardless of
congestion conditions in the network:
Router(config)# policy-map p1
Router(config-pmap)# class c1
Router(config-pmap-c)# police cir 1000000 conform-action transmit exceed-action drop
Two-Rate Policing
In the following example, two-rate traffic policing is configured on a class to limit traffic to an average
committed rate of 500 kbps and a peak rate of 1 Mbps:
Router(config)# class-map police
Router(config-cmap)# match access-group 101
Router(config-cmap)# policy-map policy1
Router(config-pmap)# class police
Router(config-pmap-c)# police cir 500000 bc 10000 pir 1000000 be 10000 conform-action
transmit exceed-action set-prec-transmit 2 violate-action drop
Router(config-pmap-c)# exit
Router(config-pmap)# exit
Router(config)# interface gigabitethernet0/1
Router(config-if)# service-policy output policy1
Router(config-if)# end
Router# 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
Cisco ASR 901 Aggregation Services Router Command Reference Guide
1-98
Marking Packets and Assigning Actions with the Two-Rate Policer
PIR
B > Tp
Yes
Violate
Action
CIR
Be
Bc
No
No
B > Tc
Yes
Exceed
Action
Chapter 1
CLI Command Reference
Conform
Action
OL-26031-07

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents