![Siemens SCALANCE XM-400 Configuration Manual Download Page 749](http://html.mh-extra.com/html/siemens/scalance-xm-400/scalance-xm-400_configuration-manual_382069749.webp)
Layer 3 functions
9.9 NAT (IPv4)
SCALANCE XM-400/XR-500 Command Line Interface (CLI)
Configuration Manual, 06/2016, C79000-G8976-C252-11
749
9.9.3.9
ip nat service portrange
Description
With this command you configure static port translations (NAPT) for an interface with a port
range.
Requirement
You are in the Interface configuration mode
The command prompt is as follows:
cli(config-if-$$)#
Syntax
Call up the command with the following parameters:
ip nat service portrange <inside local ip> {tcp|udp|any} <inside local start port no>
<inside local end port no> [<description>]
The parameters have the following meaning:
Parameter
Description
Range of values / note
inside local ip
Actual address of the device that
should be reachable from external.
Enter a valid IPv4 address.
Protocol
Protocol for which the port translation
is valid.
•
tcp
•
udp
•
any
inside local start
port no
Start port that will be assigned to the
inside local address.
The port range you define will
also be used for the port of the
inside global address. A port
range can only be translated to
the same port range.
inside local end
port no
End port that will be assigned to the
inside local address.
description
Description for the port translation
-
Result
The static port translation with a port range is configured.
Further notes
You delete a configuration with the
no ip nat service portrange
command.
You configure static port translations with a service for an interface with the
ip nat service
command.
You display the current configuration with the
show ip nat service portrange
command.
Summary of Contents for SCALANCE XM-400
Page 882: ......