對的
二層動态聚合配置舉例
1. 組網需求
·Device A與Device B通過各自的二層以太網接口Ten-GigabitEthernet1/0/1~Ten-GigabitEthernet1/0/3互相連接配接。
·在Device A和Device B上分别配置二層動态鍊路聚合組,并實作裝置間VLAN 10和VLAN 20分别互通。
2. 組網圖
圖1-10 二層動态聚合配置組網圖

3. 配置步驟
(1) 配置Device A
# 建立VLAN 10,并将端口Ten-GigabitEthernet1/0/4加入到該VLAN中。
system-view
[DeviceA] vlan 10
[DeviceA-vlan10] port ten-gigabitethernet 1/0/4
[DeviceA-vlan10] quit
# 建立VLAN 20,并将端口Ten-GigabitEthernet1/0/5加入到該VLAN中。
[DeviceA] vlan 20
[DeviceA-vlan20] port ten-gigabitethernet 1/0/5
[DeviceA-vlan20] quit
# 建立二層聚合接口1,并配置該接口為動态聚合模式。
[DeviceA] interface bridge-aggregation 1
[DeviceA-Bridge-Aggregation1] link-aggregation mode dynamic
[DeviceA-Bridge-Aggregation1] quit
# 分别将端口Ten-GigabitEthernet1/0/1至Ten-GigabitEthernet1/0/3加入到聚合組1中。
[DeviceA] interface ten-gigabitethernet 1/0/1
[DeviceA-Ten-GigabitEthernet1/0/1] port link-aggregation group 1
[DeviceA-Ten-GigabitEthernet1/0/1] quit
[DeviceA] interface ten-gigabitethernet 1/0/2
[DeviceA-Ten-GigabitEthernet1/0/2] port link-aggregation group 1
[DeviceA-Ten-GigabitEthernet1/0/2] quit
[DeviceA] interface ten-gigabitethernet 1/0/3
[DeviceA-Ten-GigabitEthernet1/0/3] port link-aggregation group 1
[DeviceA-Ten-GigabitEthernet1/0/3] quit
# 配置二層聚合接口1為Trunk端口,并允許VLAN 10和20的封包通過。
[DeviceA] interface bridge-aggregation 1
[DeviceA-Bridge-Aggregation1] port link-type trunk
[DeviceA-Bridge-Aggregation1] port trunk permit vlan 10 20
[DeviceA-Bridge-Aggregation1] quit
(2) 配置Device B
Device B的配置與Device A相似,配置過程略。
# 檢視Device A上所有聚合組的詳細資訊。
[DeviceA] display link-aggregation verbose
Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing
Port Status: S -- Selected, U -- Unselected, I -- Individual
Port: A -- Auto port, M -- Management port, R -- Reference port
Flags: A -- LACP_Activity, B -- LACP_Timeout, C -- Aggregation,
D -- Synchronization, E -- Collecting, F -- Distributing,
G -- Defaulted, H -- Expired
Aggregate Interface: Bridge-Aggregation1
Aggregation Mode: Dynamic
Loadsharing Type: NonS
Management VLANs: None
System ID: 0x8000, 000f-e267-6c6a
Local:
Port Status Priority Index Oper-Key Flag
XGE1/0/1(R) S 32768 11 1 {ACDEF}
XGE1/0/2 S 32768 12 1 {ACDEF}
XGE1/0/3 S 32768 13 1 {ACDEF}
Remote:
Actor Priority Index Oper-Key SystemID Flag
XGE1/0/1 32768 81 1 0x8000, 000f-e267-57ad {ACDEF}
XGE1/0/2 32768 82 1 0x8000, 000f-e267-57ad {ACDEF}
XGE1/0/3 32768 83 1 0x8000, 000f-e267-57ad {ACDEF}
以上資訊表明,聚合組1為非負載分擔類型的二層動态聚合組,包含有三個選中端口。