Cisco Nexus 3548 Configuration Manual page 114

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

Advertisement

Configuring Static Twice NAT
DETAILED STEPS
Command or Action
Step 1
enable
Example:
switch> enable
Step 2
configure terminal
Example:
switch# configure terminal
Step 3
ip nat inside source static inside-local-ip-address
inside-global-ip-address [group group-id]
Example:
switch(config)# ip nat inside source static
10.1.1.1 192.168.34.4 group 4
Step 4
ip nat outside source static outside-global-ip-address
outside-local-ip-address [group group-id] [add-route]
Example:
switch(config)# ip nat outside source static
209.165.201.1 10.3.2.42 group 4 add-route
Step 5
interface type number
Example:
switch(config)# interface ethernet 1/2
Step 6
ip address ip-address mask
Example:
switch(config-if)# ip address 10.2.4.1
255.255.255.0
Step 7
ip nat inside
Example:
switch(config-if)# ip nat inside
Step 8
exit
Example:
switch(config-if)# exit
Step 9
interface type number
Example:
switch(config)# interface ethernet 1/1
Step 10
ip address ip-address mask
Example:
Cisco Nexus 3548 Switch NX-OS Interfaces Configuration Guide, Release 9x
104
Configuring Static and Dynamic NAT Translation
Purpose
Enables privileged EXEC mode.
• Enter your password if prompted.
Enters privileged EXEC mode.
Configures static twice NAT to translate an inside local
IP address to the corresponding inside global IP address.
• The group keyword determines the group to which
a translation belongs.
Configures static twice NAT to translate an outside global
IP address to the corresponding outside local IP address.
• The group keyword determines the group to which
a translation belongs.
Configures an interface and enters interface configuration
mode.
Sets a primary IP address for an interface.
Connects the interface to an inside network, which is
subject to NAT.
Exits interface configuration mode and returns to global
configuration mode.
Configures an interface and enters interface configuration
mode.
Sets a primary IP address for an interface.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents