Configuring Dynamic Twice Nat For An Inside Source Address - Cisco Nexus 3548 Configuration Manual

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

Advertisement

Configuring Dynamic Twice NAT for an Inside Source Address

switch(config)#
Configuring Dynamic Twice NAT for an Inside Source Address
For an inside source address translation, the traffic flows from the inside interface to the outside interface.
You can configure dynamic twice NAT for an inside source address.
Before you begin
Ensure that you enable NAT on the switch.
SUMMARY STEPS
1. switch# configure terminal
2. switch(config)# ip nat outside source static outside-global-ip-address outside-local-ip-address | [tcp |
udp] outside-global-ip-address outside-global-port outside-local-ip-address outside-local-port [group
group-id] [add-route] [dynamic]
3. switch(config)# ip nat inside source list access-list-name [interface type slot/port overload | pool
pool-name ] [group group-id] [dynamic] ]
4. switch(config)# ip nat pool pool-name [startip endip] {prefix prefix-length | netmask network-mask}
5. switch(config)# interface type slot/port
6. switch(config-if)# ip nat outside
7. switch(config-if)# exit
8. switch(config)# interface type slot/port
9. switch(config-if)# ip nat inside
DETAILED STEPS
Command or Action
Step 1
switch# configure terminal
Step 2
switch(config)# ip nat outside source static
outside-global-ip-address outside-local-ip-address | [tcp |
udp] outside-global-ip-address outside-global-port
outside-local-ip-address outside-local-port [group
group-id] [add-route] [dynamic]
Step 3
switch(config)# ip nat inside source list access-list-name
[interface type slot/port overload | pool pool-name ]
[group group-id] [dynamic] ]
Step 4
switch(config)# ip nat pool pool-name [startip endip]
{prefix prefix-length | netmask network-mask}
Step 5
switch(config)# interface type slot/port
Cisco Nexus 3548 Switch NX-OS Interfaces Configuration Guide, Release 9x
112
Configuring Static and Dynamic NAT Translation
Purpose
Enters global configuration mode.
Configures static NAT to translate an outside global address
to an inside local address or to translate inside local traffic
to inside global traffic.
The group keyword determines the group to which a
translation belongs.
Establishes dynamic source translation by creating a NAT
inside source list with pool with or without overloading.
The group keyword determines the group to which a
translation belongs.
Creates a NAT pool with a range of global IP addresses.
The IP addresses are filtered by using either a prefix length
or a network mask.
Configures an interface and enters interface configuration
mode.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents