Day 20 Flashcards - STP

1
Q

‘Classic’ Spanning Tree Protocol is IEEE […]

A

802.1D

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

Cisco switches use a version of STP called […], which runs a separate spanning tree instance in each VLAN.

A

PVST (Per-Vlan Spanning Tree)

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

Do all switches run STP by default?

A

Yes

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

How many root bridges are elected in STP?

A

One

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

If looped Layer 2 broadcast messages accumulate and congest a network, this is called a […]

A

broadcast storm

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

In an 802.1D STP network, which switch(es) send BPDUs?

A

Root bridge only

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

Interface Speed: 1 Gbps
802.1D STP cost: […]

A

4

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

Interface Speed: 10 Gbps
802.1D STP cost: […]

A

2

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

Interface Speed: 10 Mbps
802.1D STP cost: […]

A

100

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

Interface Speed: 100 Mbps
802.1D STP cost: […]

A

19

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

Interface Speed: […]
802.1D STP cost: 100

A

10 Mbps

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

Interface Speed: […]
802.1D STP cost: 19

A

100 Mbps

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

Interface Speed: […]
802.1D STP cost: 2

A

10 Gbps

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

Interface Speed: […]
802.1D STP cost: 4

A

1 Gbps

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

STP Designated ports are in a […] state.

A

forwarding

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

STP Non-Designated ports are in a […] state

A

blocking

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

STP root port selection:
1: Lowest […]
2: Lowest […]
3: Lowest […]

A
  1. root cost
  2. neighbor bridge ID
  3. neighbor port ID
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

STP Root ports are in a […] state.

A

forwarding

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

STP: All ports on the root bridge are […] ports (forwarding state)

A

designated

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

STP: The default bridge priority is […] (not including Extended System ID)

A

32768

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

STP: The switch with the lowest […] becomes the root bridge.

A

Bridge ID

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

STP: There must be one […] port per collision domain.

A

designated

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

STP: There must be one designated port per […].

A

collision domain

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

STP: When a switch is powered on, it assumes the role of […] bridge.

A

root

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

The messages sent by STP switches are called:

A

BPDUs (Bridge Protocol Data Units)

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

The STP bridge priority can be changed in units of […]

A

4096

Possible values (you don’t have to memorize these!):
0, 4096, 8192, 12288, 16384, 20480, 24576, 28672, 32768, 36864, 40960, 45056, 49152, 53248, 57344, or 61440

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

Three fields of the STP Bridge ID:
[…] (4 bits)
Extended System ID (12 bits)
MAC Address (48 bits)

A

Bridge Priority

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

Three fields of the STP Bridge ID:
Bridge Priority (4 bits)
[…] (12 bits)
MAC Address (48 bits)

A

Extended System ID (VLAN ID)

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

Three fields of the STP Bridge ID:
Bridge Priority (4 bits)
Extended System ID (12 bits)
[…] (48 bits)

A

MAC Address

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

Three fields of the STP Bridge ID:
Bridge Priority (4 bits)
Extended System ID (12 bits)
MAC Address ([…] bits)

A

48

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

Three fields of the STP Bridge ID:
Bridge Priority (4 bits)
Extended System ID ([…] bits)
MAC Address (48 bits)

A

12

32
Q

Three fields of the STP Bridge ID:
Bridge Priority ([…] bits)
Extended System ID (12 bits)
MAC Address (48 bits)

A

4

33
Q

What does BPDU stand for?

A

Bridge Protocol Data Unit

34
Q

What does PVST stand for?

A

Per-VLAN Spanning Tree

35
Q

When a switch rapidly and continuously updates a MAC address in its MAC address table, alternating between different interfaces, this is known as […]

A

MAC address flapping

36
Q

Which field in the STP BPDU is used to elect the root bridge?

A

Bridge ID field

37
Q

[…] allows an STP port to move immediately to the forwarding state.

A

Portfast

38
Q

Configure spanning tree in PVST mode:
SW1(config)# […]

A

spanning-tree mode pvst

39
Q

Configure the spanning-tree root for a VLAN:
SW1(config)# […]

A

spanning-tree vlan vlan-id root primary

40
Q

Configure the spanning-tree secondary root for a VLAN:
SW1(config)# […]

A

spanning-tree vlan vlan-id root secondary

41
Q

Configure the STP cost of an interface:
SW1(config-if)# […]

A

spanning-tree vlan vlan-id cost cost

42
Q

Configure the STP priority of an interface:
SW1(config-if)# […]

A

spanning-tree vlan vlan-id port-priority priority

43
Q

Enable BPDU Guard on a switch port:
SW1(config-if)# […]

A

spanning-tree bpduguard enable

44
Q

Enable BPDU Guard on all Portfast-enabled interfaces:
SW1(config)# […]

A

spanning-tree portfast bpduguard default

45
Q

Enable portfast on a switch port:
SW1(config-if)# […]

A

spanning-tree portfast

46
Q

Enable portfast on all access ports on the switch:
SW1(config)# […]

A

spanning-tree portfast default

47
Q

If an interface with […] enabled receives a BPDU from another switch, the interface will be shut down.

A

BPDU Guard

48
Q

PVST+ BPDUs are sent to destination MAC address:

A

0100.0ccc.cccd

49
Q

spanning-tree vlan vlan-id root secondary sets the STP priority to […]

A

28672

50
Q

spanning-treee vlan vlan-id root primary sets the STP priority to […], or 4096 less than the current root’s priority.

A

24576

51
Q

Standard STP (NOT PVST) BPDUs are sent to destination MAC address:

A

0180.c200.0000

52
Q

STP BPDUs are only forwarded on […] ports.

A

designated

53
Q

STP default Forward delay timer:

A

15 seconds

54
Q

STP default hello timer:

A

2 seconds

55
Q

STP default max age timer:

A

20 seconds (10*hello timer)

56
Q

STP: A blocking interface [can/can’t] move directly to a forwarding state.

A

can’t

57
Q

STP: A forwarding interface [can/can’t] move directly to a blocking state.

A

can

58
Q

STP: Do interfaces in a blocking state learn MAC addresses?

A

No

59
Q

STP: Do interfaces in a blocking state receive BPDUs?

A

Yes

60
Q

STP: Do interfaces in a blocking state send BPDUs?

A

No

61
Q

STP: Do interfaces in a blocking state send/receive regular network traffic?

A

No

62
Q

STP: Do interfaces in a Forwarding state learn MAC addresses?

A

Yes

63
Q

STP: Do interfaces in a Forwarding state send/receive BPDUs?

A

Yes

64
Q

STP: Do interfaces in a Forwarding state send/receive regular network traffic?

A

Yes

65
Q

STP: Do interfaces in a Learning state learn MAC addresses?

A

Yes

66
Q

STP: Do interfaces in a Learning state send/receive BPDUs?

A

Yes

67
Q

STP: Do interfaces in a Learning state send/receive regular network traffic?

A

No

68
Q

STP: Do interfaces in a Listening state learn MAC addresses?

A

No

69
Q

STP: Do interfaces in a Listening state send/receive BPDUs?

A

Yes

70
Q

STP: Do interfaces in a Listening state send/receive regular network traffic?

A

No

71
Q

STP: Non-designated ports are in a […] state.

A

Blocking

72
Q

SW1(config)# spanning-tree portfast default
This command enables portfast on which ports?

A

All access ports

73
Q

The STP timers on the […] determine the timers used for all switches in the network.

A

root bridge

74
Q

What are the two ‘stable’ STP port states?

A

Blocking, Forwarding

75
Q

What are the two ‘transitional’ STP port states?

A

Listening, Learning

76
Q

Which STP optional feature prevents a newly connected switch from becoming the root bridge?

A

Root Guard

77
Q

Which STP optional feature shuts down an interface if it stops receiving BPDUs?

A

Loop Guard