Syslog Commands 389
Example
The following example limits logged messages sent to the syslog server with IP address 10.1.1.1 to
severity level critical.
logging console
The logging console Global Configuration mode command limits messages logged to the console based
on severity. Use the no form of this command to disable logging to the console terminal.
Syntax
•
logging console
level
• no logging console
•
level
— Limits the logging of messages displayed on the console to a specified level:
emergencies,
alerts
,
critical
,
errors, warnings
,
notifications, informational, debugging.
Default Configuration
The default is
informational
.
Command Mode
Global Configuration mode.
User Guidelines
• There are no user guidelines for this command.
Example
The following example limits messages logged to the console based on severity level "errors".
logging buffered
The logging buffered Global Configuration mode command limits syslog messages displayed from an
internal buffer based on severity. Use the no form of this command to cancel the buffer use.
Syntax
•
logging buffered
level
• no logging buffered
•
level
— Limits the message logging to a specified level buffer:
emergencies, alerts
,
critical
,
errors,
warnings
,
notifications, informational, debugging.
Console (config)# logging 10.1.1.1 severity critical
Console (config)# logging console errors
5400_CLI.book Page 389 Wednesday, December 17, 2008 4:33 PM