Configure a bandwidth policer to rate-limit at the logical interface level:
- [edit firewall policer new-police1]
- if-exceeding {
- bandwidth-percent 10;
- burst-size-limit 125k;
- }
- logical-bandwidth-policer;
- then {
- discard;
- }
Apply the bandwidth policer to rate-limit IPv4 and IPv6 traffic on interface fe-0/1/1:
- [edit interfaces fe-0/1/1 unit 0 family inet]
- policer new-police1;
- [edit interfaces fe-0/1/1 unit 0 family inet6]
- policer new-police1;