Description
1.5 Interface identifiers and addresses
SCALANCE S615 Command Line Interface
26
Configuration Manual, 06/2015, C79000-G8976-C406-02
Syntax
interface{vlan<vlan-id(1-4094)>|<interface-type><interface-id>}
●
Enter the interface you want to configure. With this command, you change to the Interface
configuration mode.
Since you configure precisely one of the existing interfaces in the Interface configuration
mode, the command prompt shows not only the mode but also the identifier of this interface.
The command prompt is as follows:
cli(config-if-$$$)#
The placeholder
$$$
is replaced by the following name of the interface:
Interface
Command prompt
fastethernet: fa 0/x
cli(config-if-F0-X) #
vlan $
cli(config-if-vlan-$)#
The placeholders
$
,
X
stand for the numbering of the interface.
1.5.2
Address types, address ranges and address masks
Overview
Since the various types of addresses can be represented by different notations, the notations
used in the Command Line Interface are shown below:
●
IPv4 addresses
Addresses for the Internet Protocol version 4 are written in the decimal notation of four
numbers from the range 0 to 255, separated by a period.
Note
With leading zeros, the numbers are interpreted as octal numbers, e.g.: 192.168.070.071
→ 192.168.56.57.
●
Network masks
A network mask is a series of bits that describes the network part of an IP address.
The notation is normally decimal in keeping with the IP address.
●
Alternative notation for network masks
In contrast to the notation described above, network masks can also be represented as a
number of 1 bits. The mask of the decimal representation 255.255.0.0 is then written as
/16.
The syntax is then for example: <ipaddress> / 16
Note that there must be a space before and after the "/".