![Siemens SCALANCE S615 Configuration Manual Download Page 184](http://html.mh-extra.com/html/siemens/scalance-s615/scalance-s615_configuration-manual_377351184.webp)
Network protocols
6.1 IPv4 protocol
SCALANCE S615 Command Line Interface
184
Configuration Manual, 06/2015, C79000-G8976-C406-02
The parameters have the following meaning:
Parameter
Description
Range of values / note
ip-address
IP address for the VLAN interface
specify a valid IP address
subnet-mask
Subnet mask of the corresponding subnet
enter a valid subnet mask
prefix-length
Decimal representation of the mask as a number
of "1" bits
0 ... 32
secondary
Further subnet for this interface
-
For information on names of addresses and interfaces, refer to the section "Interface
identifiers and addresses (Page 25)".
Result
The IP address is assigned to the VLAN interface.
Note
Effectiveness of the command
The command is effective immediately.
If you configure the interface via which you access the device, the connection will be lost!
Further notes
You delete the settings with the
no ip address
command.
You display this setting and other information with the
show ip interface
command.
6.1.3.2
ip address dhcp
Description
With this command, the VLAN interface obtains the IP address via DHCP.
Requirement
You are in the Interface Configuration mode of VLAN.
The command prompt is as follows:
cli(config-if-vlan-$$$)#
Syntax
Call the command without parameters:
ip address dhcp
Result
The DHCP assigns the IP address to the VLAN interface.