10-18-2017 07:19 AM - edited 12-09-2024 10:55 AM
I am experiencing an issue where when I plug in a port which is set as an access port to vlan XXX it becomes the root port for another vlan on the switch vlan 9. I have posted the config below. to be very specific gi1/0/6 is access vlan XXX and gi1/0/11 is access vlan 9 (management for the switch). With gi1/011 plugged in it is the root port for vlan 9. When I plug i n gi1/0/6 it becomes the root port for vlan 9 even though it's not a member of vlan 9. We are running pvst.
config
10-18-2017 10:07 AM
10-18-2017 11:15 AM - edited 10-18-2017 11:21 AM
gi1/0/11 is only the root port for vlan 9, not the other vlans
This is not a core switch. The core switch is what's on the other end of gi1/0/11.
gi1/0/9 is connected to another switch.
10-18-2017 12:10 PM
The core switch is the one connected to g1/0/11. This is what I bet when reading the description.
How the STP is configured there?
Is it normal that this switch is root for some vlans?
On port g1/0/9, have you applied the STP config root guard and/or bpdufilter?
Not bpduguard as it will block the port as soon as it receives BPDU. Root guard will also block the port is the received priority is higher than the actual switch.
You have to configure your priority on this switch to ensure no one is gonna be the root. What priority is set on the new switch you're trying to connect?
10-18-2017 12:16 PM
int gi1/0/9 is not an issue, int gi1/0/6 is . when gi1/0/6 is plugged in it takes over the role of root port for vlan 9 which was previously int gi1/0/11
pvstp is setup
10-18-2017 12:17 PM
10-19-2017 03:58 AM
There is a good chance that g1/0/6 is coming up as a trunk port which is causing the issue. Try adding "switchport mode access" to the interface configuration and make sure the connecting device will not also try to negotiate as a trunk.
Also, if it is indeed connecting to another switch, make sure you don't have a loop in the network.
Hope this helps
10-19-2017 04:39 PM
Hi,
Your ports are probably in trunk mode. If you need to configure access ports, you need to explicitly specify "switchport mode access" on all access ports.
what is the output of the following command on gi1/0/6:
"show interfaces gi1/0/6 switchport"
look for the "Administrative Mode: and Operational Mode:"
Thanks
John
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