How to add DHCP option 121 by CLI

Zyxel_Kevin
Posts: 920
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
- 426 Beta Program
- 2.6K Nebula
- 163 Nebula Ideas
- 112 Nebula Status and Incidents
- 6K Security
- 343 USG FLEX H Series
- 288 Security Ideas
- 1.5K Switch
- 78 Switch Ideas
- 1.2K Wireless
- 42 Wireless Ideas
- 6.6K Consumer Product
- 261 Service & License
- 404 News and Release
- 86 Security Advisories
- 31 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.8K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 85 About Community
- 82 Security Highlight