D-Link DGS-3600 Switch User Manual


 
xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
75
disable syslog
Purpose
Used to enable the system log to be sent to a remote host.
Syntax disable syslog
Description
The disable syslog command disables the system log to be sent to a
remote host.
Parameters
None.
Restrictions
Only administrator-level users can issue this command.
Example usage:
To disable the syslog function on the Switch:
DGS-3600:4#disable syslog
Command: disable syslog
Success.
DGS-3600:4#
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-3600:4#show syslog
Command: show syslog
Syslog Global State: Enabled
DGS-3600:4#
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: