Address Types, Address Ranges And Address Masks - Siemens SCALANCE S615 Configuration Manual

Simatic net industrial ethernet security command line interface
Hide thumbs Also See for SCALANCE S615:
Table of Contents

Advertisement

Description
1.5 Interface identifiers and addresses
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
Interface
fastethernet: fa 0/x
vlan $
The placeholders
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 "/".
26
is replaced by the following name of the interface:
$$$
Command prompt
cli(config-if-F0-X) #
cli(config-if-vlan-$)#
,
stand for the numbering of the interface.
$
X
SCALANCE S615 Command Line Interface
Configuration Manual, 06/2015, C79000-G8976-C406-02

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents