当前位置:Home-FurnishingsHome

查看linux网卡是否{fǒu}属于千兆

2025-03-28 10:37:05Home-FurnishingsHome

linux下如何看网卡是千兆还是百兆的?使用ethtool命令。ethtool是Linux下用于查询及设置网卡参数的命令。举例:[root@hvrhub ~]# ethtool eth0Setting

linux下如何看网卡是千兆还是百兆的?

使用ethtool命令。

ethtool是Linux下用于查询及设置网卡参(繁体:蔘)数的命令。

举例lì :

[root@hvrhub ~]# ethtool eth0

Settings for eth0:

Supported ports: [ TP MII ]

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

100baseT/Half 100baseT/Full

Supports auto-negotiation: Yes

开云体育

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

澳门新葡京

澳门威尼斯人

Advertised auto-negotiation: Yes

Speed: 100Mb/s ------------------------------------>网卡(kǎ)速度

Duplex: Full

Port: MII

澳门新葡京

Transceiver: internal

澳门新葡京

Supports Wake-on: pumbg

Wake-on: g

Current message level: 0x00000033 (51)

Link detected: yes

极速赛车/北京赛车

详细参数参考:(//后面是注释,澳门伦敦人是原文的译文{wén})

ethtool ethX /

ethtool –h //显示ethtool的命令帮(繁体:幫)助(help)

e极速赛车/北京赛车thtool –i ethX //查询ethX网口{kǒu}的相关信息

ethtool –d ethX //查询ethX网口注[繁体:註]册性信息

澳门伦敦人

ethtool –r ethX //重置ethX网口到自适应模式[读:shì]

ethtool –S ethX //查询ethX网口收发(繁体:發)包统计

ethtool –s ethX [speed 10|100|1000] //设置网口速【拼音:sù】率10/100/1000M

[duplex half|full] //设置网口半/全双工【读:gōng】

[autoneg on|off] //设置网口是否自协(繁:協)商

[port tp|aui|bnc|mii] //设置网口类型(pinyin:xíng)

本文链接:http://10.21taiyang.com/Home-FurnishingsHome/21297589.html
查看linux网卡是否{fǒu}属于千兆转载请注明出处来源