D-Link DES-3200 Switch User Manual


 
xStack® DES-3200 Series Layer 2 Ethernet Managed Switch CLI Reference Guide
87
clear counters
Purpose
Used to clear the Switch’s statistics counters.
Syntax
clear counters {ports <portlist>}
Description
This command is used to clear the counters used by the Switch to
compile statistics.
Parameters
<portlist> Specifies a port or range of ports to be displayed.
Restrictions
Only Administrator-level users can issue this command.
Example usage:
To clear the counters:
DES-3200-28:4#clear counters ports 2-9
Command: clear counters ports 2-9
Success.
DES-3200-28:4#
clear log
Purpose
Used to clear the Switch’s history log.
Syntax
clear log
Description
This command is used to 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-3200-28:4#clear log
Command: clear log
Success.
DES-3200-28:4#