![Siemens SCALANCE S615 Скачать руководство пользователя страница 298](http://html.mh-extra.com/html/siemens/scalance-s615/scalance-s615_configuration-manual_377351298.webp)
Layer 3 functions
8.1 NAT
SCALANCE S615 Command Line Interface
298
Configuration Manual, 06/2015, C79000-G8976-C406-02
Result
The numbers are listed.
Further notes
You delete a NETMAP rule with the
no netmap
command.
You delete all NETMAP rules with the
no netmap all
command.
You create a NETMAP rule with the commands
netmap source type ipv4
and
netmap
destination type ipv4
.
8.1.3.11
src-nat type ipv4
Description
With this command, you create a rule for source NAT.
Requirement
You are in the FIREWALL NAT configuration mode.
The command prompt is as follows:
cli(config-fwnat)#
Syntax
Call up the command with the following parameters:
src-nat srcint <if-type> [<num(0-4094)>] dstint <if-type> [<num(0-4094)>] type ipv4
srcip <ip_addr|ip_range|subnet> dstip <ip_addr|ip_range|subnet> transip
<auto|ip_addr>
The parameters have the following meaning:
Parameter
Description
Range of values / note
srcint
Keyword for the source interface
-
if-type
Type or speed of the interface
Specify a valid interface.
num
Number of the addressed interface
0 ... 4094
dstint
Keyword for the destination interface
-
if-type
Type or speed of the interface
Specify a valid interface.
num
Number of the addressed interface
0 ... 4094
srcip
Keyword for the source IP address.
ip_addr
IPv4 address
Enter a valid IPv4 address.
ip_range
IPv4 address range
Specify a valid IPv4 address
range.
subnet
IPv4 address for the subnet
Specify the subnet in CIDR
notation.
Содержание SCALANCE S615
Страница 6: ...Preface SCALANCE S615 Command Line Interface 6 Configuration Manual 06 2015 C79000 G8976 C406 02 ...
Страница 130: ...System time 4 2 NTP client SCALANCE S615 Command Line Interface 130 Configuration Manual 06 2015 C79000 G8976 C406 02 ...
Страница 138: ...System time 4 3 SNTP client SCALANCE S615 Command Line Interface 138 Configuration Manual 06 2015 C79000 G8976 C406 02 ...
Страница 170: ...Network structures 5 1 VLAN SCALANCE S615 Command Line Interface 170 Configuration Manual 06 2015 C79000 G8976 C406 02 ...
Страница 302: ...Layer 3 functions 8 1 NAT SCALANCE S615 Command Line Interface 302 Configuration Manual 06 2015 C79000 G8976 C406 02 ...