08-30-2016 04:41 PM - edited 03-08-2019 07:13 AM
SW#show spanning-tree detail | inc ieee|occurr|from|is exec
VLAN0010 is executing the ieee compatible Spanning Tree protocol
Number of topology changes 58334 last change occurred 00:26:48 ago
from GigabitEthernet1/0/41
This is a remote site so I can't visually check what's connected to it. When I check the "show interface summary" it's showing that this port is down (not connected). I still shut it down but after a few minutes, if I check the STP status again, I saw another TCN message from the same switch but different port. Is this normal? I don't see this happening on my other switches. Here's how the port is cofigured and show ver of the switch:
===========================
cisco WS-C2960S-48TS-L (PowerPC) processor (revision F0) with 131072K bytes of memory.
Solved! Go to Solution.
08-30-2016 06:36 PM
Hi Marc,
Even if Gi1/0/41 is an access port it can generate a TCN if there is change in its forwarding state. It would be important to check what is connected to the port, perhaps it is just an end host disconnecting its pc from the network.
If these ports are destined only for your end users, you can enable the "portfast" feature on them in order to prevent the TCNs to be constantly generated when a user connects/disonnects its pc.
Here is a very useful link which explains in more detail this behavior:
http://www.cisco.com/c/en/us/support/docs/lan-switching/spanning-tree-protocol/12013-17.html#anc12
HTH
Julio
08-30-2016 06:36 PM
Hi Marc,
Even if Gi1/0/41 is an access port it can generate a TCN if there is change in its forwarding state. It would be important to check what is connected to the port, perhaps it is just an end host disconnecting its pc from the network.
If these ports are destined only for your end users, you can enable the "portfast" feature on them in order to prevent the TCNs to be constantly generated when a user connects/disonnects its pc.
Here is a very useful link which explains in more detail this behavior:
http://www.cisco.com/c/en/us/support/docs/lan-switching/spanning-tree-protocol/12013-17.html#anc12
HTH
Julio
08-31-2016 10:37 AM
Thanks Julio. Will take a look.
I just wonder why it's showing only for this switch? We have 4 other Catalyst 2960 switches in there similarly configured and we do not get this TCNs?
08-31-2016 11:30 PM
If you do not have portfast enabled on an access port you will see tcns generated whne there is stp changes as its part of the process, set port fast it will remove it from stp calculation and no more tcns will be seen on the port
09-01-2016 12:58 PM
My mistake. I thought I saw "spanning-tree portfast" configured on this switch but it is not. Adding it fixes the problem. Thanks.
12-04-2017 01:54 AM
Hi,
sorry to bump this old thread...
Even if you see "spanning-tree portfast" configured on an interface it does not mean portfast is operational...
There is a difference between the portfast configured state and operational state.
An interface configured with portfast (trunk) will immediately move to the FWD state when it becomes active, but once a BPDU is received on this interface the switch will remove the operational portfast state from the interface and revert to a traditional STP enabled port.
regards,
Jeroen
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide