D-Link dgs-3420 Work Light User Manual


 
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
608
Command: clear log
Success
DGS-3420-28SC:admin#
60-8 show log
Description
This command is used to display the switch history log.
Format
show log {[index <value_list> | severity {module <module_list>} {emergency | alert | critical |
error | warning | notice | informational | debug | <level_list 0-7>} | module <module_list>]}
Parameters
index - (Optional) Specify to display the history log between two values.
<value_list> - Specify to display the history log between two values. For example, show log
index 1-5 will display the history log from 1 to 5.
severity - (Optional) Specify the severity level: emergency, alert, critical, error, warning, notice,
informational, or debug.
module(Optional) Specify the modules to be displayed. The module can be obtained by the
show log_software_module command. Use commas to separate multiple modules.
<module_list>
- Specify the modules to be displayed.
emergency - (Optional) Specify severity level 0.
alert - (Optional) Specify severity level 1.
critical - (Optional) Specify severity level 2.
error - (Optional) Specify severity level 3.
warning - (Optional) Specify severity level 4.
notice - (Optional) Specify severity level 5.
informational - (Optional) Specify severity level 6.
debug - (Optional) Specify severity level 7.
<level_list 0-7> - (Optional) Specify a list of severity levels to be displayed. If more than one
severty level, separate them by comma. The level numbers are from 0 to 7.
module - Specify the modules to be displayed. The module can be obtained by the show
log_software_module command. Use commas to separate multiple modules.
<module_list> - Specify the modules to be displayed.
Note: If no parameter is specified, all history log entries will be displayed.
Restrictions
None.
Example
To display the switch history log:
DGS-3420-28SC:admin#show log index 1-5
Command: show log index 1-5