How to add DHCP option 121 by CLI

Zyxel_Kevin
Posts: 934
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
- 431 Beta Program
- 2.6K Nebula
- 165 Nebula Ideas
- 112 Nebula Status and Incidents
- 6K Security
- 364 USG FLEX H Series
- 292 Security Ideas
- 1.5K Switch
- 78 Switch Ideas
- 1.2K Wireless
- 42 Wireless Ideas
- 6.6K Consumer Product
- 262 Service & License
- 407 News and Release
- 87 Security Advisories
- 31 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.9K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 85 About Community
- 83 Security Highlight