Juniper Bandwidth Restriction to Single IP

  • by

Juniper Bandwidth Restriction to Single IP

#set firewall policer 10mb  if-exceeding bandwidth-limit 10m
#set firewall policer 10mb  if-exceeding burst-size-limit 1m
#set firewall policer 10mb  then discard

[Create policer name 10mb for 10mb bandwidth]

#set firewall filter bandwidth-control term 1 from source-address 1.1.2.2/32
#set firewall filter bandwidth-control term 1 then policer 10mb

[Create a firewall name bandwidth-control for source ip 1.1.2.2/32]

# set interfaces ge-0/0/7 unit 0 family inet filter input bandwidth-control
# set interfaces ge-0/0/7 unit 0 family inet filter output bandwidth-control
# set interfaces ge-0/0/7 unit 0 family inet address 1.1.2.1/30

[Call the firewall name bandwidth-control to interface ge-0/0/7]

[It will restrict 10mb bandwidth for IP 1.1.2.2 ]

Have Fun…

Leave a Reply