Hi,

There is no documentation for policer.

Simple example
To configure policer (you can set conform/exceed/violate action 
transmit/mark-and-transmit/drop) use:
configure policer name policy2 cir 102 eir 2345 cb 12 eb 67 rate pps round up 
type 2r3c-4115 conform-action transmit exceed-action mark-and-transmit AF43 
violate-action drop
To set policer classifier (you can precolor traffic with 
conform-color/exceed-color) use:
classify table mask l3 ip4 src
classify session policer-hit-next policy1 exceed-color table-index 0 match l3 
ip4 src 16.0.0.1
set policer classify interface GigabitEthernet0/8/0 ip4-table 0

Regards,

[banner3a1]



Matus Fabian
Engineer - Software
matfa...@cisco.com<mailto:matfa...@cisco.com>
Tel:

Cisco Systems, Inc.



Slovakia
cisco.com


[http://www.cisco.com/assets/swa/img/thinkbeforeyouprint.gif]Think before you 
print.

This email may contain confidential and privileged material for the sole use of 
the intended recipient. Any review, use, distribution or disclosure by others 
is strictly prohibited. If you are not the intended recipient (or authorized to 
receive for the recipient), please contact the sender by reply email and delete 
all copies of this message.
Please click 
here<http://www.cisco.com/web/about/doing_business/legal/cri/index.html> for 
Company Registration Information.


From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On 
Behalf Of Mohammed Sayed
Sent: Monday, November 28, 2016 10:29 PM
To: vpp-dev@lists.fd.io
Subject: [vpp-dev] VPP || Limiting interface rate

Hello VPP Developers,

I am trying to implement a simple topology, where i would like to limit the 
rate of a physical Sub-interface inside VPP.

According to the VPP Wiki features page, this is not applicable. However i 
found some commands in the VPP CLI as the below, but they are not clear at all.
For example

  *   vppctl classify
  *   vppctl set policer
Is there any sort of documentation or help or examples for such scenario?

Thanks
Best Regards

Mohammed Sayed Abdel Aziz

[cid:image003.png@01D24A12.18B186C0]
_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev
  • [vpp-dev] VPP ... Mohammed Sayed
    • Re: [vpp-... Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES at Cisco)

Reply via email to