linux查询网卡是百兆还是千兆,查看网卡是百兆还是千兆

该楼层疑似违规已被系统折叠 隐藏此楼查看此楼

电鱼电子教你查看网卡是百兆还是千兆

使用ethtool命令

ethtool是Linux下用于查询及设置网卡参数的命令

输入指令如下所示:

root@imx6qdlsolo:~# ethtool eth0

Settings for eth0:

Supported ports: [ TP MII ]

Supported link modes: 10baseT/Half 10baseT/Full

100baseT/Half 100baseT/Full

1000baseT/Full

Supported pause frame use: Symmetric

Supports auto-negotiation: Yes

Advertised link modes: 10baseT/Half 10baseT/Full

100baseT/Half 100baseT/Full

1000baseT/Full

Advertised pause frame use: Symmetric

Advertised auto-negotiation: Yes

Link partner advertised link modes: 10baseT/Half 10baseT/Full

100baseT/Half 100baseT/Full

1000baseT/Full

Link partner advertised pause frame use: Symmetric

Link partner advertised auto-negotiation: Yes

Speed: 1000Mb/s

Duplex: Full

Port

你可能感兴趣的:(linux查询网卡是百兆还是千兆,查看网卡是百兆还是千兆)