R2511-HP MSR Router Series Layer 2 - LAN Switching Command Reference(V5)

111
[Sysname-Ethernet1/1] port link-aggregation group 1
# Assign Layer 3 Ethernet interface Ethernet 1/2 to Layer 3 aggregation group 2.
<Sysname> system-view
[Sysname] interface ethernet 1/2
[Sysname-Ethernet1/2] port link-aggregation group 2
reset counters interface
Use reset counters interface to clear the statistics of the specified aggregate interface or interfaces.
Syntax
reset counters interface [ { bridge-aggregation | route-aggregation } [ interface-number ] ]
Views
User view
Default command level
2: System level
Parameters
bridge-aggregation: Clears statistics for Layer 2 aggregate interfaces.
route-aggregation: Clears statistics for Layer 3 aggregate interfaces.
interface-number: Specifies an aggregate interface by its number in the range of 1 to 1024 for Layer 2
aggregate interfaces and 1 to 16 for Layer 3 aggregate interfaces.
Usage guidelines
Before collecting statistics for a Layer 2 aggregate interface within a specific period, clear the existing
statistics of the interface.
If no keyword or argument is specified, the command clears the statistics of all interfaces in the
system.
If only the bridge-aggregation or route-aggregation keyword is specified, the command clears the
statistics of all Layer 2 or Layer 3 aggregate interfaces.
If the bridge-aggregation interface-number or route-aggregation interface-number option is
specified, the command clears the statistics of the specified Layer 2 or Layer 3 aggregate interface.
The bridge-aggregation or route-aggregation keyword becomes available only after you create
Layer 2 or Layer 3 aggregate interfaces on the device.
The following matrix shows the argument and router compatibility:
Command Argument
MSR
900
MSR
93
X
MSR20
-1
X
MSR
20
MSR30 MSR50
MSR10
00
reset counters
interface
bridge-aggregation
interface-number
No Yes No No
Yes.
Value
range:
1 to
1024.
Yes.
Value
range:
1 to
1024.
Yes.
Value
range:
1 to
1024.
Examples
# Clear the statistics of Layer 2 aggregate interface Bridge-Aggregation 1.