Network protocols
7.1 IPv4 protocol
SCALANCE XM-400/XR-500 Command Line Interface (CLI)
Configuration Manual, 11/2015, C79000-G8976-C252-10
277
ip address dhcp
Description
With this command, the interface obtains the IPv4 address via DHCP.
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$-$)
Call the command without parameters:
ip address dhcp
The DHCP assigns the IPv4 address to the interface.
You delete the settings with the no ip address command.
You display this setting and other information with the
show ip interface command.
no ip address
Description
With this command, you delete the assignment of an IPv4 address to an interface and
disable DHCP.
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$-$)