103
Views
Layer 2 Ethernet interface view
Predefined user roles
network-admin
Parameters
group-id: Specifies an aggregation group by its aggregate interface number. The value range for
the
number argument is 1 to 1024.
force: Enables the current interface to synchronize the attribute configurations from the aggregate
interface. If you do not specify this keyword, the current interface does not synchronize attribute
configurations from the aggregate interface when it joins the aggregation group.
Usage guidelines
An interface can belong to only one aggregation group.
The
force keyword takes effect only when you assign the interface to an aggregation group. It
cannot be saved in the running configuration or a configuration file.
Examples
# Assign Layer 2 Ethernet interface GigabitEthernet 1/0/1 to Layer 2 aggregation group 1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] port link-aggregation group 1
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 existing 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 an aggregate interface type, the command clears statistics for all interfaces in
the system.
If you specify only an aggregate interface type, the command clears statistics for all aggregate
interfaces of the specified type.
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.