![D-Link xStack DGS-3400 Series Cli Manual Download Page 78](http://html.mh-extra.com/html/d-link/xstack-dgs-3400-series/xstack-dgs-3400-series_cli-manual_77433078.webp)
xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
74
create syslog host
18 local use 2 (local2)
19 local use 3 (local3)
20 local use 4 (local4)
21 local use 5 (local5)
22 local use 6 (local6)
23 local use 7 (local7)
local0
−
Specifies that local use 0 messages will be sent to the remote host. This
corresponds to number 16 from the list above.
local1
−
Specifies that local use 1 messages will be sent to the remote host. This
corresponds to number 17 from the list above.
local2
−
Specifies that local use 2 messages will be sent to the remote host. This
corresponds to number 18 from the list above.
local3
−
Specifies that local use 3 messages will be sent to the remote host. This
corresponds to number 19 from the list above.
local4
−
Specifies that local use 4 messages will be sent to the remote host. This
corresponds to number 20 from the list above.
local5
−
Specifies that local use 5 messages will be sent to the remote host. This
corresponds to number 21 from the list above.
local6
−
Specifies that local use 6 messages will be sent to the remote host. This
corresponds to number 22 from the list above.
local7
−
Specifies that local use 7 messages will be sent to the remote host. This
corresponds to number 23 from the list above.
udp_port <udp_port_number>
−
Specifies the UDP port number that the syslog protocol
will use to send messages to the remote host.
ipaddress <ipaddr>
−
Specifies the IP address of the remote host where syslog
messages will be sent. Only IPv4 addresses are supported for this feature.
state [enable | disable]
−
Allows the sending of syslog messages to the remote host,
specified above, to be enabled and disabled.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To create a syslog host:
D G S – 3 4 2 6 : 5 # c r e a t e s y s l o g h o s t 1 i p a d d r e s s 1 0 . 1 . 1 . 1 s t a t e e n a b l e
C o m m a n d : c r e a t e s y s l o g h o s t 1 i p a d d r e s s 1 0 . 1 . 1 . 1 s t a t e e n a b l e
S u c c e s s .
D G S – 3 4 2 6 : 5 #
config syslog host
Purpose
Used to configure the syslog protocol to send system log data to a remote host.
Syntax
config syslog host <index 1–4> [severity [informational | warning | all] | facility
[local0 | local1 | local2 | local3 | local4 | local5 | local6 | local7] |
udp_port<udp_port_number> | ipaddress <ipaddr> | state [enable | disable]]
Description
This command is used to configure the syslog protocol to send system log information to
a remote host.
Parameters
<index 1–4>
−
Specifies that the command will be applied to an index of hosts. There are
four available indexes, numbered 1 through 4.
severity
−
Severity level indicator. These are described in the following:
Bold
font indicates that the corresponding severity level is currently supported on the