Network protocols
7.1 IPv4 protocol
SCALANCE XM-400/XR-500 Command Line Interface (CLI)
276 Configuration Manual, 11/2015, C79000-G8976-C252-10
● 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
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 39)".
The IPv4 address is assigned to the VLAN interface or the router port.
Note
Effectiveness of the command
The command is eff
ective 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.