Hi,
I have created a sample configuration for your requirement.
This would limit any traffic to 1G in both input and output direction.
[edit firewall]
+ policer POLICER-1G {
+ if-exceeding {
+ bandwidth-limit 1g;
+ burst-size-limit 5m;
+ }
+ then discard;
+ }
[edit firewall family inet]
+ filter Limit-1G {
+ term 1 {
+ then {
+ policer POLICER-1G;
+ accept;
+ }
+ }
+ }
[edit interfaces xe-0/3/0 unit 0 family inet]
+ filter {
+ input Limit-1G;
+ output Limit-1G;
+ }
Regards,
Moses N