浪潮 X540-AT2 万兆网卡链接速率只能到100Mbps


Go to solution Solved by zhiwen,

Recommended Posts

这种情况应该是网卡自动协商的速率不对,建议尝试使用命令设置网口速率到万兆,有效果的话把命令写到 /boot/config/go 里开机时执行

/usr/sbin/ethtool -s eth3 speed 10000 duplex full autoneg on && /sbin/ifconfig eth3 down && /sbin/ifconfig eth3 up

 

Edited by zhiwen
  • Like 2
Link to comment
5 minutes ago, zhiwen said:

这种情况应该是网卡自动协商的速率不对,建议尝试使用命令设置网口速率到万兆,有效果的话把命令写到 /boot/config/go 里开机时执行

/usr/sbin/ethtool -s eth2 speed 2500 duplex full autoneg on && /sbin/ifconfig eth2 down && /sbin/ifconfig eth2 up

 

感谢 , 但是尝试改为我的网卡 eth3\4后还是无法协商到万兆

Link to comment
33 minutes ago, zhiwen said:

试试 autoneg off,看看 ethtool eth3

Settings for eth3:
        Supported ports: [ TP ]
        Supported link modes:   100baseT/Full
                                1000baseT/Full
                                10000baseT/Full
        Supported pause frame use: Symmetric
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  100baseT/Full
                                1000baseT/Full
                                10000baseT/Full
        Advertised pause frame use: Symmetric
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Speed: 100Mb/s
        Duplex: Full
        Auto-negotiation: on
        Port: Twisted Pair
        PHYAD: 0
        Transceiver: internal
        MDI-X: Unknown
        Supports Wake-on: umbg
        Wake-on: g
        Current message level: 0x00000007 (7)
                               drv probe link
        Link detected: yes

Link to comment
  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.