ip dhcp-server custom-option-def

Defines a DHCP Custom Option that the DHCP Server can provide to clients.

Syntax

Command Parameters

<224-254>
Assigns a DHCP code from the unassigned range to this Custom Option.
type IPv4 address
Specifies that the data type for this Custom Option must be an IPv4 address.
type uint32
Specifies that the data type for this Custom Option must be a 32-bit integer.
type string
Specifies that the data type for this Custom Option must be a string.
name <string>
Assigns a readable text label that identifies this Custom Option.

Default

None

Command Mode

Global Configuration

Usage Guidelines

This command defines the Custom Option for all DHCP subnets that this DHCP Server services.

To assign a data value to the option, use the ip dhcp-server custom-option-data command in Global Configuration mode for DHCP Server or the custom-option-data command in DHCP Server Subnet Configuration mode for a specific subnet.