![Siemens SCALANCE S615 Configuration Manual Download Page 348](http://html.mh-extra.com/html/siemens/scalance-s615/scalance-s615_configuration-manual_377351348.webp)
Security and authentication
9.2 Firewall
SCALANCE S615 Command Line Interface
348
Configuration Manual, 06/2015, C79000-G8976-C406-02
9.2.4.37
service name
Description
With this command, you configure a service. You select a service name and assign the
service parameters to it.
Requirement
You are in the Firewall configuration mode.
The command prompt is as follows:
cli(config-fw)#
Syntax
Call up the command with the following parameters:
service name <string(32)> proto {udp|tcp}
src {all| port <number(0-65535)>| range <number(0-65535)> - <number(0-65535)>}
dst {all| port <number(0-65535)>| range <number(0-65535)> - <number(0-65535)>}
The parameters have the following meaning:
Parameter
Description
Range of values / note
string
Service name
Specify a unique service name.
Maximum of 32 characters
UDP
The service is valid only for UDP
frames.
-
TCP
The service is valid only for TCP
frames.
Default
src
Keyword for the source
-
all
Applies to all ports.
-
Port
Keyword for a port
-
number
Port number
0 ... 65535
Specify the required port.
range
Keyword for a port range
-
number
Start port
0 ... 65535
Specify the start port and end port, e.g.
10 - 20
number
End port
dst
Keyword for the destination
-
all
Applies to all ports.
-
Port
Keyword for a port
-
number
Port number
0 ... 65535
Specify the required port.