82
Parameter
port-priority: Specifies a port aggregation priority, in the range of 0 to 65,535. The smaller the value, the
higher the port aggregation priority.
Example
# Set the aggregation priority of port GigabitEthernet 1/0/1 to 64.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] link-aggregation port-priority 64
port link-aggregation group
Description
Use the port link-aggregation group command to assign the Ethernet interface to the specified
aggregation group.
Use the undo port link-aggregation group command to remove the Ethernet interface from the
aggregation group to which it belongs.
A Layer 2 Ethernet interface can be assigned to a Layer 2 aggregation group only.
An Ethernet interface can belong to only one aggregation group.
Syntax
port link-aggregation group number
undo port link-aggregation group
View
Ethernet interface view
Default level
2: System level
Parameter
number: Specifies the number of the aggregate interface corresponding to an aggregation group. The
number parameter is in the range of 1 to 1024 for a Layer 2 aggregate interface
Example
# 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
Description
Use the reset counters interface command to clear the statistics of the specified aggregate interface or
interfaces.