DGS-3000 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
803
DGS-3000-26TC:admin#clear log
Command: clear log
Success.
DGS-3000-26TC:admin#
show log
83-2
Description
This command is used to display the Switch’s 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 the index value of log entries that will be displayed. For example,
specifying 1-5 will display the history log from 1 to 5.
<value_list>
- Enter the index value here.
severity
- (Optional) Specify the severity level used.
module
- (Optional) Specify the modules which are to be displayed. The module can be
obtained by using the show log_software_module command. Use a comma to separate
multiple modules.
<module_list>
- Enter the module list value here.
emergency
- (Optional) Severity level 0.
alert
- (Optional) Severity level 1.
critical
- (Optional) Severity level 2.
error
- (Optional) Severity level 3.
warning
- (Optional) Severity level 4.
notice
- (Optional) Severity level 5.
informational
- (Optional) Severity level 6.
debug
- (Optional) Severity level 7.
<level_list 0-7>
- Enter a list of severity level which is to be displayed. If there is more than
one severity level, please separate them by comma. The level number is from 0 to 7.
module
- (Optional) Specify the modules which are to be displayed. The module can be obtained
by using the show log_software_module command. Use a comma to separate multiple
modules.
<module_list>
- Enter the module list value here.
If no parameter is specified, all history log entries will be displayed.
Restrictions
None.
Example
To display the Switch’s history log:
Содержание DGS-3000 series
Страница 1: ......