show ip dhcp-server host

Displays host information for DHCP Server.

Syntax

Command Parameters

0x00:0x00:0x00:0x00:0x00:0x00
Specifies the MAC address of the host. Include this parameter to view information on a specific host.
detail
Displays a more detailed summary of host information.
host
Displays a list of hosts on DHCP Server. You can add the optional parameters to change the output.

Command Mode

User EXEC

Command Output

The show ip dhcp-server host [detail] [0x00:0x00:0x00:0x00:0x00:0x00] command displays the following information:

Output field

Description

MAC ADDRESS

Specifies the MAC address of the host.

SUBNET

Specifies the subnet to which the host belongs.

IP ADDRESS

Specifies the IP address of the host.

Host-Name

Specifies the hostname of the host.

TFTP Server hostname

Specifies the hostname of the TFTP server that the host uses.

TFTP Server IP

Specifies the IP address of the TFTP server that the host uses.

TFTP BOOT File Name

Specifies the filename of the boot image that the host uses.

Example

The following example displays the output of the show ip dhcp-server host command.

Switch:1#show ip dhcp-server host
================================================================================
                             DHCP Server Hosts Info
================================================================================
MAC ADDRESS                   SUBNET             IP ADDRESS
--------------------------------------------------------------------------------
00-00-5E-00-00-01             198.51.100.0/24     198.51.100.4
00-00-5E-00-00-02             198.51.100.0/24     198.51.100.5
--------------------------------------------------------------------------------
 Total Number of DHCP Server hosts displayed: 0
--------------------------------------------------------------------------------

The following example displays output for the show ip dhcp-server host [detail] [0x00:0x00:0x00:0x00:0x00:0x00] command.

Switch:1#show ip dhcp-server host detail 00-00-5E-00-00-01
================================================================================
                             DHCP Server Hosts Detailed Info
================================================================================

================================================================================
                             Host MAC Address 00-00-5E-00-00-01 
================================================================================
Subnet                    : 198.51.100.0/24
IP Address                : 198.51.100.4
Host-Name                 : hostExample
TFTP Server hostname      : hostExample.server
TFTP Server IP            : 203.0.113.45
TFTP BOOT File Name       : hostExample.cfg
--------------------------------------------------------------------------------
 Total Number of DHCP Server hosts displayed: 1
--------------------------------------------------------------------------------