Logging File - Cisco Small Business 300 1.1 Series Administration Manual

Managed switch
Table of Contents

Advertisement

Syslog Commands
78-20269-01 Command Line Interface Reference Guide
Example
The following example clears messages from the internal logging buffer.
Console#
clear logging
Clear logging buffer [confirm]
18.6

logging file

Use the logging file Global Configuration mode command to limit SYSLOG
messages sent to the logging file to messages with a specific severity level. Use
the no form of this command to cancel sending messages to the file.
Syntax
level
logging file
no logging file
Parameters
level—Specifies the severity level of SYSLOG messages sent to the logging file.
The possible values are: emergencies, alerts, critical, errors, warnings,
notifications, informational and debugging.
Default Configuration
The default severity level is errors.
Command Mode
Global Configuration mode
Example
The following example limits SYSLOG messages sent to the logging file to
messages with severity level alerts.
Console(config)#
logging file alerts
18
224

Advertisement

Table of Contents
loading

Table of Contents