reset counters interface
Use reset counters interface to clear statistics for the specified aggregate interfaces.
Syntax
reset counters interface [ bridge-aggregation [ interface-number ] ]
Views
User view
Predefined user roles
network-admin
Parameters
bridge-aggregation: Specifies Layer 2 aggregate interfaces.
interface-number: Specifies an aggregate interface number.
Usage guidelines
Use this command to clear history statistics before you collect traffic statistics for a time period.
If you do not specify any parameters, the command clears statistics for all interfaces in the system.
If you specify only the bridge-aggregation keyword, the command clears statistics for all Layer 2 aggregate interfaces.
If you specify the bridge-aggregation interface-number option, the command clears statistics for the specified Layer 2 aggregate interface.
The bridge-aggregation keyword is available only when Layer 2 aggregate interfaces exist on the device.
Examples
# Clear statistics for Layer 2 aggregate interface Bridge-Aggregation 1.
<Sysname> reset counters interface bridge-aggregation 1