xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
86
create syslog host
ipaddress <ipaddr>
−
Specifies the IP address of the remote host where
syslog messages will be sent.
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 syslog host:
DGS-3627:5#create syslog host 1 ipaddress 10.1.1.1 state enable
Command: create syslog host 1 ipaddress 10.1.1.1 state enable
Success.
DGS-3627:5#
config syslog host
Purpose
Used to configure the syslog protocol to send system log data to a
remote host.
Syntax
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> | ipaddress
<ipaddr> | state [enable | disable]
Description The
config syslog host
command is used to configure the syslog
protocol to send system log information to a remote host.
<index 1-4>
−
Specifies that the command will be applied to an index of
hosts. There are four available indexes, numbered 1 through 4.
ipaddress <ipaddr>
−
Specifies the IP address of the remote host where
syslog messages will be sent.
severity
−
Severity level indicator. These are described in the following:
Bold
font indicates that the corresponding severity level is currently
supported on the Switch.
Numerical Severity
Code
Parameters
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