xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
672
DGS-3627:admin# show syslog
Command: show syslog
Syslog Global State: Enabled
DGS-3627:admin#
config syslog host
Purpose
Used to configure the syslog host configurations.
Syntax
config syslog host <index 1-4> [severity [emergency | alert | critical | error | warning |
notice | informational | debug | all | <level 0-7>] | facility [local0 | local1 | local2 | local3 |
local4 | local5 | local6 | local7] | udp_port <udp_port_number> | ipaddress <ipaddr> |
state [enable | disable]]
Description
This command configures the syslog host configurations. The user can choose and report a
specific level of messages to a specific host. When the user chooses a specific level for a
specific host, messages which are at that severity level or higher will be reported to the
specified host.
When the specified host doesn’t exist, the prompt message, “The entry does not exist.” will
be displayed and this configuration will fail.
When the IP address is invalid, the prompt message, “Invalid IP address.” will be displayed
and this configuration will fail.
The prompt message, “The IP address has already been configured.” will be prompted to the
user when configuring syslog hosts with “all” option and just assigning one IP address to
those hosts. This configuration will fail.
When the specified IP address already exists, the prompt message, “The host IP address
already exists.” will be displayed and this configuration will fail.
Parameters
host
- The host index or all hosts.
severity
-
emergency
Severity level 0
alert
Severity level 1
critical
Severity level 2
error
Severity level 3
warning
Severity level 4
notice
Severity level 5
informational
Severity level 6
debug
Severity level 7
facility
- Some of the operating system daemons and processes have been assigned facility
values. Processes and daemons that have not been explicitly assigned a facility may use any
of the "local use" facilities or they may use the "user-level" facility. Those facilities that have
been designated are shown below. This facility setting will be put in the syslog packet when it
is sent to a specific syslog server.
local0
user-defined facility
local1
user-defined facility
local2
user-defined facility
local3
user-defined facility
local4
user-defined facility
local5
user-defined facility
local6
user-defined facility
local7
user-defined facility
udp_port
- The UDP port number.
ipaddr
- Specify the IP address for the host.
state
- The syslog protocol is used for the transmission of event notification messages across