Dell Networking OS9 如何建立連接埠通道
Summary: 如何在 Dell Networking OS9 和舊版 Force10 交換器上建立連接埠通道連結聚合群組 (LAG)
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Instructions
本文探討建立新連接埠通道或連結聚合群組 (LAG),並在執行 OS9 的 Dell Networking 交換器上允許多個 VLAN 的程序。此範例使用連結聚合控制通訊協定 (LACP)。
目錄
LACP 連接埠通道的介面組態
首先,從埠中刪除當前配置,然後添加新的埠通道。如需靜態連接埠通道的詳細資訊,請參閱 Dell Networking 功能:如何在 OS9 FTOS 上設定 VLAN 並將連接埠與 VLAN 相關聯。
若為韌體 9.9 或更新版本:
| 命令 | 參數 |
FTOS> enable |
進入啟用模式。 |
FTOS# configure |
進入組態模式 |
FTOS(conf)# default interface te 0/10 |
移除所有介面組態 |
FTOS(conf)# default interface te 0/11 |
移除所有介面組態 |
FTOS(conf)# interface range te 0/10-0/11 |
選擇要用於埠通道的埠範圍。 |
FTOS(conf-if-range-te-0/10-11)# no shutdown |
啟用連接埠 |
FTOS(conf-if-range-te-0/10-11)# port-channel-protocol lacp |
進入介面範圍的 LACP 組態模式 |
FTOS(conf-if-range-te-0/10-11-lacp)# port-channel 5 mode active |
新增連接埠通道 5,使用「active」指定 LACP |
FTOS(conf-if-range-te-0/10-11-lacp)# end |
離開組態模式 |
命令:
default interface te 0/10
將清除埠配置,包括埠上的 VLAN 配置,而必須手動刪除每個設置。需要韌體 9.9 或更新版本才能使用此命令。
若為韌體 9.8 及更舊版本:
| 命令 | 參數 |
FTOS> enable |
進入啟用模式。 |
FTOS# configure |
進入組態模式 |
FTOS(conf)# interface range te 0/10-0/11 |
選取將用於連接埠通道的連接埠範圍。 |
FTOS(conf-if-range-te-0/10-11)# no portmode hybrid |
如有需要,請移除目前的組態 |
FTOS(conf-if-range-te-0/10-11)# no switchport |
如有需要,請移除目前的組態 |
FTOS(conf-if-range-te-0/10-11)# port-channel-protocol lacp |
進入介面範圍的 LACP 組態模式 |
FTOS(conf-if-range-te-0/10-11-lacp)# port-channel 5 mode active |
新增連接埠通道 5,使用「active」指定 LACP |
FTOS(conf-if-range-te-0/10-11-lacp)# end |
離開組態模式 |
進行上述變更時,連接埠必須為預設組態。如果收到下列錯誤:
Error: Te 0/10 Port is part of a non-default VLAN有必須移除的 VLAN 組態。以下範例顯示如何從連接埠 Te 0/10 移除已標記的 VLAN 2:
FTOS# config FTOS(conf)# Interface VLAN 2 FTOS(conf-if-vl-2)# no tagged te 0/10
從介面中刪除所有非預設 VLAN 後,將不會出現 VLAN 錯誤。
連接埠通道上的混合式交換器連接埠
建議在連接埠通道使用混合式交換器連接埠。如需交換器連接埠的詳細資訊,請參閱 Dell Networking (Dell 網路功能): 如何在 OS9 FTOS 上設定 VLAN 並將連接埠與 VLAN 相關聯。使用混合式交換器連接埠設定新的連接埠通道:FTOS(conf)# interface port-channel 5 FTOS(conf-if-po-5)# portmode hybrid FTOS(conf-if-po-5)# switchport
顯示 LACP 連接埠通道狀態
確認新的連接埠通道是否正常運作。在狀態顯示之前,必須為 LACP LAG 設定連接的裝置。FTOS# show lacp 5 Port-channel 5 admin up, oper up, mode lacp LACP Fast Switch-Over Disabled Actor System ID:Priority 32768, Address 0001.e800.a12b Partner System ID:Priority 32768, Address 0001.e801.45a5 Actor Admin Key 1, Oper Key 1, Partner Oper Key 1 LACP LAG 5 is a normal LAG A - Active LACP, B - Passive LACP, C - Short Timeout, D - Long Timeout E - Aggregatable Link, F - Individual Link, G - IN_SYNC, H - OUT_OF_SYNC I - Collection enabled, J - Collection disabled, K - Distribution enabled L - Distribution disabled, M - Partner Defaulted, N - Partner Non-defaulted, O - Receiver is in expired state, P - Receiver is not in expired state Port Te 0/10 is enabled, LACP is enabled and mode is lacp Actor Admin: State ACEHJLMP Key 1 Priority 128 Oper: State ACEGIKNP Key 1 Priority 128 Partner Admin: State BDFHJLMP Key 0 Priority 0 Oper: State BCEGIKNP Key 1 Priority 128 Port Te 0/11 is enabled, LACP is enabled and mode is lacp Actor Admin: State ACEHJLMP Key 1 Priority 128 Oper: State ACEGIKNP Key 1 Priority 128 Partner Admin: State BDFHJLMP Key 0 Priority 0 Oper: State BCEGIKNP Key 1 Priority 128
注意:如果連接到思科設備時出現意外行為,請檢查思科設備是否配置為使用被動 LACP 而不是主動 LACP。
連接埠通道 LAG 的 VLAN 組態
若要將未標記的 VLAN 新增至連接埠通道,請輸入下列命令:FTOS(conf)# interface vlan 100 FTOS(conf-if-vl-100)# untagged port-channel 5若要將 802.1Q 標記的 VLAN 新增至連接埠通道,請輸入下列命令:
FTOS(conf)# interface vlan 200 FTOS(conf-if-vl-100)# tagged port-channel 5
如需 VLAN 的詳細資訊,請參閱 Dell Networking:如何在 OS9 FTOS 上設定 VLAN 並將連接埠與 VLAN 相關聯。
注意:執行以下命令以儲存變更:
copy running-configuration startup-configuration或
write完成後。
設定 LACP 長逾時 (選用)
注意:協議數據單元 (PDU) 在埠通道 (LAG) 介面之間交換,以維護 LACP 工作階段。PDU 以慢速或快速傳輸速率傳輸,具體取決於 LACP 超時值。超時值是 LAG 介面在關閉 LACP 工作階段之前等待遠端系統 PDU 的時間量。默認超時值為 1 秒。您可以將預設逾時值設定為 30 秒。如果遠端系統已啟動,但由於系統中斷而暫時無法傳輸 PDU,則調用較長的超時可能會阻止 LAG 變動。
LACP 長逾時組態範例:
Dell(conf)# interface port-channel 32 Dell(conf-if-po-32)# no shutdown Dell(conf-if-po-32)# switchport Dell(conf-if-po-32)# lacp long-timeout Dell(conf-if-po-32)# end
Affected Products
OS9, Force10 S25N-S50N, Force10 S25-01-GE-24P, Force10 S25-01-GE-24T, Force10 S25-01-GE-24V, Force10 S50-01-GE-48T-V, Force10 S50-01-GE-48T, PowerSwitch S3048-ON, PowerSwitch S4048-ON, PowerSwitch S4810P, PowerSwitch S4810-ON, PowerSwitch S4820T
, PowerSwitch S5000, Force10 S50P, Force10 S55T, Force10 S60-44T, PowerSwitch S6000, PowerSwitch S6000 ON, Force10 Z9000, Dell Networking Z9500, Dell Networking S3100 Series, PowerSwitch S4048T-ON, PowerSwitch S6010-ON, PowerSwitch S6100-ON, PowerSwitch Z9100-ON
...
Article Properties
Article Number: 000106935
Article Type: How To
Last Modified: 27 Feb 2024
Version: 4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.