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
Each BPDU contains a ___ that identifies which switch sent the BPDU.
bridge ID (BID)
26
The ___is involved in making many of the STA decisions including root bridge and port roles.
BID
27
The lowest BID value is determined by the combination of these three fields:
bridge priority value, an extended system ID, and the MAC address of the switch
28
Bridge Priority has ___ bits
4
29
Extended System Id has __ bits
12
30
MAC address has __ bits
48
31
Bridge priority: The default priority value for all Cisco switches is the decimal value ___.
32768
32
Bridge Priority: The range is 0 to 61440 in increments of ___
4096
33
True or false. higher bridge priority is preferable because the highest value takes precedence.
False A lower bridge priority is preferable. A bridge priority of 0 takes precedence over all other bridge priorities
34
The ___value is a decimal value added to the bridge priority value in the BID to identify the VLAN for this BPDU.
extended system ID
35
The extended system ID allows later implementations of STP to have different ___ for different sets of VLANs
root bridges
35
The extended system ID allows later implementations of STP to have different ___ for different sets of VLANs
root bridges
36
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.
MAC address
37
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.
False Should be single
38
1. Elect the Root bridge True or false All switches in the broadcast domain participate in the election process.
True After a switch boots, it begins to send out BPDU frames every two seconds.
39
The BPDU frames sent by switches contain the BID of the sending switch and the BID of the root bridge, known as the ___.
Root ID
40
The switch with the ___ BID will become the root bridge.
lowest
41
Is it possible for two or more switches to have the same priority?
yes, because the default BID is 32768
42
In this scenario, where the priorities are the same, the switch with the ___ will become the root bridge.
lowest MAC address
43
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.
best paths
44
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.
internal root path cost
45
The default port costs are defined by the___.
speed at which the port operates
46
Link Speed STP Cost RSTP Cost 10 Gbps---------2 ____________- _________________4 -----------20,000 100 Mpbs ______________ __________ _______________ 1000__________________
10 Gbps 2 2,000 1 Gbps 4 20,000 100 Mbps 19 200,000 10 Mbps 100 2,000,000
47
Are port cost configurable?
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
2. Elect the Root Ports Every non-root switch will select how many root ports?
Only one
49
The___ is the port closest to the root bridge in terms of overall cost (best path) to the root bridge
root port
50
Paths with the ___ cost become preferred, and all other redundant paths are blocked.
lowest
51
3. Elect Designated Ports Every segment between two switches will have how many designated ports?
one
52
The ____ is a port on the segment (with two switches) that has the internal root path cost to the root bridge
designated port
53
True or false The root port has the best path to receive traffic leading to the root bridge.
False. It should be designated port
54
What happens to ports that are not a designated port nor root port?
It becomes an alternate or blocked port.
55
3. Elect Designated Ports All ports on the ___ are designated port
root bridge
56
3. Elect Designated Ports If one end of a segment is a root port, then the other end is a ___
designated port.
57
3. 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
least-cost
58
4. Elect Alternate (Blocked) Ports If a port is not a root port or a designated port, then it becomes an alternate (or ____) port.
backup
59
4. Elect Alternate (Blocked) Ports Alternate ports and backup ports are in __ or ___ state to prevent loops.
discarding blocking
60
When a switch has multiple equal-cost paths to the root bridge, the switch will determine a port using the following criteria:
Lowest sender BID Lowest sender port priority Lowest sender port ID
61
STP TIMERS: The ** is the interval between BPDUs. The default is 2 seconds but can be modified to between 1 and 10 seconds.
Hello timer *Hello time*
62
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.
Forward Delay Timer *forward delay*
62
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.
Forward Delay Timer *forward delay*
63
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.
Max Age Timer *Max age*
64
PORT STATE The port is an alternate port and does not participate in frame forwarding.
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
PORT STATE After the blocking state, a port will move to the __.
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
PORT STATE A switch port transitions to the ____ after the listening state.
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
PORT STATE In the ___ state, a switch port is considered part of the active topology.
forwarding
68
PORT STATE A switch port in the ___ does not participate in spanning tree and does not forward frames.
disabled state
69
Operational details of each port state Port State |BPDU | MAC Table |Forwarding Data Frames? Blocking |Receive _____ No
No update
70
Operational details of each port state Port State | BPDU |MAC Table| Forwarding Data Frames? Listening _____ _____ No
Receive and send No update
70
Operational details of each port state Port State |BPDU | MAC Table |Forwarding Data Frames? Listening _____ _____ No
Receive and send No update
71
Operational details of each port state Port State | BPDU | MAC Table |Forwarding Data Frames? Learning ______ _____ No
Receive and Send Updating Table
72
Operational details of each port state Port State | BPDU | MAC Table | Forwarding Data Frames? Forwarding Receive and send _____ ___
Updating table Yes
73
Operational details of each port state Port State | BPDU | MAC Table | Forwarding Data Frames? ______ none sent or received | No Update _____
Disabled No
74
True or false STP can only be configured to operate in an environment with only one VLANs
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.