7.1.3.2
ip address dhcp
Description
With this command, the interface obtains the IPv4 address via DHCP.
Requirement
You are in the Interface configuration mode of VLAN or a router port.
The command prompt is as follows:
cli(config-if-vlan-$$$)#
or with a router port:
cli(config-RPort-if-Int$-$)
Syntax
Call the command without parameters:
ip address dhcp
Result
The DHCP assigns the IPv4 address to the interface.
Further notes
You delete the settings with the
You display this setting and other information with the
7.1.3.3
no ip address
Description
With this command, you delete the assignment of an IPv4 address to an interface and
disable DHCP.
Requirement
You are in the Interface configuration mode of VLAN or a router port.
The command prompt is as follows:
cli(config-if-vlan-$$$)#
or with a router port:
cli(config-RPort-if-Int$-$)
SCALANCE XM-400/XR-500 Command Line Interface (CLI)
Configuration Manual, 11/2015, C79000-G8976-C252-10
command.
no ip address
show ip interface
Network protocols
7.1 IPv4 protocol
command.
277