EasyManua.ls Logo

Cisco WS-C2948G-GE-TX - System Log Message Format; Configuring System Message Logging on the Switch; Configuring Session Logging Settings

Cisco WS-C2948G-GE-TX
614 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
37-4
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2948G-GE-TX, and Catalyst 2980G Switches Software Configuration Guide—Release 8.2GLX
78-15908-01
Chapter 37 Configuring System Message Logging
System Log Message Format
System Log Message Format
System log messages begin with a percent sign (%) and can contain up to 80 characters. Messages are
displayed in the following format:
mm/dd/yyy:hh/mm/ss:facility-severity-MNEMONIC:description
Table 37-4 describes the elements of syslog messages.
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.
Table 37-4 System Log Message Elements
Element Description
mm/dd/yyy:hh/mm/ss Date and time of the error or event. This information appears only if you
configure this with the set logging timestamp enable command.
facility Indicates the facility to which the message refers (for example, SNMP, SYS,
etc.).
severity Single-digit code from 0 to 7 that indicates the severity of the message.
MNEMONIC Text string that uniquely describes the error message.
description Text string containing detailed information about the event being reported.

Table of Contents

Related product manuals