DES-30XX Layer 2 Switch CLI Reference Manual
60
clear counters
Purpose
Used to clear the Switch’s statistics counters.
Syntax
clear counters [ports <portlist>]
Description
This command will clear the counters used by the Switch to compile
statistics.
Parameters
<portlist>
−
Specifies a port or range of ports to be cleared for
statistics.
Restrictions Only
administrator-level users can issue this command.
Example usage:
To clear the counters:
DES-3026:4#clear counters
Command: clear counters
Success.
DES-3026:4#
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
administrator-level users can issue this command.
Example usage:
To clear the log information:
DES-3026:4#clear log
Command: clear log
Success.
DES-3026:4#
show log
Purpose
Used to display the Switch history log.
Syntax
show log {index <value_list X-Y>}
Description
This command will display the contents of the Switch’s history log.
Parameters
index <value_list X-Y>
−
Enter a value that corresponds to an entry
made in the log. Multiple entries may be made in the form of
x-
y, or
from a lower number entry to the higher number entry in the log. The
smallest number (and therefore the earlier entry) will be first.
Restrictions None.