Layer 3 functions
9.9 NAT (IPv4)
SCALANCE XM-400/XR-500 Command Line Interface (CLI)
Configuration Manual, 06/2016, C79000-G8976-C252-11
751
ip nat static
Description
With this command, you configure static 1:1 address translations.
You specify which inside global address the inside local address of a device will be
converted to and vice versa. This variant allows connection establishment in both directions.
The device in the internal network can be reached from the external network.
You are in the Interface configuration mode
The command prompt is as follows:
cli(config-if-$$)#
Call up the command with the following parameters:
ip nat static <inside local ip> <inside global ip>
The parameters have the following meaning:
Actual address of the device that
should be reachable from external.
Enter a valid IPv4 address.
Address at which the device will be
Enter a valid IPv4 address.
A static address translation is defined.
You delete a static address translation with the no ip nat static command.
You display the current configuration with the
show ip nat command.
no ip nat static
Description
With this command, you delete static 1:1 address translations.