This is baking my noodle so I'm going to lay out a bunch of context in hopes someone can help me identify the (probably-trivial) problem before I lose the remainder of my hairline. 🙂
BLUF: Amateur-hour homelabber can't get new 7150-24P to establish link to old 7150-24 over a length of good Cat5, and has run out of ideas.
Context:
* Homelab network consisting of 2x 7150-C12P, 1x 7150-24, 1x 7150-C08P, and a new-to-me 7150-24P. APs are Ruckus 510s with VLANs. Mesh is enabled, as a couple of APs are a major trenching project away from a wire.
* All devices running 8.0.95d. All but the switching-only C08P are running the routing image.
* Physical layout: The main -24 (henceforth, the 'core') is stacked via fiber with one C12P in the basement. It provides a LAG uplink to the firewall and hosts some direct-connect devices and runs to the other switches. The runs are Cat5 or paired MOCA bridges. Those 'spoke' switches are ofc not in the stack, but bring trunked VLANs, access ports, and POE for APs where needed.
The Change:
* Moved the C08P from Cat5 to a far-flung MOCA run with a bare AP. Connected C08P's same ports for uplink and AP, and as expected, immediately and happily began passing traffic. So far so good.
* Deployed the 24P (henceforth, 'new' switch) to the Cat5 previously hosting the C08P. Factory reset, OS flash, created VLANs, IP addresses. Got the AP online. Configured uplink port, plugged in the cable from the wall and... nothing. No link. Port blocking.
Diagnostics:
* Noted that the AP mesh was cheerfully backfeeding vlans into the switch via the AP's port. Thought that might cause spanning tree problems, so made sure the 24P had a lower score (higher numerical value) than the core for 802-1w priority on all VLANS. No change.
* Spent a few hours wild goose chasing 802.1w before ultimately removing all VLANs off the AP's port (so the AP is powered and backhauls client traffic by mesh, but it won't affect the switch's STP, etc.
* Tried other ports and modules on the new 24- no link anywhere I connected the cable.
* Disabled port on both switches and cleared arp, mac, VLANs, then enabled. Still no link.
* Thought maybe I'd buggered the cable between wall jack and new switch. Put core port untagged in a client vlan and plugged in client device. Link came right up and started passing traffic.
* Thought maybe new switch had a bad port. Cleared new switch port config, plugged in client device to same - link came right up. So I think the switch port HARDWARE is good.
* Thought maybe port security was turned on. Nope.
* Thought maybe I had different spanning tree versions running on each switch (spanning-tree vs 802-1w). Nope.
* Thought maybe I'd somehow bobbled the configs, so I wiped both ports' configs, cleared out all the VLAN config (so they were both untagged in VLAN1, which is my default VLAN (and which I use as a sandtrap-- nothing real ever goes in there) -- still no link.
* Thought maybe speed auto-negotiate wasn't working, tried hardcoding both ports to 1000-full. No link.
All of which suggests to me that it's a PEBCAK / config problem, as both switches will individually link to the same client device, and the cables all seem to work fine. But having factory-reset the new switch a couple times, I'm running out of ideas for Stupid Operator Tricks I could have inadvertently performed, or things I could check.
The Request:
Can anyone please:
* Point me at a detailed breakdown of the 'show int ether x/y/z' output, as far as what every statement on there means? Maybe the switch is telling me the problem but I'm not hearing it. What command/s might you run to find out why the port doesn't have link?
* Suggest to me useful debugging / logging statements I could activate? I thought of (and tried) debugging port and 802-1w but the former didn't tell me anything interesting and the latter told me a lot about what was happening on every other port but the one in question.
* Suggest other things I might have done to prevent link from occurring, specifically between these two switches?
* Suggest other diagnostically-useful tests to run?