Clearing Dynamic Nat Translations - Cisco Nexus 3548 Configuration Manual

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

Advertisement

Clearing Dynamic NAT Translations

DETAILED STEPS
Command or Action
Step 1
switch# configure terminal
Step 2
switch(config)# ip nat inside source static
inside-local-ip-address inside-global-ip-address | [tcp |
udp] inside-local-ip-address local-port
inside-global-ip-address global-port [group group-id]
[dynamic]
Step 3
switch(config)# ip nat outside source list access-list-name
[interface type slot/port pool pool-name ] [group group-id]
[add-route] [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
Step 6
switch(config-if)# ip nat outside
Step 7
switch(config-if)# exit
Step 8
switch(config)# interface type slot/port
Step 9
switch(config-if)# ip nat inside
Example
This example shows how to configure dynamic twice NAT for an outside source address:
switch# configure terminal
Enter configuration commands, one per line.
switch(config)# ip nat inside source static 7.7.7.7 5.5.5.5 group 30 dynamic
switch(config)# ip nat outside source list acl_2 pool pool_2 group 30 dynamic
switch(config)# ip nat pool pool_2 4.4.4.4 4.4.4.10 prefix-length 24
switch(config)# interface Ethernet1/6
switch(config-if)# ip nat outside
switch(config-if)# exit
switch(config)# interface Ethernet1/11
switch(config-if)# ip nat inside
Clearing Dynamic NAT Translations
To clear dynamic translations, perform the following task:
Cisco Nexus 3548 Switch NX-OS Interfaces Configuration Guide, Release 9x
114
Configuring Static and Dynamic NAT Translation
Purpose
Enters global configuration mode.
Configures static NAT to translate an inside 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
outside source list with pool.
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.
Connects the interface to an outside network.
Exits interface configuration mode and returns to global
configuration mode.
Configures an interface and enters interface configuration
mode.
Connects the interface to an inside network, which is subject
to NAT.
End with CNTL/Z.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents