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
- 438 Beta Program
- 2.7K Nebula
- 188 Nebula Ideas
- 121 Nebula Status and Incidents
- 6.2K Security
- 454 USG FLEX H Series
- 303 Security Ideas
- 1.6K Switch
- 81 Switch Ideas
- 1.3K Wireless
- 44 Wireless Ideas
- 6.8K Consumer Product
- 278 Service & License
- 435 News and Release
- 88 Security Advisories
- 31 Education Center
- 10 [Campaign] Zyxel Network Detective
- 4.2K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 85 About Community
- 91 Security Highlight