xStack
clear log
Purpose | Used to clear the Switch’s history log. |
Syntax | clear log |
Description | This command will clear the Switch’s history log. |
Parameters | None. |
Restrictions | Only |
|
|
Example usage:
To clear the log information:
DES-6500:4#clear log
Command: clear log
Success.
show log
Purpose | Used to display the Switch history log. |
Syntax | show log {index <value_list>} |
Description | This command will display the contents of the Switch’s history log. |
Parameters | index <value_list> − Enter a value that corresponds to an entry |
| made in the log. Multiple entries may be made in the form of |
| where x is the number of an entry in the log. The smallest number |
| (and therefore the earlier entry) will be first. |
Restrictions | None. |
|
|
Example usage:
To display the Switch history log:
Command: show log index
Index Date | Time | Log Text |
4
3
2
1
63