如(rú)圖所示,用(yòng)戶将S5700和(hé)Catalyst₩ λ 3560之間(jiān)綁定了(le)鏈路(lù)聚合,但(dàn)是≥€®(shì)綁定鏈路(lù)聚合不(bù)成功。
S5700關于鏈路(lù)聚合的(de)配置如(rú)下(®&≠xià):
#
interface Eth-Trunk22
port link-type trunk
port trunk allow-pass∑≥α vlan 2 to 4094
mode lacp /$ε§/聚合協議(yì)為(wèi)LACP
#
interface GigabitEthernet ≈0/0/1
eth-trunk 22
#
interface GigabitEth↕π→ernet0/0/2
eth-trunk 22
#
interface GigabitEthernet0/0/₹£≤↔3
eth-trunk 22
#
interface GigabitEthernet0/0/¶→♥4
eth-trunk 22
#
Catalyst 3560關于鏈路(lù)聚合的( ↑§de)配置如(rú)下(xià):
!
interface FastEthernet0/1
channel-protocol pagp &nb&×sp; //聚合協議(yì)為(wèi)PAGP
channel-group 22 mode✔ε← desirable
switchport trunk encapsu↑<lation dot1q
switchport mode trunk
!
interface FastEtherne"§€t0/2
channel-protocol pagp
channel-group 22 mod φ$§e desirable
switchport trunγαk encapsulation dot1q
switchport mode trunk
!
interface FastEtherne"♦≈βt0/3
channel-protocol pagΩ¶p
channel-group 22 mode des$₩σγirable
switchport trunk encaps∞δulation dot1q
switchport mode trunk
!
interface FastEthernet¶φ0/4
channel-protocol pagp
channel-group 22 mode₽✘₹ desirable
switchport trunk encapsulation♦§↔' dot1q
switchport mode trunk
!
S5700使用(yòng)國(guó)際互↔"聯網組織制(zhì)定的(de)共有(yǒu)協議(&βyì)LACP建立鏈路(lù)聚合,且查看(kàn)S5700配置後發現(♦γxiàn)沒有(yǒu)配置方面的(de)錯↔∞(cuò)誤。
而Cisco在鏈路(lù)聚合上(shàng)除LACP協議(yì)外"₽(wài),還(hái)支持其私有(yǒu)的(de)PAGP協議(yì)↓ →ε。在查看(kàn)Catalyst 3560的(de)配置後,發現(xiε<àn)使用(yòng)的(de)是(shì)其私有(yǒu)PAGPδ 協議(yì),而非LACP協議(yì)。因此導緻兩端的ε¥α&(de)鏈路(lù)聚合無法形成。
由兩端配置信息得(de)出結論,該故障并非♥≠™★S5700導緻,而是(shì)對(duì)端設備上(s÷ hàng)配置錯(cuò)誤。
告知(zhī)用(yòng)戶該故障并非↕≥¶←華為(wèi)設備引起,請(qǐng)咨詢Cλisco相(xiàng)關單位尋求解決方案。
客戶将對(duì)端Catalyst 3560使用$πφ(yòng)的(de)PAGP協議(yì)修改成LACP後αφλπ,故障解決。
更改為(wèi)LACP協議(yì)後的(de)Catalyst3560¥♦Ω↔關于Eth-Trunk方面的(de)配置如(π≤σrú)下(xià):
!
interface FastEthernet0/•©1
channel-protocol lacp &nbs♠αp; //聚合協議(yì)為(wèi)LACP模式
channel-group 22 mode ac∑δtive //模式為(wèi)active
switchport trunk e✔γπ→ncapsulation dot1q
switchport mode trunk
!
interface FastEthernetδ↑0/2
channel-protocol lacp  ∞→;
channel-group 22 m✘©€ ode active
switchport tru"™nk encapsulation dot1q
switchport mod¥≈£≠e trunk
!
interface FastEthernet0/3
channel-protocol lacp
channel-group 22 mode active
switchport trunk encaπ✘✔<psulation dot1q
switchport mode trunk
!
interface FastEthernet0/4
channel-protocol lacp
channel-group 22 mode acti±÷±ve
switchport tru→±©≠nk encapsulation dot1q
switchport mode trunk
!
在跨廠(chǎng)商建立對(duì)接時(shíε↕&),一(yī)定要(yào)注意兩端設備各自≠♥•(zì)所使用(yòng)的(de)協議(↔≤<♠yì)。