Layer 3 functions
9.9 NAT (IPv4)
SCALANCE XM-400/XR-500 Command Line Interface (CLI)
Configuration Manual, 06/2016, C79000-G8976-C252-11
739
Further notes
You configure a static address translation with the
ip nat static
command.
You delete a static address translation with the
no ip nat static
command.
You configure a dynamic address translation with the
ip nat pool
command.
You delete a dynamic address translation with the
no ip nat pool
command.
9.9.2
Commands in the global configuration mode
This section describes commands that you can call up in the Global configuration mode.
In Privileged EXEC mode, enter the
configure terminal
command to change to this mode.
Commands relating to other topics that can be called in the Global configuration mode can
be found in the relevant sections.
You exit the Global configuration mode with the
end
or
exit
command and are then in the
Privileged EXEC mode again.
9.9.2.1
ip nat
Description
With this command you enable NAT/NAPT for the entire device.
Requirement
You are in the Global Configuration mode.
The command prompt is as follows:
cli(config)#
Syntax
Call the command without parameters:
ip nat
Result
NAT/NAPT is enabled globally for the entire device. The device operates as a NAT router.
Further notes
You disable NAT/NAPT for the entire device with the
no ip nat
command.
You display the current configuration with the command.