logging console
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
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.
Syntax Description
severity-level
Defaults
Disabled.
The default severity level is 2.
Command Modes
Configuration mode.
Command History
Release
1.0(2)
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
Command
show logging
Cisco MDS 9000 Family Command Reference
14-16
logging console [severity-level]
no logging console [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.
Modification
This command was introduced.
Description
Displays logging configuration information.
Chapter 14
OL-16217-01, Cisco MDS SAN-OS Release 3.x
L Commands