Administrator Guide

Switch Management Commands 2178
User Guidelines
Messages at the selected level and above (numerically lower) are displayed on
the console. Debug level messages are intended for use by support personnel.
The output is voluminous, cryptic, and because of the large number of
messages generated, can adversely affect switch operations. Only set the
logging level to debug under the direction of support personnel.
Example
The following example limits messages logged to the console based on
severity level “alerts”.
console(config)#logging console alerts
logging facility
Use the logging facility command in Global Configuration mode to
configure the facility to be used in log messages.
Syntax
logging facility facility
no logging facility
facility—The facility that will be indicated in the message. (Range:
local0, local1, local2, local3, local4, local5, local6, local7).
Default Configuration
The default logging facility is local7.
Command Mode
Global Configuration mode
User Guidelines
This command has no user guidelines.
Example
The following example sets the logging facility as local3.
console(config)#logging facility local3