9.1.3.10 no ip nat service portrange
Description
With this command you delete 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:
no ip nat service portrange <inside local ip> {tcp|udp|any} <inside
local start port no> <inside local end port no>
The parameters have the following meaning:
Parameter Description Range of values / note
inside local ip Actual address of the device that is
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 is assigned to the inside
local address.
-
inside local end
port no
End port that is assigned to the inside
local address.
-
Result
The static port translation with a port range is deleted.
Further notes
You configure static port translations for an interface with a port range with the 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.
Layer 3 functions
9.1 NAT
SCALANCE XB-200/XC-200/XF-200BA/XP-200/XR-300WG Command Line Interface
Configuration Manual, 07/2017, C79000-G8976-C361-06 447