tldr/pages/linux/ethtool.md

29 lines
755 B
Markdown
Raw Normal View History

2019-10-31 23:33:56 +00:00
# ethtool
> Display and modify Network Interface Controller (NIC) parameters.
> More information: <http://man7.org/linux/man-pages/man8/ethtool.8.html>.
2021-02-24 16:30:45 +00:00
- Display the current settings for an interface:
`ethtool {{eth0}}`
- Display the driver information for an interface:
`ethtool --driver {{eth0}}`
- Display all supported features for an interface:
`ethtool --show-features {{eth0}}`
2021-02-24 16:30:45 +00:00
- Display the network usage statistics for an interface:
`ethtool --statistics {{eth0}}`
- Blink one or more LEDs on an interface for 10 seconds:
`ethtool --identify {{eth0}} {{10}}`
- Set the link speed, duplex mode, and parameter auto-negotiation for a given interface:
2019-10-31 23:33:56 +00:00
`ethtool -s {{eth0}} speed {{10|100|1000}} duplex {{half|full}} autoneg {{on|off}}`