show ip dhcp-server

Displays DHCP Server information.

Syntax

Command Mode

User EXEC

Command Output

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

Field

Description

Status

Specifies whether DHCP Server is enabled or disabled.

Mgmt-clip status

Specifies whether a management CLIP IP interface is enabled.

Mgmt-clip ip

Displays the IP address of the management CLIP IP interface.

Mgmt VRF

Displays the management VRF (for example, Global Router).

HA peer

Displays the IP address of the peer switch in a High Availability pair.

Administrative HA role

Displays the HA role that the admin has configured for this switch in an HA pair. The values are primary, standby, or default. If an administrator did not apply a setting, the value is default.

Operational HA role

Displays the role that the switch plays in an HA pair. The possible values are primary or standby and are derived as follows:

  • If the Administrative HA role for this switch is primary or standby, the Operational HA role has the same value.

  • If the Administrative HA role is default, then the switch with the lower Management CLIP IP address in an HA pair has an Operational HA role of primary and the switch with the higher Management CLIP IP address has an Operational HA role of standby.

HA Status

Displays the status of the HA sync between the two switches.

Lease-time

Displays the lease timer that is configured for DHCP Server globally. The default value is 86400.

Authoritative

Displays whether Authoritative mode is enabled or disabled.

Netbios-name-server

Displays the IP address of the NetBIOS name server that is assigned to DHCP Server globally.

Netbios-type

Displays the global node type of the NetBIOS server that is assigned to DHCP Server. The values are:

  • 0x1—B node

  • 0x2—P node

  • 0x4—M node

  • 0x8—H node

  • 0x0—Unconfigured (this is the default value)

TFTP Server IP

Displays the IP address of the TFTP server that is assigned to DHCP Server globally.

TFTP Server Name

Displays the server name of the TFTP server that is assigned to DHCP Server globally.

TFTP bootfile-Name

Displays the filename of the TFTP boot image that is assigned to DHCP Server globally.

Domain Name

Displays the domain name that is assigned to DHCP Server globally.

DNS Server

Displays the IP address of the DNS server(s) assigned to DHCP Server globally.

NTP Server

Displays the IP address of the NTP server(s) assigned to DHCP Server globally.

Example

The following example shows output for the show ip dhcp-server command.

Switch:1#show ip dhcp-server
================================================================================
                              DHCP Server Settings
================================================================================
Status                    : enabled

Mgmt-clip status          : enabled
Mgmt-clip IP              : 203.0.113.240
Mgmt VRF                  : GlobalRouter

HA peer                   : 0.0.0.0
Administrative HA role    : default
Operational HA role       : standby
HA Status                 : Initialising
Lease-time                : 5550
Authoritative             : disabled
Netbios-name-server       : 0.0.0.0
Netbios-type              : 0x0

TFTP Server IP            : 203.0.113.50

TFTP Server Name          : central
TFTP bootfile-name        :

Domain Name               :
NTP Server 1              : 203.0.113.60
NTP Server 2              : 203.0.113.61
NTP Server 3              : 203.0.113.62
--------------------------------------------------------------------------------