DES-30XX Layer 2 Switch CLI Reference Manual
61
Example usage:
To display the Switch history log
:
DES-3026:4#show log index 1-4
Command: show log index 1-4
Index Time Log Text
----- ---------- ---------------------------------------------------------------
4 2005/12/22 03:03:58 Successful login through Console (Username: Anonymous,
IP:0.0.0.0, MAC:00-00-00-00-00-00)
3 2005/12/22 03:02:58 Logout through Console (Username: Anonymous, IP:0.0.0.0,
MAC:00-00-00-00-00-00)
2 2005/12/22 03:01:28 Successful login through Console (Username: Anonymous,
IP:0.0.0.0, MAC:00-00-00-00-00-00)
1 2005/12/22 03:00:01 Logout through Console (Username: Anonymous, IP:0.0.0.0,
MAC:00-00-00-00-00-00)
DES-3026:4#
enable syslog
Purpose
Used to enable the system log to be sent to a remote host.
Syntax
enable syslog
Description
The
enable syslog
command enables the system log to be sent to a
remote host.
Parameters None.
Restrictions Only
administrator-level users can issue this command.
Example usage:
To the syslog function on the Switch:
DES-3026:4#enable syslog
Command: enable syslog
Success.
DES-3026:4#
disable syslog
Purpose
Used to disable 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: