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
53-5
Cisco MDS 9000 Family CLI Configuration Guide
OL-16184-01, Cisco MDS SAN-OS Release 3.x
Chapter 53 Configuring System Message Logging
System Message Logging Configuration
To configure the severity level for a monitor session, follow these steps:
Module Logging
By default, logging is enabled at level 7 for all modules. You can enable or disable logging for each
module at a specified level.
To enable or disable the logging for modules and configure the severity level, follow these steps:
Facility Severity Levels
To configure the severity level for a logging facility (see
Table 53-1
), follow these steps:
Command
Purpose
Step 1
switch#
config t
switch(config)#
Enters configuration mode.
Step 2
switch(config)#
logging monitor 3
Configures monitor logging at level 3 (error). Logging
messages with a severity level of 3 or above are displayed on
the monitor.
switch(config)#
no logging
monitor
Reverts monitor logging to the factory set default severity level
of 5 (notifications). Logging messages with a severity level of
5 or above are displayed on the console.
Command
Purpose
Step 1
switch#
config t
switch(config)#
Enters configuration mode.
Step 2
switch(config)#
logging module 1
Configures module logging at level 1 (alerts) for all
modules.
switch(config)#
logging module
Configures module logging for all modules in the switch at
the default level 5 (notifications).
switch(config)#
no
logging module
Disables module logging.
Command
Purpose
Step 1
switch#
config t
switch(config)#
Enters configuration mode.
Step 2
switch(config)#
logging level kernel 4
Configures Telnet or SSH logging for the kernel facility
at level 4 (warning). As a result, logging messages with
a severity level of 4 or above are displayed.
switch(config)#
no logging level
kernel 4
Reverts to the default severity level 6 (informational) for
the Telnet or SSH logging for the kernel facility.
Note
Use the
show logging info
command to display
the default logging levels for the facilities listed
in
Table 53-1
.