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
The messages sent by STP switches are called:
BPDUs (Bridge Protocol Data Units)
26
The STP bridge priority can be changed in units of [...]
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
27
Three fields of the STP Bridge ID: [...] (4 bits) Extended System ID (12 bits) MAC Address (48 bits)
Bridge Priority
28
Three fields of the STP Bridge ID: Bridge Priority (4 bits) [...] (12 bits) MAC Address (48 bits)
Extended System ID (VLAN ID)
29
Three fields of the STP Bridge ID: Bridge Priority (4 bits) Extended System ID (12 bits) [...] (48 bits)
MAC Address
30
Three fields of the STP Bridge ID: Bridge Priority (4 bits) Extended System ID (12 bits) MAC Address ([...] bits)
48
31
Three fields of the STP Bridge ID: Bridge Priority (4 bits) Extended System ID ([...] bits) MAC Address (48 bits)
12
32
Three fields of the STP Bridge ID: Bridge Priority ([...] bits) Extended System ID (12 bits) MAC Address (48 bits)
4
33
What does BPDU stand for?
Bridge Protocol Data Unit
34
What does PVST stand for?
Per-VLAN Spanning Tree
35
When a switch rapidly and continuously updates a MAC address in its MAC address table, alternating between different interfaces, this is known as [...]
MAC address flapping
36
Which field in the STP BPDU is used to elect the root bridge?
Bridge ID field
37
[...] allows an STP port to move immediately to the forwarding state.
Portfast
38
Configure spanning tree in PVST mode: SW1(config)# [...]
spanning-tree mode pvst
39
Configure the spanning-tree root for a VLAN: SW1(config)# [...]
spanning-tree vlan vlan-id root primary
40
Configure the spanning-tree secondary root for a VLAN: SW1(config)# [...]
spanning-tree vlan vlan-id root secondary
41
Configure the STP cost of an interface: SW1(config-if)# [...]
spanning-tree vlan vlan-id cost cost
42
Configure the STP priority of an interface: SW1(config-if)# [...]
spanning-tree vlan vlan-id port-priority priority
43
Enable BPDU Guard on a switch port: SW1(config-if)# [...]
spanning-tree bpduguard enable
44
Enable BPDU Guard on all Portfast-enabled interfaces: SW1(config)# [...]
spanning-tree portfast bpduguard default
45
Enable portfast on a switch port: SW1(config-if)# [...]
spanning-tree portfast
46
Enable portfast on all access ports on the switch: SW1(config)# [...]
spanning-tree portfast default
47
If an interface with [...] enabled receives a BPDU from another switch, the interface will be shut down.
BPDU Guard
48
PVST+ BPDUs are sent to destination MAC address:
0100.0ccc.cccd
49
spanning-tree vlan vlan-id root secondary sets the STP priority to [...]
28672
50
spanning-treee vlan vlan-id root primary sets the STP priority to [...], or 4096 less than the current root's priority.
24576
51
Standard STP (NOT PVST) BPDUs are sent to destination MAC address:
0180.c200.0000
52
STP BPDUs are only forwarded on [...] ports.
designated
53
STP default Forward delay timer:
15 seconds
54
STP default hello timer:
2 seconds
55
STP default max age timer:
20 seconds (10*hello timer)
56
STP: A blocking interface [can/can't] move directly to a forwarding state.
can't
57
STP: A forwarding interface [can/can't] move directly to a blocking state.
can
58
STP: Do interfaces in a blocking state learn MAC addresses?
No
59
STP: Do interfaces in a blocking state receive BPDUs?
Yes
60
STP: Do interfaces in a blocking state send BPDUs?
No
61
STP: Do interfaces in a blocking state send/receive regular network traffic?
No
62
STP: Do interfaces in a Forwarding state learn MAC addresses?
Yes
63
STP: Do interfaces in a Forwarding state send/receive BPDUs?
Yes
64
STP: Do interfaces in a Forwarding state send/receive regular network traffic?
Yes
65
STP: Do interfaces in a Learning state learn MAC addresses?
Yes
66
STP: Do interfaces in a Learning state send/receive BPDUs?
Yes
67
STP: Do interfaces in a Learning state send/receive regular network traffic?
No
68
STP: Do interfaces in a Listening state learn MAC addresses?
No
69
STP: Do interfaces in a Listening state send/receive BPDUs?
Yes
70
STP: Do interfaces in a Listening state send/receive regular network traffic?
No
71
STP: Non-designated ports are in a [...] state.
Blocking
72
SW1(config)# spanning-tree portfast default This command enables portfast on which ports?
All access ports
73
The STP timers on the [...] determine the timers used for all switches in the network.
root bridge
74
What are the two 'stable' STP port states?
Blocking, Forwarding
75
What are the two 'transitional' STP port states?
Listening, Learning
76
Which STP optional feature prevents a newly connected switch from becoming the root bridge?
Root Guard
77
Which STP optional feature shuts down an interface if it stops receiving BPDUs?
Loop Guard