linux 查看网卡是否万兆_linux/centos如何查看网卡是100M还是1000M?

如何不被忽悠?linux/centos如何查看网卡是100M还是1000M?检查100兆还是千兆(1GBPS)带宽接入,请看下面命令

[[email protected]]# mii-tool -V

mii-tool.c 1.9 2000/04/28 00:56:08 (David Hinds)

SIOCGMIIREG on eth0 failed: Input/output error

eth0: negotiated 100baseTx-FD, link ok

[[email protected]]# mii-tool -v

SIOCGMIIREG on eth0 failed: Input/output error

eth0: negotiated 100baseTx-FD, link ok

product info: vendor 00:aa:00, model 57 rev 0

basic mode:   autonegotiation enabled

basic status: autonegotiation complete, link ok

capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD

advertising:  100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control

link partner: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD

[[email protected]]# ethtool eth0

Settings for eth0:

Supported ports: [ TP ]

Supporte

你可能感兴趣的:(linux,查看网卡是否万兆)