5 ip dhcp-client enable – PLANET WGSW-50040 User Manual
Page 52

BootP client function is disabled by default.
Command mode:
VLAN Interface Mode
Usage Guide:
Obtaining IP address through BootP, Manual configuration and DHCP are mutually exclusive,
enabling any two methods for obtaining IP address is not allowed. Note: To obtain IP address via
BootP, a DHCP server or a BootP server is required in the network.
Example:
Get IP address through BootP.
Switch(config)#interface vlan 1
Switch(Config-if-Vlan1)#ip bootp-client enable
Switch (Config-if-Vlan1)#exit
Switch(config)#
Relative command:
ip address, ip dhcp-client enable
1.3.5 ip dhcp-client enable
Command:
ip dhcp-client enable
no ip dhcp-client enable
Function:
Enables the switch to be a DHCP client and obtain IP address and gateway address through DHCP
negotiation; the “no ip dhcp-client enable” command disables the DHCP client function and
releases the IP address obtained in DHCP. Note: To obtain IP address via DHCP, a DHCP server is
required in the network.
Default:
the DHCP client function is disabled by default.
Command mode:
VLAN Interface Mode
Usage Guide:
Obtaining IP address by DHCP, Manual configuration and BootP are mutually exclusive, enabling
any 2 methods for obtaining an IP address is not allowed.
Example:
Getting an IP address through DHCP.
Switch(config)#interface vlan 1
Switch(Config-if-Vlan1)#ip dhcp-client enable