STP Concepts
STP Concepts
When there is a network failure, STP unblocks a blocked port to make redundant switch make its
work.
Loops occur with layer 2 frames. F. e. layer 3 packets have TTL header in IPv4 or Hop limit on IPv6 to
prevent it.
During STA and STP functions, switches use Bridge Protocol Data Units (BPDUs) to share information
about themselves and their connections. BPDUs are used to elect the root bridge, root ports,
designated ports, and alternate ports. Each BPDU contains a bridge ID (BID) that identifies which
switch sent the BPDU. The BID is involved in making many of the STA decisions including root bridge
and port roles. As shown in the figure, the BID contains a priority value, an extended system ID, and
the MAC address of the switch. The lowest BID value is determined by the combination of these
three fields.