Link to home
Create AccountLog in
Avatar of Shark Attack
Shark Attack

asked on

spanning-tree issue

I dont know why I'm having this issue but it's happenig. I am working on basic topology. Router to layer 3 switch to little trendnet L2 switch to hosts. Image attached. Very simple. For some reason, the switch in the middle, STP is blocking the port. I have no idea why. How can I fix this and why it this even blocked, there is no redundant links
User generated image
interface GigabitEthernet0/4
 switchport access vlan 100
 switchport mode access
 switchport nonegotiate
 switchport port-security maximum 4
 switchport port-security violation restrict
 switchport port-security aging time 60
 switchport port-security aging type inactivity
 switchport port-security
 no keepalive
end

Open in new window


TEST_SW#sh spanning-tree blockedports

Name                 Blocked Interfaces List
-------------------- ------------------------------------
VLAN0100             Gi0/4

Number of blocked ports (segments) in the system : 1

Open in new window


There is no even loop. It's one link to the L2 switch thats all.

Can anyone help that actually know whats going on here? Lately I've been getting a lot of answers that were useless to me and did not help. Thank you
Avatar of Jeremy Weisinger
Jeremy Weisinger

Well I'm not an expert on Cisco stuff but if the trendnet switch supports spanning tree AND Gi0/4 is an edge port AND BPDU guard is globally enabled on the Cisco switch, the Gi0/4 would enter a blocking state because is would receive an BPDU packet from the trendnet switch.

You can try disabling BPDU Guard or Portfast on Gi0/4 and see if that fixes it... or wait for someone that knows Cisco better. :)
SOLUTION
Avatar of Shark Attack
Shark Attack

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
ASKER CERTIFIED SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Avatar of Shark Attack

ASKER

because it is the solution