Network protocols
7.1 IPv4 protocol
SCALANCE XM-400/XR-500 Command Line Interface (CLI)
302 Configuration Manual, 06/2016, C79000-G8976-C252-11
Commands relating to other topics that can be called in the interface configuration mode can
be found in the relevant sections.
● If you exit the Interface configuration mode with the
exit command, you return to the
Global configuration mode.
● If you exit the Interface configuration mode with the
end command, you return to the
Privileged EXEC mode.
With this command, you assign an IPv4 address or an IPv4 subnet to the interface.
● DHCP was disabled with the no ip address command.
● 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 up the command with the following parameters:
ip address <ip-address> {<subnet-mask>|/<prefix-length(0-32)>}[secondary]
The parameters have the following meaning:
IPv4 address for the Interface
Enter a valid IPv4 address
Subnet mask of the corresponding
subnet
enter a valid subnet mask
Decimal representation of the mask as
0 ... 32
Further subnet for this interface
For information on names of addresses and interfaces, refer to the section "Interface
identifiers and addresses (Page 42)".