Operation Manual – DHCP
H3C S5600 Series Ethernet Switches
6.3.1 DHCP Client Configuration Example
I. Network requirements
Using DHCP, VLAN-interface 1 of Switch B is connected to the LAN to obtain an IP
address from the DHCP server.
II. Network diagram
See
Figure
III. Configuration procedure
The following describes only the configuration on Switch B serving as a DHCP client.
# Configure VLAN-interface 1 to dynamically obtain an IP address by using DHCP.
<SwitchB> system-view
[SwitchB] interface Vlan-interface 1
[SwitchB-Vlan-interface1] ip address dhcp-alloc
6.3.2 BOOTP Client Configuration Example
I. Network requirement
Switch B's port belonging to VLAN1 is connected to the LAN. VLAN-interface 1 obtains
an IP address from the DHCP server by using BOOTP.
II. Network diagram
See
Figure
III. 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
6.4 Displaying DHCP/BOOTP Client Configuration
Display related information
on a DHCP client
Display related information
on a BOOTP client
2-1.
2-1.
To do...
display dhcp client [ verbose ]
display bootp client [ interface
Vlan-interface vlan-id ]
Chapter 6 DHCP/BOOTP Client Configuration
Use the command...
6-3
Remarks
Optional
Available in
any view