6-3
Field
Description
Static route
Classful static routes assigned to the client
DNS server
The DNS server address assigned to the client
Domain name
The domain name suffix assigned to the client
Boot server
PXE server addresses (up to 16 addresses) specified for the DHCP
client, which are obtained through Option 43.
Client ID
Client ID
T1 will timeout in 1 day 11 hours 58
minutes 52 seconds.
How long 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 using
which 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.
Note that:
z
If no parameter is specified, the client uses a character string comprised of the current interface
name and MAC address as its ID for address acquisition.
z
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.
z
For a sub interface that obtained an IP address via DHCP, using the
shutdown
command on its
primary interface does not make the DHCP client send a DHCP-RELEASE message for releasing
the sub interface’s IP address.
Examples
# Configure VLAN-interface 1 to use DHCP for IP address acquisition.
<Sysname> system-view
[Sysname] interface vlan-interface 1
[Sysname-Vlan-interface1] ip address dhcp-alloc