cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1266
Views
0
Helpful
0
Replies

Cisco CSR1000v 'debug ip nat'

johnlloyd_13
Level 9
Level 9

hi,

i want to see events for the source (local to mapped) and destination IP address.

does anyone knows what's the proper command to debug NAT on a CSR1000v?

i tried to google and run all 'debug ip nat' keywords but no luck.

 

CSRv#debug ip nat ?
<1-99> Access list forced
WORD Access list name
ha High Availability debugging

 

CSRv#debug ip nat DYNAMIC_NAT ?
alg NAT ALG events
bind NAT dynamic translation create/delete events
detailed NAT detailed events for ACL based debugging
drop NAT Drop events
ipsec NAT IPSec events
limit NAT max-limit policy events
mapping NAT mapping create/delete events
pap NAT Paired-address-pooling events
pool NAT pool events
port NAT PORT events
route NAT Static route events
session NAT session events
wlan-nat WLAN NAT events
<cr>

CSRv#debug ip nat DYNAMIC_NAT detailed
IP NAT detailed debugging is on for access list DYNAMIC_NAT
CSRv#
CSRv#ping 8.8.8.8 source 10.1.1.200
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 8.8.8.8, timeout is 2 seconds:
Packet sent with a source address of 10.1.1.200
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 5/6/8 ms
CSRv#
Dec 14 15:11:58.398: NAT: attempting to setup alias for 192.168.1.201 (redundancy_name , idb GigabitEthernet1, flags 0x2), rg_id 0 tableid 0 use_tableid 0
Dec 14 15:11:58.398: NAT: installing alias for address 192.168.1.201, addr_flags 0x2, tableid 0
Dec 14 15:11:58.398: NAT: insert dynamic alias 192.168.1.201, addr_flags 0x2
Dec 14 15:11:58.398: NAT: Checking for aliases needed for IPAD list update, IDB(Gi1) address(192.168.1.201) mask(255.255.255.255) type(4) tableid(0) is_delete(FALSE)
Dec 14 15:11:58.398: NAT: IPAD type(4) is not an interface(1)
Dec 14 15:11:58.399: NAT: Notify platform for ipalias address 192.168.1.201 route download

 

 

0 Replies 0