我们有以下网卡配置。来自ethtool,(服务器是RHEL 7.9版本)
ethtool p1p1
Settings for p1p1:
Supported ports: [ FIBRE ]
Supported link modes: 10000baseT/Full
Supported pause frame use: Symmetric
Supports auto-negotiation: No
Supported FEC modes: Not reported
Advertised link modes: 10000baseT/Full
Advertised pause frame use: Symmetric
Advertised auto-negotiation: No
Advertised FEC modes: Not reported
Speed: 10000Mb/s
Duplex: Full
Port: FIBRE
PHYAD: 0
Transceiver: internal
Auto-negotiation: off
Supports Wake-on: d
Wake-on: d
Current message level: 0x00000007 (7)
drv probe link
Link detected: yes
我们尝试通过将以下行添加到ifcfg-p1p1文件并重新启动网络服务来将自动协商设置为yes ,但没有成功。
ETHTOOL_OPTS="speed 10000 duplex full autoneg on"
第二次尝试如下。
ethtool -s p1p1 autoneg on speed 10000 duplex full
Cannot set new settings: Invalid argument
not setting speed
not setting duplex
not setting autoneg
但没有成功
设置自动协商的其他选项是什么:是?
或者这可能与 cisco 交换机相关并且无法从 Linux 端配置?
从输出中可以看出,此 10000baseT 设备不允许自动协商。
它仅以 10Gbps/full 运行。
没有光纤 10Gbps 设备允许自动协商。
从维基百科条目...
It was first defined by the IEEE 802.3ae-2002 standard. Unlike previous Ethernet standards, 10GbE defines only full-duplex point-to-point links which are generally connected by network switches; shared-medium CSMA/CD operation has not been carried over from the previous generations of Ethernet standards[1] so half-duplex operation and repeater hubs do not exist in 10GbE.