NX9000 端口通道 Debian 服务器债券问题

NX9000 端口通道  Debian 服务器债券问题

我遇到标题中提到的 NX9000 端口通道配置到 Debian 服务器 Bond 配置的问题。 NX 上的端口通道中配置的 3 个接口中的 2 个(让我们调用 NX1)已挂起(接口上看不到 LACP PDU)。 

为了提供有关设置的想法,我有 2 个 NX9000(我们称它们为 NX1 和 NX2)通过 VPC 对等互连连接,并且连接到服务器的 VPC 已正确配置。在 NX1 到 debian 服务器上,端口通道中的接口如下所示:

NX1# sh int status | i sus
Eth1/3  CDN temp 2 suspended trunk auto auto 10Gbase-SR
Eth2/20 CDN temp 1 suspended trunk auto auto 10Gbase-SR

在 lacp 邻居信息中,我们看到以下内容(我确实注意到有问题的邻居接口处于 SP 模式):

ELSO-TV01# sh lacp neighbor interface port-channel 4
Flags: S - Device is sending Slow LACPDUs F - Device is sending Fast LACPDUs
A - Device is in Active mode P - Device is in Passive mode
port-channel4 neighbors
Partner's information
Partner Partner Partner
Port System ID Port Number Age Flags
Eth1/36 65535,ac-1f-6b-9e-1d-b00x3 203073 FA

LACP Partner Partner Partner
Port Priority Oper Key Port State
255 0xf 0x3f

Partner's information
Partner Partner Partner
Port System ID Port Number Age Flags
Eth1/3 0,0-0-0-0-0-0 0x0 203073 SP

LACP Partner Partner Partner
Port Priority Oper Key Port State
0 0x0 0x0

Partner's information
Partner Partner Partner
Port System ID Port Number Age Flags
Eth2/20 0,0-0-0-0-0-0 0x0 203073 SP

LACP Partner Partner Partner
Port Priority Oper Key Port State
0 0x0 0x0

为了说明所发生的情况,端口通道 4 之前已启动并工作,但意外断电,导致 Debian 服务器短时间离线。启动后,我们仅在这些接口连接到服务器时遇到此问题。

(思科支持人员确认交换机端配置没有问题)。

这是提供商能够发送的内容(以下 6 个接口中有 4 个处于打开状态,两个处于关闭状态的是 enp131s0f1 和 enp2s0f0)。下面给出了绑定中工作接口和非工作接口的配置片段。

DebianServer# ethtool enp131s0f1 (NOT WORKING)
Settings for enp131s0f1:
Supported ports: [ FIBRE ]
Supported link modes: 1000baseT/Full
10000baseT/Full
Supported pause frame use: Symmetric
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 1000baseT/Full
10000baseT/Full
Advertised pause frame use: Symmetric
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Speed: 10000Mb/s
Duplex: Full
Auto-negotiation: on
Port: FIBRE
PHYAD: 0
Transceiver: internal
Supports Wake-on: d
Wake-on: d
Current message level: 0x00000007 (7)
drv probe link
Link detected: yes

DebianServer# ethtool ens2f0 (WORKING INTERFACE)
Settings for ens2f0:
Supported ports: [ FIBRE ]
Supported link modes: 1000baseT/Full
10000baseT/Full
Supported pause frame use: Symmetric
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 1000baseT/Full
10000baseT/Full
Advertised pause frame use: Symmetric
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Speed: 10000Mb/s
Duplex: Full
Auto-negotiation: on
Port: FIBRE
PHYAD: 0
Transceiver: internal
Supports Wake-on: d
Wake-on: d
Current message level: 0x00000007 (7)
drv probe link
Link detected: yes

这是服务器上的绑定文件输出(工作界面示例。注意:此文件中缺少 enp131s0f1 和 enp2s0f0):

Ethernet Channel Bonding Driver: v5.10.0-20-amd64

Bonding Mode: IEEE 802.3ad Dynamic link aggregation
Transmit Hash Policy: layer3+4 (1)
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 200
Down Delay (ms): 200
Peer Notification Delay (ms): 0

802.3ad info
LACP rate: fast
Min links: 0
Aggregator selection policy (ad_select): stable
System priority: 65535
System MAC address: ac:1f:6b:9e:1d:b0
Active Aggregator Info:
Aggregator ID: 1
Number of ports: 4
Actor Key: 15
Partner Key: 32772
Partner Mac Address: 00:23:04:ee:be:0a

Slave Interface: ens2f0
MII Status: up
Speed: 10000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: ac:1f:6b:9e:1d:b0
Slave queue ID: 0
Aggregator ID: 1
Actor Churn State: none
Partner Churn State: none
Actor Churned Count: 0
Partner Churned Count: 0
details actor lacp pdu:
system priority: 65535
system mac address: ac:1f:6b:9e:1d:b0
port key: 15
port priority: 255
port number: 1
port state: 63
details partner lacp pdu:
system priority: 32667
system mac address: 00:23:04:ee:be:0a
oper key: 32772
port priority: 32768
port number: 589
port state: 61

相关内容