Mod 5.1-5.2: Purpose and Operations of STP Flashcards

1
Q

____ is a loop-prevention network protocol that allows for redundancy while creating a loop-free Layer 2 topology.

A

Spanning Tree Protocol (STP)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

____is the original IEEE MAC Bridging standard for STP.

A

IEEE 802.1D

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Issues with Redundant Switch Links:
____ provides multiple network services by eliminating the possibility of a single point of failure.

A

Path redundancy

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

When multiple paths exist between two devices on an Ethernet network, and there is no spanning tree implementation on the switches, a____ occurs.

A

Layer 2 loop

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

A Layer 2 loop can result in ___instability, link saturation, and ___ on switches and end-devices, resulting in the network becoming unusable.

A

MAC address table
high CPU utilization

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

True or false
Unlike the Layer 3 protocols, IPv4 and IPv6, Layer 2 Ethernet does not include a mechanism to recognize and eliminate endlessly looping frames.

A

True
Both IPv4 and IPv6 include a mechanism that limits the number of times a Layer 3 networking device can retransmit a packet via TTL (time to live) which is decremented by routers or hop limit in ipv6

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

____ was developed specifically as a loop prevention mechanism for Layer 2 Ethernet.

A

STP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Without STP enabled, Layer 2 loops can form, causing broadcast, multicast and unknown unicast frames to ___.

A

loop endlessly

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

An____ frame is when the switch does not have the destination MAC address in its MAC address table and must forward the frame out all ports, except the ingress port.

A

unknown unicast

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

A ____is an abnormally high number of broadcasts overwhelming the network during a specific amount of time.

A

broadcast storm

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Broadcast storms can be caused by a hardware problem such as a___ or from a___ in the network.

A

faulty NIC
Layer 2 loop

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

SPANNING TREE ALGORITHM:
STP is based on an algorithm invented by ____while working for Digital Equipment Corporation, and published in the 1985 paper “An Algorithm for Distributed Computation of a Spanning Tree in an Extended LAN.”

A

Radia Perlman

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Radia Perlman’s ____ creates a loop-free topology by selecting a single root bridge where all other switches determine a single least-cost path.

A

spanning tree algorithm (STA)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

STA PROCESS:
Step 1:STP prevents loops from occurring by configuring a loop-free path through the network using strategically placed ____” ports

A

“blocking-state

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

STA PROCESS:
Step 1: The switches running STP are able to compensate for failures by ___ the previously blocked ports and permitting traffic to traverse the alternate paths.

A

dynamically unblocking

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

STA
Step 2: The spanning tree algorithm begins by selecting a ___

A

single root bridge

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Note: The STA and STP refers to ___ as bridges

A

switches

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

STA
Step 3: STP ensures that there is only one logical path between all destinations on the network by intentionally ____ that could cause a loop

A

blocking redundant paths

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

STA
Step 4: A blocked port has the effect of making that link a non-forwarding link between the two switches. Thus, this creates a ___ topology.

A

Loop-Free

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

STA
Step 5: The physical paths still exist to provide redundancy, but these paths are disabled to prevent the loops from occurring. If the path is ever needed to compensate for a network cable or switch failure, STP ___ the paths and unblocks the necessary ports to allow the redundant path to become active.

A

recalculates

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

True or false
STP recalculation happens only during link failure.

A

False
STP recalculations can also occur any time a new switch or new inter-switch link is added to the network.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

Reorder the following:
Steps to a Loop-Free Topology

Elect Alternate (blocked) ports
Elect root ports
Elect root bridge
Elect designated ports

A

Elect the root bridge.
Elect the root ports.
Elect designated ports.
Elect alternate (blocked) ports.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

During STA and STP functions, switches use ___ to share information about themselves and their connections.

A

Bridge Protocol Data Units (BPDUs)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

BPDUs are used to elect the___.

A

root bridge, root ports, designated ports, and alternate ports

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q

Each BPDU contains a ___ that identifies which switch sent the BPDU.

A

bridge ID (BID)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
26
Q

The ___is involved in making many of the STA decisions including root bridge and port roles.

A

BID

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
27
Q

The lowest BID value is determined by the combination of these three fields:

A

bridge priority value, an extended system ID, and the MAC address of the switch

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
28
Q

Bridge Priority has ___ bits

A

4

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
29
Q

Extended System Id has __ bits

A

12

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
30
Q

MAC address has __ bits

A

48

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
31
Q

Bridge priority:
The default priority value for all Cisco switches is the decimal value ___.

A

32768

32
Q

Bridge Priority:
The range is 0 to 61440 in increments of ___

A

4096

33
Q

True or false.
higher bridge priority is preferable because the highest value takes precedence.

A

False
A lower bridge priority is preferable. A bridge priority of 0 takes precedence over all other bridge priorities

34
Q

The ___value is a decimal value added to the bridge priority value in the BID to identify the VLAN for this BPDU.

A

extended system ID

35
Q

The extended system ID allows later implementations of STP to have different ___ for different sets of VLANs

A

root bridges

35
Q

The extended system ID allows later implementations of STP to have different ___ for different sets of VLANs

A

root bridges

36
Q

When two switches are configured with the same priority and have the same extended system ID, the switch having the ____ with the lowest value, expressed in hexadecimal, will have the lower BID.

A

MAC address

37
Q
  1. Elect the Root bridge
    True or false
    The STA designates multiple switch as the root bridge and uses it as the reference point for all path calculations.
A

False
Should be single

38
Q
  1. Elect the Root bridge
    True or false
    All switches in the broadcast domain participate in the election process.
A

True
After a switch boots, it begins to send out BPDU frames every two seconds.

39
Q

The BPDU frames sent by switches contain the BID of the sending switch and the BID of the root bridge, known as the ___.

A

Root ID

40
Q

The switch with the ___ BID will become the root bridge.

A

lowest

41
Q

Is it possible for two or more switches to have the same priority?

A

yes, because the default BID is 32768

42
Q

In this scenario, where the priorities are the same, the switch with the ___ will become the root bridge.

A

lowest MAC address

43
Q

When the root bridge has been elected for a given spanning tree instance, the STA starts the process of determining the___ to the root bridge from all destinations in the broadcast domain.

A

best paths

44
Q

The path information, known as the ___, is determined by the sum of all the individual port costs along the path from the switch to the root bridge.

A

internal root path cost

45
Q

The default port costs are defined by the___.

A

speed at which the port operates

46
Q

Link Speed STP Cost RSTP Cost
10 Gbps———2 ____________-
_________________4 ———–20,000
100 Mpbs ______________ __________
_______________ 1000__________________

A

10 Gbps 2 2,000
1 Gbps 4 20,000
100 Mbps 19 200,000
10 Mbps 100 2,000,000

47
Q

Are port cost configurable?

A

Yes. The ability to configure individual port costs gives the administrator the flexibility to manually control the spanning tree paths to the root bridge.

48
Q
  1. Elect the Root Ports
    Every non-root switch will select how many root ports?
A

Only one

49
Q

The___ is the port closest to the root bridge in terms of overall cost (best path) to the root bridge

A

root port

50
Q

Paths with the ___ cost become preferred, and all other redundant paths are blocked.

A

lowest

51
Q
  1. Elect Designated Ports
    Every segment between two switches will have how many designated ports?
A

one

52
Q

The ____ is a port on the segment (with two switches) that has the internal root path cost to the root bridge

A

designated port

53
Q

True or false
The root port has the best path to receive traffic leading to the root bridge.

A

False. It should be designated port

54
Q

What happens to ports that are not a designated port nor root port?

A

It becomes an alternate or blocked port.

55
Q
  1. Elect Designated Ports
    All ports on the ___ are designated port
A

root bridge

56
Q
  1. Elect Designated Ports
    If one end of a segment is a root port, then the other end is a ___
A

designated port.

57
Q
  1. Elect Designated Ports
    In this case, the port on the switch with the____path to the root bridge is the designated port for the segment
A

least-cost

58
Q
  1. Elect Alternate (Blocked) Ports
    If a port is not a root port or a designated port, then it becomes an alternate (or ____) port.
A

backup

59
Q
  1. Elect Alternate (Blocked) Ports
    Alternate ports and backup ports are in __ or ___ state to prevent loops.
A

discarding
blocking

60
Q

When a switch has multiple equal-cost paths to the root bridge, the switch will determine a port using the following criteria:

A

Lowest sender BID
Lowest sender port priority
Lowest sender port ID

61
Q

STP TIMERS:
The ** is the interval between BPDUs. The default is 2 seconds but can be modified to between 1 and 10 seconds.

A

Hello timer
Hello time

62
Q

STP TIMERS
The ** is the time that is spent in the listening and learning state. The default is 15 seconds but can be modified to between 4 and 30 seconds.

A

Forward Delay Timer
forward delay

62
Q

STP TIMERS
The ** is the time that is spent in the listening and learning state. The default is 15 seconds but can be modified to between 4 and 30 seconds.

A

Forward Delay Timer
forward delay

63
Q

STP TIMER
The ** is the maximum length of time that a switch waits before attempting to change the STP topology. The default is 20 seconds but be modified to between 6 and 40 seconds.

A

Max Age Timer
Max age

64
Q

PORT STATE
The port is an alternate port and does not participate in frame forwarding.

A

Blocking
The port receives BPDU frames to determine the location and root ID of the root bridge. BPDU frames also determine which port roles each switch port should assume in the final active STP topology. With a Max Age timer of 20 seconds, a switch port that has not received an expected BPDU from a neighbor switch will go into the blocking state.

65
Q

PORT STATE
After the blocking state, a port will move to the __.

A

listening state
The port receives BPDUs to determine the path to the root. The switch port also transmits its own BPDU frames and informs adjacent switches that the switch port is preparing to participate in the active topology.

66
Q

PORT STATE
A switch port transitions to the ____ after the listening state.

A

Learning
During the learning state, the switch port receives and processes BPDUs and prepares to participate in frame forwarding. It also begins to populate the MAC address table. However, in the learning state, user frames are not forwarded to the destination.

67
Q

PORT STATE
In the ___ state, a switch port is considered part of the active topology.

A

forwarding

68
Q

PORT STATE
A switch port in the ___ does not participate in spanning tree and does not forward frames.

A

disabled state

69
Q

Operational details of each port state

Port State |BPDU | MAC Table |Forwarding Data Frames?
Blocking |Receive _____ No

A

No update

70
Q

Operational details of each port state

Port State | BPDU |MAC Table| Forwarding Data Frames?
Listening _____ _____ No

A

Receive and send
No update

70
Q

Operational details of each port state

Port State |BPDU | MAC Table |Forwarding Data Frames?
Listening _____ _____ No

A

Receive and send
No update

71
Q

Operational details of each port state

Port State | BPDU | MAC Table |Forwarding Data Frames?
Learning ______ _____ No

A

Receive and Send
Updating Table

72
Q

Operational details of each port state

Port State | BPDU | MAC Table | Forwarding Data Frames?
Forwarding Receive and send _____ ___

A

Updating table
Yes

73
Q

Operational details of each port state

Port State | BPDU | MAC Table | Forwarding Data Frames?
______ none sent or received | No Update _____

A

Disabled
No

74
Q

True or false
STP can only be configured to operate in an environment with only one VLANs

A

False
In Per-VLAN Spanning Tree (PVST) versions of STP, there is a root bridge elected for each spanning tree instance. This makes it possible to have different root bridges for different sets of VLANs.