Configuring an interface to dynamically obtain an
IP address through BOOTP
Step
1.
Enter system view.
2.
Enter interface view.
3.
Configure an interface to
dynamically obtain an IP address
through BOOTP.
Displaying and maintaining BOOTP client
configuration
Task
Display BOOTP client information.
BOOTP client configuration example
Network requirements
As shown in
obtains an IP address from the DHCP server by using BOOTP.
Configuration procedure
The following describes only the configuration on Switch B serving as a client.
# Configure VLAN-interface 1 to dynamically obtain an IP address from the DHCP server.
<SwitchB> system-view
[SwitchB] interface vlan-interface 1
[SwitchB-Vlan-interface1] ip address bootp-alloc
# Use the display bootp client command to view the IP address assigned to the BOOTP client.
To make the BOOTP client obtain an IP address from the DHCP server, you must perform additional
configurations on the DHCP server.
Command
display bootp client [ interface interface-type
interface-number ] [ | { begin | exclude |
include } regular-expression ]
Figure
31, Switch B's port belonging to VLAN 1 connects to the LAN. VLAN-interface 1
Command
system-view
interface interface-type
interface-number
ip address bootp-alloc
60
Remarks
N/A
N/A
By default, an interface does not use
BOOTP to obtain an IP address.
Remarks
Available in any view