How to creat bulk addresses object by CLI

Zyxel_Kevin
Zyxel_Kevin Posts: 862  Zyxel Employee
100 Answers Second Anniversary 500 Comments Zyxel Certified Sales Associate

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: