TL-SL5428E
24-port 10/100Mbps + 4-port Gigabit L2 Managed Switch CLI Guide
Syntax
ip address {ip-addr} {ip-mask} [gateway]
no ip address
Parameter
ip-addr — — The system IP of the Switch. The default system IP is
192.168.0.1.
ip-mask —— The Subnet Mask of the Switch. The default Subnet Mask is
255.255.255.0.
gateway —— The Default Gateway of the Switch. By default, it is empty.
Command Mode
Global Configuration Mode
Example
Configure the system IP as 192.168.0.69 and the Subnet Mask as
255.255.255.0:
TP-LINK(config)# ip address 192.168.0.69 255.255.255.0
ip dhcp-alloc
Description
The ip dhcp-alloc command is used to enable the DHCP Client function. When
this function is enabled, the switch will obtain IP from DHCP Client server. To
disable the DHCP Client function, please use no ip dhcp-alloc command.
Syntax
ip dhcp-alloc
no ip dhcp-alloc
Command Mode
Global Configuration Mode
Example
Enable the DHCP Client function:
TP-LINK(config)# ip dhcp-alloc
ip bootp-alloc
Description
113