当前位置:Scooters

查【拼音:chá】看linux网卡是否属于千兆

2025-03-28 10:11:09Scooters

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

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

使用ethtool命令。

ethtool是Linux下用{pinyin:yòng}于查询及设置网卡参数的命令。

举(繁:舉)例:

[root@hvrhub ~]# ethtool eth0

Settings for eth0:

Supported ports: [ TP MII ]

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

100baseT/Half 100baseT/Full

澳门银河

澳门巴黎人

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

100baseT/Half 100baseT/Full

Advertised auto-negotiation: Yes

Speed: 100Mb/s ------------------------------------>网卡速(pinyin:sù)度

Duplex: Full

澳门金沙

亚博体育

澳门博彩

澳门新葡京

Auto-negotiation: on

澳门伦敦人

Wake-on: g

Current message level: 0x00000033 (51)

Link detected: yes

详细参数参考:(//后面《繁:麪》是注释,是原文的译文)

ethtool ethX /

亚博体育

ethtool –h //显示ethtool的命【拼音:mìng】令帮助(help)

ethtool –i ethX //查询ethX网口的相{拼音:xiāng}关信息

ethtool –d ethX //查[pinyin:chá]询ethX网口注册性信息

ethtool –r ethX //重置ethX网口到自适应模式(pinyin:shì)

ethtool –S ethX //查询ethX网口(读:kǒu)收发包统计

ethtool –s ethX [speed 10|100|1000] //设置网口{kǒu}速率10/100/1000M

[duplex half|full] //设置网口半/全双[shuāng]工

[autoneg on|off] //设置网口是《练:shì》否自协商

幸运飞艇

[port tp|aui|bnc|mii] //设《繁体:設》置网口类型

亚博体育

本文链接:http://10.21taiyang.com/Scooters/21297589.html
查【拼音:chá】看linux网卡是否属于千兆转载请注明出处来源