H3C 5560和5110链路聚合

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了H3C 5560和5110链路聚合相关的知识,希望对你有一定的参考价值。




5560和5110链路聚合

注意:最好按照【建立聚合接口-重置物理接口并加入聚合组-在聚合组里做相关配置】的顺序来建立链路聚合,以防出现问题。

我发现这个二层链路聚合和三层链路聚合不同:三层聚合端口 物理端口下只有加入聚合组的配置,而二层聚合组还有从聚合口那复制出来的配置。比如trunk。这也是我之前配置不成功的原因。其实不按顺序也行,只要每个接口下的配置和按顺序来弄得配置一样就行。




在5560一侧

[HN-PY-Core-HX-S5560-1]interface Bridge-Aggregation 8

[HN-PY-Core-HX-S5560-1-Bridge-Aggregation8]link-aggregation mode dynamic 

[HN-PY-Core-HX-S5560-1-Bridge-Aggregation8]quit


[HN-PY-Core-HX-S5560-1]interface GigabitEthernet 1/0/40

[HN-PY-Core-HX-S5560-1-GigabitEthernet1/0/40]default 

This command will restore the default settings. Continue? [Y/N]:y

[HN-PY-Core-HX-S5560-1-GigabitEthernet1/0/40]port link-aggregation group 8

[HN-PY-Core-HX-S5560-1-GigabitEthernet1/0/40]quit


[HN-PY-Core-HX-S5560-1]interface GigabitEthernet 2/0/40

[HN-PY-Core-HX-S5560-1-GigabitEthernet2/0/40]default 

This command will restore the default settings. Continue? [Y/N]:y

[HN-PY-Core-HX-S5560-1-GigabitEthernet2/0/40]port link-aggregation group 8

[HN-PY-Core-HX-S5560-1-GigabitEthernet2/0/40]quit


[HN-PY-Core-HX-S5560-1]interface Bridge-Aggregation 8

[HN-PY-Core-HX-S5560-1-Bridge-Aggregation8]port link-type trunk 

Configuring GigabitEthernet1/0/40 done.

Configuring GigabitEthernet2/0/40 done.

[HN-PY-Core-HX-S5560-1-Bridge-Aggregation8]port trunk permit vlan 120

Configuring GigabitEthernet1/0/40 done.

Configuring GigabitEthernet2/0/40 done.

[HN-PY-Core-HX-S5560-1-Bridge-Aggregation8]




interface GigabitEthernet1/0/39

 description TO_HN-PY-SJFW-JR-SW_1_G1/0/23

interface GigabitEthernet1/0/40

 description TO_HN-PY-SJFW-JR-SW_2_G1/0/23

interface GigabitEthernet2/0/39

 description TO_HN-PY-SJFW-JR-SW_1_G1/0/24

interface GigabitEthernet2/0/40

 description TO_HN-PY-SJFW-JR-SW_2_G1/0/24



在5110一侧



[HN-PY-SJFW-JR-SW_2]interface Bridge-Aggregation 8

[HN-PY-SJFW-JR-SW_2-Bridge-Aggregation8]link-aggregation mode dynamic 

[HN-PY-SJFW-JR-SW_2-Bridge-Aggregation8]quit


[HN-PY-SJFW-JR-SW_2]interface GigabitEthernet 1/0/23

[HN-PY-SJFW-JR-SW_2-GigabitEthernet1/0/23]port link-aggregation group 8

[HN-PY-SJFW-JR-SW_2-GigabitEthernet1/0/23]quit


[HN-PY-SJFW-JR-SW_2]interface GigabitEthernet 1/0/24

[HN-PY-SJFW-JR-SW_2-GigabitEthernet1/0/24]port link-aggregation group 8

[HN-PY-SJFW-JR-SW_2-GigabitEthernet1/0/24]quit


[HN-PY-SJFW-JR-SW_2]interface Bridge-Aggregation 8

[HN-PY-SJFW-JR-SW_2-Bridge-Aggregation8]description TO_HN-PY-Core-HX-S5560-1_G1/0/40&G2/0/4

[HN-PY-SJFW-JR-SW_2-Bridge-Aggregation8]port link-type trunk 

 Please wait... Done.

 Configuring GigabitEthernet1/0/23... Done.

 Configuring GigabitEthernet1/0/24... Done.

[HN-PY-SJFW-JR-SW_2-Bridge-Aggregation8]port trunk permit vlan 120

 Please wait... Done.

 Configuring GigabitEthernet1/0/23... Done.

 Configuring GigabitEthernet1/0/24... Done.

[HN-PY-SJFW-JR-SW_2-Bridge-Aggregation8]


%Apr 26 21:11:03:358 2000 HN-PY-SJFW-JR-SW_2 LAGG/5/LAGG_ACTIVE: Member port GigabitEthernet1/0/23 of aggregation group BAGG8 becomes ACTIVE.

%Apr 26 21:11:03:525 2000 HN-PY-SJFW-JR-SW_2 IFNET/3/LINK_UPDOWN: Bridge-Aggregation8 link status is UP.

%Apr 26 21:11:03:655 2000 HN-PY-SJFW-JR-SW_2 LAGG/5/LAGG_ACTIVE: Member port GigabitEthernet1/0/24 of aggregation group BAGG8 becomes ACTIVE.

%Apr 26 21:11:03:825 2000 HN-PY-SJFW-JR-SW_2 MSTP/6/MSTP_FORWARDING: Instance 0‘s port Bridge-Aggregation8 has been set to forwarding state.

%Apr 26 21:11:03:995 2000 HN-PY-SJFW-JR-SW_2 MSTP/6/MSTP_DETECTED_TC: Instance 0‘s port Bridge-Aggregation8 detected a topology change.

#Apr 26 21:11:04:165 2000 HN-PY-SJFW-JR-SW_2 MSTP/1/PFWD: 

 Trap 1.3.6.1.4.1.25506.8.35.14.0.1<hh3cPortMstiStateForwarding>: Instance 0‘s Port 0.44433415 has been set to forwarding state!





双方的状态

[HN-PY-Core-HX-S5560-1]dis link-aggregation verbose

interface GigabitEthernet1/0/23

 description TO_HN-PY-Core-HX-S5560-1_G1/0/40

interface GigabitEthernet1/0/24

 description TO_HN-PY-Aggregate Interface: Bridge-Aggregation8

Aggregation Mode: Dynamic

Loadsharing Type: Shar

System ID: 0x8000, 1cab-3413-49e0

Local: 

  Port             Status  Priority Oper-Key  Flag

--------------------------------------------------------------------------------

  GE1/0/40         S       32768    4         {ACDEF}

  GE2/0/40         S       32768    4         {ACDEF}

Remote: 

  Actor            Partner Priority Oper-Key  SystemID               Flag   

--------------------------------------------------------------------------------

  GE1/0/40         23      32768    1         0x8000, 60da-8343-4600 {ACDEF}

  GE2/0/40         24      32768    1         0x8000, 60da-8343-4600 {ACDEF}




<HN-PY-SJFW-JR-SW_2>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-Aggregation8

Aggregation Mode: Dynamic

Loadsharing Type: Shar

System ID: 0x8000, 60da-8343-4600

Local:

  Port             Status  Priority Oper-Key  Flag

--------------------------------------------------------------------------------

  GE1/0/23         S       32768    1         {ACDEF}

  GE1/0/24         S       32768    1         {ACDEF}

Remote:

  Actor            Partner Priority Oper-Key  SystemID               Flag

--------------------------------------------------------------------------------

  GE1/0/23         40      32768    4         0x8000, 1cab-3413-49e0 {ACDEF}

  GE1/0/24         103     32768    4         0x8000, 1cab-3413-49e0 {ACDEF}

<HN-PY-SJFW-JR-SW_2>




本文出自 “雪月工作室” 博客,请务必保留此出处http://xueyue8.blog.51cto.com/4650249/1947899

以上是关于H3C 5560和5110链路聚合的主要内容,如果未能解决你的问题,请参考以下文章

H3C交换机现网下如何配置链路聚合

H3C和CISCO交换机做聚合配置方法教程

H3C和CISCO交换机做聚合配置实例教学

华为-H3C交换机链路聚合配置--link-aggregation

华为-H3C交换机链路聚合配置--link-aggregation

华三的链路聚合配置