From 4364446e1739763de8845eaa21dbd0bb4a0fa281 Mon Sep 17 00:00:00 2001 From: Adam Herst Date: Wed, 24 Feb 2021 11:30:45 -0500 Subject: [PATCH] ethtool: add examples (#5307) --- pages/linux/ethtool.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/pages/linux/ethtool.md b/pages/linux/ethtool.md index 1f1d146d2e..2396728b87 100644 --- a/pages/linux/ethtool.md +++ b/pages/linux/ethtool.md @@ -3,6 +3,22 @@ > Display and modify Network Interface Controller (NIC) parameters. > More information: . +- Display the current settings for an interface: + +`ethtool {{eth0}}` + +- Display the driver information for an interface: + +`ethtool --driver {{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 autonegotiation for a given interface: `ethtool -s {{eth0}} speed {{10|100|1000}} duplex {{half|full}} autoneg {{on|off}}`