STP Flashcards

1
Q

Acronym BPDU

A

Bridge Protocol Data Units

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

What is the process for electing a root bridge?

A
  1. Lowest bridge ID wins (bridge priority compared first). Add Bridge priority + extended vlan. From there if there is still a tie, use the MAC address field (which is a part of the Bridge ID field).
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the default bridge priority on switches?

A

32768

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

Breakdown of the Bridge ID field

A

Bridge Priority (16 Bits) which encompasses bridge priority field (4 bits), and the extended vlan field (12 bits) + MAC address

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

Which switch (imagine a topology) will send BPDU’s?

A

Only the root bridge will send BPDUs.

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

How do we determine the root port on the remaining switches?

A
  1. The interface with the lowest root cost will win (Speed of an interface). 2. If the cost is the same, the lowest neighbor bridge ID will take home the pie! 3. If the neighbor bridge ID is the same, we will select the lowest neighbor port ID (interface) to become the root port.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How do we determine which ports will be non-designated or blocking?

A
  1. The switch with the lowest root cost will make its port designated. 2. If the root cost is the same, the switch with the lowest bridge ID will make its port designated or forwarding. 3. The other switch will make its port non-designated.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

STP Port states: Blocking

A

Will not learn MAC address, will receive BPDU’s, but will not forward them. Do not receive regular network traffic.

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

Listening

A

Will not learn MAC. Will not receive network traffic. Will receive BPDU’s and will forward BPDU’s. 15 seconds long - root and designated port.

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

Learning

A

Will learn MAC, will send and receive BPDUs, will not send or receive network traffic. 15 seconds

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

Forwarding

A

Will send and receive network traffic, will send BPDUs, learns MAC addresses and operates as normal.

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

What is BPDU guard

A

Security feature found in multiple networking devices. It prevents attacks on network by blocking Bridge Protocol Data Units that are sent from unauthorized devices.

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

What is Portfast?

A

Cause a switchport to transition almost immediately to a forwarding state when we plug something into that port - like a Laptop.

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

What happens if we remove a laptop, and plug a switch into a port that is enabled with portfast?

A

Could cause a Layer 2 loop - because you already have port setup to bypass the listening and learning stages. Remember, BPDU’s don’t arrive on a port setup with PortFast.

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

How does BPDU Guard work?

A

BPDU Guard works hand-in-hand with PortFast. It disables the interface (port) which has been setup for PortFast when it begins receiving BPDU’s on the interface. (Remember, BPDU’s are not received or sent on an interface that is running portfast).

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