Ip nat source intf-static (interface mode), Ip nat source static (global mode) – Enterasys Networks X-Pedition XSR CLI User Manual
Page 263
Network Address Translation Commands
XSR CLI Reference Guide 5-187
ip nat source intf-static (interface mode)
This command configures a single static translation entry in the Network Address Translation
(NAT) table. Interface static NAT is similar to global NAT; it takes precedence over global static
NAT with the implication that if an outgoing/incoming packet matches the interface static NAT no
other form of NAT will be performed.
Syntax
ip nat source [list ACL_number] intf-static {local-ip global-ip |{tcp | udp}
local-ip local-port global-ip global-port}
Syntax of the “no” Form
The no form of the command removes a single static translation entry:
no ip nat intf-source static local-ip global-ip
Mode
Interface configuration:
XSR(config-if-
Example
The following example configures a static NAT system:
XSR(config-if
ip nat source static (global mode)
This command configures a single static translation entry in the Network Address Translation
(NAT) table. Interface static NAT is similar to global NAT; it takes precedence over global static
NAT with the implication that if an outgoing/incoming packet matches the interface static NAT no
other form of NAT will be performed.
Syntax
ip nat source static {local-ip global-ip |{tcp | udp} local-ip local-port global-
ip global-port}
list ACL_number
Standard IP ACL number. Packets with source addresses that pass the
ACL (permitted by the list) are dynamically translated using the local
global address. If the ACL is not specified, the wildcard is assumed.
static
A global static NAT table entry is added.
local-ip
A local IP address assigned to a host on the inside network.
global-ip
Translated IP address.
tcp | udp
This value implies that his is a port‐specific static NAT.
local-port
Source port of outgoing packets and destination port of incoming packets.
global-port
Destination port of outgoing packets and source port of incoming packets.
static
A global static NAT table entry is added.
local-ip
A local IP address assigned to a host on the inside network.