System Message Logging Configuration
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
Message Logging Initiation
You can disable logging to the console or enable logging to a given Telnet or SSH session.
•
•
To enable or disable the logging state for a Telnet or SSH session, follow these steps:
Command
Step 1
switch# terminal monitor
Step 2
switch# terminal no monitor
Console Severity Level
When logging is enabled for a console session (default), you can configure the severity levels of
messages that appear on the console. The default severity for console logging is 2 (critical).
The current critical (default) logging level is maintained if the console baud speed is 9600 baud (default).
Tip
All attempts to change the console logging level generates an error message. To increase the logging
level (above critical), you must change the console baud speed to 38400 baud.
See the
To configure the severity level for the console session, follow these steps:
Command
Step 1
switch# config t
switch(config)#
Step 2
switch(config)# logging console 3
switch(config)# no logging
console
Monitor Severity Level
When logging is enabled for a monitor session (default), you can configure the severity levels of
messages that appear on the monitor. The default severity for monitor logging is 5 (notifications).
Cisco MDS 9000 Family CLI Configuration Guide
52-4
When you disable or enable logging to a console session, that state is applied to all future console
sessions. If you exit and log in again to a new session, the state is preserved.
When you enable or disable logging to a Telnet or SSH session, that state is applied only to that
session. If you exit and log in again to a new session, the state is not preserved.
"Configuring Console Port Settings" section on page
Chapter 52
Purpose
Enables logging for a Telnet or SSH session.
A console session is enabled by default.
Note
Disables logging for a Telnet or SSH session.
A Telnet or SSH session is disabled by default.
Note
5-29.
Purpose
Enters configuration mode.
Configures console logging at level 3 (error). Logging
messages with a severity level of 3 or above are displayed on
the console.
Reverts console logging to the factory set default severity level
of 2 (critical). Logging messages with a severity level of 2 or
above are displayed on the console.
Configuring System Message Logging
OL-18084-01, Cisco MDS NX-OS Release 4.x