Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

IOS Logging Traps - Default Config?

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

Re: IOS Logging Traps - Default Config?

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

1 REPLY

Re: IOS Logging Traps - Default Config?

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

432
Views
0
Helpful
1
Replies
CreatePlease to create content