How to create address object/group by CLI
Options
Zyxel_Kevin
Posts: 788 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
- 397 Beta Program
- 2.1K Nebula
- 117 Nebula Ideas
- 81 Nebula Status and Incidents
- 5.2K Security
- 95 USG FLEX H Series
- 247 Security Ideas
- 1.3K Switch
- 69 Switch Ideas
- 921 WirelessLAN
- 35 WLAN Ideas
- 5.9K Consumer Product
- 211 Service & License
- 337 News and Release
- 71 Security Advisories
- 21 Education Center
- 5 [Campaign] Zyxel Network Detective
- 2K FAQ
- 940 Nebula FAQ
- 425 Security FAQ
- 238 Switch FAQ
- 209 WirelessLAN FAQ
- 47 Consumer Product FAQ
- 139 Service & License FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 72 About Community
- 62 Security Highlight