Volume 1 - Chapter 9: Spanning Tree Protocol Concepts Flashcards

1
Q

What term best describes the following?

The continual updating of a switch’s MAC address table with incorrect entries, in reaction to looping frames, resulting in frames being sent to the wrong locations.

A

MAC table instability

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

Describe multiple frame transmission in regards to STP issues.

A

When multiple copies of the same frame arrive at the destination

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

Describe the attributes of a STP blocked port.

A

Interfaces in a blocking state:
1) Do not forward user frames
2) Do not learn MAC address
3) Do not process received user frames

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

What process is used by Spanning Tree to determine what interfaces to put in a forwarding state?

A

Spanning-Tree Algorithm (STA)

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

What is the size of the bridge ID?

A

8 bytes

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

What fields does the spanning-tree bridge ID consist of?

A

The 2-byte priority field and a 6-byte system ID

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

What is the value of the system ID portion of the spanning-tree bridge ID?

A

The switch’s universal (burned-in) MAC address

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

Describe how the root bridge is elected.

A

The root bridge is elected based on the lowest bridge ID in the topology

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

If two switches have the same priority value in their BID, how is the root bridge determined?

A

By the MAC address (system-ID). The lowest MAC wins

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

In regards to the root bridge election:

What happens when a switch receives a hello message from another switch with a lower BID?

A

The switch stops claiming to be the root and forwards the BDPU from the superior switch

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

How is the designated switch chosen on a LAN segment?

A

The switch with the lowest cost to the root switch

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

Describe the tiebreaker process on a single switch to choose a root port when the cost to the root switch is the same.

A

1) Choose the root port based on the neighbor with the lowest bridge ID

If the neighbor priorities are the same, then both ports are connected to the same switch, then:

2) Choose the root port based on the lowest neighbor port priority

3) Choose the root port based on the lowest neighbor internal port number

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

What state are all the ports on the root switch?

A

Designated and in a forwarding state.

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

When 2 switches are electing a DP, how is the DP chosen when the cost to the root switch is tied?

A

The switch with the lowest BID is elected as the designated switch and its non-root port becomes a DP

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

An interface that is not elected to be a root port or designated port is put into a _____ state.

A

Blocking

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

What is the command to change the spanning-tree method for determining a ports cost?

A

spanning-tree pathcost method short/long

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

What are the long and short port costs associated with a 10 Mbps interface?

A

Short: 100
Long: 2,000,000

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

What are the long and short port costs associated with a 100 Mbps interface?

A

Short: 19
Long: 200,000

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

What are the long and short port costs associated with a 1 Gbps interface?

A

Short: 4
Long: 20,000

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

What are the long and short port costs associated with a 10 Gbps interface?

A

Short: 2
Long: 2,000

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

What are the long and short port costs associated with a 100 Gbps interface?

A

Short: N/A
Long: 200

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

What are the long and short port costs associated with a 1 Tbps interface?

A

Short: N/A
Long: 20

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

If an interface is capable of speeds of 10/100/1000. What is the cost of the link?

A

The cost of the link will be whatever the current speed of the link is.

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

What is the default STP hello interval?

A

2 seconds

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

When a switch receives a BDPU, it changes the _____ in the BDPU and adds its own ____ before forwarding it on

A

Bridge ID (BID)

Cost

26
Q

Describe the purpose of the spanning-tree Max Age timer.

A

It determines how long a switch should wait after it stops detecting BDPU hello messages before trying to change the topology

27
Q

What is the default STP Max Age timer on a switch?

A

10 times the hello interval

28
Q

Describe the purpose of the spanning-tree Forward Delay timer.

A

It determines how long a switch will sit in the interim states of listening and then learning when switching from a blocking state to a forwarding state

29
Q

Describe what happens when the Max Age timer expires.

A

The entire STP process runs again from scratch. the root switch is elected and the RP/DP ports are chosen

30
Q

Switches using STP can move immediately from a _____ state to a ____ state.

A

Forwarding

Blocking

31
Q

Switches using STP take extra time to transition from a _____ state to a ____ state.

A

Blocking

Forwarding

32
Q

What interim states does a port transition to before moving from a blocking to forwarding state?

A

Listening, then Learning

33
Q

Describe the function of the STP Listening state.

A

In the listening state:
- The interface does not forward frames
- The interface removes stale MAC address table entries

34
Q

Describe the function of the STP Learning state.

A

In the listening state:
- The interface does not forward frames
- The interface begins to learn MAC address received on it

35
Q

Assuming the default forward delay timer, what is the amount of time it takes for an interface to move from the blocking to forwarding state in STP.

A

30 seconds:

15 seconds in listening
15 seconds in learning

36
Q

What is the original IEEE standard for STP?

37
Q

What was the IEEE amendment of RSTP to the original STP standard?

38
Q

What port state in RSTP is equivalent to the original STP blocking state?

A

Discarding

39
Q

Assuming all default timers, what is the total time required for STP convergence?

A

50 seconds:

20 for Max Age Timer
15 for Listening state
15 for Learning state

40
Q

How does RSTP differ from STP in regards to electing a new RP or DP?

A

RSTP adds a mechanism so a switch can replace its RP or DP without waiting to reach a forwarding state.

41
Q

What is the default Max Age timer in RSTP?

A

3 times the hello interval

42
Q

How does RSTP improve on STP in regards to determining problems in the topology?

A

A switch using RSTP can relay information to its neighboring switches that it is having a problem before the max age timer expires

43
Q

Which port role in RSTP acts as a backup in case the root port on a non-root switch fails?

A

The alternative port

44
Q

Which port role in RSTP acts as a backup in case the designated port on a switch fails?

A

The backup port

45
Q

The backup port role is only used in network designs that utilize ____.

A

Network hubs

46
Q

Describe the difference between how hellos operate in STP versus RSTP.

A

With STP, only the root switch sends a hello. The other non-root switches update and forward that hello.

With RSTP, each switch can generate and send their own hellos to their neighbors

47
Q

Alternative ports do not need to transition to the _____ & ____ states before reaching a forwarding state.

A

Listening & Learning

48
Q

Which interim state does not exist in RSTP?

49
Q

What RSTP state replaces the Blocking state in regular STP?

A

Discarding

50
Q

For STP, what state is associated to an interface that is in non-working state (Down/Down)?

51
Q

For RSTP, what state is associated to an interface that is in non-working state (Down/Down)?

A

Discarding

52
Q

Describe the function of the RSTP Backup port role.

A

To take over as the Designated Port (DP), but only if the DP and Backup Port are connected to a hub.

53
Q

Describe the RSTP “Point-to-Point” port type.

A

A link that directly connects 2 switches together

54
Q

Describe the RSTP “Point-to-Point edge” port type.

A

A link that directly connects a switch to a PC or other end device

55
Q

Describe the RSTP “Shared Port” port type

A

A link that directly connects a network hub

56
Q

Describe how STP logic works on an EtherChannel link.

A

STP treats the interface as a single link

57
Q

Which STP feature is used as an alternative to BDPU Guard?

A

BPDU Filter

58
Q

Describe the difference between BPDU Guard and BPDU Filter.

A

BPDU Guard puts an interface into an err-disabled state if it detects a BPDU.

With BPDU Filter, the switch disables PortFast on the interface and treats it as a normal port and applies STP logic and processes.

59
Q

What is the command to enable BPDU Filter on all PortFast enabled ports by default

A

In global config mode:

spanning-tree portfast bpdufilter default

60
Q

What spanning-tree feature is used to prevent a new switch from becoming the root switch if it receives a superior BPDU

A

Root Guard

61
Q

What spanning-tree feature is used to prevent a RP or ALT port from becoming a DP due to a one way communications failure?

A

Loop Guard

62
Q

In what specific scenario would you enable Loop Guard on an interface

A

A switch to switch link connected by a fiber cable