show ip dhcp-client options

Displays the list of options the Dynamic Host Configuration Protocol (DHCP) client has received from the DHCP server.
Syntax
show ip dhcp-client options
Modes

User EXEC mode

Usage Guidelines

The DHCP client must be enabled to be able to view the output of this command correctly.

The show ip dhcp-client options command displays the following information:

Output field Description
DHCP Client Received Option(s) Specifies the options the client has received, such as the dynamic IP address, subnet mask, lease time, server IP address, default-router address, TFTP server address, boot filename, DNS-server address, host name, and vendor-specific information.
Examples

The following example displays the DHCP client options received from the server.

device(config)# show ip dhcp-client options
DHCP Client Received Option(s) :

Client Received Options on port: 1/1/2          
    Dynamic IP address: 110.1.1.2
           Subnet mask: 255.255.255.0
            Lease Time: 2400
       Server IP Address (option  54): 110.1.1.1
  default-router address (option   3): 110.1.1.1
     TFTP server address (option 150): 110.1.1.20
        TFTP Server Name (option  66): CHN-EL1-E03-65-112
           Boot filename (option  67): boot.cfg
      dns-server address (option   6): 1.1.1.10
         DNS Server Name (option  15): ruckuscom
               Host Name (option  12): dhcp_host
    Vendor Specific Info (option  43): None

The following example displays the DHCP client options including the image type and flash location.

device(config)# show ip dhcp-client options

DHCP Client Received Option(s) :

Client Received Options on port: 1/1/35         
    Dynamic IP address: 65.1.1.2
           Subnet mask: 255.255.255.0
            Lease Time: 86400
       Server IP Address (option  54): 65.1.1.1
  default-router address (option   3): None
     TFTP server address (option 150): 65.1.1.1
        TFTP Server Name (option  66): None
           Boot filename (option  67): FI08070_Manifest.txt router primary
      dns-server address (option   6): None
         DNS Server Name (option  15): None
               Host Name (option  12): None
    Vendor Specific Info (option  43): None

The following example displays information for the DHCP client when the vendor specific information (VSI) option information is received from the DHCP server as text (create default ve).

device(config)# show ip dhcp-client options

DHCP Client Received Option(s) :
 
Client Received Options on port: 2/1/21         
    Dynamic IP address: 20.1.1.2
           Subnet mask: 255.255.255.0
            Lease Time: 86400
       Server IP Address (option  54): 20.1.1.1
  default-router address (option   3): 20.1.1.1
     TFTP server address (option 150): 20.1.1.1
        TFTP Server Name (option  66): None
           Boot filename (option  67): None
      dns-server address (option   6): 110.1.1.20
         DNS Server Name (option  15): brd.com
    Vendor Specific Info (option  43): create default ve

The following example displays information for the DHCP client when the VSI option information is received from the DHCP server in the expected TLV format data (sub-option data in comma-separated IP address format).

device(config)# show ip dhcp-client options

DHCP Client Received Option(s) :
 
Client Received Options on port: 2/1/21         
    Dynamic IP address: 20.1.1.2
           Subnet mask: 255.255.255.0
            Lease Time: 86400
       Server IP Address (option  54): 20.1.1.1
  default-router address (option   3): 20.1.1.1
     TFTP server address (option 150): 20.1.1.1
        TFTP Server Name (option  66): None
           Boot filename (option  67): None
      dns-server address (option   6): 110.1.1.20
         DNS Server Name (option  15): brd.com
    Vendor Specific Info (option  43): TLV Format Data			                    
                   (Code 6) : 12.12.12.12 13.13.13.13

The following example displays output for the DHCP client when the VSI option information is received from the DHCP server in TLV format, but with sub-option data as non-readable characters.

device(config)# show ip dhcp-client options

Client Received Options on port: 2/1/21         
    Dynamic IP address: 20.1.1.2
           Subnet mask: 255.255.255.0
            Lease Time: 86400
       Server IP Address (option  54): 20.1.1.1
  default-router address (option   3): 20.1.1.1
     TFTP server address (option 150): 20.1.1.1
        TFTP Server Name (option  66): None
           Boot filename (option  67): None
      dns-server address (option   6): 110.1.1.20
         DNS Server Name (option  15): brd.com
    Vendor Specific Info (option  43): TLV Format Data
                                       ( Code   6 ) :  

The following example displays output for the DHCP client when the VSI option information is received from the DHCP server in ASCII format, including the SmartZone IP Address received.

device(config)# show ip dhcp-client options

DHCP Client Received Option(s) :
 
Client Received Options on port: v1
    Dynamic IP address: 20.20.20.2
           Subnet mask: 255.255.255.0
            Lease Time: 300
       Server IP Address (option  54): 20.20.20.1
  default-router address (option   3): None
     TFTP server address (option 150): 20.20.20.1
        TFTP Server Name (option  66): None
           Boot filename (option  67): None
      dns-server address (option   6): None
         DNS Server Name (option  15): None
               Host Name (option  12): None
    Vendor Specific Info (option  43): ASCII
                                       ( Code   7 ) : 10.10.10.10,12.12.12.12
History
Release version Command history
08.0.40 This command was introduced.
08.0.70 This command was modified to show DHCP client options in the new option format.
08.0.80 This command was modified to include information in the output for option 67 enhancements where both the image type and flash location are specified by the user. This command was also modified to display information for option 43 enhancements where data related to the VSI received from the SmartZone DHCP server is displayed.
09.0.00 This command output was modified to display information for option 43 enhancements where data related to the VSI received from the SmartZone DHCP server is displayed in ASCII format including the SmartZone IP Address received.