Dell Technologies Networking OS10:如何設定埠通道。
Summary: Dell Technologies Networking OS10:如何設定埠通道。
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
注意:埠通道可為靜態或動態。
- 靜態埠通道為靜態設定。若要設定靜態,請使用模式「ON」。
- 動態埠通道是使用連結匯總控制通訊協定 (LACP) 動態設定。動態埠通道可為主動式或被動式。
- Mode = Active 會將介面設定為使用中交涉狀態與 LACP。處於作用中模式的埠可將埠通道設定為使用中或被動中的另一個埠
- Mode = 被動 設定處於非作用中協商狀態的介面,但在連結上執行 LACP。被動模式連結會回應主動式協商要求,但不會設定與另一個被動模式埠的連結。
埠通道拓撲
圖 1:拓撲範例
先決條件:
- 1 號和 2 號交換器在埠 1/1/33 和 1/1/34 之間有連結 (圖 1)。
指示
在兩個交換器之間設定埠通道的指示
- 使用 S 系列交換器 #1 和 #2 的主控台或管理 IP 開啟 CLI。
- 以預設系統管理員認證 (OS10 user=admin、password=admin) 身分登入許可權 exec 模式。
- 若要修改交換器 #1 上的交換器組態,請執行
configure terminal命令以進入通用群組態模式,然後按 Enter鍵。
OS10# configure terminal OS10(config)#
- 若要建立埠通道 1,請輸入命令
interface port channel 1:
OS10(config)# interface port-channel 1 OS10(conf-if-po-1)#
- 若要結束介面模式,請使用
exit:
OS10(conf-if-po-1)# exit OS10(config)#
- 設定埠通道中的介面與
interface range Ethernet 1/1/33-1/1/34:
OS10(config)# interface range ethernet 1/1/33-1/1/34 OS10(conf-range-eth1/1/33-1/1/1/34)#
- 使用作用中的 LACP 設定要新增至埠通道 1 的乙太網路埠
channel-group 1 mode active:
OS10(conf-range-eth1/1/33-1/1/1/34)# channel-group 1 mode active OS10(conf-range-eth1/1/33-1/1/1/34)#
- 使用命令將介面和組態退出至 exec 模式
end:
OS10(conf-range-eth1/1/33-1/1/1/34)# end OS10#
- 在交換器 2 上,重複交換器 1 的步驟。
- 使用命令確認介面上所做的組態變更
show interface port channel summary:
OS10# show interface port-channel summary LAG Mode Status Uptime Ports 1 L2 up 00:00:30 Eth 1/1/33 (Up) Eth 1/1/34 (Up) OS10#
- 顯示介面埠通道的詳細資訊與
show interface port channel 1命令:
OS10# show interface port-channel 1 Port-channel 1 is up, line protocol is up Address is 0c:d3:b9:6e:00:51, Current address is 0c:d3:b9:6e:00:51 Interface index is 125 Internet address is not set Mode of IPv4 Address Assignment: not set Interface IPv6 oper status: Disabled MTU 1532 bytes, IP MTU 1500 bytes LineSpeed 50G Minimum number of links to bring Port-channel up is 1 Maximum active members that are allowed in the portchannel is 32 Members in this channel: Eth 1/1/33-1/1/34 …
- 使用命令確認介面上所做的組態變更
show running-configuration interface Ethernet 1/1/33:
OS10# show running-configuration interface ethernet 1/1/33 ! interface ethernet1/1/33 no shutdown channel-group 1 mode active no switchport flowcontrol receive off OS10#
- 使用命令確認埠通道組態
show running-configuration interface port channel 1:
OS10# show running-configuration interface port-channel 1 ! interface port-channel1 no shutdown switchport access vlan 1 OS10# Switch #1 show interface port-channel summary Switch #2 show interface port-channel summary
- 若要儲存組態變更,請使用命令
write memory。
OS10# write memory OS10#
如需進一步協助,請參閱《Dell Technologies SmartFabric OS10 使用者指南》版本檔 ,或聯絡 Dell Technologies 技術支援部門。
Affected Products
Networking, PowerSwitch S3048-ON, PowerSwitch S4048-ON, Dell EMC PowerSwitch N3000E-ON Series, PowerSwitch S4048T-ON, PowerSwitch S4112F-ON/S4112T-ON, PowerSwitch S4128F-ON/S4128T-ON, PowerSwitch S4148F-ON/S4148T-ON/S4148FE-ON, PowerSwitch S4148U-ON
, PowerSwitch S4248FB-ON /S4248FBL-ON
...
Products
PowerSwitch S5048F-ON, PowerSwitch S5148F-ON, PowerSwitch S5212F-ON, PowerSwitch S5224F-ON, PowerSwitch S5232F-ON, PowerSwitch S5248F-ON, PowerSwitch S5296F-ON, PowerSwitch S5448F-ON, SmartFabric OS10 SoftwareArticle Properties
Article Number: 000204226
Article Type: How To
Last Modified: 30 Nov 2023
Version: 3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.