3com WX3000 Manual Do Utilizador
![3com](https://files.manualsbrain.com/attachments/960452ff43b9899cbcffced60c87abf956e7967a/common/fit/150/50/f6ac125d7af2cf40fec58935fa6d4bf71457a57efe50bee91208a434f325/brand_logo.jpeg)
4-2
To do…
Use the command…
Remarks
Configure the VLAN
interface to obtain IP
address through DHCP or
BOOTP
interface to obtain IP
address through DHCP or
BOOTP
ip address { bootp-alloc |
dhcp-alloc }
dhcp-alloc }
Required
By default, no IP address is
configured for the VLAN
interface.
configured for the VLAN
interface.
Currently, the device operating as a DHCP client can use an IP address for no more than 24 days; that
is, it can obtain a lease with 24 days at most even if the DHCP server assigns a lease with more than 24
days.
DHCP Client Configuration Example
Network requirements
As shown in
, using DHCP, VLAN-interface 1 of Switch A is connected to the LAN to obtain an
IP address from the DHCP server.
Figure 4-1 A DHCP network (Switch A serving as a DHCP client)
WINS server
DHCP Client
DNS server
Vlan-interface1
Switch A
DHCP Client
DHCP Server
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