DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
624
71. System Log Commands
71-1 clear logging
This command is used to delete log messages in the system logging buffer.
clear logging
Parameters
None.
Default
None.
Command Mode
Privilege EXEC Mode.
Command Default Level
Level: 12.
Usage Guideline
This command deletes all the log messages in the system logging buffer.
Example
This example shows how to delete all the log messages in the logging buffer.
Switch# clear logging
Clear logging? (y/n) [n] y
Switch#
71-2 logging buffered
This command is used to enable logging of system messages to the local message buffer. Use the no
form of this command to disable the logging of messages to the local message buffer. Use the default
logging buffered command to revert to default setting.
logging buffered [severity {SEVERITY-LEVEL | SEVERITY-NAME}] [discriminator NAME]
[write-delay {SECONDS | infinite}]
no logging buffered
default logging buffered
Parameters
(Optional) Specifies the severity level of system messages. The
messages at that severity level or a more severe level will be
logged to message buffers. This value must be between 0 and 7. 0
is the most severe level. If not specified, the default severity level is
warnings (4).
(Optional) Specifies the severity level of system messages by one
of the following names: emergencies, alerts, critical, errors,
warnings, notifications, informational, debugging.