How to create address object/group by CLI

Zyxel_Kevin
Posts: 947
Zyxel Employee





in Other Topics
Question:
How to create object/group by CLI ?
Using CLI is very helpful if you have many spam addresses.
Answer:
usgflex200h> edit running ; enter config mode
usgflex200h running config# object address-object address spam1 type host 1.1.1.1
usgflex200h running config# object address-object address spam2 type host 1.1.1.2
usgflex200h running config# object address-object address spam3 type host 1.1.1.3
;Add addresses
usgflex200h running config# object address-object group SPAM address-list spam1
usgflex200h running config# object address-object group SPAM address-list spam2
usgflex200h running config# object address-object group SPAM address-list spam3
;Add addresses into group
Tagged:
0
Categories
- All Categories
- 434 Beta Program
- 2.6K Nebula
- 170 Nebula Ideas
- 116 Nebula Status and Incidents
- 6K Security
- 391 USG FLEX H Series
- 295 Security Ideas
- 1.5K Switch
- 78 Switch Ideas
- 1.2K Wireless
- 43 Wireless Ideas
- 6.7K Consumer Product
- 267 Service & License
- 412 News and Release
- 87 Security Advisories
- 31 Education Center
- 10 [Campaign] Zyxel Network Detective
- 4K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 85 About Community
- 83 Security Highlight