DGS-3024 Layer 2 Switch CLI Reference Manual
DGS-3024:4#disable syslog
Command: disable syslog
Success.
DGS-3024: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-3024:4#show syslog
Command: show syslog
Syslog Global State: Enabled
DGS-3024:4#
create syslog host
Purpose
Used to create a new syslog host.
Syntax
create syslog host <index 1-4> ipaddress <ipaddr> {severity
[informational | warning | all | facility [local0 | local1| local2 |
local3 | local4 | local5 | local6 | local7] | udp_port
<udp_port_number> state [enable | disable]
Description
The
create syslog host
command is used to create a new syslog
host.
Parameters
all
−
Specifies that the command will be applied to all hosts.
<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.
59