Ip Nat Service Portrange - Siemens SCALANCE XC-200 Configuration Manual

Simatic net command line interface industrial ethernet switches
Hide thumbs Also See for SCALANCE XC-200:
Table of Contents

Advertisement

Layer 3 functions
9.1 NAT
9.1.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
inside local ip
Protocol
inside local
start port no
inside local end
port no
description
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.
446
Description
Actual address of the device that should
be reachable from external.
Protocol for which the port translation is
valid.
Start port that will be assigned to the in‐
side local address.
End port that will be assigned to the in‐
side local address.
Description for the port translation
SCALANCE XB-200/XC-200/XF-200BA/XP-200/XR-300WG Command Line Interface
Range of values / note
Enter a valid IPv4 address.
● tcp
● udp
● any
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.
-
Configuration Manual, 07/2017, C79000-G8976-C361-06

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents