Specifications
xStack DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
DGS-3400:4#config syslog host 1 severity all
Command: config syslog host 1 severity all
Success.
DGS-3400:4#config syslog host 1 facility local0
Command: config syslog host 1 facility local0
Success.
DGS-3400:4#config syslog host 1 udp_port 6000
Command: config syslog host 1 udp_port 6000
Success.
DGS-3400:4#config syslog host 1 ipaddress 10.44.67.8
Command: config syslog host 1 ipaddress 10.44.67.8
Success.
DGS-3400:4#config syslog host 1 state enabled
Command: config syslog host 1 state enabled
Success.
DGS-3400:4#
config syslog host all
Purpose Used to configure the Syslog protocol to send system log data to a remote
host.
Syntax
config syslog host all [severity [informational | warning | all] | facility
[local0 | local1 | local2 | local3 | local4 | local5 | local6 | local7] |
udp_port <udp_port_number> | state [enable | disable]]
Description The config syslog host all command is used to configure the syslog
protocol to send system log information to a remote host.
Parameters
all − Specifies that the command will be applied to all hosts.
severity − Severity level indicator, as described below:
Bold font indicates that the corresponding severity level is currently
supported on the Switch.
Numerical Severity
Code
0 Emergency: system is unusable
1 Alert: action must be taken immediately
2 Critical: critical conditions
3 Error: error conditions
4 Warning: warning conditions
5 Notice: normal but significant condition
6 Informational: informational messages
7 Debug: debug-level messages
informational − Specifies that informational messages will be sent to the
remote host. This corresponds to number 6 from the list above.
warning − Specifies that warning messages will be sent to the remote host.
This corresponds to number 4 from the list above.
all − Specifies that all of the currently supported syslog messages that are
generated by the Switch will be sent to the remote host.
facility − 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
69