Afrikaans
Akan
Albanian
Amharic
Arabic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
French
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Hungarian
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranî)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Russian
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
1
At the moment in this topology switch 2 is the root
2
and we can prove that by using sh spanning-tree
3
and notice the local switch is the root for VLAN 1 in the topology.
4
No other VLANs have been enabled
5
so the only Ethernet VLAN existing at the moment is VLAN 1
6
and all ports are VLAN 1 on all the switches.
7
When looking at the BPDUs
8
we can see that the switch is advertising a root path cost of 0
9
and the bridge ID and root identifier are the same.
10
On switch 1 when we capture traffic here
11
it's advertising a root path cost of 4
12
and you can see that the bridge identifier is different to the root identifier
13
So on switch 1, let’s change the spanning-tree vlan 1 root
14
so I'll change the switch to become the root and in this case, it’ll be the primary root
15
that will drop the priority of the switch.
16
previously the switch was using a default priority
17
which we can see in the Wireshark capture
18
it was 32768 + the VLAN number but now sh spanning-tree
19
shows us that the switch priority has been reduced
20
to a value lower than any current root bridge.
21
So the switches now become the root of the Spanning Tree topology.
22
Bridge MAC address and root MAC address is the same.
23
So these are our first Wireshark capture
24
and if I scroll down to the latest advertisements.
25
Notice the root path cost is 0.
26
Bridge ID and root identifier are the same, the priorities have been reduced.
27
So this switch is root with the lower priority.
28
You can see that the bridge priority is 24576
29
extended system ID is 1 bacause this is VLAN 1
30
and the MAC address of the switch is set to the following.
31
So once again, if we look at the Wireshark capture
32
this is capture 114 at the moment.
33
Previously the root identifier and bridge identifier were different.
34
Now, what about switch 2 previously this switch was the root.
35
So notice on capture 1, this switch previously had the root path cost of 0
36
but scrolling down through the captures
37
you can now see that it has a root path cost of 4.
38
Its local bridge identifier has a higher priority.
39
So this switch is no longer the Spanning Tree root.
40
Previously on the switch 3, this was the root port.
41
So here's the output you can see that gigabit 0/0
42
was the root port on switch 3.
43
What is it now? So sh spanning-tree
44
notice gigabit 0/1 is the root port at the moment.
45
so previously on switch 3 this was the root port
46
but the root port is now changed to this port
47
because this switch is now the Spanning Tree root.
48
the path cost using this link is 4
49
where's now the path cost using this link would be 4 + 4
50
in other words 8 to get to the root bridge.
51
Spanning tree topologies can dynamically change
52
so as an example, if on switch 3 has shut down gigabit 0/1
53
and type sh spanning-tree
54
What we can see now is that gigabit 0/0 is now the root port
55
as this port is no longer available.
56
If I no shut that interface and type sh spanning-tree
57
and see the interface is coming up.
58
What you can see now is that gigabit 0/1 has become the root port once again
59
where's this port is now blocking to stop a Spanning Tree loop.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.