Security and authentication
9.2 Firewall
SCALANCE S615 Command Line Interface
330
Configuration Manual, 06/2015, C79000-G8976-C406-02
Syntax
Call up the command with the following parameters:
ipv4rule idx <number(1-100)> set srcip <ip_addr>
The parameters have the following meaning:
Parameter
Description
Range of values / note
idx
Keyword for index
-
number
Number corresponding to a spe-
cific IPv4 rule.
Enter the required number.
1 ... 100
srcip
Keyword for the source
string
Address that sends IPv4 packets.
•
Individual IP address: Specify the IP
address.
•
IP range: Specify the range with the
start address "-" end address,
e.g.192.168.100.10 - 192.168.100.20.
•
All IP addresses: Specify " 0.0.0.0/0".
Result
The source of the corresponding IPv4 firewall rule has been changed.
Further notes
You display this setting and other information with the
show firewall ip-rules ipv4
command.
You obtain the numbers with the
ipv4rule show-rules
command.
9.2.4.18
ipv4rule set to
Description
With this command, you change the incoming direction (to).
Requirement
●
The IPv4 firewall rule has been created.
●
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: