Ip Address; Ip Address-Alloc - TP-Link T2700G-28TQ Cli Reference Manual

Jetstream 28-port gigabit stackable l2+ managed switch
Hide thumbs Also See for T2700G-28TQ:
Table of Contents

Advertisement

T2700G-28TQ
JetStream 28-Port Gigabit Stackable L2+ Managed Switch CLI Guide

ip address

Description
This ip address command is used to configure the IP address and IP subnet
mask for the specified interface manually. The interface type includes: routed
port, loopback interface and VLAN interface.
Syntax
ip address { ip-addr } { mask }
no ip address
Parameter
ip-addr —— The IP address of the Layer 3 interface.
mask —— The subnet mask of the Layer 3 interface.
Command Mode
Interface Configuration Mode
Example
Create the VLAN interface 2 with the IP address as 192.168.1.1 and subnet
mask as 255.255.255.0:
T2700G-28TQ(config)# interface vlan 2
T2700G-28TQ(config-if)# ip address 192.168.1.1 255.255.255.0

ip address-alloc

Description
The IP address-alloc dhcp 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 and the VLAN interface.
Syntax
ip address-alloc { dhcp | bootp }
no ip address
148

Advertisement

Table of Contents
loading

Table of Contents