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 = Passive 将接口设置为非活动协商状态,但 LACP 在链路上运行。被动模式链路响应主动协商请求,但不会设置另一个被动模式端口的链路。
端口通道拓扑
图 1:拓扑示例
前提条件:
- 交换机 #1 和 #2 在端口 1/1/33 和 1/1/34 上存在链路(图 1)。
说明
有关在两台交换机之间设置端口通道的说明
- 使用 S 系列交换机 1 和 2 的控制台或管理 IP 打开 CLI。
- 以默认管理员凭据(OS10 user=admin、password=admin)身份登录特权执行模式。
- 要修改交换机 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)#
- 使用 命令将接口和配置退出回执行模式
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.