< Home

display dhcp client

Function

The display dhcp client command displays DHCP/BOOTP client lease information.

Format

display dhcp client [ interface interface-type interface-number ]

Parameters

Parameter

Description

Value

interface interface-type interface-number

Displays DHCP/BOOTP client lease information on a specified interface:
  • interface-type specifies the interface type.
  • interface-number specifies the interface number.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

When a device functions as the DHCP/BOOTP client, this command displays DHCP/BOOTP client lease information.

Example

# Display DHCP client lease information.

<HUAWEI> display dhcp client
DHCP client lease information on interface Vlanif119 :                           
 Current machine state         : Bound                                          
 Internet address assigned via : DHCP                                           
 Physical address              : 0819-a6cd-a896                                 
 IP address                    : 192.168.119.254                                
 Subnet mask                   : 255.255.255.0                                  
 Gateway ip address            : 192.168.119.1                                  
                                 192.168.119.3                                  
                                 192.168.119.2                                  
 DHCP server                   : 192.168.119.1                                  
 Lease obtained at             : 2008-10-01 04:35:10                            
 Lease expires at              : 2008-10-01 04:36:10                            
 Lease renews at               : 2008-10-01 04:35:40                            
 Lease rebinds at              : 2008-10-01 04:36:03                            
 Classless static route        : 192.168.0.0/16 via 192.168.119.1               
                                 10.10.0.0/16 via 192.168.119.2       
 Host name                     : client  
 Request option list           : 1 3 6 15 28 33 44 121 184       
 Class identifier              : huawei  
 Client identifier             : 0819-a6cd-a896   
Table 1 Description of the display dhcp client command output

Item

Description

DHCP client lease information on interface if1 DHCP client lease information on the interface if1.

Current machine state

Current device status.

Internet address assigned via

IP address obtained using DHCP or BOOTP.

Physical address

Device MAC address.

IP address

Device IP address.

Subnet mask

Mask of the device IP address.

Gateway ip address

Gateway address of the DHCP or BOOTP server.

DHCP server

DHCP server address (no value for a BOOTP client).

Lease obtained at

Time the lease is obtained.

Lease expires at

Time the lease expires (no value for a BOOTP client).

Lease renews at

Time the lease needs to be renewed (no value for a BOOTP client). The lease of an IP address needs to be renewed when half of the lease expires.

Lease rebinds at

Time the lease is renewed (no value for a BOOTP client). The lease of an IP address is renewed when 87.5% of the lease expires.

Classless static route

Classless static route.

Host name Information about Option 12, which is the host name of the client.
Request option list Information about Option 55, which is the request option list of the client.
Class identifier Information about Option 60, which is the vendor type identifier.
Client identifier Information about Option 61, which is the client identifier.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >