DGS-3700 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
Page | 120
create syslog host
15 clock daemon
16 local use 0 (local0)
17 local use 1 (local1)
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.
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:
DGS-3700-12:5#create syslog host 1 ipaddress 1.1.1.1 severity debug facility local0
Command: create syslog host 1 ipaddress 1.1.1.1 severity debug facility local0
Success.
DGS-3700-12:5#
config syslog host
Purpose
This command is used to configure the syslog host configurations.
Syntax
config syslog host [<index>|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]}