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

NAT Logs does not appear on monitor

NyiNyiZin03487
Level 1
Level 1

Hello Everyone,
I'd like to see and catch NAT log in my ASR 1006 and then I ran "ip nat log translations syslog". But NAT log doesn't appear when I check " show log". How can do for that?

 Here is the Logging command that I've already configure.

 

logging history size 500
logging history informational


logging origin-id hostname
logging source-interface GigabitEthernet0 vrf Mgmt-intf

 

1 Accepted Solution

Accepted Solutions

Hello

You can check the nat translation table in detail or apply nat debug in detail to either the whole of the  NAT translation or specific to a access-list, the debug should be logged into the rtrs logging buffer. console or monitor

 

sh ip nat translation *
sh ip nat translation verbose
sh ip nat nvi translation *
sh ip nat nvi translation verbose
debug ip nat
debug ip nat  >acl>
debug ip nat  <acl> detailed

logging buffered 
informational


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

View solution in original post

7 Replies 7

Hello

You can check the nat translation table in detail or apply nat debug in detail to either the whole of the  NAT translation or specific to a access-list, the debug should be logged into the rtrs logging buffer. console or monitor

 

sh ip nat translation *
sh ip nat translation verbose
sh ip nat nvi translation *
sh ip nat nvi translation verbose
debug ip nat
debug ip nat  >acl>
debug ip nat  <acl> detailed

logging buffered 
informational


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

it shows the following

005526: Jun 7 13:43:28: %SYS-5-LOG_CONFIG_CHANGE: Buffer logging: level informational, xml disabled, filtering disabled, size (102400)
005527: Jun 7 13:43:28: %PARSER-5-CFGLOG_LOGGEDCMD: User:nnz logged command:logging buffered informational
005528: Jun 7 13:43:29: %SYS-5-CONFIG_I: Configured from console by nnz on vty0 (192.168.99.44)
005531: Jun 7 13:43:50: %IOSXE-6-PLATFORM: F0: cpp_cp: QFP:0.1 Thread:203 TS:00004229536632276660 %LOGGER-6-DROPPED: 32 messages
005533: Jun 7 13:44:02: %IOSXE-6-PLATFORM: F1: cpp_cp: QFP:0.0 Thread:130 TS:00004229575621023341 %LOGGER-6-DROPPED: 6 messages
005539: Jun 7 13:44:50: %IOSXE-6-PLATFORM: F0: cpp_cp: QFP:0.1 Thread:162 TS:00004229596632311999 %LOGGER-6-DROPPED: 87 messages
005541: Jun 7 13:45:02: %IOSXE-6-PLATFORM: F1: cpp_cp: QFP:0.0 Thread:062 TS:00004229635622023831 %LOGGER-6-DROPPED: 42 messages

 

But Still cannot see NAT translation detail.

Hello

Are you actually performing nat?
sh ip nat translation *
sh ip nat nvi translation *
logging buffered 7
sh logging


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Yes, I've already performed NAT and it still show these messages.

005747: Jun 8 08:46:33: %PARSER-5-CFGLOG_LOGGEDCMD: User:nnz logged command:logging buffered 7
005748: Jun 8 08:47:03: %PARSER-5-CFGLOG_LOGGEDCMD: User:nnz logged command:logging trap debugging
005749: Jun 8 08:47:06: %SYS-5-CONFIG_I: Configured from console by nnz on vty0 (192.168.99.44)
005750: Jun 8 08:47:30: %IOSXE-6-PLATFORM: F1: cpp_cp: QFP:0.0 Thread:031 TS:00004298184090568037 %LOGGER-6-DROPPED: 6 messages
005751: Jun 8 08:47:30: %IOSXE-6-PLATFORM: F0: cpp_cp: QFP:0.1 Thread:214 TS:00004298156558213867 %LOGGER-6-DROPPED: 81 messages
005752: Jun 8 08:47:34 YGN: NAT: GRE port: 0 - [56952]
005753: Jun 8 08:47:44 YGN: NAT: GRE port: 0 - [57208]
005754: Jun 8 08:47:54 YGN: NAT: GRE port: 0 - [57464]
005755: Jun 8 08:48:04 YGN: NAT: GRE port: 0 - [57720]
005756: Jun 8 08:48:14 YGN: NAT: GRE port: 0 - [57976]
005757: Jun 8 08:48:24 YGN: NAT: GRE port: 0 - [58232]
005758: Jun 8 08:48:30: %IOSXE-6-PLATFORM: F0: cpp_cp: QFP:0.1 Thread:050 TS:00004298216558274003 %LOGGER-6-DROPPED: 16 messages
005759: Jun 8 08:48:30: %IOSXE-6-PLATFORM: F1: cpp_cp: QFP:0.0 Thread:174 TS:00004298244091099801 %LOGGER-6-DROPPED: 10 messages
005760: Jun 8 08:48:34 YGN: NAT: GRE port: 0 - [58488]
005761: Jun 8 08:48:40: %PARSER-5-CFGLOG_LOGGEDCMD: User:nnz logged command:ip nat log translations syslog bind-only
005762: Jun 8 08:48:41: %SYS-5-CONFIG_I: Configured from console by nnz on vty0 (192.168.99.44)
005763: Jun 8 08:48:44 YGN: NAT: GRE port: 0 - [58744]
005764: Jun 8 08:48:54 YGN: NAT: GRE port: 0 - [59000]
005765: Jun 8 08:49:04 YGN: NAT: GRE port: 0 - [59256]
005766: Jun 8 08:49:14 YGN: NAT: GRE port: 0 - [59512]
005767: Jun 8 08:49:24 YGN: NAT: GRE port: 0 - [59768]
005768: Jun 8 08:49:30: %IOSXE-6-PLATFORM: F0: cpp_cp: QFP:0.1 Thread:121 TS:00004298276558402681 %LOGGER-6-DROPPED: 111 messages
005769: Jun 8 08:49:34 YGN: NAT: GRE port: 0 - [60024]
005770: Jun 8 08:49:41: %IOSXE-6-PLATFORM: F1: cpp_cp: QFP:0.1 Thread:074 TS:00004298314241243893 %LOGGER-6-DROPPED: 4 messages

Hello,

 

you have this resolved ?

 

What if you configure:

 

ASR1006(config)# logging trap debug 

 

?

Hello

possible bug  here

 


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

I'd like to see NAT log on monitor screen. when I run with "ip nat log translation syslog". It doesn't appear on monitor screen. What can I do for that? Please give me advice.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: