https://www.youtube.com/watch?v=FR6-SVqTspo&feature=emb_logo&ab_channel=JuniperNetworks
Create |
---|
a filter with a policer | |
---|---|
set firewall family inet filter hard-filter term from-10 from source-address 10.10.10.0/24 set firewall family inet filter hard-filter term from-10 then policer drop-excess-traffic set firewall family inet filter hard-filter term from-10 then accept set firewall family inet filter hard-filter term all-other-traffic then accept | |
set firewall policer drop-excess-traffic if-exceeding bandwith-limit 2m set firewall policer drop-excess-traffic if-exceeding burst-size-limit 5k set firewall policer drop-excess-traffic then discard | |
Apply | to Interface |
set interface ge-0/0/0 unit 0 family inet filter input hard-filter | |
Apply | to firewall filter |