09-21-2014 05:25 PM - edited 03-04-2019 11:48 PM
Hi Cisco Community,
I have a question regarding Spanning tree tuning. We have a 3750 stack with both te interfaces towards our core (STP root). I need to tune STP so the root port will be te 2/0/1 and not Te1/0/1 (all ports have default config).
I would like to use the STP port priority to do so :
Distri(config)# int te 2/0/1
Distri(config-if)#spanning-tree vlan 2013 port-priority 16
Distri001(config-if)#do sh spanning-tree vlan 2013 interface te 2/0/1
Vlan Role Sts Cost Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
VLAN2013 Altn BLK 2 16.107 P2p
So that looks right, question is why is the port still in ALT BLK ?
Other port has lower priority :
Distri001#show spanning-tree vlan 2013 interface tenGigabitEthernet 1/0/1
Vlan Role Sts Cost Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
VLAN2013 Root FWD 2 128.53 P2p
I've made the same config on the core but no chance either.
What Am I missing ?
thanks for your help
Florian
09-21-2014 07:21 PM
OK according to the guide :
http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3750x_3560x/software/release/12-2_55_se/configuration/guide/3750xscg/swstp.html#wp1020470
This should be why it is not working. Question now is :
Anyone know why this does not apply to stacks ?
As these are Te ports, cost is 2, should i lower the cost to 1 the one i want to use or increase to 3 the other one (to have it as alt blk)? Any guidelines or feedback on this ?
Thanks in advance
Florian
09-21-2014 08:40 PM
Anyone know why this does not apply to stacks ?
Answer: The above mentioned in the document is for stack
As these are Te ports, cost is 2, should i lower the cost to 1 the one i want to use or increase to 3 the other one (to have it as alt blk)? Any guidelines or feedback on this ?
Answer: you need to change the cost to 1.( Always in STP lowest is prefered. Which ever interface you want that to be in forwarding state make that port to be lower cost. Else the alternate would be to increase it on the other link ).
HTH
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