3Com Switch 4200G Configuration Guide
54 CHAPTER 11: DHCP/BOOTP CLIENT CONFIGURATION
Configuring a
DHCP/BOOTP Client
Configuration Example Network requirements
To manage the switch S4200GA remotely, which operates as a DHCP client, through
Telnet, The following are required:
■ S4200GA has an IP address that is obtained through DHCP
■ The route between S4200GA and the remote console is reachable.
To achieve this, you need to perform the following configuration for the switch:
■ Configuring the management VLAN interface to obtain an IP address through
DHCP
■ Configuring a default route
Configuration procedures
1 Enter system view.
<S4200GA> system-view
2 Create VLAN 10 and configure VLAN 10 to be the management VLAN.
[4200GA] vlan 10
[4200GA-vlan10] quit
[4200GA] management-vlan 10
3 Create VLAN 10 interface and enter VLAN interface view.
[4200GA] interface vlan-interface 10
4 Configure the management VLAN interface to obtain an IP address through DHCP.
[4200GA-Vlan-interface10] ip address dhcp-alloc
[4200GA-Vlan-interface10] quit
5 Configure a default route.
[4200GA] ip route-static 0.0.0.0 0.0.0.0 1.1.1.2
Table 36 Configure DHCP/BOOTP client
Operation Command Description
Enter system view system-view Required
Configure a specified
VLAN to be the
management VLAN
management-vlan vlan-id Required
By default, VLAN 1 operates as the
management VLAN.
Create the
management VLAN
interface and enter
VLAN interface view
interface vlan-interface vlan-id Required
Configure the way in
which the
management VLAN
interface obtains an IP
address
ip address { bootp-alloc |
dhcp-alloc }
Required
By default, no IP address is assigned
to the management VLAN interface.
Display the information
about the BOOTP client
display bootp client [ interface
vlan-interface vlan-id ]
Optional
You can execute these two
commands in any view.
Display the information
about the DHCP client
display dhcp client [ verbose ]