Example: Configuring BOOTP client
Network configuration
As shown in Figure 18, Switch B's port belonging to VLAN 10 is connected to the LAN. VLAN-interface 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 configuration on the DHCP server. For more information, see "DHCP server configuration examples."
Procedure
The following describes the configuration on Switch B, which acts 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
Verifying the configuration
# Display the IP address assigned to the BOOTP client.
[SwitchB] display bootp client