CLI Reference Guide
ip address-alloc dhcp
Description
The ip address-alloc dhcp command is used to enable the DHCP Client
function. When this function is enabled, the switch will try to obtain IP from
DHCP server. This command should be configured in the Interface Configuration
Mode of the management VLAN.
Syntax
ip address-alloc dhcp
Command Mode
Interface Configuration Mode (interface vlan)
Example
Enable the DHCP Client function when the management VLAN of the switch is
VLAN1:
TL-SG3424(config)# interface vlan 1
TL-SG3424(config-if)# ip address-alloc dhcp
ip address-alloc bootp
Description
The ip address-alloc bootp command is used to enable the BOOTP Protocol.
When the BOOTP Protocol is enabled, the switch will try to obtain IP address
from BOOTP Server. This command should be configured in the Interface
Configuration Mode of the management VLAN.
Syntax
ip address-alloc bootp
Command Mode
Interface Configuration Mode (interface vlan)
Example
Enable the BOOTP Protocol to obtain IP address from BOOTP Server when the
management VLAN of the switch is VLAN1:
TL-SG3424(config)# interface vlan 1
TL-SG3424(config-if)# ip address-alloc bootp
118