HP MSR2000/3000/4000 Router Series Interface Command Reference
31
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] port link-mode bridge
reset counters interface
Use reset counters interface to clear the Ethernet interface or subinterface statistics.
Syntax
reset counters interface [ interface-type [ interface-number | interface-number.subnumber ] ]
Views
User view
Predefined user roles
network-admin
Parameters
interface-type: Specifies an interface type.
interface-number: Specifies an interface number.
interface-number.subnumber: Specifies a subinterface number, where interface-number is an interface
number; subnumber is the number of a subinterface created under the interface. The value range for the
subnumber argument is 1 to 4094.
Usage guidelines
Before collecting traffic statistics for a specific period of time on an interface, clear the old statistics first.
If no interface type is specified, this command clears statistics for all interfaces.
If only the interface type is specified, this command clears statistics for all interfaces of that type.
If both the interface type and the interface or subinterface number are specified, this command clears
statistics for the specified interface or subinterface.
Examples
# Clear the statistics of Ethernet 1/1.
<Sysname> reset counters interface ethernet 1/1
Related commands
• display interface
• display counters interface
• display counters rate interface
reset ethernet statistics
Use reset ethernet statistics to clear the Ethernet statistics.
Syntax
MSR2000/MSR3000:
reset ethernet statistics
MSR4000: