D-Link DGS-3100 Switch User Manual


 
DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual
64
clear counters
Purpose To clear the Switch’s statistics counters.
Syntax
clear counters
Description The clear counters command clears the counters used by the
Switch to compile statistics.
Parameters None.
Restrictions Only Administrator or operator-level users can issue this command.
Example usage:
To clear the counters:
DGS3100# clear counters
Success.
DGS3100#
clear log
Purpose To clear the Switch’s history log.
Syntax
clear log
Description The clear log command clears the Switch’s history log.
Parameters None.
Restrictions Only administrator-level users can issue this command.
Example usage:
To clear the log information:
DGS3100# clear log
Success.
DGS3100#
show log
Purpose To display the Switch history log.
Syntax
show log {index <value>}
Description The show log command displays the contents of the Switch’s
history log.
Parameters index <value> The number of entries in the history log to display.
Restrictions None.
Example usage:
To display the Switch history log:
DGS3100# show log