DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
651
discriminator
(Optional) Specifies to filter the message to be sent to local buffer
based on the discriminator.
write-delay SECONDS
(Optional) Specifies to disable periodical writing of the logging buffer
to the FLASH.
Default
By default, the severity level is warning (4).
Command Mode
Global Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
The system messages can be logged to the local message buffer or to other destinations. Messages
must enter the local message buffer first before it can be further dispatched to other destinations.
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 in
the logging buffer (thus reducing the number of messages logged). The messages which are at the
specified severity level or higher will be logged to the message buffer. When the logging buffer is full,
the oldest log entries will be removed to create the space needed for the new messages that are
logged.
The content of the logging buffer will be saved to the FLASH memory periodically such that the
message can be restored on reboot. The interval for periodically writing the logging buffer to FLASH
can be specified. The content of the logged messages in the FLASH will be reloaded into the logging
buffer on reboot.
Example
This example shows how to enable the logging of messages to the logging buffer and restrict logging
of messages with a security level of errors or higher.
Switch# configure terminal
Switch(config)# logging buffered severity errors
Switch(config)#
71-3
logging console
This command is used to enable the logging of system messages to the local console. Use the
no
form of this command to disable the logging of messages to the local console and revert to the default
setting.
logging console [severity {SEVERITY-LEVEL | SEVERITY-NAME}] [discriminator NAME]
no logging console
Parameters
SEVERITY-LEVEL
(Optional) Specifies the severity level of system messages. The
messages at that severity level or a more severe level will be
logged to the local console. This value must be between 0 and 7. 0
is the most severe level. If not specified, the default severity level is
warnings (4).
SEVERITY-NAME
(Optional) Specifies the severity level of system messages by one
of the following names: emergencies, alerts, critical, errors,
Summary of Contents for DGS-510
Page 1: ...1 ...
Page 287: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 284 ...
Page 321: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 318 ...
Page 493: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 490 ...
Page 733: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 730 ...