Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Root Bridge - STP

Hello everyone,

I have a scenario here with a couple of routers and 5 switches. We have a total of 5 vlans spread apart on all of the switches.

Is there a command/commands which I can perform on one of the switches to deterine which switch is the root bridge for a particular VLAN?

Thanks

3 REPLIES

Re: Root Bridge - STP

do a sh spanning-tree vlan .

This would show the MAC address of the root bridge.

If the current switch is not the root switch, it would indicate the port through which te root switch will be reachable. Log on to the switch and use the above command.

Continue this procedure till you reach a switch where the Root bridge MAC-ID and the switch MAC-ID are the same.

HTH, rate if it does

Narayan

New Member

Re: Root Bridge - STP

Thanks for the reply,

I have a simulation setup and I gave it a try.

I'm assuming it would show under the root id, correct? I'm a bit confused bc theres two sections (root and bridge id)

I have an image of the output for the three switches

http://i3.photobucket.com/albums/y92/ddzc/VLANROOTBRIDGE.jpg

It looks like the 000C.1000.4605 is the root bridge or am I wrong? Problem is, I wouldn't know which switch it is or can you tell with emulated switches?

Thanks

Re: Root Bridge - STP

Yes, Under the root ID you see details of root bridge.

Bridge ID, is the details of the current switch. If the Switch is the root, then both the root ID and Bridge ID fields are same.

also in your setup, the switch with MAC 000C.1000.4605 is the root.

HTH, rate if it does

Narayan

179
Views
10
Helpful
3
Replies
CreatePlease login to create content