Enabling Message Logging; Setting The Message Logging Levels - Cisco MDS 9124 - Fabric Switch Reference

Cisco mds 9000 family command reference - cisco mds san-os release 3.0(1) through 3.3(1a) (ol-16217-01, april 2008)
Hide thumbs Also See for Cisco MDS 9124 - Fabric Switch:
Table of Contents

Advertisement

Using Debug Commands
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
Possible destinations include the console, virtual terminals, internal buffer, and UNIX hosts running a
syslog server. The syslog format is compatible with 4.3 Berkeley Standard Distribution (BSD) UNIX
and its derivatives.
Be aware that the debugging destination you use affects system overhead. Logging to the console
Note
produces very high overhead, whereas logging to a virtual terminal produces less overhead. Logging to
a syslog server produces even less, and logging to an internal buffer produces the least overhead of any
method.
To configure message logging, you need to be in configuration command mode. To enter this mode, use
the configure terminal command at the EXEC prompt.

Enabling Message Logging

To enable message logging to all supported destinations other than the console, enter the following
command:
The default condition is logging on.
To direct logging to the console only and disable logging output to other destinations, enter the following
command:

Setting the Message Logging Levels

You can set the logging levels when logging messages to the following devices:
Table 1-8
the logging levels for these types of messages. The highest level of message is level 0, emergencies. The
lowest level is level 7, debugging, which also displays the greatest amount of messages. For information
about limiting these messages, see sections later in this chapter.
Table 1-8
Level
0
1
2
3
4
5
Cisco MDS 9000 Family Command Reference
1-42
logging on
no logging on
Console
Monitor
Syslog server
lists and briefly describes the logging levels and corresponding keywords you can use to set
Message Logging Keywords and Levels
Keyword
emergencies
alerts
critical
errors
warnings
notification
Description
System is unusable.
Immediate action is needed.
Critical conditions exist.
Error conditions exist.
Warning conditions exist.
Normal, but significant, conditions
exist.
Chapter 1
CLI Overview
Syslog Definition
LOG_EMERG
LOG_ALERT
LOG_CRIT
LOG_ERR
LOG_WARNING
LOG_NOTICE
OL-16217-01, Cisco MDS SAN-OS Release 3.x

Advertisement

Table of Contents
loading

Table of Contents