Dell Networking OS9 如何创建端口通道
摘要: 如何在 Dell Networking OS9 和传统 Force10 交换机上创建端口通道链路聚合组 (LAG)
本文适用于
本文不适用于
本文并非针对某种特定的产品。
本文并非包含所有产品版本。
说明
本文讨论了在运行 OS9 的 Dell Networking 交换机上创建新端口通道或链路聚合组 (LAG) 并允许使用多个 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: 如何在 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
提醒:如果连接到 Cisco 设备时出现意外行为,请检查 Cisco 设备是否配置了被动 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
受影响的产品
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
...
文章属性
文章编号: 000106935
文章类型: How To
上次修改时间: 27 2月 2024
版本: 4
从其他戴尔用户那里查找问题的答案
支持服务
检查您的设备是否在支持服务涵盖的范围内。