# Create an aggregation group 1 (select one of the following two methods based on the actual situation ).
L static aggregation mode: Create L2 aggregation interface 1
<Switcha> system-View
[Switcha] interface bridge-aggregation 1
[SwitchA-Bridge-Aggregation1] Quit
L adopt the dynamic aggregation mode: Create a L2 aggregation interface and configure the dynamic aggregation Mode
<Switcha> system-View
[Switcha] interface bridge-aggregation 1
[SwitchA-Bridge-Aggregation1] link-aggregation modedynamic
# Add the Ethernet ports gigabitethernet1/0/1 to gigabitethernet1/0/3 to Group 1.
[Switcha] interface gigabitethernet 1/0/1
[SwitchA-GigabitEthernet1/0/1] Port Link-aggregationgroup 1
[SwitchA-GigabitEthernet1/0/1] interfacegigabitethernet 1/0/2
[SwitchA-GigabitEthernet1/0/2] Port Link-aggregationgroup 1
[SwitchA-GigabitEthernet1/0/2] interfacegigabitethernet 1/0/3
[SwitchA-GigabitEthernet1/0/3] Port Link-aggregationgroup 1
[SwitchA-GigabitEthernet1/0/3] Quit
# Configure the VLAN to which L2 aggregation interface 1 belongs, and batch route the configuration to each member port.
[Switcha] interface bridge-aggregation 1
[SwitchA-Bridge-Aggregation1] port access VLAN 20
[SwitchA-Bridge-Aggregation1] Quit
# Display configuration information.
L link aggregation configuration information in static aggregation Mode
[Switcha] display link-aggregation verbose
Loadsharing type: shar -- loadsharing, nons -- Non-loadsharing
Port Status: s -- selected, u -- unselected
Flags: A -- lacp_activity, B -- lacp_timeout, c -- aggregation,
D -- synchronization, e -- collecting, f -- distributing,
G -- defaulted, h -- expired
Aggregation interface: Bridge-Aggregation1
Aggregation mode: static
Loadsharing type: Shar
Port Status slave-Key
--------------------------------------------------------------------------------
Ge1/0/41 S 1
Ge1/0/41 S 1
Ge1/0/41 S 1
Result Description: The member ports added to the static aggregation group on the local end are all in the selected state, regardless of whether the peer port is in the selected state.
L link aggregation configuration information in dynamic aggregation Mode
[Switcha] display link-aggregation verbose
Loadsharing type: shar -- loadsharing, nons -- Non-loadsharing
Port Status: s -- selected, u -- unselected
Flags: A -- lacp_activity, B -- lacp_timeout, c -- aggregation,
D -- synchronization, e -- collecting, f -- distributing,
G -- defaulted, h -- expired
Aggregation interface: Bridge-Aggregation1
Aggregation mode: Dynamic
Loadsharing type: Shar
System ID: 0x8000,000 f-e234-5678
Local:
Port Status priority duplicate-Key flag
--------------------------------------------------------------------------------
Ge1/0/1 s 32768 1 {ACDEF}
Ge1/0/2 s 32768 1 {ACDEF}
Ge1/0/3 s 32768 1 {ACDEF}
Remote:
Actor partnerpriority Authentication-key systemid flag
--------------------------------------------------------------------------------
Ge1/0/1 17 32768 1 0x8000,000 0-fc00-6504 {ACDEF}
Ge1/0/41 18 0/2 1 0x32768 0-fc00-6504 {ACDEF}
Ge1/0/41 19 0/3 1 0x32768 0-fc00-6504 {ACDEF}
This article is from the "Liu Nian" blog, please be sure to keep this source http://timefiles.blog.51cto.com/8475652/1536385