CentOS下查看网卡速率及网卡驱动版本号

分类:CentOS教程 阅读:73659 次

查看网卡速率:ethtool 网卡名 如ethtool eth0

查看网卡驱动版本号:ethtool -i 网卡名 如ethtool -i eth0

示例:

[root@nt3 ~]# ethtool eth5
Settings for p6p1:
Supported ports: [ FIBRE ]
Supported link modes: 10000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: No
Advertised link modes: 10000baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: No
Speed: 10000Mb/s
Duplex: Full
Port: FIBRE
PHYAD: 0
Transceiver: external
Auto-negotiation: off
Supports Wake-on: d
Wake-on: d
Current message level: 0x00000007 (7)
drv probe link
Link detected: yes


[root@nt3 ~]# ethtool -i eth5
driver: ixgbe
version: 3.21.2
firmware-version: 0x1bab0001
bus-info: 0000:05:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: no