03-19-2022 10:31 PM
LANGood day,
I'm new to networking and currently working on an activities LAN Redundancy, it's doing good until such I have to change port cost in the non-root switches, but it won't work.
When I type -->
S1(config)#int f0/1
S1(config-if)#spanning-tree cost 19
S1(config-if)#end
the port f0/1 is being updated in the table --> show spanning-tree did not change.
I am not sure what is the problem why it's not changing.
Below is the credentials for packet tracers
Password : cisco
Enable: class
Solved! Go to Solution.
03-20-2022 03:19 AM
Hello,
I think you have to specify the Vlan:
S1(config-if)#spanning-tree vlan 1 cost 53
S1(config-if)#end
S1#
%SYS-5-CONFIG_I: Configured from console by console
sh spanning-tree interface fastEthernet 0/1
Vlan Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
VLAN0001 Altn BLK 53 128.1 P2p
S1#
03-20-2022 04:17 AM
Hi @Georg Pauwen ,
It works, I did specify vlan 1 after the spanning-tree. and I was able to change the port cause on the table itself.
Appreciates.
03-20-2022 08:51 AM
Hello
Just like to note, be careful with this command in a production network, make sure you understand what you are doing. As changing stp port cost effects the entire stp topology no just the that specific port, if you want to effect how downstream switch elect their stp root then port priority would be a more viable option
int x/x
spanning-tree vlan xx port-priority xx
03-20-2022 03:19 AM
Hello,
I think you have to specify the Vlan:
S1(config-if)#spanning-tree vlan 1 cost 53
S1(config-if)#end
S1#
%SYS-5-CONFIG_I: Configured from console by console
sh spanning-tree interface fastEthernet 0/1
Vlan Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
VLAN0001 Altn BLK 53 128.1 P2p
S1#
03-20-2022 04:17 AM
Hi @Georg Pauwen ,
It works, I did specify vlan 1 after the spanning-tree. and I was able to change the port cause on the table itself.
Appreciates.
03-20-2022 08:51 AM
Hello
Just like to note, be careful with this command in a production network, make sure you understand what you are doing. As changing stp port cost effects the entire stp topology no just the that specific port, if you want to effect how downstream switch elect their stp root then port priority would be a more viable option
int x/x
spanning-tree vlan xx port-priority xx
03-21-2022 01:42 AM
Hi @Paul ,
Well noted truly appreciate!
Thank you for the additional info. I believe it is truly helpful while doing my succeeding activities.
Thanks,
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