Config Syslog Host - D-Link DGS-3100 Series Cli Manual

Gigabit stackable managed switch
Hide thumbs Also See for DGS-3100 Series:
Table of Contents

Advertisement

Restrictions
Example usage:
To create syslog host:
DGS3100# crea
Success.
DGS3100#
config s slog host
Purpose
Syntax
Description
Parameters
local3 − Specifies that local use 3 messages are to be sent to the
remote host. This corresponds to number 19 from the list above.
local4 − Specifies that local use 4 messages are to be sent to the
remote host. This corresponds to number 20 from the list above.
local5 − Specifies that local use 5 messages are to be sent to the
remote host. This corresponds to number 21 from the list above.
local6 − Specifies that local use 6 messages are to 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
remote host. This corresponds to number 23 from the list above.
udp_port <udp_port_number> − Specifies the UDP port number t
the syslog protocol is to 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.
Only administrator-level users can issue this command.
te syslog host 1 ipaddress 10.53.13.9
y
To configure the syslog protocol to send system log data to a remote
host.
config syslog host [all | <index 1-4>] {severity [informational |
warning | all] | facility [local0 | local1 | local2 | local3 | local4 |
local5 | local6 | local7] | udp_port <udp_port_number> |
ipaddr
ess <ipaddr>}
The config syslog host command configures the syslog protocol to
send system log information to a remote host.
all − Specifies that the command applies to all ho
<index 1-4> − Specifies that the command applies to an index of
hosts. There are four available indices, numbered 1 to 4.
ipaddress <ipaddr> − The IP address of the remote host to which
syslog messages are to be sent.
severity − The message severity level indicato
described in the following table (Bold font indicate
corresponding severity level is currently supported on the
Numerical
Code
0
1
2
Severity
Emergency: system is unusable
Alert: action must be taken immediately
Critical: critical conditions
55
4 severity all facility local0
sts.
r. These are
s that the
Switch):
the
hat

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents