3Com Router Command Reference Guide — V1.00
Example
# Enter the Ethernet interface view from the system view.
[3Com]interface ethernet 0
[3Com-Ethernet0]
# Enter the view of sub-interface Serial0.1 from the view of interface Ethernet0.
[3Com-Ethernet0]interface serial0.1
[3Com-Serial0.1]
1.1.6 reset counters interface
Syntax
reset counters interface [type number ]
View
All views
Parameter
type: Type of the interface to be configured. Together with number, it specifies an
interface.
number: Number of the interface. Together with type, it specifies an interface.
Description
Using the reset counters interface command, you can reset the statistics of packets
received and transmitted at an interface.
If no interface is specified, then the statistics of packets received and transmitted at
all interfaces will be cleared by default.
In some circumstances, it is necessary to keep statistics of the traffic at a certain
interface. It is then necessary to clear the existing statistics of packets received and
transmitted at this interface so that new statistics can be kept .
For related commands, see display interfaces, flow-interval.
Example
# Clear the statistics of packets received and transmitted at Serial 0.
[3Com]reset counters interface serial0
10