cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
315
Views
0
Helpful
2
Replies

root bridge in stp

sarahr202
Level 5
Level 5

hi every body!

I need some help to understand the following.

sw1(config)# spanning-tree vlan 4 root primary.

According to David hucaby(ccnpbcmsn guide)" this command modifies the switch'bridge priority value to become less than the brige priority of the current root bridge. If the current priority is more than 24,576, the local switch sets it priorty to 24,576.If the current root priorty is less than 24,576, then local switch sets it priorty to 4096 less than the current root"

My question what happens if:

(1) The current bridge ' priorty is 24,576, what will local switch(sw1) do in this case?

(2) if the current bridge' priorty is 4096, what will local switch(sw1) do?

will it assigs itself zero priorty because 4096(current root'prioty)minus 4096 yeilds =0?

(3) how about if current' root priorty is 4000 ? will local switch assigs itself -96 priorty because 4000-4096=-96?

thanks alot and have a nice day !

1 Accepted Solution

Accepted Solutions

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Sarah,

here we meet the mac address reduction (system-id concept) used in modern IOS switches.

To be able to track the root bridge id in each vlan in PVST (per vlan Spanning Tree)

STP priority in vlan X = base_value + X

the step is 4096 because 4096 is the range of Vlans in 802.1Q standard.

The command should accept only multiple of 4096 for this reason

so if the current root priority is 4010 = 4096+4 the priority for vlan 4 will be set to 0+4 = 4

(1) will set to 24,576 - 4,096

(2) 0

(3) 0

priority cannot be negative and should accept only 4096 or multiple of it if you don't disable the system-id

Be aware that this command is actually a macro if a new switch is connected with a lower priority it will take the role of root bridge

hope to help

Giuseppe

View solution in original post

2 Replies 2

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Sarah,

here we meet the mac address reduction (system-id concept) used in modern IOS switches.

To be able to track the root bridge id in each vlan in PVST (per vlan Spanning Tree)

STP priority in vlan X = base_value + X

the step is 4096 because 4096 is the range of Vlans in 802.1Q standard.

The command should accept only multiple of 4096 for this reason

so if the current root priority is 4010 = 4096+4 the priority for vlan 4 will be set to 0+4 = 4

(1) will set to 24,576 - 4,096

(2) 0

(3) 0

priority cannot be negative and should accept only 4096 or multiple of it if you don't disable the system-id

Be aware that this command is actually a macro if a new switch is connected with a lower priority it will take the role of root bridge

hope to help

Giuseppe

Thanks alot Giuseppe !

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card