how to select Switch/Bridge as root bridge
alisoomro
Member Posts: 14 ■□□□□□□□□□
in CCNA & CCENT
hi everybody can anybody tell me what command is used to set the periority of bridge to set it as root bridge
waiting for response
thanks
waiting for response
thanks
Comments
-
unwritt3n Member Posts: 67 ■■□□□□□□□□Use:
Router(config)#spanning-tree vlan 1 priority [priority #]
The priority number is in increments of 4096. So set it as 4096 so its the lowest, compared to the default 32768.Studying: 70-290, CCNP 1, CCSP 1 -
BubbaJ Member Posts: 323unwritt3n wrote:Use:
Router(config)#spanning-tree vlan 1 priority [priority #]
The priority number is in increments of 4096. So set it as 4096 so its the lowest, compared to the default 32768.
The reason for this question may be looking for this as the answer:
Switch(config)#spanning-tree vlan vlan-id root primary [diameter net-diameter [hello-time seconds]] -
ciscos Member Posts: 26 ■□□□□□□□□□may I ask sth relevant?!!
In a topology with
2 switches with protities 1 and 32768 which one is going to be the root?can't teach an old dog new tricks -
mcockrell Member Posts: 4 ■□□□□□□□□□unless they are the same, then it uses lowest MACMCSE, CCNA, CCNP, CCDA
-
ciscos Member Posts: 26 ■□□□□□□□□□cheers guys but it wasn't that I asking...I know all these...
I was wondering about the value of "1" as a priority if is it usable.
I read above that 4096 is the lowest.can't teach an old dog new tricks -
EdTheLad Member Posts: 2,111 ■■■■□□□□□□ciscos wrote:cheers guys but it wasn't that I asking...I know all these...
I was wondering about the value of "1" as a priority if is it usable.
I read above that 4096 is the lowest.
The bpdu is 64 bits, its comprised of 48 bit MAC address,12 bit vlan tag and 4 bit priority tag.The original 802.1d bpdu doesnt have the 12bit vlan tag and doesnt support multiple instances of spanning-tree using different vlans.The original version supported a priority of 1,the current version in cisco which supports multiple instances is as follows:
If you examine the 16 bits to the left of the MAC address field
xxxx xxxxxxxxxxxx
The 12 bits from right to left are the vlan id's, the extra 4 bits are the priority
Using binary 2^0,2^1 .......2^11 this is the last bit for the vlan,i.e. 2048 vlan id's.
The 4 priority bits start in location 2^12 = 4096, so you can only have increments of 4096
0001 = 4096
0010 = 8192
0011 = 12288
Etc...Networking, sometimes i love it, mostly i hate it.Its all about the $$$$