Spanning Tree Flashcards

0
Q

What are the two types of STP and which type do Cisco devices run by default?

A

IEEE Spanning Tree and DECK Spanning Tree

Cisco devices run IEEE

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

What is the purpose of spanning tree protocol?

A

The basic function of STP is to prevent bridge loops (situation in which frames are forwarded in a loop indefinitely). This makes hardier, more redundant network designs possible (w/o STP, ^redundancy can mean ^potential for loops).

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

How is a device’s Bridge ID determined?

A

By adding its bridge priority and its MAC address.

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

If not chosen manually, which switch will be designated as the root switch?

A

The one with the lowest bridge ID.

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

Why is it possible for frames to get stuck in an indefinite loop but not for packets the same?

A

Because packets have a time-to-live (TTL), after the expiration of which they drop off the network, but frames don’t have a TTL or any equivalent field.

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

In IEEE Spanning Tree, what is the default bridge priority #?

A

32768

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

In VLAN-specific spanning tree (PVST or per-VLAN spanning tree), how is a VLAN’s bridge priority # determined?

A

Adding the VLAN# to the default bridge priority #:

VLAN 99
Bridge Priority = 32869 (32768+99)

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

What does RSTP stand for?

What is the command to enable it?

A

Rapid Spanning Tree Protocol

spanning-tree mode rapid PVST

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

What command can you use to show spanning tree information on a particular VLAN?

A
show spanning-tree VLAN(#) 
# = the VLAN number
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What command do you use to designate a switch as the primary root switch?

A

spanning-tree vlan(#) root primary

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

What is the first thing the spanning tree algorithm does?

A

Elects a root bridge.

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

What is the second thing the spanning tree algorithm does?

A

Elects a root port for each non-root switch.

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

What is the third thing the spanning tree algorithm does?

A

Elects a designated port for each segment.

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

What is the fourth thing the spanning tree algorithm does?

A

Puts each port into either a forwarding or blocking state.

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

What determines which port will be elected as the root port?

A

The root path cost of each port; the one with the lowest root path cost will be elected.

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

Which ports transition into a forwarding state and which into a blocking state?

A

Root and designated ports transition into a forwarding state, other ports into a blocking state.

16
Q

What determines the root path cost of a port?

A

The speed of the link.

17
Q

What is the purpose of PortFast?

A

To circumvent the 50-second latency of spanning tree (to shorten the duration of the ST process on ports that you know beforehand cannot create a loop on the network). It prevents edge ports from processing BPDU’s, and from engaging in Spanming Tree

18
Q

What has to occur in order for STP to conclude that a topology change has taken place?

A

The max_age timer has to have expired without the port having received a BPDU from the connected port. The default max_age timer setting is 20 seconds.