Verifying Dynamic Nat Configuration - Cisco Nexus 3548 Configuration Manual

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

Advertisement

Configuring Static and Dynamic NAT Translation
Command
clear ip nat translation [ all | inside
global-ip-address local-ip-address [outside
local-ip-address global-ip-address] | outside
local-ip-address global-ip-address ]
Example
This example shows how to clear all dynamic translations:
switch# clear ip nat translation all
This example shows how to clear dynamic translations for inside and outside addresses:
switch# clear ip nat translation inside 2.2.2.2 4.4.4.4 outside 5.5.5.5 7.7.7.7

Verifying Dynamic NAT Configuration

To display dynamic NAT configuration, perform the following tasks:
Command
show ip nat translations
show ip nat translations verbose
show run nat
Example
This example shows how to display running configuration for NAT:
switch# show run nat
!Command: show running-config nat
!Time: Wed Apr 23 11:17:43 2014
version 6.0(2)A3(1)
feature nat
ip nat inside source list list1 pool pool1
ip nat inside source list list2 pool pool2 overload
ip nat inside source list list7 pool pool7 overload
ip nat outside source list list3 pool pool3
ip nat pool pool1 30.1.1.1 30.1.1.2 prefix-length 24
ip nat pool pool2 10.1.1.1 10.1.1.2 netmask 255.0.255.0
ip nat pool pool3 30.1.1.1 30.1.1.8 prefix-length 24
Purpose
Deletes all or specific dynamic NAT translations.
Purpose
Displays active Network Address Translation (NAT)
translations including dynamic translations.
Displays additional information for each translation
table entry, including when an entry was created and
used.
Displays active Network Address Translation (NAT)
translations including dynamic translations in a more
readable format.
Displays NAT configuration.
Cisco Nexus 3548 Switch NX-OS Interfaces Configuration Guide, Release 9x
Verifying Dynamic NAT Configuration
115

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents