53
display dhcp client
Syntax
View
Parameter
Description
Example
DHCP C
C
OMMANDS
n
The DHCP client configuration is supported only on the Layer 3 Ethernet
■
interface (or subinterface) and VLAN interface.
When multiple VLAN interfaces having the same MAC address use DHCP for IP
■
address acquisition via a relay agent, the DHCP server cannot be the Windows
2000 Server or Windows 2003 Server.
You are not recommended to enable both the DHCP client and the DHCP
■
Snooping on the same device. Otherwise, DHCP Snooping entries may fail to
be generated, or the DHCP client may fail to obtain an IP address.
display dhcp client [ verbose ] [ interface interface-type interface-number ]
Any view
verbose: Specifies verbose DHCP client information to be displayed.
interface interface-type interface-number: Specifies an interface of which to
display DHCP client information.
Use the
display dhcp client
interface interface-type interface-number is specified, DHCP client information of
all interfaces will be displayed.
# Display DHCP client information of all interfaces.
<Sysname> display dhcp client
Vlan-interface1 DHCP client information:
Current machine state: BOUND
Allocated IP: 40.1.1.20 255.255.255.0
Allocated lease: 259200 seconds, T1: 129600 seconds, T2: 226800 seconds
DHCP server: 40.1.1.2
# Display verbose DHCP client information.
<Sysname> display dhcp client verbose
Vlan-interface1 DHCP client information:
Current machine state: BOUND
Allocated IP: 40.1.1.20 255.255.255.0
Allocated lease: 259200 seconds, T1: 129600 seconds, T2: 226800 seconds
Lease from 2005.08.13 15:37:59
DHCP server: 40.1.1.2
Transaction ID: 0x1c09322d
Default router: 40.1.1.2
C
LIENT
ONFIGURATION
command to display DHCP client information. If no
to
2005.08.16 15:37:59