option (dhcpv4-pool-config)

Configures raw DHCP options. The DHCP option must be configured under the DHCP server policy. The options configured under the DHCP pool/DHCP server policy can also be used in static-bindings.

Supported on the following devices:

Syntax

option <OPTION-NAME> [<DHCP-OPTION-IP>|<DHCP-OPTION-ASCII>]

Parameters

option <OPTION-NAME> [<DHCP-OPTION-IP>|<DHCP-OPTION-ASCII>]

<OPTION-NAME>

Sets the name of the DHCP option

<DHCP-OPTION-IP>

Sets DHCP option as an IP address

<DHCP-OPTION-ASCII>

Sets DHCP option as an ASCII string

Note

Note

An option name in ASCII format accepts a backslash (\) as an input, but is not displayed in the output. Use theshow > running > config command to view the output. Use a double backslash to represent a single backslash.

Examples

rfs4000-229D58(config-dhcp-policy-test-pool-testPool)#option option1 157.235.208.80
rfs4000-229D58(config-dhcp-policy-test-pool-testPool)#show context
 dhcp-pool testPool
  address 192.168.13.4 class dhcpclass1
  ddns server 192.168.13.9
  ddns multiple-user-class
  excluded-address range 192.168.13.25 192.168.13.28
  netbios-node-type b-node
  dns-server 192.168.13.19
  netbios-name-server 192.168.13.25
  option option1 157.235.208.80
rfs4000-229D58(config-dhcp-policy-test-pool-testPool)#

Related Commands

no

Resets values or disables the DHCP pool option settings