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

IOS Logging Traps - Default Config?

archie_25
Level 1
Level 1

Are logging traps configured by default on IOS 12.1 and above? If so, set to debugging by default? i.e., if you do not see "logging trap" in the config - it does not mean logging is NOT enabled. Logging on, logging traps are default configs - logging buffered is not. Please reply if you can confirm - Thank you!

1 Accepted Solution

Accepted Solutions

Hi,

Logging settings can differ with IOS version. I can tell you, 'logging console debugging' is enabled by default in most IOS versions. 'logging trap informational' and 'no logging buffered' may be the default setting with most versions.

Rather than trying to look for documentation to see what the default logging trap setting with different versions, you are well advised to use the 'show log' command to check the status of various logging types and it will look something like this.

R1#show log

Syslog logging: enabled (0 messages dropped, 1 messages rate-limited, 0 flushes,

0 overruns, xml disabled)

Console logging: level debugging, 34 messages logged, xml disabled

Monitor logging: level debugging, 0 messages logged, xml disabled

Buffer logging: disabled, xml disabled

Logging Exception size (4096 bytes)

Count and timestamp logging messages: disabled

Trap logging: level informational, 38 message lines logged

All the above settings are default in this router running IOS version 12.2.

HTH

Sundar

View solution in original post

1 Reply 1

Hi,

Logging settings can differ with IOS version. I can tell you, 'logging console debugging' is enabled by default in most IOS versions. 'logging trap informational' and 'no logging buffered' may be the default setting with most versions.

Rather than trying to look for documentation to see what the default logging trap setting with different versions, you are well advised to use the 'show log' command to check the status of various logging types and it will look something like this.

R1#show log

Syslog logging: enabled (0 messages dropped, 1 messages rate-limited, 0 flushes,

0 overruns, xml disabled)

Console logging: level debugging, 34 messages logged, xml disabled

Monitor logging: level debugging, 0 messages logged, xml disabled

Buffer logging: disabled, xml disabled

Logging Exception size (4096 bytes)

Count and timestamp logging messages: disabled

Trap logging: level informational, 38 message lines logged

All the above settings are default in this router running IOS version 12.2.

HTH

Sundar