
6-3
DHCP Client Configuration Example
Network requirements
Using DHCP, VLAN-interface 1 of Switch B is connected to the LAN to obtain an IP address from the
DHCP server.
Network diagram
See
Figure 2-1
.
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
BOOTP Client Configuration Example
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.
Network diagram
See
Figure 2-1
.
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
Displaying DHCP/BOOTP Client Configuration
To do…
Use the command…
Remarks
Display related information on a
DHCP client
display dhcp client
[
verbose
]
Display related information on a
BOOTP client
display bootp client
[
interface
Vlan-interface
vlan-id
]
Optional
Available in any
view
Содержание E4500-24
Страница 279: ...ii Configuring IGMP Snooping 1 16 Configuring Multicast VLAN 1 18 Troubleshooting IGMP Snooping 1 21...
Страница 390: ...2 31 Troubleshooting HWTACACS Configuration See the previous section if you encounter an HWTACACS fault...
Страница 487: ...5 4 Sysname Ethernet1 0 11 dhcp rate limit 100...