Configuring Static Pat For An Inside Source Address; Configuring Static Pat For An Outside Source Address - Cisco Nexus 3548 Configuration Manual

Nx-os interfaces release 9x
Hide thumbs Also See for Nexus 3548:
Table of Contents

Advertisement

Configuring Static PAT for an Inside Source Address

Configuring Static PAT for an Inside Source Address
You can map services to specific inside hosts using Port Address Translation (PAT).
SUMMARY STEPS
1. switch# configure terminal
2. switch(config)# ip nat inside source static {inside-local-address outside-local-address | {tcp| udp}
inside-local-address {local-tcp-port | local-udp-port} inside-global-address {global-tcp-port |
global-udp-port}} group group-id
3. (Optional) switch(config)# copy running-config startup-config
DETAILED STEPS
Command or Action
Step 1
switch# configure terminal
Step 2
switch(config)# ip nat inside source static
{inside-local-address outside-local-address | {tcp| udp}
inside-local-address {local-tcp-port | local-udp-port}
inside-global-address {global-tcp-port | global-udp-port}}
group group-id
Step 3
(Optional) switch(config)# copy running-config
startup-config
Example
This example shows how to map UDP services to a specific inside source address and UDP port:
switch# configure terminal
switch(config)#
switch(config)# copy running-config startup-config

Configuring Static PAT for an Outside Source Address

You can map services to specific outside hosts using Port Address Translation (PAT).
SUMMARY STEPS
1. switch# configure terminal
2. switch(config)# ip nat outside source static {outside-global-address outside-local-address | {tcp | udp}
outside-global-address {global-tcp-port | global-udp-port} outside-local-address {global-tcp-port |
global-udp-port}}group group-id add-route
3. (Optional) switch(config)# copy running-config startup-config
Cisco Nexus 3548 Switch NX-OS Interfaces Configuration Guide, Release 9x
102
ip nat inside source static udp 20.1.9.2 63 35.48.35.48 130
Configuring Static and Dynamic NAT Translation
Purpose
Enters global configuration mode.
Maps static NAT to an inside local port to an inside global
port.
Saves the change persistently through reboots and restarts
by copying the running configuration to the startup
configuration.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents