R3166-R3206-HP High-End Firewalls High Availability Command Reference-6PW101
86
port link-aggregation group
Syntax
port link-aggregation group number
undo port link-aggregation group
View
Ethernet interface view
Default Level
2: System level
Parameters
number: Number of the aggregate interface corresponding to an aggregation group.
Description
Use the port link-aggregation group command to assign the current Ethernet interface to the specified
aggregation group.
Use the undo port link-aggregation group command to remove the current Ethernet interface from the
aggregation group to which it currently belongs.
Note that:
• A Layer 2 Ethernet interface can be assigned to a Layer 2 aggregation group only, and a Layer 3
Ethernet interface can be assigned to a Layer 3 aggregation group only.
• An Ethernet interface can belong to only one aggregation group.
Examples
# Assign Layer 2 Ethernet interface GigabitEthernet 0/1 to Layer 2 aggregation group 1.
<Sysname> system-view
[Sysname] interface gigabitethernet 0/1
[Sysname-GigabitEthernet0/1] port link-aggregation group 1
# Assign Layer 3 Ethernet interface GigabitEthernet 0/2 to Layer 3 aggregation group 2.
<Sysname> system-view
[Sysname] interface gigabitethernet 0/2
[Sysname-GigabitEthernet0/2] port link-aggregation group 2
reset counters interface
Syntax
reset counters interface [ { bridge-aggregation | route-aggregation } [ interface-number ] ]
View
User view
Default Level
2: System level
Parameters
bridge-aggregation: Clears statistics for Layer 2 aggregate interfaces.