87
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 of all aggregate interfaces of the specified type.
Description
Use the reset counters interface command to clear the statistics of the specified aggregate interface or
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 the statistics of all interfaces in the system.
If only the bridge-aggregation keyword is specified, the command clears the statistics of all Layer 2
aggregate interfaces.
If the bridge-aggregation interface-number keyword and argument combination is specified, the
command clears the statistics of 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 the statistics of Layer 2 aggregate interface Bridge-Aggregation 1.
<Sysname> reset counters interface bridge-aggregation 1
reset lacp statistics
Syntax
reset lacp statistics [ interface interface-list ]
View
User view
Default level
1: Monitor level
Parameters
interface-list: Specifies a list of link aggregation member ports, in the format of interface-type
interface-number [ to interface-type interface-number ], where interface-type interface-number indicates
port type and port number.