07-08-2023 01:46 PM - edited 07-08-2023 01:51 PM
Hi guys,
Today I had an issue with trunking between switches. I am not used to use spanning tree protocols too much but in current config they have spanning tree enabled on core and access switches. Once I change both ports to trunk on core and access I received the below error and ports are not even blinking at all no amber light no green nothing. Just disabled. I think this is spanning tree related and I need some help here
Here is the error below;
%LINK-3-UPDOWN: Interface FastEthernet0/1, changed state to up
%SPANTREE-7-RECV_1Q_NON_TRUNK: Received 802.1Q BPDU on non trunk FastEthernet0/1 VLAN172.
%SPANTREE-7-BLOCK_PORT_TYPE: Blocking FastEthernet0/1 on VLAN0172. Inconsistent port type.
07-08-2023 02:12 PM
Hello @bkyuksel,
The error message you received indicates an inconsistency in the port type for VLAN 172. The switch has detected a BPDU with 802.1Q tagging on the non-trunk interface FastEthernet0/1, which is causing the port to be blocked by spanning tree protocol.
Check the trunk configuration on both the core and access switches. Ensure that the appropriate interfaces are configured as trunk ports, allowing the desired VLANs, including VLAN 172, to pass through. Make sure the trunk configuration matches on both ends of the link.
07-08-2023 02:14 PM
Hi, thanks for the reply. I am %100 percent sure that the trunking configuration is done how it is supposed to be. But there is something weird with the spanning tree protocol.
07-09-2023 12:19 AM
Hello @bkyuksel,
Please do
#sh spanning-tree vlan 172
#sh spanning-tree interface FastEthernet0/1
#sh logging | include STP
Share the output here please.
07-08-2023 03:31 PM
Hello @bkyuksel
This bahavior is expect when we connect a trunk port to an access port.
This could be reproducable if you have the chance.
07-08-2023 06:55 PM
Show interface x/x switch
Share this for both SW
07-10-2023 05:38 AM - edited 07-10-2023 05:39 AM
sw1(config)#do sh spanning-tree summary
Switch is in rapid-pvst mode
Root bridge for: none
EtherChannel misconfig guard is enabled
Extended system ID is enabled
Portfast Default is disabled
PortFast BPDU Guard Default is enabled
Portfast BPDU Filter Default is disabled
Loopguard Default is disabled
UplinkFast is disabled
BackboneFast is disabled
Configured Pathcost method used is short
Name Blocking Listening Learning Forwarding STP Active
---------------------- -------- --------- -------- ---------- ----------
Total 0 0 0 0 0
Also I have this.
Gi1/0/50 sw1 notconnect 1 auto auto 1000BaseSX SFP
07-10-2023 05:43 AM
Show interface x/x switch <<- I need to see output of this
07-10-2023 05:53 AM - edited 07-11-2023 04:32 AM
ISSUE RESOLVED: it was due to an old SFP module on the old switch. it was integrated one and it was not compatible to new switch despite of being original one.
07-10-2023 06:09 AM
the operation is down
cable not connect or you no shut the port
07-10-2023 06:13 AM
I did the no shutdown and shutdown and no shutdown several times. And I am sure that it is connected to the related port.
07-10-2023 06:20 AM
this lab of PKT ?
07-10-2023 06:21 AM
Unfortunately it is real life
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