How to create address object/group by CLI
Options

Zyxel_Kevin
Posts: 958
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
- 435 Beta Program
- 2.7K Nebula
- 176 Nebula Ideas
- 119 Nebula Status and Incidents
- 6.1K Security
- 430 USG FLEX H Series
- 299 Security Ideas
- 1.6K Switch
- 79 Switch Ideas
- 1.2K Wireless
- 44 Wireless Ideas
- 6.7K Consumer Product
- 276 Service & License
- 427 News and Release
- 88 Security Advisories
- 31 Education Center
- 10 [Campaign] Zyxel Network Detective
- 4.2K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 83 About Community
- 89 Security Highlight