03-20-2009 09:59 AM - edited 03-06-2019 04:43 AM
Can "spanning-tree cost" and "spanning-tree vlan 200 cost" both be used on the same interface at the same time?
My goal would be to set a new default cost for all vlans and modify just one or two from that new default.
Thank You
Solved! Go to Solution.
03-20-2009 10:54 AM
Hello Jeff,
yes this is possible there is no ambiguity in these two commands
I tried on a ge port of a C4500
sh run int g1/4
Building configuration...
Current configuration : 256 bytes
!
interface GigabitEthernet1/4
description link verso RT-RM-SXR000-SF-I-E-2
switchport trunk encapsulation dot1q
switchport mode trunk
storm-control broadcast level 1.00
spanning-tree guard loop
spanning-tree vlan 4 cost 6
spanning-tree cost 4
end
sh spanning-tree vlan 4 int g1/4
Vlan Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
VLAN0004 Altn BLK 6 128.4 P2p
SW-RM-SXR000-SF-I-C-2#sh spanning-tree vlan 2 int g1/4
Vlan Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
VLAN0002 Root FWD 4 128.4 P2p
Hope to help
Giuseppe
03-20-2009 10:54 AM
Hello Jeff,
yes this is possible there is no ambiguity in these two commands
I tried on a ge port of a C4500
sh run int g1/4
Building configuration...
Current configuration : 256 bytes
!
interface GigabitEthernet1/4
description link verso RT-RM-SXR000-SF-I-E-2
switchport trunk encapsulation dot1q
switchport mode trunk
storm-control broadcast level 1.00
spanning-tree guard loop
spanning-tree vlan 4 cost 6
spanning-tree cost 4
end
sh spanning-tree vlan 4 int g1/4
Vlan Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
VLAN0004 Altn BLK 6 128.4 P2p
SW-RM-SXR000-SF-I-C-2#sh spanning-tree vlan 2 int g1/4
Vlan Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
VLAN0002 Root FWD 4 128.4 P2p
Hope to help
Giuseppe
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: