xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
716
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
Index Date Time Level Log Text
----- ---------- -------- ------- --------------------------------------------
3 2000-03-01 00:26:51 INFO(6) Successful login through Console (Username:
Anonymous)
2 2000-03-01 00:26:49 CRIT(2) System started up
1 2000-03-01 00:26:49 CRIT(2) System warm start
Summary of Contents for xStack DGS-3420 Series
Page 1: ...xStack DGS 3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide I ...
Page 188: ...xStack DGS 3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 183 ...
Page 713: ...xStack DGS 3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 708 ...
Page 902: ...xStack DGS 3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 897 ...