08-16-2005 02:22 AM - edited 03-02-2019 11:43 PM
I have 3 switches interconnecting to each other. A PC in switch A wishes to ping to PC on Switch C. There are 2 paths leading to it, what command can i use to block one of the port so that there is only one path?
Is it setting one of the switch as root? Or is it something to do with portfast?
Note:Pulling out the physical link is not an option.
08-16-2005 02:52 AM
Hi,
By default, you have Spanning tree enabled on the switches and it should automatically block the redundent port. Use the command " show spanning-tree brief " command to check it is enable on the switch.
Based on the lowest bridge ID( Lowest MAC + Priority ) the switches will automatically calculate the root and once agreed upon that the root switch blocks the redundent path based on some calculation. If you want you can force a particular switch to be root switch by lowering dwon the priority which is by default 32768 for the switches. You can use command " spanning-tree priority
Portfast puts the port into forwarding state directly from blocking and thus skipping the intermediate states. It is generally used on host ports. Never enable portfast on the ports connecting to switches as it might results in a loop.
HTH,
-amit singh
08-16-2005 02:56 AM
Hi,
Believe STP is active on all the three switches. If yes, STP will take care of blocking one of the paths by default.
You need to think about tuning the STP parameters only if you want to manipulate the path selection.
Regards,
Shijo George.
08-16-2005 04:03 AM
Yes i wish to manipulate the path selection. How do i do that? Any links on cisco? i tried looking but i can't find anything useful.
08-16-2005 04:10 AM
Hi,
Check if this link helps...
http://www.cisco.com/en/US/tech/tk389/tk621/technologies_tech_note09186a00800ae96a.shtml
Regards,
Shijo George.
08-16-2005 05:17 AM
Thanks, Shijo George, think this will solve my problem.
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