133
17.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
Privilege Requirement
Only Admin, Operator and Power User level users have access to these
commands.
Example
Enable the DHCP Client function on the Lay 3 routed port 1/0/1:
T1600G-52TS(config)# interface gigabitEthernet
1/0/1
T1600G-52TS(config-if)# no switchport
T1600G-52TS(config-if)# ip address-alloc
dhcp
Disable the IP address obtaining function on the VLAN interface 2:
T1600G-52TS(config)# interface vlan
2
T1600G-52TS(config-if)# no ip address
Summary of Contents for T1600-28TS
Page 1: ...CLI Reference Guide T1600G Series Switches REV2 0 0 1910011957...
Page 57: ...41 T1600G 52TS config show voice vlan switchport gigabitEthernet 1 0 2...
Page 64: ...48 Example Display the LACP system priority T1600G 52TS config show lacp sys id...
Page 365: ...349 Example Display the configuration of DHCP Relay T1600G 52TS config show ip dhcp relay...