System Log Message Format; Configuring System Message Logging On The Switch; Configuring Session Logging Settings - Cisco WS-C2948G-GE-TX Configuration Manual

Catalyst 4500 series switch
Table of Contents

Advertisement

System Log Message Format

System Log Message Format
System log messages begin with a percent sign (
displayed in the following format:
mm/dd/yyy:hh/mm/ss:facility-severity-MNEMONIC:description
Table 37-4
Table 37-4 System Log Message Elements
Element
mm/dd/yyy:hh/mm/ss
facility
severity
MNEMONIC
description
This example shows typical switch system messages (at system startup):
1999 Apr 16 10:01:26 %MLS-5-MLSENABLED:IP Multilayer switching is enabled
1999 Apr 16 10:01:26 %MLS-5-NDEDISABLED:Netflow Data Export disabled
1999 Apr 16 10:01:26 %SYS-5-MOD_OK:Module 1 is online
1999 Apr 16 10:01:47 %SYS-5-MOD_OK:Module 3 is online
1999 Apr 16 10:01:42 %SYS-5-MOD_OK:Module 6 is online
1999 Apr 16 10:02:27 %PAGP-5-PORTTOSTP:Port 3/1 joined bridge port 3/1
1999 Apr 16 10:02:28 %PAGP-5-PORTTOSTP:Port 3/2 joined bridge port 3/2

Configuring System Message Logging on the Switch

The following sections describe how to configure system message logging on the switch.

Configuring Session Logging Settings

By default, system logging messages are sent to console and Telnet sessions that are based on the default
logging facility and severity values. If desired, you can disable logging to the console or logging to a
given Telnet session.
When you disable or enable logging to console sessions, the enable state is applied to all future console
sessions. For example, if you disable logging to the console, disconnect from the console port, and later
reconnect, logging is still disabled for the console.
When you disable or enable logging to a Telnet session, the enable state is applied only to that session.
If you disable logging to a Telnet session, disconnect the session, and later reconnect, logging is enabled
for the new session.
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2948G-GE-TX, and Catalyst 2980G Switches Software Configuration Guide—Release 8.2GLX
37-4
describes the elements of syslog messages.
Description
Date and time of the error or event. This information appears only if you
configure this with the set logging timestamp enable command.
Indicates the facility to which the message refers (for example, SNMP, SYS,
etc.).
Single-digit code from 0 to 7 that indicates the severity of the message.
Text string that uniquely describes the error message.
Text string containing detailed information about the event being reported.
Chapter 37
Configuring System Message Logging
) and can contain up to 80 characters. Messages are
%
78-15908-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents