Network protocols
7.1 IPv4 protocol
SCALANCE XM-400/XR-500 Command Line Interface (CLI)
Configuration Manual, 06/2016, C79000-G8976-C252-11
303
The IPv4 address is assigned to the VLAN interface or the router port.
Note
Effectiveness of the command
The comma
nd is effective immediately.
If you configure the interface via which you access the device, the connection will be lost!
You delete the IPv4 address with the no ip address command.
You display this setting and other information with the
show ip interface command.
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.