cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
468
Views
5
Helpful
6
Replies

Policing in qos

swatikhare
Level 1
Level 1

Incase of traffic policing, for a particular class if the violate action is set to transmit and *not* drop then will the packets still be dropped?

6 Replies 6

Joseph W. Doherty
Hall of Fame
Hall of Fame

Disclaimer

The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.

Posting

No they will not be dropped by that policer, they will be transmitted.  What you're doing is using the policer to "color" the traffic based on its bandwidth usage.

Violated action comes in picture when the bandwidth usage exceeds the Be value.

How will the packets still be transmitted, as that would mean that particular class can be burst upto unlimited, which shouldn't be happening. They will be a limit somewhere.

Or will it use up bandwidth from another class if available?

Disclaimer

The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.

Posting

Bandwidth to a CBWFQ class is treated just the same as if you didn't have the explicit policer (with the transmit).

In the scenario I have,

Class-map: af

police cir bc be

conform-action set-dscp-transmit x

exceed-action set-dscp-transmit x

violate-action set-dscp-transmit x

 

Now if I see drops here in this class, then these are actual packet drops right? However the violate action is set not to drop.

 

Disclaimer

The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.

Posting

Yes, they are drops.

Hint - can classes drop packets without a policer?

(A policer might drop packets before a class would itself, but if the policer doesn't drop a packet, the packet, again, is treated like it other would be by the class.  I.e.  the set-dscp-transmit does not confer special "protection", it just keeps the policer from dropping the packet, as it normally would.)

Thanks a lot

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: