TP-Link T2600G-52TS TL-SG3452 T2600G-28TS V1 CLI Reference Guide - Page 165
ip address-alloc
View all TP-Link T2600G-52TS TL-SG3452 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 165 highlights
Parameter ip-addr -- The IP address of the Layer 3 interface. mask -- The subnet mask of the Layer 3 interface. secondary -- Specify the interface's secondary IP address. If this parameter is omitted here, the configured IP address is the interface's primary address. Command Mode Interface Configuration Mode Example Create the VLAN interface 2 with the primary IP address as 192.168.1.1/24 and secondary IP address as 192.168.2.1/24: T2600G-28TS(config)# interface vlan 2 T2600G-28TS(config-if)# ip address 192.168.1.1 255.255.255.0 T2600G-28TS(config-if)# ip address 192.168.2.1 255.255.255.0 secondary 22.10 ip address-alloc Description The IP address-alloc command is used to enable the DHCP Client function or the BOOTP Protocol. When this function is enabled, the specified interface will obtain IP from DHCP Server or BOOTP server. To disable the IP obtaining function on the specified interface, please use the no ip address command. This command applies to the routed port, the port-channel interface and the VLAN interface. Syntax ip address-alloc { dhcp | bootp } no ip address Parameter dhcp -- Specify the Layer 3 interface to obtain IP address from the DHCP Server. bootp -- Specify the Layer 3 interface to obtain IP address from the BOOTP Server. Command Mode Interface Configuration Mode 149