Академический Документы
Профессиональный Документы
Культура Документы
Tree Protocols
Version 4.0
Cisco Public
Objectives
Cisco Public
Cisco Public
Cisco Public
Cisco Public
Cisco Public
Cisco Public
Cisco Public
Cisco Public
Port Cost
Sum of all the port costs along the path to the root
bridge.
The paths with the lowest path cost become the
preferred path, and all other redundant paths are
blocked.
Cisco Public
10
BPDU Process
Initially, each switch identifies itself as the root bridge.
Each switch maintains local information about its own
BID, the root ID, and the path cost to the root.
When adjacent switches receive a BPDU frame, they
compare the root ID from the BPDU frame with the
local root ID.
If the root ID in the BPDU is lower than the local root
ID, the switch updates the local root ID and the ID in its
BPDU messages.
If the local root ID is lower than the root ID received in
the BPDU frame, the BPDU frame is discarded.
2006 Cisco Systems, Inc. All rights reserved.
Cisco Public
11
Bridge ID
Bridge Priority - The switch with the lowest priority,
which means lowest BID, becomes the root bridge (the
lower the priority value, the higher the priority).
Default value is 32768 (1-65536)
Extended System ID Added to the bridge priority
value.
MAC Address - The MAC address with the lowest
hexadecimal value is considered to be the preferred
root bridge.
2006 Cisco Systems, Inc. All rights reserved.
Cisco Public
12
Cisco Public
13
Cisco Public
14
Port States
Blocking - The port is a non-designated port and does not
participate in frame forwarding. (20 sec)
Listening - the switch port is not only receiving BPDU frames, it is
also transmitting its own BPDU frames(15 sec)
Learning - The port prepares to participate in frame forwarding and
begins to populate the MAC address table. (15 sec)
Forwarding - The port is considered part of the active topology and
forwards frames and also sends and receives BPDU frames.
Disabled - The Layer 2 port does not participate in spanning tree
and does not forward frames.
Cisco Public
15
Cisco Public
16
Cisco Public
17
Cisco Public
18
Cisco Public
19
Cisco Public
20
Cisco Public
21
Cisco Public
22
Cisco Public
23
Cisco Public
24
Cisco Public
25
Cisco Public
26
Cisco Public
27
Cisco Public
28
Cisco Public
29
Cisco Public
30
Cisco Public
31
Cisco Public
32
Cisco Public
33
Summary
Spanning Tree Protocol (STP) is used to prevent loops
from being formed on redundant networks
STP uses different port states & timers to logically
prevent loops
There is at least one switch in a network that serves as
the root bridge
Root bridge is elected using information found in BPDU frames
Cisco Public
34
Summary
STP lengthy convergence time (50 seconds) facilitated
the development of:
RSTP
convergence time is slightly over 6 seconds
Rapid PVST+
adds VLAN support to RSTP
is the preferred spanning-tree protocol on a Cisco switch
netowrk
Cisco Public
35
Cisco Public
36