Users Guide

Table Of Contents
Command Mode CONFIGURATION
Usage Information
Supported on the MX9116n and MX5108n switches in Full Switch mode starting in release 10.4.0E(R3S). Also
supported in SmartFabric mode starting in release 10.5.0.1.
To set the severity to the default level, use the no logging console severity command. The default
severity level is log-notice.
Example
OS10(config)# logging console disable
Example (Enable)
OS10(config)# logging console enable
Example
(Severity)
OS10(config)# logging console severity log-warning
Supported
Releases
10.2.0E or later
logging enable
Enables system logging.
Syntax
logging enable
Parameters None
Default Enabled
Command Mode CONFIGURATION
Usage Information
Supported on the MX9116n and MX5108n switches in Full Switch mode starting in release 10.4.0E(R3S). Also
supported in SmartFabric mode starting in release 10.5.0.1.
The no version of this command disables all logging.
Example
OS10(config)# logging enable
Supported
Releases
10.2.0E or later
logging log-file
Disables, enables, or sets the minimum severity level for logging to the log file.
Syntax
logging log-file {disable | enable | severity}
Parameters severity — Set the minimum logging severity level:
log-emerg — Set the system as unusable.
log-alert — Set to immediate action is needed.
log-crit — Set to critical conditions.
log-err — Set to error conditions.
log-warning — Set to warning conditions.
log-notice — Set to normal but significant conditions, the default.
log-info — Set to informational messages.
log-debug — Set to debug messages.
Default Log-notice
Command Mode CONFIGURATION
Usage Information
To reset the log-file severity to the default level, use the no logging log-file severity command. The
default severity level is log-notice.
1332 Troubleshoot OS10