show ip dhcp-server custom-option-data

Displays DHCP Custom Option data.

Syntax

Command Mode

User EXEC

Command Output

The show ip dhcp-server custom-option-data command displays the following information:

Output field

Description

Subnet

Displays the DHCP subnet in which the Custom Option data value is configured. If the option was configured for DHCP Server globally, the output displays Global.

Code

Displays the DHCP code that identifies the Custom Option. The code can be an integer in the unassigned range from 224 to 254.

Type

Displays the data type that is defined for this Custom Option. The data type can be an IPv4 address, 32-bit integer, or string.

Value

Displays the data value that is assigned to this Custom Option within the specified subnet.

Example

switch:1#show ip dhcp-server custom-option-data
================================================================================
                         DHCP Server Custom Option Data
================================================================================
SUBNET               CODE   TYPE           VALUE
--------------------------------------------------------------------------------
Global               250    ipv4-address   203.0.113.5
198.51.100.0/24      250    ipv4-address   203.0.113.23
--------------------------------------------------------------------------------
 Total Number of DHCP Server custom-options displayed: 2
--------------------------------------------------------------------------------