Ch.3 - STP Flashcards

1
Q

What is STP?

A

A layer 2 loop prevention mechanism.

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

What is the first step when switches initialize STP?

A

Elect a root bridge

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

What determines the switch that becomes the root bridge?

A

1) Switch with lowest system priority
2) Then the lowest MAC address

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

What is the second step when switches initialize STP?

A

Each switch determines their root port (except the root bridge)

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

How does a switch determine its root port?

A

1) The interface with the lowest path cost is preferred
2) Then its the lowest port priority of the
3) Then the lowest port number

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

What is the third step when switches initialize STP?

A

Set redundant designated ports to block

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

What are non-root-port (non-RP) ports considered as?

A

Designated ports (DPs)

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

How does a switch determine which designated port(s) to block?

A

1) Interfaces with the lowest path cost to the root bridge (RB)
2) Lowest switch system priority
3) Lowest MAC address

(The lower one will stay up, and the other is blocked)

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

Where are root bridges usually placed?

A

On a core switch

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

What setting do you change to force a switch to become a root bridge?

A

Set system priority to the lowest one (0 to 61,440 in increments of 4,096)

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

What does the port cost decide for STP?

A

Which port is the root port or the alternate port between two switches

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

What does the port priority decide for STP?

A

Decides which link on two interconnected switches (where there are multiple redundant links to each switch) is the alternate port

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

What is Root Guard?

A

Prevents downstream switches from becoming the root bridge

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

What is STP Portfast?

A

This setting disables TCN generation for a port. Usually only set on access ports.

This means that an access port can bypass early .1D states and start forwarding immediately

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

What happens when a BPDU is received on a port that has Portfast enabled?

A

Portfast is disabled for that port

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

What is BPDU Guard?

A

When enabled, disables ports that receive a BPDU

(usually only enabled for Portfast-enabled ports)

17
Q

What is BPDU Filter?

A

Blocks BPDUs from being transmitted from a port

18
Q

What is STP loop guard?

A

Prevents “root” or “alternate” ports from becoming DPs due to loss of BPDUs on root port (RP)

  • When BPDUs are received again, the port goes through STP states again
19
Q

What is UDLD?

A

Uni-directional Link Detection

Bi-directional monitoring for a cable (fiber-optic, SFPs, etc.)

20
Q
A