DGS-3710 Series Layer 2 Managed Gigabit Switch CLI Reference Guide
493
47-10
clear log
Description
This command is used to clear the switch’s history log.
Format
clear log
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example
To clear the switch’s history log:
DGS-3710-12C:admin#clear log
Command: clear log
Success
DGS-3710-12C:admin#
47-11
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) Specifies to display the history log between two values.
<value_list>
- Specifies 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) Specifies the severity level: emergency, alert, critical, error, warning, notice,
informational, or debug.
module
– (Optional) Specifies 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>
- Specifies the modules to be displayed.
emergency
- (Optional) Specifies severity level 0.
alert
- (Optional) Specifies severity level 1.
critical
- (Optional) Specifies severity level 2.