Owners manual

DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
619
includes
Specifies to include the matching message. The unmatched messages
are filtered.
drops
Specifies to filter the matching message.
severity
(Optional) Specifies a sub-filter based on severity matching.
SEVERITY-LIST
Specifies a list of severity levels to be filtered or to be included.
Default
None.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
An existing discriminator can be configured. The later setting will overwrite the previous setting. Associate
a discriminator with the logging buffered and the logging server command.
Example
This example shows how to create a discriminator named “buffer-filter” which specifies two sub-filters,
one based on the severity level and the other based on the facility.
Switch# configure terminal
Switch(config)# logging discriminator buffer-filter facility includes STP severity
includes 1-4,6
Switch(config)#
67-5 logging server
This command is used to create a SYSLOG server host to log the system messages or debug output.
Use the no command to remove a SYSLOG server host.
logging server {IP-ADDRESS | IPV6-ADDRESS} [severity {SEVERITY-LEVEL | SEVERITY-NAME}]
[facility FACILITY-TYPE] [discriminator NAME] [port UDP-PORT]
no logging server {IP-ADDRESS | IPV6-ADDRESS}
Parameters
IP-ADDRESS
Specifies the IP address of the SYSLOG server host.
IPV6-ADDRESS
Specifies the IPv6 address of the log server host.
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 log server. 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, warnings,
notifications, informational, debugging.
FACILITY-TYPE
(Optional) Specifies the facility type as a decimal value from 0 to 23. If
not specified, the default facility is local7 (23).