Layer 3 functions
9.9 NAT (IPv4)
SCALANCE XM-400/XR-500 Command Line Interface (CLI)
748
Configuration Manual, 06/2016, C79000-G8976-C252-11
You configure static port translations for an interface with a port range with the
ip nat
service portrange
command.
You display the current configuration with the
show ip nat service
command.
9.9.3.8
no ip nat service
Description
With this command you delete static port translations (NAPT) for an interface with a service.
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 {{<inside local ip> <inside local port number> [{ tcp | udp | any
}]} | all}
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.
inside local port
number
Port that is assigned to the inside
local address.
-
Protocol
Protocol for which the port trans-
lation is valid.
•
tcp
•
udp
•
any
all
Deletes all port translations
-
Result
The static port translation with a service is deleted.
Further notes
You configure static port translations with a service for an interface with the
ip nat service
command.
You configure static port translations for an interface with a port range with the
ip nat
service portrange
command.
You display the current configuration with the
show ip nat service
command.