How to creat bulk addresses object by CLI

Zyxel_Kevin
Zyxel_Kevin Posts: 885  Zyxel Employee
Zyxel Certified Network Administrator - Security Zyxel Certified Sales Associate 100 Answers 500 Comments

You may have requirement to import the bulk addresses as block list

Question:

How to creat bulk address object by CLI ?

Answer:

1)Open a textbook, and edit to the following content

object address-object address {Object Name} type cider {Address with Subnet}

For example:

object address-object address Attack1 type cidr X.X.X.X.0/23
object address-object address Attack2 type cidr Y.Y.Y.Y.0/24

And add thoses into group.
object address-object group Drop-Attack address-list Attack1
object address-object group Drop-Attack address-list Attack2

Tagged: