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
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
Global configuration mode.
● If you exit the Interface configuration mode with 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
ip-
address
subnet-
mask
prefix-
length
For information on names of addresses and interfaces, refer to the section "Interface
identifiers and addresses (Page 25)".
SCALANCE W760/W720 to IEEE 802.11n Command Line Interface
Configuration Manual, 10/2015, C79000-G8976-C351-05
Description
IP address for the VLAN interface
Subnet mask of the corresponding subnet
Decimal representation of the mask as a
number of "1" bits
command to change to this mode.
interface
command, you return to the
exit
command, you return to the
end
Range of values / note
enter a valid IP address
enter a valid subnet mask
0 ... 32
Network protocols
7.1 IPv4 protocol
295