How to add DHCP option 121 by CLI

Zyxel_Kevin
Posts: 917
Zyxel Employee





Symptom:
You would add user-defined DHCP option 121
Workaround:
You can add by CLI.
For example, Dst:1.1.1.0/24 Gateway: 192.168.1.2 .
1)Write as RFC format :
24.1.1.1.192.168.1.2
2)Translate to Hex
18:01:01:01:C0:A8:01:02
3)
usgflex200h running#vrf main dhcp server subnet <your subnet> user-defined <uint8> hex-string <hex>
usgflex200h running#vrf main dhcp server subnet 192.168.1.0/24 user-defined 121 hex-string 18:01:01:01:C0:A8:01:02
4)
Verify:
Tagged:
0
Categories
- All Categories
- 415 Beta Program
- 2.5K Nebula
- 154 Nebula Ideas
- 103 Nebula Status and Incidents
- 5.9K Security
- 307 USG FLEX H Series
- 284 Security Ideas
- 1.5K Switch
- 78 Switch Ideas
- 1.1K Wireless
- 42 Wireless Ideas
- 6.5K Consumer Product
- 256 Service & License
- 397 News and Release
- 85 Security Advisories
- 29 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.7K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 87 About Community
- 77 Security Highlight