On this page you find all important commands for the CLI tool ethtool. If the
command you are looking for is missing please ask our AI.
ethtool
Ethtool is a command-line tool used in Linux-based operating systems to query and control network interface settings. It allows users to gather information about their network interfaces and make adjustments to optimize performance.
- Ethtool provides detailed information about the network interface, including its speed, duplex mode, link status, and driver details.
- It can display statistics such as packet errors, collision counts, and link quality for troubleshooting network issues.
- The command "ethtool -i
" shows detailed driver information. - Users can use ethtool to set the speed, duplex mode, auto-negotiation, and wake-on-LAN (WoL) settings of the network interface.
- The "ethtool -s
" command is used to set specific parameters. - It supports various interface types, including Ethernet, Fast Ethernet, Gigabit Ethernet, and 10 Gigabit Ethernet.
- Network bonding and teaming can also be managed using ethtool.
- Ethtool can be used to enable or disable certain features like hardware offloading.
- It offers advanced features like changing the ring buffer sizes of the network interface to optimize packet handling.
- Ethtool is a powerful tool for network administrators, enabling them to efficiently monitor and control network interfaces and troubleshoot network connectivity problems.
List of commands for ethtool:
-
ethtool:tldr:2282b ethtool: Display all supported features for an interface.$ ethtool --show-features ${eth0}try on your machineexplain this command
-
ethtool:tldr:369bb ethtool: Set the link speed, duplex mode, and parameter auto-negotiation for a given interface.$ ethtool -s ${eth0} speed ${select} duplex ${select1} autoneg ${select2}try on your machineexplain this command
-
ethtool:tldr:8074d ethtool: Blink one or more LEDs on an interface for 10 seconds.$ ethtool --identify ${eth0} ${10}try on your machineexplain this command
-
ethtool:tldr:ca661 ethtool: Display the current settings for an interface.$ ethtool ${eth0}try on your machineexplain this command
-
ethtool:tldr:cbb92 ethtool: Display the driver information for an interface.$ ethtool --driver ${eth0}try on your machineexplain this command
-
ethtool:tldr:e3225 ethtool: Display the network usage statistics for an interface.$ ethtool --statistics ${eth0}try on your machineexplain this command