cmdref.net - Cheat Sheet and Example

cmdref.net is command references/cheat sheets/examples for system engineers.

User Tools

Site Tools


Sidebar








Etc


Reference














.

os:linux:command:ethtool.html



Linux Commands#network

ethtool : How to use ethtool command in Linux with examples

ethtool - Display or change ethernet card settings



man ethtool

       -i --driver
              queries the specified ethernet device for associated driver information.

       -k --show-offload
              queries the specified ethernet device for offload information.


Example

# ethtool eth3
Settings for eth3:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  1000baseT/Half 1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x000000ff (255)
        Link detected: yes

driver

queries the specified ethernet device for associated driver information.

# ethtool -i eth3
driver: tg3
version: 3.119
firmware-version: 5715s-v3.28
bus-info: 0000:07:04.1

show-offload

queries the specified ethernet device for offload information.

# ethtool -k eth3
Offload parameters for eth3:
Cannot get device udp large send offload settings: Operation not supported
rx-checksumming: on
tx-checksumming: on
scatter-gather: on
tcp segmentation offload: on
udp fragmentation offload: off
generic segmentation offload: off
generic-receive-offload: off



os/linux/command/ethtool.html.txt ยท Last modified: 2018/02/09 by admin

Page Tools