cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1551
Views
4
Helpful
21
Replies

Spanning tree root port

evancurran14
Level 1
Level 1

Gi1/1/1 Root  FWD  20000 128.49     P2p
Po1       Desg FWD  2000   128.2281 P2p

both are connected to the root bridge, which is a pair of 9500's. with each port connected to a different switch. G1/1/1 goes to core 1, with g1/1/2 going to core 2. trying to move them both to po1

Shouldn't the lowest cost be the root port?

 

I want to make the root port the port channel, so I can seamlessly add g1/1/1 to the port channel without spanning tree recalculating and taking the link down. 

21 Replies 21

if it connect to Core2 and Core1/2 run StackWise virtual (one virtual SW) and PO and G1/1/1 is FWD State, we have problem

Now I think you understand my question. 1 switch plugged into one virtual switch.


 

Are you saying that you have below scenario, where the 2960 in your case is a 9200 and the 3560 is 9500. The 9500 is in stackwise virtual but the 9200 even though connected with two interface to the 9500 have both interface in forward?

If you run the command

 

spanning-tree vlanX  root primary on the 9500  it will be the root for Vlan 6 and the interface to be blocked must be on the 9200

FlavioMiranda_0-1735578881423.png

 

You have nailed the scenario. How is this even possible?



ILLINI-DC-CORE#show spanning-tree vlan 6

VLAN0006
Spanning tree enabled protocol rstp
Root ID Priority 4102
Address 3473.2dd9.db20
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Bridge ID Priority 4102 (priority 4096 sys-id-ext 6)
Address 3473.2dd9.db20
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300 sec

Interface Role Sts Cost Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Twe1/0/3 Desg FWD 20000 128.195 P2p
Po32 Desg FWD 20000 32.2120 P2p


Are you 100% sure the 9500 is stackwise virtual?

I can simulate this even in PacketTracer with zero error

 

FlavioMiranda_0-1735579749955.png

 

Hello
fyi -i have not read the whole history of the OP - however looking at your initial request and the stp root port output
if you desire the PO1 to be root port you can do this changing the stp port- priority to a lower value (ie 64) to the opposite interface PC that you show -meaning the other side of the connection 

int port xx
spanning-tree vlan x port-priority 64


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Twe1/0/3 Desg FWD 20000 128.195 P2p
Po32 Desg FWD 20000 32.2120 P2p

I tried that too

evancurran14
Level 1
Level 1

This has been solved. The cabling guys ran the cables to the wrong ports so the vlans were mismatched on the port channels.