show ip dhcp-server custom-option-def

Displays DHCP Custom Option definitions for DHCP Server.

Syntax

Command Mode

User EXEC

Command Output

The command displays the following information:

Output field

Description

CODE

Displays the DHCP code that is defined for this option.

TYPE

Displays the data type that is defined for this option. The type can be an IPv4 address, integer, or string.

NAME

Displays the readable text label that is defined for the option.

Example

The following example displays output for the show ip dhcp-server custom-option-def command.

Switch:1>show ip dhcp-server custom-option-def
================================================================================
                       DHCP Server Defined Custom Options
================================================================================
CODE   TYPE           NAME
--------------------------------------------------------------------------------
250    ipv4-address   Test server
--------------------------------------------------------------------------------