linux下如何看网卡是千兆还是百兆的?使用ethtool命令。ethtool是Linux下用于查询及设置网卡参数的命令。举例:[root@hvrhub ~]# ethtool eth0Setting
linux下如何看网卡是千兆还是百兆的?
使用ethtool命令。ethtool是Linux下用于查询及设置网卡(练:kǎ)参数的命令。
举例{lì}:
[root@hvrhub ~]# ethtool eth0
Settings for eth0:
Supported ports: [ TP MII ]
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Advertised auto-negotiation: Yes
Speed: 100Mb/s ------------------------------------>网卡速度
Duplex: Full
Port: MII
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00000033 (51)
详细参数(繁:數)参考:(//后面是注释,是原文的译文)
ethtool ethX /
et澳门威尼斯人htool –h //显示ethtool的{练:de}命令帮助(help)
ethtool –i ethX //查询ethX网口的相[练:xiāng]关信息
ethtoo澳门博彩l –d ethX //查询ethX网口注{练:zhù}册性信息
ethtool –r ethX //重置ethX网口到(dào)自适应模式
ethtool –S ethX //查询ethX网口收shōu 发包统计
ethtool –s ethX [speed 10|100|1000] //设置网口速sù 率10/100/1000M
[duplex half|full] //设[拼音:shè]置网口半/全双工
[autoneg on|off] //设置网口是否自协(繁体:協)商
[port tp|aui|bnc|mii] //设置网口类{繁体:類}型
本文链接:http://10.21taiyang.com/Biological-SciencesScience/21297589.html
查看linux网【繁:網】卡是否属于千兆转载请注明出处来源