下属站点的网络有时出现断网,主要原因是链路可能被破坏,为了增加网络的稳定性,新增一条链路,现在需要将两条链路聚合到一起,形成双路备用,也就是链路聚合。
今天在两台H3C S5500上做了试验,成功了,切断一条链路不影响网络的运行。
两台交换机配置一样,都是将46和48端口作为Trunk口。
配置如下:
[Test1]interface Bridge-Aggregation 1
[Test1-Bridge-Aggregation1]port link-type trunk
[Test1-Bridge-Aggregation1]port trunk permit vlan all
[Test1-Bridge-Aggregation1]link-aggregation mode dynamic
......
具体加入端口(链路)
[Test1]interface GigabitEthernet 1/0/46
[Test1]port link-type trunk
[Test1]port trunk permit vlan all
[Test1]port link-aggregation group 1
......
[Test1]interface GigabitEthernet 1/0/48
[Test1]port link-type trunk
[Test1]port trunk permit vlan all
[Test1]port link-aggregation group 1
另外一台同样处理,运行,成功。
[Test1]dis 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, 7425-8adc-d769
Local:
Port Status Priority Oper-Key Flag
--------------------------------------------------------------------------------
GE1/0/46 S 32768 1 {ACDEF}
GE1/0/48 S 32768 1 {ACDEF}
Remote:
Actor Partner Priority Oper-Key SystemID Flag
--------------------------------------------------------------------------------
GE1/0/46 46 32768 1 0x8000, 7425-8adc-d611 {ACDEF}
GE1/0/48 48 32768 1 0x8000, 7425-8adc-d611 {ACDEF}
1、优先级没有配置,使用的是缺省值;
2、先配置聚合组,修改属性后再加入端口;
3、端口的配置保持一致。
4、先做好配置再连线,或者老设备先不断网,配置好再连另外的一根线(也可以是三根);
5、这个只是简单试验,后续完善后配置到实际的交换机中。