# Remove all old entries first :foreach i in=[/ip firewall address-list find ] do={ :if ( [/ip firewall address-list get $i comment] = "Dshield") do={ /ip firewall address-list remove $i } } # Now let's add the new ones /ip firewall address-list add address="1.34.22.0" list="dshield_list" comment="Dshield" add address="23.95.25.0" list="dshield_list" comment="Dshield" add address="23.95.28.0-23.95.28.255" list="dshield_list" comment="Dshield" add address="50.57.66.0-50.57.66.255" list="dshield_list" comment="Dshield" add address="61.164.149.0-61.164.149.255" list="dshield_list" comment="Dshield" add address="78.47.6.0-78.47.6.255" list="dshield_list" comment="Dshield" add address="80.82.70.0" list="dshield_list" comment="Dshield" add address="86.127.100.0" list="dshield_list" comment="Dshield" add address="108.171.244.0-108.171.244.255" list="dshield_list" comment="Dshield" add address="114.43.3.0-114.43.3.255" list="dshield_list" comment="Dshield" add address="116.10.191.0-116.10.191.255" list="dshield_list" comment="Dshield" add address="121.164.233.0-121.164.233.255" list="dshield_list" comment="Dshield" add address="125.227.158.0" list="dshield_list" comment="Dshield" add address="185.56.80.0-185.56.80.255" list="dshield_list" comment="Dshield" add address="203.156.218.0" list="dshield_list" comment="Dshield" add address="218.77.79.0-218.77.79.255" list="dshield_list" comment="Dshield"