我们有以下 NIC 配置。来自 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文件并重新启动网络服务,但没有成功。
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
但没有成功
为了设置自动协商,还有哪些其他选项:是?
或者这可能与思科交换机有关并且无法从 Linux 端配置?
答案1
从输出中您可以看到,此 10000baseT 设备不允许自动协商。
它仅以 10Gbps/全速运行。
没有光纤 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.