Ip Address Dhcp-Alloc - H3C S5120-SI Series Command Reference Manual

Hide thumbs Also See for S5120-SI Series:
Table of Contents

Advertisement

Transaction ID
Default router
Classless static route
Static route
DNS server
Domain name
Boot server
Client ID
T1 will timeout in 1 day 11 hours 58
minutes 52 seconds.

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:
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.
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.
Field
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.
Client ID
How long the T1 (1/2 lease time) timer will timeout.
2-3
Description

Advertisement

Table of Contents
loading

Table of Contents