warnings, notifications, informational, debugging.
Default
By default, this option is disabled.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
The system messages can be logged to the local message buffer, local console or other destinations.
Messages must enter the local message buffer first before it can further be dispatched to the console.
This command does not take effect if the specified discriminator does not exist. Thus the default
setting of the command is applied.
Specify the severity level of the messages in order to restrict the system messages that are logged to
the console. The messages which are at the specified severity level or higher will be dispatched to the
local console.
Example
This example shows how to enable the logging of messages to the local console and restrict the
logging of messages with a security level of errors or higher.
Switch# configure terminal
Switch(config)# logging console severity errors
Switch(config)#
71-4 logging discriminator
This command is used to create a discriminator that can be further used to filter SYSLOG messages
sent to various destinations.
logging discriminator NAME [facility {drops STRING | includes STRING}] [severity {drops
SEVERITY-LIST | includes SEVERITY-LIST}]
no discriminator NAME
Parameters
Specifies one or more facility names. If multiple facility names are
used, they should be separated by commas without spaces before
and after the comma.