Specifications
xStack DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
DGS-3400:4#clear log
Command: clear log
Success.
DGS-3400:4#
show log
Purpose Used to display the switch history log.
Syntax
show log {index <value_list>}
Description This command will display the contents of the Switch’s history log.
Parameters
index <value list>
−
This command will display the history log,
beginning at 1 and ending at the value specified by the user in the
<value_list> field.
If no parameter is specified, all history log entries will be displayed.
Restrictions None.
Example usage:
To display the switch history log:
DGS-3400:4#show log index 1-5
Command: show log index 1-5
Index Date Time Log Text
----- ---------------- ----------- ----------------------------------------------------
5 2006-04-26 09:38:18 Successful login through Console (Username: Anonymous)
4 2006-04-26 09:36:20 System started up
3 2006-04-25 12:38:18 Port 1 link up, 100Mbps FULL duplex
2 2006-04-25 12:38:00 Spanning Tree Protocol is disabled
1 2006-04-25 12:37:42 Configuration saved to flash (Username: Anonymous)
DGS-3400:4#
enable syslog
Purpose Used to enable the system log to be sent to a remote Syslog
server.
Syntax
enable syslog
Description The enable syslog command enables the system log to be sent to
a remote Syslog server.
Parameters None.
Restrictions Only administrator-level users can issue this command.
Example usage:
To enable the Syslog function on the Switch:
DGS-3400:4#enable syslog
Command: enable syslog
Success.
DGS-3400:4#
64