Is there a way to add multiple (many) IP addresses to a security policy at once?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

Is there a way to add multiple (many) IP addresses to a security policy at once?

L0 Member

I am trying to adjust a security rule that I have in place that blocks incoming traffic from multiple IP hosts.

In the rule I currently have approx 100 IP host explicitly blocked (spammers)

I am trying to add another group that I have taken from my mail server (approx 150)

Is there a way I can modify and add all of those addresses at once instead of individually?

1 accepted solution

Accepted Solutions

L3 Networker

CLI?

set address <name> ip-netmask 1.1.1.1/32

and/or:

set address-group <addressbook entry>

Should be able to create a large number of set commands with an editor of your choice.

View solution in original post

2 REPLIES 2

L3 Networker

CLI?

set address <name> ip-netmask 1.1.1.1/32

and/or:

set address-group <addressbook entry>

Should be able to create a large number of set commands with an editor of your choice.

If you run this command first, you can copy and paste everything into the CLI window.

set cli scripting-mode on

  • 1 accepted solution
  • 5519 Views
  • 2 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!