JetStream  52-Port Gigabit Stackable L3 Managed Switch  CLI Guide 
 
22.9  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: 
T3700G-52TQ(config)# interface vlan 2 
T3700G-52TQ(config-if)# ip address 192.168.1.1 255.255.255.0 
22.10  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 specified interface will obtain IP 
from DHCP 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 
no ip address 
145