Specifications
xStack DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
disable syslog
Purpose Used to disable the system log to be sent to a remote System log.
Syntax
disable syslog
Description The disable syslog command disables the system log to be sent to a
remote Syslog server.
Parameters None.
Restrictions Only administrator-level users can issue this command.
Example usage:
To disable the Syslog function on the Switch:
DGS-3400:4#disable syslog
Command: disable syslog
Success.
DGS-3400:4#
65
create syslog host
Purpose Used to create a new Syslog host.
Syntax
create syslog host <index 1-4> {severity [informational | warning | all] | facility
[local0 | local1 | local2 | local3 | local4 | local5 | local6 | local7] | udp_port
<udp_port_number> | ipaddress <ipaddr> | state [enable | disable]}
Description The create syslog host command is used to create a new Syslog host.
Parameters
<index 1-4> − Specifies that the command will be applied to an index of hosts.
There are four available indexes, numbered 1 through 4.
severity − Severity level indicator, as shown 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 may use the
"user-level" Facility. Those Facilities that have been designated are shown in the
following: Bold font indicates the facility values that the Switch currently supports.