Solved

Move the spanning-tree blocked ports

Posted on 2008-10-22
3
923 Views
Last Modified: 2008-10-24
Hello,

I have actually a loop of 2950 Series Switch (7 switchs in the loop), I implement spanning-tree pvst on each swith.
Then 1 port is blocked by spanning-tree, on the switch 5.
Whereas, I want to block the port 24 of the switch number 7. How can I do this, I suppose I can fix a cost. They have all 19 as cost  on FastEthernet and 4 for the Giga interface. (show spanning-tree)

Which procedure or command line can I use to fix the blocked port on a port I want.

Thanks in advance for your answer to my issue, it's urgent.
0
Comment
Question by:croustimiel
3 Comments
 
LVL 21

Expert Comment

by:from_exp
ID: 22784241
hi!
take a look here:
http://www.cisco.com/en/US/products/hw/switches/ps708/products_configuration_example09186a00807b0670.shtml

specifically:
spanning-tree vlan 20,40,200 port-priority 64


0
 
LVL 5

Expert Comment

by:rexxus
ID: 22785286
On switch 7, port 24 (if this is the uplink you want to block on) you want to increase the spanning tree port cost so that it blocks on that uplink, use:

spanning-tree cost 200
0
 
LVL 32

Accepted Solution

by:
harbor235 earned 500 total points
ID: 22785971


Port cost will change the port cost for all vlans, remember, PVST is a seperate spanning tree for each vlan.
If you want to manipulate the spanning tree on a per vlan basis then you can use the following;

Also rememeber, that all costs are configured from interface config mode;

switch# config t
switch#(conf) int X
switch#(conf-int) spanning-tree vlan X cost Y

There are default costs for each port type;


100 Mbit/s 19
155 Mbit/s 14
200 Mbit/s 12
622 Mbit/s 6
1 Gbit/s 4
2 Gbit/s 3
10 Gbit/s 2

harbor235 ;}
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Hello , This is a short article on how would you go about enabling traceoptions on a Juniper router . Traceoptions are similar to Cisco debug commands but these traceoptions are implemented in Juniper networks router . The following demonstr…
There are two basic ways to configure a static route for Cisco IOS devices. I've written this article to highlight a case study comparing the configuration of a static route using the next-hop IP and the configuration of a static route using an outg…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now