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
14-16
Cisco MDS 9000 Family Command Reference
OL-18089-01, Cisco MDS NX-OS Release 4.x
Chapter 14 L Commands
logging console
logging console
To set console logging
,
use the
logging console
command. To negate the previously issued command or
to revert to factory defaults, use the
no
form of the command.
logging console
[
severity-level
]
no logging console
[
severity-level
]
Syntax Description
Defaults
Disabled.
The default severity level is 2.
Command Modes
Configuration mode.
Command History
Usage Guidelines
The switch logs messages at or above the configured severity level.
Examples
The following example reverts console logging to the factory set default severity level of 2 (critical).
Logging messages with a severity level of 2 or above will be displayed on the console:
switch#
config terminal
switch(config)#
logging console 2
Related Commands
severity-level
Specifies the maximum severity of messages logged. The range is 0 to 7,
where 0 is emergency, 1 is alert, 2 is critical, 3 is error, 4 is warning, 5 is
notify, 6 is informational, and 7 is debugging.
Release
Modification
1.0(2)
This command was introduced.
Command
Description
show logging
Displays logging configuration information.