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

Spanning-tree root

I have 15 switches in my LAN.

Two are root.

Here are config and the sh sp

sehqswi04#sh run

!

spanning-tree mode rapid-pvst

spanning-tree extend system-id

!

sehqswi04#sh sp

VLAN0001

Spanning tree enabled protocol rstp

Root ID Priority 32769

Address 0019.304e.7700

This bridge is the root

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

sehqswi02#sh run

!

spanning-tree mode rapid-pvst

spanning-tree extend system-id

spanning-tree vlan 1-4094 priority 24576

!

sehqswi02#sh sp

VLAN0002

Spanning tree enabled protocol rstp

Root ID Priority 24578

Address 001a.a1cc.b700

This bridge is the root

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

Why isnt sehqswi02 the only root?

Regards Jan

1 ACCEPTED SOLUTION

Accepted Solutions
New Member

Re: Spanning-tree root

Hi

From this description it seems that the Vlan 1 was created in " sehqswi04" before you give "spanning-tree vlan 1-4094 priority 24576" in "sehqswi02" .You might have created the vlan 2 in sehqswi02 after giving the command mentioned above.That may be the reason why sehqswi02 is not the root for both vlan.If you have option to restart sehqswi04, then sehqswi02 will become root for both vlan due to the lower priority value.

Hope this helps.

Ullas

7 REPLIES

Re: Spanning-tree root

switch 1 root for vlan1

and 2 root for vlan 2

this way u distribute the STP load and convergence amonge vlans each vlan has its own STP instances

!!!

if helpful Rate

New Member

Re: Spanning-tree root

But switch 02 have vlan 1-4064.

spanning-tree vlan 1-4094 priority 24576

So why is switch 04 root for vlan 2?

//Jan

Hall of Fame Super Blue

Re: Spanning-tree root

Jan

Is 04 switch connected to 02 switch via a trunk link ?

If so then yes 02 should be STP root for vlan 1 as well as the priority of 24576 on 02 for all vlans is better than the 32769 on 04.

Jon

New Member

Re: Spanning-tree root

Jon,

Yes switch 02 is my backbone switch and have only have trunk ports.

Jan

Hall of Fame Super Blue

Re: Spanning-tree root

Can you

1) post output of "sh spanning-tree vlan 1" off switch 02.

2) Confirm that you haven't cleared vlan 1 off the trunk link between 02 & 04.

Jon

New Member

Re: Spanning-tree root

Hi Jan,

If your question is Why sehqswi02 is the root for vlan2 then

the answer is your switch sehqswi02 is configured with the priority of 24578 for VLAN2 in STP instead of 32768 by default.

I think your switch sehqswi04 is having default priority value of 32768 for VLAN2, so that it cant able to Become root for VLAN2.

New Member

Re: Spanning-tree root

Hi

From this description it seems that the Vlan 1 was created in " sehqswi04" before you give "spanning-tree vlan 1-4094 priority 24576" in "sehqswi02" .You might have created the vlan 2 in sehqswi02 after giving the command mentioned above.That may be the reason why sehqswi02 is not the root for both vlan.If you have option to restart sehqswi04, then sehqswi02 will become root for both vlan due to the lower priority value.

Hope this helps.

Ullas

423
Views
0
Helpful
7
Replies
CreatePlease login to create content