Configuring an interface to use BOOTP for IP
address acquisition
Step
1.
Enter system view.
2.
Enter interface view.
3.
Configure an interface to use
BOOTP for IP address acquisition.
Displaying and maintaining BOOTP client
Execute display command in any view.
Task
Display BOOTP client information.
BOOTP client configuration example
Network requirements
As shown in
10 obtains an IP address from the DHCP server by using BOOTP.
To make the BOOTP client obtain an IP address from the DHCP server, you must perform configurations
on the DHCP server. For more information, see
Configuration procedure
The following describes only the configuration on Switch B serving as a client.
# Configure VLAN-interface 10 to dynamically obtain an IP address from the DHCP server.
<SwitchB> system-view
[SwitchB] interface vlan-interface 10
[SwitchB-Vlan-interface10] ip address bootp-alloc
# Use the display bootp client command to display the IP address assigned to the BOOTP client.
Figure
18, Switch B's port belonging to VLAN 10 is connected to the LAN. VLAN-interface
Command
system-view
interface interface-type
interface-number
ip address bootp-alloc
Command
display bootp client [ interface interface-type
interface-number ]
"DHCP server configuration
80
Remarks
N/A
N/A
By default, an interface does not
use BOOTP for IP address
acquisition.
examples."