cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
521
Views
0
Helpful
1
Replies

QoS policing command

martin_lx1980
Level 1
Level 1

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 1

David Santos
Level 1
Level 1

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

Review Cisco Networking products for a $25 gift card