DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
627
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 nam
ed “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)#
71-5 logging server
This command is used to create a SYSLOG server host to log the system messages or debug output.
Use the
no
form of this 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).
discriminator
(Optional) Specifies to filter the message to the log server based on
discriminator.
port
UDP-PORT
(Optional) Specifies the UDP port number to be used for the
SYSLOG server. Valid values are 514 (the IANA well-known port) or
any value from 1024 to 65535. If not specified, the default UDP port
is 514.
Default
None.
Command Mode
Summary of Contents for DGS-1510 Series
Page 1: ...1 0 ...
Page 27: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 24 ...
Page 281: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 278 ...
Page 336: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 333 ...
Page 475: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 472 ...
Page 695: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 692 ...