Network protocols
7.1 IPv4 protocol
SCALANCE W760/W720 to IEEE 802.11n Command Line Interface
Configuration Manual, 10/2015, C79000-G8976-C351-05
295
7.1.3
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
interface
command to change to this mode.
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.
7.1.3.1
ip address
Description
With this command, you assign an IP address to a VLAN interface.
Requirement
●
Interface is a router port
You are in the Interface configuration mode of VLAN.
The command prompt is as follows:
cli(config-if-vlan-$$$)#
Syntax
Call up the command with the following parameters:
ip address <ip-address> {<subnet-mask>|/<prefix-length(0-32)>}
The parameters have the following meaning:
Parameter Description
Range of values / note
ip-
address
IP address for the VLAN interface
enter 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
For information on names of addresses and interfaces, refer to the section "Interface
identifiers and addresses (Page 25)".