xStack
® 
DGS-3120 Series Managed Switch CLI Reference Guide 
700 
 
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 
 - 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. 
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 
Adds a new syslog host: 
DGS-3120-24TC:admin#create syslog host 1 ipaddress 10.90.90.1 severity debug 
facility local0 
Command: create syslog host 1 ipaddress 10.90.90.1 severity debug facility 
local0 
 
Success. 
 
DGS-3120-24TC:admin# 
 
76-8  config syslog host 
Description 
This command is used to configure 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.