Commands In The Interface Configuration Mode; Ip Address - Siemens SCALANCE XM-400 Configuration Manual

Simatic net industrial ethernet switches command line interface
Hide thumbs Also See for SCALANCE XM-400:
Table of Contents

Advertisement

7.1.12

Commands in the interface configuration mode

This section describes commands that you can call up in the interface configuration mode.
Depending on the Interface selected, various command sets are available.
In the Global configuration mode, enter the
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
● If you exit the Interface configuration mode with the
7.1.12.1

ip address

Description
With this command, you assign an IP address to a VLAN interface.
Requirement
You are in the Interface configuration mode of VLAN or a router port and DHCP was
disabled with the "no ip address" command.
The command prompt is as follows:
cli(config-if-vlan$)#
or with a router port:
cli(config-RPort-if-Int$-$)
Syntax
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:
Parameter
ip-address
subnet-mask
prefix-
length
secondary
For information on names of addresses and interfaces, refer to the section "Addresses and
interface names (Page 30)".
SCALANCE XM-400/XR-500 Command Line Interface
Configuration Manual, 05/2014, C79000-G8976-C252-07
Global configuration mode.
Privileged EXEC mode.
Description
IP address for the VLAN interface
Subnet mask of the corresponding
subnet
Decimal representation of the mask as
a number of "1" bits
Further subnet for this interface
command to change to this mode.
interface
command, you return to the
exit
command, you return to the
end
Values
enter a valid IP address
enter a valid subnet mask
0 ... 32
-
Network protocols
7.1 IPv4 protocol
249

Advertisement

Table of Contents
loading

This manual is also suitable for:

Scalance xr-500

Table of Contents