建立 LACP 連結聚合時,所有 Force10 交換器 (I/O 匯總工具除外) 都有兩個傳輸計時器值。此值可決定埠傳送 LAC PDU 的頻率。預設值為每 1 秒傳送一個 LACPDU。您也可以設定它以命令每 30 秒傳送一個 lacp long-timeout
。長期逾時是 Force10 交換器的最佳實務,建議使用。
當 LACPDU 傳輸計時器值不相符時,可能會導致埠間歇性取消群組,進而造成連線問題。下列命令和輸出有助於決定傳送和接收的 LAC PDU 數量。此範例使用 LACP 10。
FTOS#clear lacp 10 counters FTOS#show lacp 10 counters ---------------------------------------------------------------------- LACP PDU Marker PDU Unknown Illegal Port Xmit Recv Xmit Recv Pkts Rx Pkts Rx ---------------------------------------------------------------------- Gi 0/1 4560 152 0 0 0 0 Gi 0/3 4560 152 0 0 0 0
如您所見,Xmit 代表已傳送的 LACP PDU,並從合作夥伴裝置收到 Recv。在這種情況下,Force10 交換器傳送 LACP PDU 的速度比連接裝置快。若要解決此問題,我們執行下列命令以改為每 30 秒傳送 LACP PDU。
FTOS#config FTOS(conf)#interface po 10 FTOS(conf-if-po-10)#lacp long-timeout FTOS(conf-if-po-10)#end FTOS#wr
lacp long-timeout
」。
現在再確認一次時間。
FTOS#clear lacp 10 counters FTOS#show lacp 10 counters ---------------------------------------------------------------------- LACP PDU Marker PDU Unknown Illegal Port Xmit Recv Xmit Recv Pkts Rx Pkts Rx ---------------------------------------------------------------------- Gi 0/1 10 11 0 0 0 0 Gi 0/3 10 11 0 0 0 0
兩個交換器以相同的速度傳送和接收 LACP PDU。請記住,這是 lacp long-timeout
Force10 的最佳實務,建議使用。