TP-Link T1700X-16TS T1700X-16TSUN V1 CLI Reference Guide - Page 131
ip address-alloc
View all TP-Link T1700X-16TS manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 131 highlights
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: T1700X-16TS(config)# interface vlan 2 T1700X-16TS(config-if)# ip address 192.168.1.1 255.255.255.0 T1700X-16TS(config-if)# ip address 192.168.2.1 255.255.255.0 secondary 18.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 LAG 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 Example Enable the DHCP Client function on the Lay 3 routed port 1/0/1: T1700X-16TS(config)# interface ten-gigabitEthernet 1/0/1 T1700X-16TS(config-if)# no switchport 117