在 10.5.4.X 版本中,当 LACP 单个端口触发到单个端口时,Dell Networking 会导致其关联的 VLAN MTU 更改为 1532
Summary: 本文介绍 LACP 个别触发导致 LACP 个别端口更改为 1532 的事宜。 因此,LACP 单个成员接口和端口通道中的任何 VLAN 的 MTU 会降低到 1532。本文仅适用于 10.5.4.X 版本。
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
提醒:本文仅适用于 10.5.4.X 版本。我们在 10.5.5.10 和 10.5.6.0 中进行了测试,没有看到该行为。
索引
介绍在 10.5.4.x 版本中触发 LACP 时 MTU 会受到怎样的影响。
例
案例 1:当端口通道正常运行时。成员接口和 VLAN MTU 的 MTU 保持不变。
情况 2:当端口通道和成员接口关闭时。成员接口和 VLAN MTU 的 MTU 保持不变。
案例 3:当端口通道和成员接口正常运行并且触发了 LACP 单独端口时。成员接口和 VLAN 的 MTU MTU 更改为 1532
触发 LACP 单独端口时 MTU 对成员接口和 Vlan 的影响比较。
解决方法
简介
什么是 LACP Individual?
未接收 LACP PDU 的 LACP LAG 成员将设置为非活动状态。但是,在某些部署中,必须隔离处于非活动状态的 LAG 成员,以便可以将它们视为单独的单个端口。个别端口不是 LAG 的一部分。正常的网络流量流经这些单独的端口。此功能的目标是使各个端口可用于正常流量流,即使它们仍为父 LAG 的非活动成员。
例如,假设端口通道 1 具有成员接口以太网 1/1/1。我们来比较一下在触发 LACP 单独端口的情况下端口通道正常运行和端口通道关闭的成员。
| 当端口通道启动时 | 当端口通道关闭且成员端口以太网 1/1/1 启动时 |
|---|---|
OS10# show port-channel summary
Flags: D - Down I - member up but inactive P - member up and active
U - Up (port-channel) F - Fallback Activated IND - LACP Individual
--------------------------------------------------------------------------------
Group Port-Channel Type Protocol Member Ports
--------------------------------------------------------------------------------
1 port-channel1 (U) Eth DYNAMIC 1/1/1(P) |
OS10# show port-channel summary
Flags: D - Down I - member up but inactive P - member up and active
U - Up (port-channel) F - Fallback Activated IND - LACP Individual
--------------------------------------------------------------------------------
Group Port-Channel Type Protocol Member Ports
--------------------------------------------------------------------------------
1 port-channel1 (D) Eth DYNAMIC 1/1/1(IND) |
OS10# show vlan
Codes: * - Default VLAN, M - Management VLAN, R - Remote Port Mirroring VLANs,
@ - Attached to Virtual Network, P - Primary, C - Community, I - Isolated,
S - VLAN-Stack VLAN
Q: A - Access (Untagged), T - Tagged
NUM Status Description Q Ports
* 1 Active A Eth1/1/2-1/1/56
A Po1
2 Active T Po1 |
OS10# show vlan
Codes: * - Default VLAN, M - Management VLAN, R - Remote Port Mirroring VLANs,
@ - Attached to Virtual Network, P - Primary, C - Community, I - Isolated,
S - VLAN-Stack VLAN
Q: A - Access (Untagged), T - Tagged
NUM Status Description Q Ports
* 1 Active A Eth1/1/1-1/1/56
A Po1
2 Active T Eth1/1/1
T Po1 |
触发 LACP 单个端口时,单个端口以太网 1/1/1 成为 VLAN 的独立部分,如上面的输出所示(突出显示)。当端口通道启动时,其成员端口是端口通道的一部分,因此我们不会在 show vlan 输出中单独看到它。
提醒:10.5.4.4 及更高版本的默认 MTU 为 9216。在 10.5.4.3 和之前的版本上,默认 MTU 为 1532。
在 10.5.4.x 版本中触发 LACP 单独接口时,LACP 单独接口和关联的 VLAN MTU 会受到怎样的影响
当 LACP 单个接口由端口通道关闭情况触发时,在 10.5.4.X 版本中会发生以下情况:
- LACP 单个接口开始转发流量。它充当独立端口,没有 LACP,端口通道的 vlan 配置相同。
- 在 10.5.4.X 上触发 LACP 单个接口时,单个接口 MTU 降至 1532。
- 这反过来又会将端口通道的所有关联 VLAN 的 MTU 降低到 1532。
提醒:在 10.5.4.x 版本中,只有关闭和触发 LACP 单个端口通道的特定端口通道中允许的 VLAN 才会受到此行为的影响。交换机中其他 VLAN 的 MTU 不会更改为 1532。
让我们通过一个例子详细解释这种行为。
假设我们有一个端口通道 1,成员端口以太网 1/1/1。我们配置了 LACP 单独配置。我们有默认 MTU 9216。接口保留默认 MTU 配置。
OS10# show running-configuration interface port-channel 1
!
interface port-channel1
no shutdown
switchport mode trunk
switchport access vlan 1
switchport trunk allowed vlan 2
lacp individual |
OS10# show running-configuration interface ethernet 1/1/1 ! interface ethernet1/1/1 no shutdown channel-group 1 mode active no switchport |
OS10# show running-configuration interface vlan 1 interface vlan1 no shutdown OS10# show running-configuration interface vlan 2 interface vlan2 no shutdown |
OS10# show default mtu
Default MTU 9216 bytes |
案例 1:当端口通道正常运行时。成员接口和 VLAN MTU 的 MTU 保持不变。
在这里,端口通道和成员接口已启动。未触发 LACP Individual。成员接口和 VLAN MTU 的 MTU 保持不变。
OS10# show port-channel summary
Flags: D - Down I - member up but inactive P - member up and active
U - Up (port-channel) F - Fallback Activated IND - LACP Individual
--------------------------------------------------------------------------------
Group Port-Channel Type Protocol Member Ports
--------------------------------------------------------------------------------
1 port-channel1 (U) Eth DYNAMIC 1/1/1(P) |
我们可以看到成员接口的 MTU,Vlan MTU 与默认 MTU 相同。(为简洁起见,对输出进行了调整)
OS10# show default mtu
Default MTU 9216 bytes |
OS10# show interface port-channel 1
Port-channel 1 is up, line protocol is up
MTU 9216 bytes, IP MTU 9184 bytes |
OS10# show interface ethernet 1/1/1
Ethernet 1/1/1 is up, line protocol is up
MTU 9216 bytes, IP MTU 9184 bytes |
OS10# show interface vlan 1
Vlan 1 is up, line protocol is up
MTU 9216 bytes, IP MTU 9184 bytes |
OS10# show interface vlan 2
Vlan 2 is up, line protocol is up
MTU 9216 bytes, IP MTU 9184 bytes |
情况 2:当端口通道和成员接口关闭时。未触发 LACP Individual。成员接口和 VLAN MTU 的 MTU 保持不变。
在这里,端口通道和成员接口已关闭。未触发 LACP Individual。成员接口和 VLAN MTU 的 MTU 保持不变。
OS10# show port-channel summary Flags: D - Down I - member up but inactive P - member up and active U - Up (port-channel) F - Fallback Activated IND - LACP Individual -------------------------------------------------------------------------------- Group Port-Channel Type Protocol Member Ports -------------------------------------------------------------------------------- 1 port-channel1 (D) Eth DYNAMIC 1/1/1(D) |
我们可以看到成员接口的 MTU,Vlan MTU 与默认 MTU 相同。(为简洁起见,对输出进行了调整)
OS10# show default mtu
Default MTU 9216 bytes |
OS10# show interface port-channel 1
Port-channel 1 is up, line protocol is down
MTU 9216 bytes, IP MTU 9184 bytes |
OS10# show interface ethernet 1/1/1
Ethernet 1/1/1 is up, line protocol is down
MTU 9216 bytes, IP MTU 9184 bytes |
OS10# show interface vlan 1
Vlan 1 is up, line protocol is down
MTU 9216 bytes, IP MTU 9184 bytes |
OS10# show interface vlan 2
Vlan 2 is up, line protocol is down
MTU 9216 bytes, IP MTU 9184 bytes |
案例 3:当端口通道和成员接口启动并且触发了 LACP 单独端口时。成员接口的 MTU 和 MTU 更改
在这里,端口通道已关闭。成员接口以太网 1/1/1 已启动。因此,将触发 LACP Individual。成员接口和 VLAN MTU 的 MTU 降低到 1532。
OS10# show port-channel summary
Flags: D - Down I - member up but inactive P - member up and active
U - Up (port-channel) F - Fallback Activated IND - LACP Individual
--------------------------------------------------------------------------------
Group Port-Channel Type Protocol Member Ports
--------------------------------------------------------------------------------
1 port-channel1 (D) Eth DYNAMIC 1/1/1(IND)
|
我们可以看到成员接口的 MTU,Vlan MTU 已更改为 1532(以红色突出显示)。默认 MTU 和端口通道 MTU 为 9216。(为简洁起见,对输出进行了调整)
OS10# show default mtu
Default MTU 9216 bytes |
OS10# show interface port-channel 1
Port-channel 1 is up, line protocol is down
MTU 9216 bytes, IP MTU 9184 bytes
|
OS10# show interface ethernet 1/1/1
Ethernet 1/1/1 is up, line protocol is up
MTU 1532 bytes, IP MTU 1500 bytes |
OS10# show interface vlan 1
Vlan 1 is up, line protocol is up
MTU 1532 bytes, IP MTU 1500 bytes |
OS10# show interface vlan 2
Vlan 2 is up, line protocol is up
MTU 1532 bytes, IP MTU 1500 bytes |
触发 LACP 单独端口时 MTU 对成员接口和 Vlan 的影响比较。
| 端口通道和接口已开启 | 端口通道和接口关闭(未触发 LACP 单独端口) | 端口通道关闭,成员接口打开。已触发 LACP Individual | |
|---|---|---|---|
| 默认 MTU | 9216 | 9216 | 9216 |
| 端口通道 MTU | 9216 | 9216 | 9216 |
| LACP 独立接口 MTU | 9216 | 9216 | 1532 |
| 端口通道中允许的 VLAN MTU | 9216 | 9216 | 1532 |
解决方法
要解决此问题,我们可以在端口通道接口上手动配置 MTU。VLAN 成员资格和 MTU 从父 LAG 继承到各个成员端口。
示例配置
OS10# configure terminal OS10(config)# interface port-channel 1 OS10(conf-if-po-1)# mtu 9216 OS10(conf-if-po-1)# end |
在 PortChannel 中手动配置 MTU 后,我们可以看到接口中的 MTU 和 VLAN 在触发 LACP 单独端口后不会更改。
OS10# show port-channel summary
Flags: D - Down I - member up but inactive P - member up and active
U - Up (port-channel) F - Fallback Activated IND - LACP Individual
--------------------------------------------------------------------------------
Group Port-Channel Type Protocol Member Ports
--------------------------------------------------------------------------------
1 port-channel1 (D) Eth DYNAMIC 1/1/1(IND)
|
我们可以看到成员接口的 MTU,Vlan MTU 与默认 MTU 相同。(为简洁起见,对输出进行了调整)
OS10# show default mtu
Default MTU 9216 bytes |
OS10# show interface port-channel 1
Port-channel 1 is up, line protocol is down
MTU 9216 bytes, IP MTU 9184 bytes |
OS10# show interface ethernet 1/1/1
Ethernet 1/1/1 is up, line protocol is up
MTU 9216 bytes, IP MTU 9184 bytes |
OS10# show interface vlan 1
Vlan 1 is up, line protocol is up
MTU 9216 bytes, IP MTU 9184 bytes |
OS10# show interface vlan 2
Vlan 2 is up, line protocol is up
MTU 9216 bytes, IP MTU 9184 bytes |
Affected Products
PowerSwitch S4048-ON, PowerSwitch S4048T-ON, PowerSwitch S4112F-ON/S4112T-ON, PowerSwitch S4128F-ON/S4128T-ON, PowerSwitch S4148F-ON/S4148T-ON/S4148FE-ON, PowerSwitch S4148U-ON, PowerSwitch S5048F-ON, PowerSwitch S5148F-ON, PowerSwitch S5212F-ON
, PowerSwitch S5224F-ON, PowerSwitch S5232F-ON, PowerSwitch S5248F-ON, PowerSwitch S5296F-ON, PowerSwitch S5448F-ON, PowerSwitch Z9100-ON, PowerSwitch Z9264F-ON, PowerSwitch Z9332F-ON, PowerSwitch Z9432F-ON
...
Article Properties
Article Number: 000225833
Article Type: How To
Last Modified: 20 Jun 2024
Version: 4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.