D-Link DGS-1510 Series Reference Manual page 628

Gigabit ethernet smartpro switch
Hide thumbs Also See for DGS-1510 Series:
Table of Contents

Advertisement

DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
discriminator
write-delay SECONDS
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
SEVERITY-NAME
(Optional) Specifies to filter the message to be sent to local buffer
based on the discriminator.
(Optional) Specifies to disable periodical writing of the logging buffer
to the FLASH.
(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).
(Optional) Specifies the severity level of system messages by one
of the following names: emergencies, alerts, critical, errors,
625

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents