LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Network Interface Parameter Check (https://www.linuxquestions.org/questions/linux-networking-3/network-interface-parameter-check-651541/)

lensem 06-25-2008 08:05 AM

Network Interface Parameter Check
 
Is there a command I could use to verify that my Network Interface is set as expected... i.e.: verify the speed, duplex, and autoneg are set to what I expect them to be....

We have had a few cases, where we have the interfaces set at say, 100Mb, Full Duplex, and Autoneg Off and found that the interface was actually running at Half Duplex...

Would like to have a way to run a script to verify the settings and then email me if they are not what is expected...

Thanks

farslayer 06-25-2008 08:39 AM

it-etch:~# mii-tool
eth0: negotiated 100baseTx-FD flow-control, link ok


man mii-tool for more detailed information

If you are forcing an interface to full duplex, you have overridden the auto-negotiation feature. your switch will default that connected port to Half-Duplex.

If you force the duplex setting on the NIC YOU MUST also force the Port on your managed switch to the same setting.


All times are GMT -5. The time now is 02:44 PM.