R3166-R3206-HP High-End Firewalls Network Management Command Reference-6PW101

Table Of Contents
145
Field Description
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:
If no parameter is specified, the client uses a character strin
g
comprised of the current interface name
and MAC address as its ID for address acquisition.
The DHCP client sends a DHCP-RELEASE message for releasin
g
the IP address obtained via DHCP, if the
interface of the client is down, the message cannot be sent.
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 interface GigabitEthernet 0/1 to use DHCP for IP address acquisition.
<Sysname> system-view
[Sysname] interface GigabitEthernet 0/1
[Sysname-GigabitEthernet0/1] ip address dhcp-alloc