Operation Manual – DHCP
H3C S3100-52P Ethernet Switch
III. Configuration procedure
The following describes only the configuration on Switch A serving as a DHCP client.
# Configure VLAN-interface 1 to dynamically obtain an IP address by using DHCP.
<SwitchA> system-view
[SwitchA] interface Vlan-interface 1
[SwitchA-Vlan-interface1] ip address dhcp-alloc
4.4.2 BOOTP Client Configuration Example
I. Network requirement
Switch A'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 A serving as a client.
# Configure VLAN-interface 1 to dynamically obtain an IP address from the DHCP
server.
<SwitchA> system-view
[SwitchA] interface vlan-interface 1
[SwitchA-Vlan-interface1] ip address bootp-alloc
4.5 Displaying DHCP/BOOTP Client Configuration
Display related information on
a DHCP client
Display related information on
a BOOTP client
4-2.
To do...
Chapter 4 DHCP/BOOTP Client Configuration
Use the command...
display dhcp client [ verbose ]
display bootp client [ interface
Vlan-interface vlan-id ]
4-6
Remarks
Optional
Available in
any view