show logging history

show logging history

To display information about the state of the syslog history table, use the show logging history command in privileged EXEC mode.

show logging history

Syntax Description This command has no arguments or keywords.

Command Modes

Command History

Privileged EXEC

Release

Modification

10.0

This command was introduced.

 

 

12.2(33)SRA

This command was integrated into Cisco IOS Release 12.2(33)SRA.

 

 

Usage Guidelines This command displays information about the syslog history table, such as the table size, the status of messages, and text of messages stored in the table. Messages stored in the table are governed by the logging history global configuration command.

Examples

The following example shows sample output from the show logging history command. In this example,

 

notifications of severity level 5 (notifications) through severity level 0 (emergencies) are configured to

 

be written to the logging history table.

 

Router# show logging history

 

Syslog History Table: 1 maximum table entries,

 

saving level notifications or higher

 

0 messages ignored, 0 dropped, 15 table entries flushed,

 

SNMP notifications not enabled

 

entry number 16: SYS-5-CONFIG_I

 

Configured from console by console

 

timestamp: 1110

 

Router#

Table 94 describes the significant fields shown in the output.

 

 

 

 

Table 94

show logging history Field Descriptions

 

 

 

 

 

 

 

 

 

 

 

 

Field

 

Description

 

 

 

 

 

 

 

 

 

 

 

maximum table entry

Number of messages that can be stored in the history table.

 

 

 

 

 

 

Set with the logging history size command.

 

 

 

 

 

 

 

 

 

 

 

saving level notifications <x> or

Level of messages that are stored in the history table and sent

 

 

 

 

higher

 

to the SNMP server (if SNMP notification is enabled). The

 

 

 

 

 

 

severity level can be configured with the logging history

 

 

 

 

 

 

command.

 

 

 

 

 

 

 

 

 

 

Cisco IOS Configuration Fundamentals Command Reference

 

 

 

 

 

 

 

 

 

 

 

 

 

CF-700

 

 

 

 

July 2008

 

 

 

 

 

 

 

Page 24
Image 24
Cisco Systems 12000 series manual Show logging history, Be written to the logging history table, CF-700