show logging

 

 

 

 

If debugging is enabled (using any debug command), and the logging buffer is configured to include

 

 

level 7 (debugging) messages, debug output will be included in the system log. Debugging output is not

 

 

formatted like system error messages and will not be preceded by the percent symbol (%).

 

The following is sample output from the show logging command on a software image that supports the

Examples

 

 

Embedded Syslog Manager (ESM) feature:

 

 

Router# show logging

 

 

Syslog logging: enabled (10 messages dropped, 5 messages rate-limited,

 

 

0 flushes, 0 overruns, xml disabled, filtering disabled)

 

 

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

 

 

filtering disabled

 

 

Monitor logging: disabled

 

 

Buffer logging: level errors, 36 messages logged, xml disabled,

 

 

filtering disabled

 

 

Logging Exception size (8192 bytes)

 

 

Count and timestamp logging messages: disabled

 

 

No active filter modules.

 

 

Trap logging: level informational, 45 message lines logged

 

 

Log Buffer (8192 bytes):

 

 

The following example shows output from the show logging command after a message discriminator has

 

 

been configured. Included in this example is the command to configure the message discriminator.

 

 

c7200-3(config)#logging discriminator ATTFLTR1 severity includes 1,2,5 rate-limit 100

 

 

Specified MD by the name ATTFLTR1 is not found.

 

 

Adding new MD instance with specified MD attribute values.

 

 

Router(config)# end

 

 

Router#

 

 

000036: *Oct 20 16:26:04.570: %SYS-5-CONFIG_I: Configured from console by console

 

 

Router# show logging

 

 

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

 

 

0 flushes, 0 overruns, xml disabled, filtering disabled)

 

 

No Active Message Discriminator.

 

 

Inactive Message Discriminator:

 

 

ATTFLTR1 severity group includes 1,2,5

 

 

rate-limit not to exceed 100 messages per second

 

 

Console logging: level debugging, 25 messages logged, xml disabled, filtering disabled

 

 

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

 

 

Buffer logging: level debugging, 25 messages logged, xml disabled, filtering disabled

 

 

Logging Exception size (8192 bytes)

 

 

Count and timestamp logging messages: disabled

 

 

No active filter modules.

 

 

Trap logging: level debugging, 28 message lines logged

 

 

Logging to 172.25.126.15 (udp port 1300, audit disabled, authentication disabled,

 

 

encryption disabled, link up),

 

 

Cisco IOS Configuration Fundamentals Command Reference

 

 

 

 

 

 

 

 

 

 

 

 

 

July 2008

 

 

CF-693

 

 

 

 

 

Page 17
Image 17
Cisco Systems 12000 series manual Embedded Syslog Manager ESM feature, CF-693, Router# show logging