One of our Linux hosts has started switching its gears recently. While checking the interface speed, I could see that the interface has switched down to 10Mbps. The NIC and Switch are capable of 1G and auto negotiation is enabled at both sides. I would like to debug the root cause of the issue. We are planning to perform the below mentioned actions.
- Perform the cable test to check/replace the Cat6 cable.
- Double check on the switch configurations. (Link capability and L1 Advertisements coming out of Switch)
Given that tcpdump works from L2 and up there is no point in getting the tcpdump . Do you guys have any other pointers? Perhaps, syslog/dmseg ?
I have already tried to capture the L1 advertisements but the command is not supported. The switch platform we are using is Cisco 5596.
We generally use the command
show controllers <interface> | include Autoneg Lnk Ptr abty to decode the fast link pulse messages but that is not supported in the 5596 switch. We have already confirmed that both NIC (via ethtool) and switch will support 10, 100 and 1G.
How do you approach issues and collect stats on issues at L1/Phy layer (especially link speed switching down from 1G to 10M)?