xStack
® 
DGS-3120 Series Managed Switch CLI Reference Guide 
699 
 
76-6  show syslog 
Description 
This command is used to display the syslog protocol global state. 
 
Format 
show syslog 
 
Parameters 
None. 
 
Restrictions 
None. 
 
Example 
To display the syslog protocol global state: 
DGS-3120-24TC:admin# show syslog 
Command: show syslog 
 
Syslog Global State: Enabled 
 
 
76-7  create syslog host 
Description 
This command is used to create a new syslog host. The user can choose and report specific levels 
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 that host. 
 
Format 
create syslog host <index 1-4> ipaddress [<ipaddr> | <ipv6addr>] {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> | state 
[enable | disable]} 
 
Parameters 
<index> - Enter the host index value here. 
all - Specify that all the host indexes will be used. 
ipaddress - Specify the IP or IPv6 address for the host. 
<ipaddr> - Specify the IP address for the host. 
 - Specify the IPv6 address for the host.
severity - (Optional) Specify the severity level.