6-3
Field
Description
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
Summary of Contents for E4510-48G
Page 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Page 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Page 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Page 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Page 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Page 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Page 914: ...5 17 Sysname reset oam ...
Page 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Page 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...