QoS policing command

Unanswered Question
Jun 8th, 2012

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 ] [pir bps [be burstbytes]] [conform-action action [exceed-action action [violate-action action]]]

police cir bps ] [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

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Average Rating: 0 (0 ratings)
David Santos Fri, 06/08/2012 - 16:20

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

Actions

Login or Register to take actions

This Discussion

Posted June 8, 2012 at 6:49 AM
Stats:
Replies:1 Avg. Rating:
Views:289 Votes:0
Shares:0
Tags: No tags.

Discussions Leaderboard

Rank Username Points
1 15,012
2 8,155
3 7,754
4 7,088
5 6,752
Rank Username Points
115
88
84
74
38