74
DHCP server IP address that assigned the IP address
Transaction ID, a random number chosen by the client to identify
an IP address allocation
The gateway address assigned to the client
Classless static routes assigned to the client
Classful static routes assigned to the client
The DNS server address assigned to the client
The domain name suffix assigned to the client
PXE server addresses (up to 16 addresses) specified for the
DHCP client, which are obtained through Option 43
T1 will timeout in 1 day 11 hours 58
minutes 52 seconds.
How long until the T1 (1/2 lease time) timer will timeout
ip address dhcp-alloc
Syntax
ip address dhcp-alloc [ client-identifier mac interface-type interface-number ]
undo ip address dhcp-alloc
View
Interface view
Default level
2: System level
Parameters
client-identifier mac interface-type interface-number: Specifies the MAC address of an interface to be
used as the client ID to obtain an IP address.
Description
Use the ip address dhcp-alloc command to configure an interface to use DHCP for IP address acquisition.
Use the undo ip address dhcp-alloc command to cancel an interface from using DHCP.
By default, an interface does not use DHCP for IP address acquisition.
If no parameter is specified, the client uses a character string that comprises the current interface name
and MAC address as its ID for address acquisition.
The DHCP client sends a DHCP-RELEASE message for releasing the IP address obtained via DHCP. If the
interface of the client is down, the message cannot be sent.
Examples
# Configure VLAN-interface 1 to use DHCP for IP address acquisition.
<Sysname> system-view
[Sysname] interface vlan-interface 1