Files
cheatsheet-tldr/tldr/linux/ethtool
2024-06-19 00:14:24 +00:00

34 lines
821 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# ethtool
> Display and modify Network Interface Controller (NIC) parameters.
> More information: <http://manned.org/ethtool>.
- 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}}`
- 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:
`ethtool -s {{eth0}} speed {{10|100|1000}} duplex {{half|full}} autoneg {{on|off}}`