D-Link DGS-3600 Switch User Manual


 
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
670
Example usage:
To clear the switch’s history log:
DGS-3627:admin# clear log
Command: clear log
Success.
DGS-3627:admin#
show log
Purpose Used to display the switch’s history log.
Syntax
show log {[index <value_list> | severity {emergency | alert | critical | error | warning |
notice | informational| debug |<level_list 0-7>}]}
Description This command displays the switch’s history log.
When the log is empty, the prompt message “Log is empty.” will be displayed.
Parameters
index - The show log command will display the history log between the log number of X and
Y. For example, showing log index 1-5 will display the history log from 1 to 5.
If no parameter is specified, all history log entries will be displayed.
severity emergency Severity level 0
alert Severity level 1
critical Severity level 2
error Severity level 3
warning Severity level 4
notice Severity level 5
informational Severity level 6
debug Severity level 7
level_list - Specifies a list of severity levels to be displayed. If there is more than one severity
level, please separate them by comma. The level number is from 0 to 7.
Restrictions None.
Example usage:
To display the switch’s history log:
DGS-3627:admin# show log index 1-3
Command: show log index 1-3
Index Date Time Level Log Text
----- ---------- -------- ------- ----------------------------------------------
3 2008-10-17 15:00:14 INFO(1) Successful login through Console (Username: Anonymous)
2 2008-10-17 10:50:36 WARN(3) Console session timed out (Username: Anonymous)
1 2008-10-16 15:19:17 CRIT(5) SNMP request received from 10.0.0.27 with invalid
community string!
DGS-3627:admin#
enable syslog
Purpose Used to enable the sending of syslog messages.
Syntax
enable syslog