82
Usage guidelines
Use this command to clear history statistics before you collect traffic statistics for a time period.
If you do not specify the
bridge-aggregation
keyword and the
interface-number
argument, 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
reset lacp statistics
Use
reset lacp statistics
to clear LACP statistics for the specified link aggregation member ports.
Syntax
reset lacp statistics
[
interface
interface-list
]
Views
User view
Default command level
1: Monitor level
Parameters
interface-list
: Specifies a list of ports in the format
interface-type interface-number1
[
to
interface-type
interface-number2
].
interface-type
interface-number
specifies an interface by its type and number. If no
member ports are specified, the command clears LACP statistics for all member ports.
Examples
# Clear LACP statistics for all link aggregation member ports.
<Sysname> reset lacp statistics
shutdown
Use
shutdown
to shut down a Layer 2 aggregate interface.
Use
undo shutdown
to bring up a Layer 2 aggregate interface.
Syntax
shutdown
undo shutdown
Default
Aggregate interfaces are up.