SNLA343A April 2020 – July 2021 DP83825I
Ethernet tool command debug guide
Ethtool important command:
•ethtool -A eth0 autoneg on rx on tx on
Purpose: This command will turn on the RX/TX + auto-negotiation.
•ethtool –a eth0
Purpose: This command will dump the RX/TX/auto-nego Eth0 (for example) status.
•ethtool –S eth0
Purpose: This command will dump the detail Eth0 (for example) status.
•ethtool eth0
Purpose: This command will dump the Eth0 (for example) status roughly.
•ethtool –d eth0
Purpose: This command will dump the Eth0 Registers.
•ethtool –i eth0
Purpose: This command will dump the Eth0 Driver version.
Linux ifconfig command debug guide
•ifconfig
Purpose: This command will dump all the available network interface status.
The important is you can see the TX/RX packets counting.
•ifconfig eth0 up
Purpose: This command will turn on the Eth0 (for example) interface.
•ifconfig eth0 down
Purpose: This command will turn off the Eth0 (for example) interface.