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

Difference between (QoS) exceed and violate?

On the process of configuring QoS for Nexus I have come across both commands which "seem" to describe the same action. 

While looking into this further, it explains one can be used to mark traffic - but this can be achieved by both.

"ExceedSets the action to take when the data rate is exceeded. The default is drop."

"Violate - Sets the action to take when the data rate violates the configured rate values. The default is drop."


Anybody have any experience with these commands and where they should be used?


Thank you.



Hi,when PIR is used, Exceed


when PIR is used, Exceed action is applied on packets exceeding CIR but below PIR, Violate action is applied on packets above PIR.

Best regards,



Community Member

Hi Milan, Does this also

Hi Milan,


Does this also relate when policing traffic in QoS?

Yes,you can assign different


you can assign different DSCP values to traffic exceeding and violating, e.g.


Best regards,


Super Bronze

DisclaimerThe Author of this


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.


Yes, it can be so used.  For example, traffic that's within CIR might be marked AFx1, same traffic that's above CIR but below PIR might be marked AFx2, and same traffic over PIR might be marked AFx3.

CreatePlease to create content