R3166-R3206-HP High-End Firewalls Network Management Configuration Guide-6PW101

158
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:
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 an IP address
through BOOTP
ip address bootp-alloc
Required
By default, an interface does not
use BOOTP to obtain an IP
address.
Displaying and maintaining BOOTP client
configuration
To do… Use the command…
Remarks
Display BOOTP client information
display bootp client [ interface
interface-type interface-number ]
[ | { begin | exclude | include }
regular-expression ]
Available in any view
BOOTP client configuration example
Network requirements
As shown in Figure 63, Ethernet 1/1 of Routeris connected to the LAN to obtain an IP address from the
DHCP server by using BOOTP.
Configuration procedure
The following describes only the configuration on Router serving as a client.
# Configure Ethernet 1/1 to dynamically obtain an IP address by using BOOTP.
<Router> system-view
[Router] interface ethernet 1/1
[Router-Ethernet1/1] ip address bootp-alloc
# Use the display bootp client command to view the IP address assigned to the BOOTP client.
NOTE:
To make the BOOTP client obtain an IP address from the DHCP server, you must perform additional
configurations on the DHCP server. For more information, see the chapter “DHCP server configuration.”