Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

QoS policing command

I have read the conception of single-rate,two-color policing, single-rate three-color policing and two-rate three-color policing. But I don’t know how to implement them with policing command. Policing commands are so complicated and make me so confused with them

police bps [[bc] normal-burst-bytes [maximum-burst-bytes | [be] [burst-bytes]]] [pir bps [be burstbytes]] [conform-action action [exceed-action action [violate-action action]]]

police cir bps [[bc] normal-burst-bytes [maximum-burst-bytes | [be] [burst-bytes]]] [pir bps [be burst-bytes]] [conform-action action [exceed-action action [violate-action action]]]

what do bps, normal-burst-bytes, maximum-burst-bytes and burst-bytes mean? When should I use keyword cir,bc ,be and pir? Could you give me some examples with commands?

Thanks a lot

Martin

1 REPLY
New Member

QoS policing command

Can this table help you?

CB Policing Mechanics

Feature

Behavior of    Single-Rate, Two-Color

Behavior of    Single-Rate, Three-Color

Behavior of    Dual-Rate, Three-Color

Size of   "first" bucket

Bc (bytes)

Bc (bytes)

Bc (bytes)

Size of   "second" bucket

N/A

Be (bytes)

Be (bytes)

Refill of first bucket

Prorated portion of Bc based on packet arrival time

Prorated portion of Bc based on packet arrival time

Prorated portion of Bc based on packet arrival time

Refill of second   bucket

N/A

Filled by spilled Tokens from refill of first bucket

Prorated portion of Be based on packet arrival time

Logic for   "conform" action

1st bucket => packet size; decrement 1st bucket by packet size

1st bucket => packet size; decrement 1st bucket by packet size

1st bucket => packet size; decrement   both buckets by packet size

Logic to choose "exceed" action

All packets that do not conform

Doesn't conform, but 2nd bucket =>   packet size; decrement 2nd bucket by packet size

Doesn't conform, but 2nd bucket =>   packet size; decrement 2nd bucket by packet size

Logic to choose "violate" action

N/A

All other packets

All other packets

294
Views
0
Helpful
1
Replies