Defining The Message Severity Level (Optional) - Cisco Catalyst 4500 Series Software Configuration Manual

Cisco ios xe release 3.9.xe and cisco ios release 15.2(5)ex
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Configuring System Message Logging

Defining the Message Severity Level (Optional)

You can limit messages displayed to the selected device by specifying the severity level of the message,
which are described in
To define the message severity level, perform this task:
Command
Step 1
Switch# configure terminal
Step 2
Switch(config)# logging console level
Step 3
Switch(config)# logging monitor level
Step 4
Switch(config)# logging trap level
Step 5
Switch(config)# end
Step 6
Switch# show running-config
or
Switch# show logging
Step 7
Switch# copy running-config startup-config
Specifying a level causes messages at that level and numerically lower levels to be displayed at the
Note
destination.
To disable logging to the console, use the no logging console global configuration command. To disable
logging to a terminal other than the console, use the no logging monitor global configuration command.
To disable logging to syslog servers, use the no logging trap global configuration command.
Table 70-3
the most severe level to the least severe level.
Table 70-3
Level Keyword
emergencies
alerts
critical
errors
warnings
notifications
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
70-8
Table
70-3.
describes the level keywords. It also lists the corresponding UNIX syslog definitions from
Message Logging Level Keywords
Level
0
1
2
3
4
5
Chapter 70
Purpose
Enters global configuration mode.
Limits messages logged to the console.
By default, the console receives debugging messages and
numerically lower levels (see
Limits messages logged to the terminal lines.
By default, the terminal receives debugging messages and
numerically lower levels (see
Limits messages logged to the syslog servers.
By default, syslog servers receive informational messages and
numerically lower levels (see
For complete syslog server configuration steps, see the
"Configuring UNIX Syslog Servers" section on page
Returns to privileged EXEC mode.
Verifies your entries.
(Optional) Saves your entries in the configuration file.
Description
System unstable
Immediate action needed
Critical conditions
Error conditions
Warning conditions
Normal but significant condition
Configuring System Message Logging
Table 70-3 on page
70-8).
Table 70-3 on page
70-8).
Table 70-3 on page
70-8).
70-10.
Syslog Definition
LOG_EMERG
LOG_ALERT
LOG_CRIT
LOG_ERR
LOG_WARNING
LOG_NOTICE

Advertisement

Table of Contents
loading

Table of Contents