D-Link DES-3500Series Switch User Manual


 
DES-3500 Layer 2 Fast Ethernet Switch CLI Reference Manual
67
disable syslog
Purpose Used to enable the system log to be sent to a remote host.
Syntax
disable syslog
Description
The disable syslog command enables the system log to be sent to a
remote host.
Parameters None.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To disable the syslog function on the Switch:
DES-3526:admin#disable syslog
Command: disable syslog
Success.
DES-3526:admin#
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:
DES-3526:admin#show syslog
Command: show syslog
Syslog Global State: Enabled
DES-3526:admin#
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
<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.