Cisco 10000 Series Configuration Manual page 226

Quality of service configuration guide
Hide thumbs Also See for 10000 Series:
Table of Contents

Advertisement

Metering Traffic and Token Buckets
Figure 6-1
Packet of size B
For example, if a data stream with a rate of 250 kbps arrives at the two-rate policer, and the CIR is
100 kbps and the PIR is 200 kbps, the policer marks the packet in the following way:
100 kbps conforms to the rate
100 kbps exceeds the rate
50 kbps violates the rate
The router updates the tokens for both the committed and peak token buckets in the following way:
The router updates the committed token bucket at the CIR value each time a packet arrives at the
interface. The committed token bucket can contain up to the committed burst (bc) value.
The router updates the peak token bucket at the PIR value each time a packet arrives at the interface.
The peak token bucket can contain up to the peak burst (be) value.
When an arriving packet conforms to the CIR, the router takes the conform action on the packet and
decrements both the committed and peak token buckets by the number of bytes of the packet.
When an arriving packet exceeds the CIR, the router takes the exceed action on the packet,
decrements the committed token bucket by the number of bytes of the packet, and decrements the
peak token bucket by the number of overflow bytes of the packet.
When an arriving packet exceeds the PIR, the router takes the violate action on the packet, but does
not decrement the peak token bucket.
Cisco 10000 Series Router Quality of Service Configuration Guide
6-20
Marking Packets and Assigning Actions—2-Rate Policer
PIR
Be
No
B > Tp
Yes
Violate
Action
Chapter 6
CIR
Bc
No
B > Tc
Yes
Exceed
Conform
Action
Action
Policing Traffic
OL-7433-09

Advertisement

Table of Contents
loading

Table of Contents