xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
77
Example usage:
To disable the syslog function on the Switch:
DGS-3627:5#disable syslog
Command: disable syslog
Success.
DGS-3627:5#
show syslog
Purpose
Used to display the syslog protocol status as enabled or disabled.
Syntax
show syslog
Description
The
show syslog
command displays the syslog status as enabled or
disabled.
Parameters
None.
Restrictions
None.
Example usage:
To display the current status of the syslog function:
DGS-3627:5#show syslog
Command: show syslog
Syslog Global State: Enabled
DGS-3627:5#
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
.
ipaddress <ipaddr>
−
Specifies the IP address of the remote host where
syslog messages will be sent.
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