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

STP root bridge

Hi,

how can i find out whitch Switch is the root bridge for my network, if i have only access to one switch and this one is not the root bridge?

Thanks in advance

35 REPLIES
Cisco Employee

Re: STP root bridge

Hi Friend,

When you issue "sh spanning-tree" command you will get the root bridge mac address for vlans you have in your network.

Then you can follow that mac address issuing "sh mac-address-table address " and find the port on which this mac is learned and then issue "sh cdp nei interface detail" to find the next switch.

Telnet to next switch and follow the same procedure till you see in "sh spanning-tree" bridge id mac address and root id mac address are same.

Yes for this you need to have an access of all the switches and staying at one switch it is not possible to find who is the root bridge till the time you have documented that mac address with switch details.

HTH

Ankur

New Member

Re: STP root bridge

Hello ,

Looking for some information on this matter.

By whcih command L3 switch makes itself as Root Switch.

Can you pls let me know wht command we use for this activity.

Thanks.

~Akber Mirza.

Cisco Employee

Re: STP root bridge

Hi Akber,

"spanning-tree vlan root" will make the switch root for specified vlan.

Which L3 switch do you have?

HTH

Ankur

*Pls rate all helpfull post

New Member

Re: STP root bridge

AnkurThanks for the above information.

We have 6509 L3 switch. We have Vlan 1,484&784 configured on this switch.

please see the below info on sh spantree:

VLAN0001

Spanning tree enabled protocol ieee

Root ID Priority 32768

Address 0015.2cf0.6001

This bridge is the root

Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Bridge ID Priority 32768

Address 0015.2cf0.6001

Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Aging Time 300

Interface Role Sts Cost Prio.Nbr Type

---------------- ---- --- --------- -------- --------------------------------

Gi2/0/1 Desg FWD 4 128.129 Edge P2p

Gi2/0/2 Desg FWD 4 128.130 Edge P2p

VLAN0484

Spanning tree enabled protocol ieee

Root ID Priority 10

Address 0015.c715.cde3

Cost 3

Port 1665 (Port-channel101)

Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Bridge ID Priority 32768

Address 0015.2cf0.61e4

Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Aging Time 300

Interface Role Sts Cost Prio.Nbr Type

---------------- ---- --- --------- -------- --------------------------------

Po101 Root FWD 3 128.1665 P2p

VLAN0784

Spanning tree enabled protocol ieee

Root ID Priority 10

Address 0015.c715.cf0f

Cost 3

Port 1665 (Port-channel101)

Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Bridge ID Priority 32768

Address 0015.2cf0.6310

Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Aging Time 300

Interface Role Sts Cost Prio.Nbr Type

---------------- ---- --- --------- -------- --------------------------------

Po101 Root FWD 3 128.166

==============================================

In my switch Vlan 1 is shutdown and other two vlans are L3 vlans. but as per the above information root bridge is shown only in vlan 1.

can you pls explanin .

~Akber

Cisco Employee

Re: STP root bridge

Hi Akber,

For VLAN 484 and VLAN 784 root mridge mac address is Address 0015.c715.cde3 for vlan 484 and Address 0015.c715.cf0f for vlan 784.

So you can trace this mac address in your network to find which switches have declared themselves as root bridge for these 2 vlans.

Also you can check if there is any priority configured on those switches to become root?

Regards,

Ankur

New Member

Re: STP root bridge

Hello Ankur,

Thanks for the above information.

Please see belwo the Rott switch status and priority details .

cs102-hy2> (enable) sh spantree summary

Spanning tree mode: RAPID-PVST+

Runtime MAC address reduction: disabled

Configured MAC address reduction: disabled

Root switch for vlans: 484,784.

Global loopguard is disabled on the switch.

Global portfast is disabled on the switch.

BPDU skewing detection disabled for the bridge.

BPDU skewed for vlans: none.

Portfast bpdu-guard enabled for bridge.

Portfast bpdu-filter disabled for bridge.

Uplinkfast disabled for bridge.

Backbonefast disabled for bridge.

set spantree priority 10 484

set spantree priority 10 784

Can you explain me by which command they becoming Root Switch on cs102-hy2.

Moreover I dont see any where it is manually defined Root Switch by giving spanning-tree vlan root.

Can u explain me how the root switch is getting selected.

~Akber.

Hall of Fame Super Blue

Re: STP root bridge

Hi Akber

The output is telling you that your root bridge for vlan 484 & vlan 784 are on different switches.

What switch is at the end of port-channel 101. Could you send the spanning-tree config for that switch.

Jon

New Member

Re: STP root bridge

Hello Jon,

Thanks for the above information.

Please see belwo the Rott switch status and priority details .

cs102-hy2> (enable) sh spantree summary

Spanning tree mode: RAPID-PVST+

Runtime MAC address reduction: disabled

Configured MAC address reduction: disabled

Root switch for vlans: 484,784.

Global loopguard is disabled on the switch.

Global portfast is disabled on the switch.

BPDU skewing detection disabled for the bridge.

BPDU skewed for vlans: none.

Portfast bpdu-guard enabled for bridge.

Portfast bpdu-filter disabled for bridge.

Uplinkfast disabled for bridge.

Backbonefast disabled for bridge.

set spantree priority 10 484

set spantree priority 10 784

Can you explain me by which command they becoming Root Switch on cs102-hy2.

Moreover I dont see any where it is manually defined Root Switch by giving spanning-tree vlan root.

It is a 6509 cat OS switch ,server access switch .

Can u also tell me why Vlan 1 in my previous config is used for SPT as it is not used for any of the ports and.

Can u explain me how the root switch is getting selected.

Hall of Fame Super Blue

Re: STP root bridge

Hi Akber

The two lines

set spantree priority 10 484

set spantree priority 10 784

are what makes this the root bridge for those vlans. The default priority on a switch is 32768 so someone has explicitly set this switch up with this priority.

Generally speaking you usually set root bridge one of 2 ways

set spantree priority 8192

set spantree root 484,784

8192 is generally used for spanning-tree root and 16384 for spanning-tree secondary.

The better way to set is the second way. Ankur gave you the equivalent command for IOS. The above commands are CatOS which is what your switch is running.

HTH

Jon

New Member

Re: STP root bridge

Thanks a ton friend for the input!

From my knowledge, the highest bridge ID priority will be elected as Root switch.

If you define a low bridge ID how will it become root bridge as per your above inputs.

Can you also tell me why we are configuring root bridge as server access switch (In Access layer cs102-hy2) ,rather configuring root as L3 switch (In Dist layer cr3-hy2).

Please need your valuable input .

Many Thanks.

~Akber.

Hall of Fame Super Blue

Re: STP root bridge

Hi Akber

The bridge with the lowest priority becomes the root bridge for that vlan not the highest.

Without knowing your topology it's difficult to say why your access layer switch is configured as root for this vlan. Generally speaking you don't make access-layer switches as your STP root bridges as this can lead to inefficient L2 paths but it all depends on your vlan distribution and your traffic flows.

Again, generally speaking you have your core/distribution switches as root and secondary but this is only a guideline.

HTH

Jon

New Member

Re: STP root bridge

Hello John,

So I got to know that, Priority and Bridge priority are different from you words.

I have difficulty in understanding the following scenario.

cs401-hy2 makes itself as Root for 497/797,

though i see priority set as 10 on both cs101/cs401 switches .

can u plz expalin how cs401-hy2 is becoming root for 797.

cs101-hy2> (enable) sh spantree

VLAN 1

Spanning tree mode RAPID-PVST+

Spanning tree type ieee

Spanning tree enabled

Designated Root 00-00-00-00-00-00

Designated Root Priority 0

Designated Root Cost 0

Designated Root Port 1/0

Root Max Age 0 sec Hello Time 0 sec Forward Delay 0 sec

Bridge ID MAC ADDR 00-00-00-00-00-00

Bridge ID Priority 32768

Bridge Max Age 20 sec Hello Time 2 sec Forward Delay 15 sec

Port State Role Cost Prio Type

------------------------ ------------- ---- --------- ---- ---------

cs101-hy2> (enable) sh spantree summary

Spanning tree mode: RAPID-PVST+

Runtime MAC address reduction: disabled

Configured MAC address reduction: disabled

Root switch for vlans: 483.

Global loopguard is disabled on the switch.

Global portfast is disabled on the switch.

BPDU skewing detection disabled for the bridge.

BPDU skewed for vlans: none.

Portfast bpdu-guard enabled for bridge.

Portfast bpdu-filter disabled for bridge.

Uplinkfast disabled for bridge.

Backbonefast disabled for bridge.

Summary of connected spanning tree ports by vlan

VLAN Blocking Listening Learning Forwarding STP Active

----- -------- --------- -------- ---------- ----------

483 0 0 0 78 78

797 0 0 0 1 1

=======================================================================

cs101-hy2> (enable) sh spantree

VLAN 1

Spanning tree mode RAPID-PVST+

Spanning tree type ieee

Spanning tree enabled

Designated Root 00-00-00-00-00-00

Designated Root Priority 0

Designated Root Cost 0

Designated Root Port 1/0

Root Max Age 0 sec Hello Time 0 sec Forward Delay 0 sec

Bridge ID MAC ADDR 00-00-00-00-00-00

Bridge ID Priority 32768

Bridge Max Age 20 sec Hello Time 2 sec Forward Delay 15 sec

Port State Role Cost Prio Type

#vlan parameters

set spantree priority 10 497

set spantree priority 10 797

------------------------ ------------- ---- --------- ---- -----------

cs101-hy2> (enable) sh spantree summary

Spanning tree mode: RAPID-PVST+

Runtime MAC address reduction: disabled

Configured MAC address reduction: disabled

Root switch for vlans: 483.

Global loopguard is disabled on the switch.

Global portfast is disabled on the switch.

BPDU skewing detection disabled for the bridge.

BPDU skewed for vlans: none.

Portfast bpdu-guard enabled for bridge.

Portfast bpdu-filter disabled for bridge.

Uplinkfast disabled for bridge.

Backbonefast disabled for bridge.

Summary of connected spanning tree ports by vlan

VLAN Blocking Listening Learning Forwarding STP Active

----- -------- --------- -------- ---------- ----------

483 0 0 0 78 78

797 0 0 0 1 1

#vlan parameters

set spantree priority 10 483

set spantree priority 10 797

==========================================

II.

I f you observe above configs , you can see that only 483 vlan is configured in cs101-hy2 switch which is access switch. vlan 483 is not configured for any switches.we configure a seperate vlan for each access switch. On Distribution layer we dont configure L2 vlans .All these layer2 vlans are intergrated with GLBP in Distribution layer switch , where routing works.

Can u plz tell me is it the right way ,if not wht should we could have done.

Awaiting for the reply.

Regards,

Akber.

Hall of Fame Super Blue

Re: STP root bridge

Hi Akber

If the priority for vlan 797 is set to 10 on both cs101 and cs401 then the lowest mac-address will decide which switch becomes root for that vlan.

If you use separate vlans on each switch how are you connecting the access-list layer switches to your distribution switches. Is it with layer 2 access ports or layer 2 trunks.

Are your layer 3 vlan interfaces created on teh distribution switches. If so i'm not sure what you mean by you don't configure L2 vlans on the distribution switches.

Could you give a bit more detail.

Jon

New Member

Re: STP root bridge

Hello Jon,

I.

If you look at my above config details in bridge id mac address as 00-00-00-00-00-00 in both switches.

If that is not the right input,can u let know the command on catos to check the mac.

II. We use GLBP on Distribution switches in which you input vlan 483.

please see the below config on cr3-hy2 (Dist switch).

interface GigabitEthernet3/1

description cs101-hy2 ge1/1

ip address 155.145.183.3 255.255.255.0

ip helper-address 155.145.184.17

ip helper-address 155.145.184.14

no ip redirects

ip pim query-interval 3

ip pim sparse-mode

load-interval 30

storm-control broadcast level 0.35

glbp 483 ip 155.145.183.1

glbp 483 timers 1 3

glbp 483 timers redirect 1200 43200

glbp 483 weighting 110 lower 95 upper 105

glbp 483 load-balancing weighted

glbp 483 weighting track 1

glbp 483 weighting track 2

And Ospf routing is configured on dist switch which will communicate to core network.

~Akber.

Hall of Fame Super Blue

Re: STP root bridge

Hi Akber

From the previous post you sent. Instead of doing "sh spantree" do 'sh spantree "vlan number" '. The switch is not running STP for vlan 1 so that is why all the entries are zero's.

So you are just using routed interfaces for the vlan's is that right ???

Jon

New Member

Re: STP root bridge

I.Yes Jon you are right. when i apply sh spantree 1 i dont see any entries.

II.If u look at my cr3-hy2 configs , yes we use router interfaces on dist switch.

Can i get the Mac address command on catos switch plz .

~Akber.

New Member

Re: STP root bridge

Hello Jon,

Can you pls let me know why cs401 is elected as root bridge though cs101/cs401 have same priority.

Also can u send me the command to check the mac address on cat os. so i can give you input the on the lowest mac address.

~Akber.

New Member

Re: STP root bridge

This may help find your root bridge if the switch you have access is running L3 and you have the mac, the switch you are on MAY be able to resolve the IP address of that mac. This maybe helpful if you know the IP's of all your devices.

show ip arp | include 6001

In most cases the last 4 characters of the MAC is enough to resolve the IP.

(I haven't used CatOS in quite some time so the command maybe different.)

HtH

Silver

Re: STP root bridge

NEVER, EVER, use the 'spanning-tree vlan root' macro to set the spanning-tree root bridge for the VLAN. This is VERY problematic. The spanning-tree root bridge should be set to the correct cost per the design.

In most cases the primary root bridge would have 'spanning-tree vlan 1-4094 priority 8192' and the secondary root bridge would have 'spanning-tree vlan 1-4094 priority 16384'. In most cases you will want to configure the edge switches for 'spanning-tree uplinkfast enable' to set the spanning-tree root priority > 46000 or all switches for 'spanning-tree mode rapid-pvst' (which means DO NOT run uplinkfast and/or backbonefast on ANY switches configured for rapid-pvst).

If you have redundant uplinks to diverse core switches you can play with setting spanning-tree vlan priorities so that switch 1 is priority 8192 (primary) for vlans 1,6,400 (priority 16384 for all other vlans) and switch 2 is priority 8192 for vlans 2-5,7,100 (priority 16384 for all other vlans). This will allow you to utilize both links for different vlans rather than one link always in blocking state for all vlans.

Using the spanning-tree root and spanning-tree root secondary macros will *TRY* to calculate the appropriate bridge priority to make it the root. This may cause the priority to be set to 1 which is obviously problematic.

The correct architecture is to use the commands above and ensure that 'spanning-tree guard root' is on all uplink ports to edge switches and specifically not on downlinks or crosslinks to the secondary root or core switch.

New Member

Re: STP root bridge

Hello,

Can you plese read the above discussions and answer my question.

Regards,

Akber.

Silver

Re: STP root bridge

Please clarify for me what you are trying to determine:

You only have access to one switch but you want to find out which switch is the current spanning-tree root bridge?

All you can tell from your one switch is the mac address and priority of the root bridge and which port (or ports) on your one switch have a path to that root.

Depending on the topology of the layer-2 network that your one switch is connected to, the root bridge could be in a different building, county or state!

Please provide more details as to the layer-2 topology of the network you are connected to in order for me to effectively answer your question.

How many switches make of the layer-2 topology of the network you are connected to?

How many buildings does this layer-2 network span?

Etc.

Bronze

Re: STP root bridge

Bottom line is what the above posters have said and I will clarify.

Spanningtree root bridge and secondary root should be explicitly set per vlan.

In your case Akber the priority is set to 10 on multiple switches. Yes, it is the lowest mac address that wins the battle when they both have the same priority. No need to waste any more time chasing that down. That's just how it is. So... what you need to do is architect spanning tree. Decide which switch in the core you want to be the primary root bridge and set it just like it's set on multiple switches. Also don't forget to remove the competing values from other switches.

As for the whole 8192 jazz... that is only if you have extended vlans enabled. Obviously you do not, because the priority is 10. I would recommend to you to set the priority of the root to be 10 and secondary root to be 20.

There are multiple levels of knowledge of STP. You only need to know enough to know where the root is and statically set it and you are doing better than 80% of network engineers in the world. ;)

Silver

Re: STP root bridge

Please do not tell users to set their spanning root priority to anything less than 8192!!!

This both goes against any spanning-tree best practice guidelines and breaks spanning-tree in many cases (particularly with PVST). This has nothing to do with having extended VLANs enabled.

Since *ALL* Cisco switches by default run PVST (per-VLAN spanning-tree) and calculate the root priority by *ADDING* the VLAN id to the advertised root priority, a root priority between a core primary and secondary of anything less than 1000 is crazy and less than 4096 is asking for trouble.

The spanning-tree root bridge priority (per VLAN or spanning-tree instance) is a decimal number between 1 and 65535, with a default (per IEEE) of 32768. Why on earth would you suggest setting this value to 10 or 20 with this type of range and so different from the default? A value of 10 is nearly impossible to correct remotely by setting another switch with a lower priority.

Please don't create MASSIVE spanning-tree confusion by offering this bad advice. It is CCIE engineers like myself that continually spend hours and hours troubleshooting periodic, apparently random, network issues at clients only to determine that someone set the spanning-tree root bridge priority, without knowing what they were doing, to some insanely low number. And remember, I think a spanning-tree root bridge priority of 1000 is insanely low.

Thank you.

Bronze

Re: STP root bridge

Wow... That has been the practice of Cisco SE's I've worked with for many years. I can quote "distinguished engineers" from Cisco on the same subject that recommend the same thing.

I can assure you setting the root to priority of 10 does in no manner, way, shape or form "break" PVST.

A value of ten is impossible to correct by lowering? You have the option of going from 0-9 to trump the 10 priority.

The true MASSIVE confusion is when people don't do anything at all, or do not set it explicitly by using the "root" command that just takes all other priorities it sees and cuts it in half. STP is a beautiful thing but should not be left to it's own vices to make decisions. An engineer has to know and understand how it works and manipulate the variables to make STP perform the way it is architected on a per network basis.

Wow though... crazy?? Asking for trouble how?

Silver

Re: STP root bridge

All I will tell you is that I stand behind my comments above. If you would open a TAC case and tell them your spanning-tree root bridge priority is set to 10, three things will happen:

1. A huge red flag will be raised and the assumption will be that you have no control over your spanning-tree environment.

2. The only reason to set the spanning-tree root priority to such a low number is as a workaround because all switches have not been configured correctly or by a specific design and you have had to *FORCE* the spanning-tree root bridge.

3. Your network is very small and was not deployed using Enterprise best practice standards that are detailed in documentation on Cisco's web site.

Basically, if the TAC gets a 'show tech-support' that shows the root bridge with a bridge priority of less than 8192, that is a bad sign.

I have been brought into several large networks by Cisco because of ongoing and apparently random network performance issues that were suspected to be caused by spanning-tree misconfiguration. In every case, like I stated before, someone who didn't understand what they were doing, set the root bridge priority to some insanely low number like 10.

Don't misread what I am saying, however, you are correct in that a spanning-tree root bridge priority of 10 *WILL* most likely elect that switch as the root bridge. But the only reason I can think of doing this is in a lab environment or to *FORCE* the root bridge in a poorly designed network in which the layer-2 network design was either deployed by multiple entities or cobbled together.

Note that layer-3 boundries should always be established between entities that manage different portions of the network, particularly at layer-2. I have seen numerous cases where spanning-tree issues cause significant outages because multiple layer-2 networks are connected together without a central management group. (This includes an unnamed emergency client in Boston a few years back).

Please note that using the 'set spantree root' or equivalent IOS macro will set the root bridge priority for that VLAN to 8192 and the 'set spantree root secondary' or equivalent IOS macro will set the root bridge priority for that VLAN to 16384. That should be your best example of a Cisco best practice, the built-in capabilities of the switch.

Re: STP root bridge

Hi all,

I'm not a distinguished engineer so consider this as a modest and reasonable point of view...

I would not recommend either to set the root bridge priority too low, because indeed, there is not much room to beat a bridge with a root priority of 10. Some recent high end platforms are always running extended sysid. This way, we just need *one* mac address to run STP, even in PVST mode, which is a considerable saving in term of mac address allocation. So practically, if 10 is the current priority of your root, your last chance of moving your root bridge to this big cat6513 you've just bought is by configuring it with a priority of 0.

Now, in a regular scenario, I don't see the problem of beating a bridge ID as such a big issue.

-1- If you need to move the root bridge in a hurry, having a single shot (priority 0) is probably enough in the short term.

-2- If you are planning a network change, you can increase the priority of the previous root if necessary.

-3- If you're not in case -1- or -2- (if you don't know which bridge is injecting this @%#! priority 10 in the network, or even worse, if you don't control the bridge that is the root in your network), I would say that you have an administrative issue that is much more critical that determining the exact value of the bridge priority of your root.

Generally, I don't like the BIG rules that are asserted by so many about spanning tree. Well, if there was such a big rule as "never ever do this", then the CLI would not even exist. One of the great weakness and strenght of STP is that it is able to work in a plug and play fashion. As a result, many people who have absolutely no clue about how STP works are operating large, critical L2 networks. For those, some simple guidelines have been written so that they don't shoot themselves in the foot. For engineers who know how STP works, I don't see any restriction.

Regards,

Francois

New Member

Re: STP root bridge

Hi Francois,

Can you please let me know what is extended system id in STP and when it is used with couple of examples.

Regards,

Akber

New Member

Re: STP root bridge

Hi Richard ,

Please see the below configs and answer my queries.

Access switch1:-

set spantree priority 10 483

set spantree priority 10 797

sh spantree :-

VLAN 1

Spanning tree mode RAPID-PVST+

Spanning tree type ieee

Spanning tree enabled

Designated Root 00-00-00-00-00-00

Designated Root Priority 0

Designated Root Cost 0

Designated Root Port 1/0

Root Max Age 0 sec Hello Time 0 sec Forward Delay 0 sec

Bridge ID MAC ADDR 00-00-00-00-00-00

Bridge ID Priority 32768

Bridge Max Age 20 sec Hello Time 2 sec Forward Delay 15 sec

Port State Role Cost Prio Type

Sh Spantree summanry:-

Spanning tree mode: RAPID-PVST+

Runtime MAC address reduction: disabled

Configured MAC address reduction: disabled

Root switch for vlans: 483.

Global loopguard is disabled on the switch.

Global portfast is disabled on the switch.

BPDU skewing detection disabled for the bridge.

BPDU skewed for vlans: none.

Portfast bpdu-guard enabled for bridge.

Portfast bpdu-filter disabled for bridge.

Uplinkfast disabled for bridge.

Backbonefast disabled for bridge.

Summary of connected spanning tree ports by vlan

VLAN Blocking Listening Learning Forwarding STP Active

----- -------- --------- -------- ---------- ----------

483 0 0 0 79 79

797 0 0 0 1 1

Blocking Listening Learning Forwarding STP Active

----- -------- --------- -------- ---------- ----------

Total 0 0 0 80 80

==================================================================

Management switch :-

"set spantree priority 10 797" ----for promoting root bridge

Sh spantree

VLAN 1

Spanning tree mode RAPID-PVST+

Spanning tree type ieee

Spanning tree enabled

Designated Root 00-00-00-00-00-00

Designated Root Priority 0

Designated Root Cost 0

Designated Root Port 1/0

Root Max Age 0 sec Hello Time 0 sec Forward Delay 0 sec

Bridge ID MAC ADDR 00-00-00-00-00-00

Bridge ID Priority 32768

Bridge Max Age 20 sec Hello Time 2 sec Forward Delay 15 sec

---------------------------------------

Sh spantree summary:-

Spanning tree mode: RAPID-PVST+

Runtime MAC address reduction: disabled

Configured MAC address reduction: disabled

Root switch for vlans: 497,797.

Global loopguard is disabled on the switch.

Global portfast is disabled on the switch.

BPDU skewing detection disabled for the bridge.

BPDU skewed for vlans: none.

Portfast bpdu-guard enabled for bridge.

Portfast bpdu-filter disabled for bridge.

Uplinkfast disabled for bridge.

Backbonefast disabled for bridge.

Summary of connected spanning tree ports by vlan

VLAN Blocking Listening Learning Forwarding STP Active

----- -------- --------- -------- ---------- ----------

497 0 0 0 6 6

797 0 0 0 21 21

Blocking Listening Learning Forwarding STP Active

----- -------- --------- -------- ---------- ----------

Total 0 0 0 27 27

Port State Role Cost Prio Type

Each switch is configured with a singl vlan and made as Root bridge.

No Secondary Root is configured.

Why Root Guard is not configured in switch network

Can you plz let me know how management switch is becoming as root bridge for

vlan 797 though bridge priority and bridge mac address is same on both access switch and management switch.

Please let me know if u need any further inputs.

Regards,

Akber.

Hall of Fame Super Blue

Re: STP root bridge

Hi Akber

The mac-address is not the same for your management switch and your access switch. You are viewing the output of STP on vlan 1 and that is why the Bridge MAC is showing as 00-00-00-00-00-00.

Please use the following on your management and access switch.

"sh spantree 797"

This should show you the proper priorities and mac-addresses of the two switches.

HTH

Jon

796
Views
52
Helpful
35
Replies
CreatePlease to create content