Spanning Tree Flashcards

1
Q

What are the three types of BPDUs?

A
  • Configuration
  • TCN (topology change notification)
  • TCA (topology change acknowledgement)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are Configuration BPDUs used for?

A

Used to identify the root bridge, root ports, designated ports, and blocking ports.

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

What are TCN BPDUs used for and who sends them?

A

Used when a bridge discovers a change in topology, usually because of a link failure, bridge failure, or port transitioning to the forwarding state. It is forwarded on the root port toward the root bridge.

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

What are TCA BPDUs used for and who sends them?

A

Used by the upstream bridge to respond to the receipt of a TCN.

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

What does the BID consist of?

A

Bridge ID contains the Bridge Priority (Bridge priority + VLAN ID) and the MAC address.

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

If all switches in the network topology have the same priority, who becomes the root bridge?

A

The one with the lowest MAC address.

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

If a switch has two equal port costs to the bridge, what determines which interface becomes the root port?

A

The interface with the lowest port ID.

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

What is the port ID?

A

Port ID is a combination of port priority (128 is the default) and port number.

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

How is STP cost calculated?

A

STP cost is calculated from the bandwidth of a link.

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

Between two non-root bridges, what determines which part of the segment is blocked and other designated?

A

If there are two paths to the root bridge with equal cost, STP uses the following criteria for best path determination and consequently for determining the designated and non-designated ports on the segment:

Lowest root path cost to the root bridge

Lowest sender BID

Lowest sender port ID

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

What are the STP Port States?

A

STP Port States are:

  • Blocking
  • Listening
  • Learning
  • Forwarding
  • Disabled
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are the RSTP Port Roles?

A

RSTP Port Roles are:

  • Root
  • Designated
  • Alternate
  • Disabled
  • Backup
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are the RSTP Port States?

A

The RSTP Port states are:

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

What is Root Guard?

A

Root guard is a feature that prevents another switch with a superior BPDU from becoming the root bridge. Once enabled on the port, it can make the port go into root-inconsistent STP state.

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

What is Loop Guard?

A

Loop Guard is a loop prevention mechanism that when a non-designated port no longer receives BPDUs, it will move into a loop-inconsistent state rather than remain in forwarding.

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

What is UDLD and what does it do?

A

Unidirectional Link Detection (UDLD) s a Cisco-proprietary protocol that detects unidirectional links and prevents Layer 2 loops from occurring across fiber-optic cables.

17
Q

What is CST and what does it do?

A

Common Spanning Tree (CST) is the entire spanning tree topology in an enterprise which can integrate all forms of STP that might be in use.

18
Q

What is IST?

A

Internal Spanning Tree (IST) is a MST instance within a region that communicates to the outside CST at the boundary to maintain a single STP topology. In other words, a locally significant CST, bounded by the edges of a region.