Cisco IOS Network Management Configuration Guide, Release 12.4
System Logging Count

Table Of Contents

Configuring System Logging Counts

Feature Overview

Benefits

Related Features and Technologies

Supported Platforms

Supported Standards, MIBs, and RFCs

Configuration Tasks

Enabling the Error Log Count Capability

Verifying the Error Log Count Capability

Configuration Examples

Enabling the Error Log Count Capability Example

Command Reference


Configuring System Logging Counts


Feature History

Release
Modification

12.2(8)T

This feature was introduced.


This document describes the error log count enhancement feature in Cisco IOS Release 12.2(8)T. It includes the following sections:

Feature Overview

Supported Platforms

Supported Standards, MIBs, and RFCs

Configuration Tasks

Configuration Examples

Command Reference

Feature Overview

The Cisco IOS logging facility allows you to save error messages locally or to a remote host. When these error messages exceed the capacity of the local buffer dedicated to storing them, the oldest messages are removed. To provide you with more information about messages that have occurred and may have been removed from the local buffer, an error log counter tabulates the occurrences of each error message, and time-stamps the most recent occurrence.

These messages are further sorted by message facility. Messages from each message facility are grouped together and totaled in the count. If a message is rate-limited, the count is incremented based on the actual messages that have occurred.

The service timestamps command configuration determines the format of the "Last Time" column in the show logging command output. Use the service timestamps command to configure the time-stamp format in the "Last Time" column.

Benefits

Provides detailed information regarding system messages, including the most recent time the message occurred.

Alerts you to a potential problem with the system if you see the same error message occurring repeatedly.

Related Features and Technologies

Cisco IOS Logging

Supported Platforms

Cisco 800 series

Cisco 806

Cisco 820 series

Cisco 828

Cisco 1400 series

Cisco 1600 series

Cisco 1700 series

Cisco 2500 series

Cisco 2600 series

Cisco 3620 series

Cisco 3640 series

Cisco 3660 series

Cisco 7100 series

Cisco 7200 series

Cisco 7500 series

Cisco 7700 series

Cisco Catalyst 4000 Gateway Module

Cisco CVA120

Cisco ONS 15104

Cisco Route Processor Module (RPM)

Cisco SOHO 70 series

Cisco SOHO 78

Cisco uBR925 series cable access routers

Cisco uBR7200 series universal broadband routers

Cisco Universal Router Module (URM)

Cisco VG200

Determining Platform Support Through Cisco Feature Navigator

Cisco IOS software is packaged in feature sets that support specific platforms. To get updated information regarding platform support for this feature, access Cisco Feature Navigator. Cisco Feature Navigator dynamically updates the list of supported platforms as new platform support is added for the feature.

Cisco Feature Navigator is a web-based tool that enables you to quickly determine which Cisco IOS software images support a specific set of features and which features are supported in a specific Cisco IOS image. You can search by feature or release. Under the release section, you can compare releases side by side to display both the features unique to each software release and the features in common.

To access Cisco Feature Navigator, you must have an account on Cisco.com. If you have forgotten or lost your account information, send a blank e-mail to cco-locksmith@cisco.com. An automatic check will verify that your e-mail address is registered with Cisco.com. If the check is successful, account details with a new random password will be e-mailed to you. Qualified users can establish an account on Cisco.com by following the directions at http://www.cisco.com/register.

Cisco Feature Navigator is updated regularly when major Cisco IOS software releases and technology releases occur. For the most current information, go to the Cisco Feature Navigator home page at the following URL:

http://www.cisco.com/go/fn

Supported Standards, MIBs, and RFCs

Standards

No new or modified standards are supported by this feature.

MIBs

No new MIBs are supported by this feature

To obtain lists of supported MIBs by platform and Cisco IOS release, and to download MIB modules, go to the Cisco MIB website on Cisco.com at the following URL:

http://www.cisco.com/public/sw-center/netmgmt/cmtk/mibs.shtml

RFCs

No new or modified RFCs are supported by this feature.

Configuration Tasks

See the following sections for configuration tasks for this feature. Each task in the list is identified as either required or optional.

Enabling the Error Log Count Capability (required)

Enabling the Error Log Count Capability

To enable the error log count capability, use the following command in global configuration mode:

Command
Purpose

Router(config)# logging count

Enables the error log count capability.

Verifying the Error Log Count Capability

Enter the show logging count command to view information about syslog error messages.

Router# show logging count

Facility       Message Name                     Sev Occur   Last Time
=============================================================================
SYS            BOOTTIME                           6    1 00:00:12
SYS            RESTART                            5    1 00:00:11
SYS            CONFIG_I                           5    3 1d00h
-------------  -------------------------------  -----------------------------
SYS TOTAL                                              5

LINEPROTO      UPDOWN                             5   13 00:00:19
-------------  -------------------------------  -----------------------------
LINEPROTO TOTAL                                       13

LINK           UPDOWN                             3    1 00:00:18
LINK           CHANGED                            5   12 00:00:09
-------------  -------------------------------  -----------------------------
LINK TOTAL                                            13

SNMP           COLDSTART                          5    1 00:00:11
-------------  -------------------------------  -----------------------------
SNMP TOTAL                                             1

Configuration Examples

This section provides the following configuration example:

Enabling the Error Log Count Capability Example

Enabling the Error Log Count Capability Example

In the following example, the error log count capability is enabled:

Router# logging count

Building configuration...
Current configuration : 2507 bytes
!
! Last configuration change at 14:53:38 UTC Tue Feb 5 2002
!
.
.
.
hostname router
!
logging count
logging buffered notifications

Command Reference

The following new and modified commands are pertinent to this feature. To see the command pages for these commands and other commands used with this feature, go to the Cisco IOS Master Commands List, Release 12.4, at http://www.cisco.com/en/US/docs/ios/mcl/124mainlinemcl/124_book.html.

New Command

logging count

Modified Command

show logging