24
505
switchxxxxxx(config)#
switchxxxxxx(config)#
switchxxxxxx(config-if)#
switchxxxxxx(config)#
are you sure? [Y/N]Y
switchxxxxxx(config)#
24.2 ip address dhcp
Use the ip address dhcp Interface Configuration (Ethernet, VLAN, Port-channel)
mode command to acquire an IP address for an Ethernet interface from the
Dynamic Host Configuration Protocol (DHCP) server. Use the no form of this
command to release an acquired IP address.
Syntax
ip address dhcp
no ip address dhcp
Parameters
N/A
Command Mode
Interface Configuration mode
User Guidelines
Use the ip address dhcp command to enable DHCP client on the interface.
The ip address dhcp command removes all the manually configured addresses on
the interface.
The default route (Default Gateway) received in DHCP Router option (Option 3) is
assigned a metric of 8.
Use the no form of the command to disable DHCP client on interface.
exit
3
interface vlan
ip address
1.3.1.1 255.255.0.0
This IP address overlaps IP address 1.1.1.1/8 on vlan1,
exit
Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide
IP Addressing Commands