display dhcp client-info

Function

The display dhcp client-info command displays status information of a DHCP client.

Format

display dhcp client-info [ interface { interface-type interface-number | interface-name } ]

Parameters

Parameter Description Value
interface interface-type interface-number

Specifies the type and number of an interface.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
dhcp read

Usage Guidelines

Usage Scenario

To view status information of a DHCP client, run the display dhcp client-info command.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display status information of a DHCP client.
<HUAWEI> display dhcp client-info
DHCP client lease information on interface Gigabitethernet 0/1/0 :
Current machine state            : Bound
Internet address assigned via    : DHCP
Physical address                 : 00e0-fcb7-3fdc
IP address                       : 192.168.1.6
Subnet mask                      : 255.255.255.0
DHCP server                      : 192.168.1.2
Lease obtained at                : 2017-04-05 21:55:59
Lease expires at                 : 2017-04-05 22:55:59
Lease renews at                  : 2017-04-05 22:25:59
Lease rebinds at                 : 2017-04-05 22:48:29
Table 1 Description of the display dhcp client-info command output
Item Description
DHCP server

IP address of the DHCP server.

Current machine state

Status of the DHCP client.

  • Init.
  • Selecting.
  • Requesting.
  • Bound.
  • Renewing.
  • Rebinding.
Internet address assigned via

Mode of applying to an IP address for the DHCP client. Currently, only the DHCP mode is supported.

Physical address

Physical link address of the DHCP client.

IP address

IP address requested for the DHCP client.

Subnet mask

Subnet mask requested for the DHCP client.

Lease obtained at

Time when the IP address is obtained.

Lease expires at

Lease time of the IP address.

Lease renews at

Renewal time of the IP address.

Lease rebinds at

Rebinding time of the IP address.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >