Configure DHCP server options

Syntax


no option <CODE> {ascii <ascii-string>|hex <hex-string>|ip <IP-ADDR-STR>[IP-ADDR2 … IP-ADDR8]}
ascii

Specify ASCII string as option code value.

hex

Specify hexadecimal string as option code value.

ip

Specify one or more IP addresses as option code value.

ip-addr-str

Specify IP address.

ascii-str

Enter an ASCII string.

hex-str

Specify Hexadecimal string.

Configure the raw DHCP server options.

NOTE:

Following DHCP options are not supported:

1,3,6,12,15,44,46,50,52,54,55,57,58,59,61,66,67,82.

You can use the following available CLIs for respective DHCP option codes:

DHCP Option code CLI Syntax
1 no network <ip-addr/mask-lenght>
3 no default-router <IP-ADDR-STR> [IP-ADDR2 ... IP-ADDR8]
6 no dns-server <IP-ADDR> [IP-ADDR2 ... IP-ADDR8]
15 no domain-name <name>
44 no netbios-name-server <IP-ADDR-STR> [IP-ADDR2 ... IP-ADDR8]
43 no option 43 {ascii <ascii-string>|hex <hex-string>|ip <IP-ADDR-STR>[IP-ADDR2 … IP-ADDR8]}
46 no netbios-node-type <broadcast | hybrid | mixed | peer-to-peer>
60 no option 60 {ascii <ascii-string>|hex <hex-string>|ip <IP-ADDR-STR>[IP-ADDR2 … IP-ADDR8]}
66 no tftp-server server-name < ASCII-STR>
67 no bootfile-name<filename>
138 no option 138 {ascii <ascii-string>|hex <hex-string>|ip <IP-ADDR-STR>[IP-ADDR2 … IP-ADDR8]}
150 no tftp-server server-ip <ip-address> or no option 150 <IP-ADDR-STR> [IP-ADDR2 ... IP-ADDR8]
NOTE:

DHCP server raw Option 43 is supported and it is used for AirWave ZTP.

DHCP server raw Option 60 is supported from 16.06.

DHCP server raw Option 138 is supported and it is used for IPsec tunnel configuration in DHCP client.