DGS-3700 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
Page | 114
clear counters
Parameters
<portlist>
−
Specifies a port or range of ports to be displayed.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To clear the counters:
DGS-3700-12:5#clear counters ports 2-9
Command: clear counters ports 2-9
Success.
DGS-3700-12:5#
show historical_counter
Purpose
Used to display statistics about the packets sent and received by the switch.
Syntax
show historical_counter [packet | error] [ports <portlist>] [15_minute {slot
<index 1-5>} | 1_day { slot <index 1-2> } ]
Description
This command is used to display statistics about the packets sent and received by the
switch.
For 15 minute counters, five historical statistic entries are supported. Users can select
which entry to show. For statistics based on a day, only two historical statistic
entries are supported.
Parameters
packet –
Displays valid packets.
error –
Displays error packets.
portlist
– Specifies a range of ports to be shown.
15_minute –
Specifies to display 15-minute based statistics count.
If there is no option specified, all 15 minutes time slots will be displayed.
1_day –
Specifies to display daily based statistics count.
If there is no option specified, all 1-day time slots will be displayed.
slot –
Specifies the slot number to display.
Restrictions
None.
Example usage:
To show the statistic count of packets for current 15_minute slots: