832 CHAPTER 61: BOOTP CLIENT CONFIGURATION
Obtaining an IP Address
Dynamically
n
A DHCP server can take the place of the BOOTP server in the following dynamic IP 
address acquisition.
A BOOTP client dynamically obtains an IP address from a BOOTP server in the 
following way:
1 The BOOTP client broadcasts a BOOTP request, which contains its own MAC 
address.
2 The BOOTP server receives the request and searches the configuration file for the 
corresponding IP address according to the MAC address of the BOOTP client. The 
BOOTP server then returns a BOOTP response to the BOOTP client.
3 The BOOTP client obtains the IP address from the received the response.
Protocols and Standards Some protocols and standards related to BOOTP include:
■ RFC 951: Bootstrap Protocol (BOOTP)
■ RFC 2132: DHCP Options and BOOTP Vendor Extensions
■ RFC 1542: Clarifications and Extensions for the Bootstrap Protocol
Configuring an 
Interface to 
Dynamically Obtain an 
IP Address Through 
BOOTP
Follow these steps to configure an interface to dynamically obtain an IP address:
Displaying and 
Maintaining BOOTP 
Client Configuration
BOOTP Client 
Configuration 
Example
Network requirement
Switch B’s port belonging to VLAN 1 is connected to the LAN. VLAN-interface 1 
obtains an IP address from the DHCP server by using BOOTP.
Network diagram
See Figure 246.
Configuration procedure
The following describes only the configuration on Switch B serving as a client.
To do…  Use the command…  Remarks 
Enter system view  system-view - 
Enter interface view  interface interface-type 
interface-number 
- 
Configure an interface to 
dynamically obtain IP address 
through BOOTP 
ip address bootp-alloc Required
By default, an interface does 
not use BOOTP to obtain an IP 
address.
To do…  Use the command…  Remarks 
Display related information on 
a BOOTP client 
display bootp client 
[ interface interface-type 
interface-number ] 
Available in any view