Hi Tino,
Think of the "show spantree stats active" command this way:
"Show spanning tree statistics for all ports that have seen bpdu activity since last boot".
Its not reporting state. Its reporting stats. But it sure as snot looks like state. I cant disagree there.
And I cant tell you why it's there - but it probably has every right to be there. (Which in no way qualifies as 'expected')
The design intent I'm sure was to provide supporting configuration info and what amounts to 'non-forwarding reason' to add context to historical data. History it the tricky part of this output.
That port info describes a physical link that no longer exists.
On the S-series switch, once a physical port joins a LAG it loses its 'port-ness' and inherits aggregation attributes. vlan association, CoS settings, path cost, mac address etc. All items from its former days as a physical port are now gone (with a very few exceptions) and in their place are attributes of the link aggregation group. That port has become 25% of a 4 Gb LAG.
But once there was a port. And stp activity. And your output is (for better or worse) the proof.
Unfortunately the data cant be cleared without resetting the switch.
On the other hand this gives me a chance to suggest my very favorite stp command - in case its not already in your tool-box.
"show spantree debug"
and the bonus
"clear spantree debug"
I hope the output starts to look a little less strange to your eyes.
For what its worth I'll ponder the 'blocking on both sides' story and make up a story of my own about what may happened to leave the link partners in that errr... position.
Which may lead nowhere. Then again - maybe this will all make sense by next week.
LAG is sticky. If 2.47 was part of another LAG between these two switches (different keys, lag id etc) there would be risk of the old lag again talking shape on ge.2.47 while the other ports join forces as the newly configured lag. and with 2 lags comes block or alternate or silliness.
maybe this port joined the LAG but due to a speed mismatch or maybe duplex problem - was unable to become a forwarding member of the LAG.
I think i remember dormant blocking can result from speed mismatch among lag members.
Sometimes spit-balling is just unproductive. I need to read up on lag.
Best,
Mike