reset counters interface
Syntax
reset counters interface [ bridge-aggregation [ interface-number ] ]
View
User view
Default level
2: System level
Parameters
bridge-aggregation: Clears statistics for Layer 2 aggregate interfaces.
interface-number: Specifies an aggregate interface number. If the interface-number argument is not specified, this command clears statistics for all aggregate interfaces of the specified type.
Description
Use reset counters interface to clear statistics for the specified aggregate interfaces.
Before collecting statistics for a Layer 2 aggregate interface within a specific period, clear the existing statistics of the interface.
If no keywords or argument is specified, the command clears statistics for all interfaces in the system.
If only the bridge-aggregation keyword is specified, the command clears statistics for all Layer 2 aggregate interfaces.
If the bridge-aggregation interface-number keyword and argument combination is specified, the command clears statistics for the specified Layer 2 aggregate interface.
The bridge-aggregation keyword becomes available only after you create Layer 2 aggregate interfaces on the device.
Examples
# Clear statistics for Layer 2 aggregate interface Bridge-Aggregation 1.
<Sysname> reset counters interface bridge-aggregation 1