![D-Link xStack DGS-3612G series Cli Manual Download Page 84](http://html1.mh-extra.com/html/d-link/xstack-dgs-3612g-series/xstack-dgs-3612g-series_cli-manual_3519854084.webp)
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
81
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 displayed. The beginning
and end of the port list range are separated by a dash.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To clear the counters:
DGS-3627:5#clear counters ports 2-9
Command: clear counters ports 2-9
Success.
DGS-3627:5#
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 and Operator-level users can issue this command.
Example usage:
To clear the log information:
DGS-3627:5#clear log
Command: clear log
Success.
DGS-3627:5#
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>
−
This command will display the history log entry listed by
the
<value_list>
field.
If no parameter is specified, all history log entries will be displayed.
Restrictions None.