xStack
® 
DGS-3120 Series Managed Switch CLI Reference Guide 
701 
 
Format 
config syslog host [<index 1-4> | all] {severity [emergency | alert | critical | error | warning | 
notice | informational | debug| <level 0-7>] | facility [local0 | local1 | local2 | local3 | local4 | 
local5 | local6 | local7] | udp_port <udp_port_number> | ipaddress [<ipaddr> | <ipv6addr>] | 
state [enable | disable]} 
 
Parameters 
<index 1-4> - Enter the host index value here. 
all - Specify that all the host indexes will be used. 
severity - (Optional) Specify the severity level. 
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 
<level 0-7> - Enter the severity level value here. This value must be between 0 and 7. 
facility - (Optional) 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 - Specify that the user-defined facility will be set to local 0. 
local1 - Specify that the user-defined facility will be set to local 1. 
local2 - Specify that the user-defined facility will be set to local 2. 
local3 - Specify that the user-defined facility will be set to local 3. 
local4 - Specify that the user-defined facility will be set to local 4. 
local5 - Specify that the user-defined facility will be set to local 5. 
local6 - Specify that the user-defined facility will be set to local 6. 
local7 - Specify that the user-defined facility will be set to local 7. 
udp_port - (Optional) Specify the UDP port number. 
<udp_port_number> - Enter the UDP port number used here. 
ipaddress - (Optional) Specify IP address for the host. 
<ipaddr> - Enter the IP address used for the configuration here. 
<ipv6addr> - Enter the IPv6 address used for the configuration here. (EI Mode Only) 
state - (Optional) The syslog protocol is used for the transmission of event notification messages 
across networks to a host. The option enables or disables the host to receive such messages. 
enable - Specify that the host to receive such messages will be enabled. 
disable - Specify that the host to receive such messages will be disabled. 
 
Restrictions 
Only Administrator and Operator-level users can issue this command. 
 
Example 
To configure the syslog host configuration: