I was just having a chat about this and thought I'd ask all you ccnaers out there. How do you find the name of the root bridge if you aren't currently consoled into that bridge?
show spanning-tree will give you the Mac address of the bridge. show mac-address-table address
address will give you the port the address was learned on. And then what? If you are given the ports in this way (you are on switch C)
switch B
|
|
| e1
switch A ----- switch C
e0
then no problem I guess! Otherwise you're toast (eg if you were on switch B and switch A was the root bridge). Ummm. All I can think of is show cdp neighbor detail to get ip addresses and then hopefully telnet to them...!
Oh. One more thing - does "show spanning-tree" show all ports that have something (anything, not just another switch) plugged in as "FWD". Maybe I should just go get a darn switch and find out!
Conor.