cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3429
Views
10
Helpful
6
Replies

How do I find the root port?

t.k
Level 1
Level 1

Is there an IOS command or CatOS command that tells me where my root port is on my switched network? I have a Cat5500 as my core switch and various Cat 3524 XL switches mixed in with some Cat 2900 & 3550's. I am certain that my root port is on my Cat 5500 but don't know which port. Any ideas? Thanks

6 Replies 6

deilert
Level 6
Level 6

sh spantree

When you issue the sh spantree command the output to look at is:

Designated Root some mac address

Designated Roote Priority number

Bridge ID MAC ADDR this is the switches mac address

Bridge ID Priority this is the bridges priority

The switch that has both the same is your root bridge.

When you issue the sh spantree command the output to look at is:

Designated Root some mac address

Designated Roote Priority number

Bridge ID MAC ADDR this is the switches mac address

Bridge ID Priority this is the bridges priority

The switch that has both the same is your root bridge.

When you issue the sh spantree command the output to look at is:

Designated Root some mac address

Designated Roote Priority number

Bridge ID MAC ADDR this is the switches mac address

Bridge ID Priority this is the bridges priority

The switch that has both the same is your root bridge.

When you issue the sh spantree command the output to look at is:

Designated Root some mac address

Designated Roote Priority number

Bridge ID MAC ADDR this is the switches mac address

Bridge ID Priority this is the bridges priority

The switch that has both the same is your root bridge.

steve.barlow
Level 7
Level 7

For catOS enter "show spantree vlan_#" and you can trace back via the Designated Root Port and the mac address (Designated Root) to find who is the root switch for each vlan. "Show spantree stat x/x vlan_#" is another good command.

For IOS it is "show spanning-tree".

A switch, not a port on the switch, is root for a vlan, so you won't find a specific port on the 5500. Any port that is on that vlan for which that switch is root will be considered root. On the root switch itself it will report the root port as "Designated Root Port 1/0 " (and the Designated Root and Bridge ID MAC ADDR will be the same).

Hope it helps.

Steve