当前位置:Health-Conditions

查看linux网卡是(读:shì)否属于千兆

2025-03-28 09:41:47Health-Conditions

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

澳门永利

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

使用ethtool命令。

ethtool是Linux下用于查询及设置网{繁体:網}卡参数的命令。

举例{读:lì}:

[root@hvrhub ~]# ethtool eth0

Settings for eth0:

亚博体育

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

100baseT/Half 100baseT/Full

Supports auto-negotiation: Yes

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

100baseT/Half 100baseT/Full

Advertised auto-negotiation: Yes

Speed: 100Mb/s ------------------------------------>网卡速[练:sù]度

澳门银河

澳门巴黎人

Port: MII

娱乐城

PHYAD: 0

Transceiver: internal

Auto-negotiation: on

Supports Wake-on: pumbg

Wake-on: g

澳门新葡京

直播吧

详细参数参考:(//后面是注亚博体育释(繁体:釋),是原文的译文)

ethtool ethX /

ethtool –h //显示ethtool的命(pinyin:mìng)令帮助(help)

ethtool –i ethX //查询(繁体:詢)ethX网口的相关信息

ethtool –d ethX //查询ethX网【繁:網】口注册性信息

ethtool –r ethX //重置ethX网口到自适应【pinyin:yīng】模式

ethtool –S ethX //查询ethX网口收发(fā)包统计

ethtool –s ethX [speed 10|100|1000] //设置网口速率{pinyin:lǜ}10/100/1000M

[duplex half|full] //设置网口半{bàn}/全双工

澳门新葡京

[autoneg on|off] //设《繁体:設》置网口是否自协商

[port tp|aui|bnc|mii] //设{pinyin:shè}置网口类型

本文链接:http://10.21taiyang.com/Health-Conditions/21297589.html
查看linux网卡是(读:shì)否属于千兆转载请注明出处来源