28-9
Catalyst 2928 Switch Software Configuration Guide
OL-23389-01
Chapter 28 Configuring System Message Logging
Configuring System Message Logging
describes the
level
keywords. It also lists the corresponding UNIX syslog definitions from
the most severe level to the least severe level.
The software generates four other categories of messages:
•
Error messages about software or hardware malfunctions, displayed at levels
warnings
through
emergencies
. These types of messages mean that the functionality of the switch is affected. For
information on how to recover from these malfunctions, see the system message guide
for this
release.
•
Output from the
debug
commands, displayed at the
debugging
level. Debug commands are
typically used only by the Technical Assistance Center.
•
Interface up or down transitions and system restart messages, displayed at the
notifications
level.
This message is only for information; switch functionality is not affected.
Limiting Syslog Messages Sent to the History Table and to SNMP
If you enabled syslog message traps to be sent to an SNMP network management station by using the
snmp-server enable trap
global configuration command, you can change the level of messages sent and
stored in the switch history table. You also can change the number of messages that are stored in the
history table.
Messages are stored in the history table because SNMP traps are not guaranteed to reach their
destination. By default, one message of the level
warning
and numerically lower levels (see
) are stored in the history table even if syslog traps are not enabled.
Beginning in privileged EXEC mode, follow these steps to change the level and history table size
defaults. This procedure is optional.
Table 28-3
Message Logging Level Keywords
Level Keyword
Level
Description
Syslog Definition
emergencies
0
System unstable
LOG_EMERG
alerts
1
Immediate action needed
LOG_ALERT
critical
2
Critical conditions
LOG_CRIT
errors
3
Error conditions
LOG_ERR
warnings
4
Warning conditions
LOG_WARNING
notifications
5
Normal but significant condition
LOG_NOTICE
informational
6
Informational messages only
LOG_INFO
debugging
7
Debugging messages
LOG_DEBUG
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
logging history
level
1
Change the default level of syslog messages stored in the history file and
sent to the SNMP server.
See
for a list of
level
keywords.
By default,
warnings
,
errors
,
critical
,
alerts
, and
emergencies
messages
are sent.
Содержание Catalyst 2928
Страница 28: ...Contents xxviii Catalyst 2928 Switch Software Configuration Guide OL 23389 01 ...
Страница 32: ...xxx Catalyst 2928 Switch Software Configuration Guide OL 23389 01 Preface ...
Страница 496: ...26 14 Catalyst 2928 Switch Software Configuration Guide OL 23389 01 Chapter 26 Configuring SPAN Displaying SPAN Status ...
Страница 534: ...29 18 Catalyst 2928 Switch Software Configuration Guide OL 23389 01 Chapter 29 Configuring SNMP Displaying SNMP Status ...
Страница 700: ...Index IN 36 Catalyst 2928 Switch Software Configuration Guide OL 23389 01 ...