查看linux系統網卡工作模式、速率等

來源:互聯網
上載者:User

查看linux系統網卡工作模式、速率等 有時候,我們需要看下linux系統網卡工作模式、速率等,比較常用到的命令是mii-tool、ethtool,下面簡單看下即可。  www.2cto.com  查看下eth0網卡資訊[root@cloud ~]# mii-tool -v eth0eth0: negotiated 100baseTx-FD flow-control, link okproduct info: vendor 00:00:20, model 32 rev 1basic mode: autonegotiation enabledbasic status: autonegotiation complete, link okcapabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HDadvertising: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-controllink partner: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control 從上面可以看出eth0 工作 100M全雙工系統自適應模式下[root@cloud ~]# ethtool eth0Settings for eth0:Supported ports: [ TP MII ]Supported link modes: 10baseT/Half 10baseT/Full100baseT/Half 100baseT/FullSupports auto-negotiation: YesAdvertised link modes: 10baseT/Half 10baseT/Full100baseT/Half 100baseT/FullAdvertised pause frame use: Symmetric Receive-onlyAdvertised auto-negotiation: YesLink partner advertised link modes: 10baseT/Half 10baseT/Full100baseT/Half 100baseT/FullLink partner advertised pause frame use: Symmetric Receive-onlyLink partner advertised auto-negotiation: YesSpeed: 100Mb/sDuplex: FullPort: MIIPHYAD: 0Transceiver: internalAuto-negotiation: onSupports Wake-on: pumbgWake-on: gCurrent message level: 0x00000033 (51)Link detected: yes[root@cloud ~]#
 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.