Chapter 2: Spanning Tree Flashcards

1
Q

List the 802.1D port states

A
Disabled
Blocking
Listening
Learning
Forwarding
Broken
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Identify the CST port state:

-The port is shutdown.

A

Disabled

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

Identify the CST port state:

  • Port is enabled but not forwarding traffic.
  • Can only receive BPDU from other switches.
A

Blocking

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

Identify the CST port state:

  • Port has transitioned from a blocking state and can now send or receive BPDUs.
  • Port is capable of becoming root port.
  • 15 seconds.
A

Listening

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

Identify the CST port state:

  • Port can modify MAC address table with any traffic it receives.
  • Does not forward traffic except BPDUs.
  • 15 seconds
A

Learning

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

Identify the CST port state:

  • Port can forward all network traffic and update MAC address table.
  • This is the final port state.
A

Forwarding

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

Identify the CST port state:

  • A configuration or an operational problem on a port that can have major effects has been detected.
  • The port discards packets as long as the problem continues to exist.
A

Broken

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

By default, how long does 802.1D take for a port to transition through all the port states?

A

30 seconds

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

List the 802.1D port types

A

Root port
Designated port
Blocking port

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

Original STP from IEEE.

Ensures loop-free topology for one vlan.

A

802.1D

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

Root of the spanning-tree from which all path calculations are directed towards.

Lowest BID

A

Root bridge

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

What is a BPDU?

A

Bridge Protocol Data Unit

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

What destination MAC does a BPDU use?

A

Multicast 01:80:c2:00:00:00

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

What does the configuration BPDU identify?

A

Root bridge
Root ports
Designated ports
Blocking ports

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

When is a Topology Change Notifcation (TCN) BPDU sent?

A

When a link status changes.

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

Combined cost for a specific path toward the root switch.

A

Root path cost

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

4-bit value that identifies the preference for a switch to be root bridge.

A

System priority (Bridge priority)

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

What is the default system priority?

A

32768

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

What is the system ID extension?

A

12-bit value.

Indicates the VLAN that the BPDU correlates to.

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

What combines to form the root bridge identifier?

A

Root bridge system MAC
System ID extension
System priority of the root bridge

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

What combine to form the local bridge identifier?

A

Local switch’s MAC address
System ID extension
System priority of root bridge

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

The maximum length of time that passes before a bridge port saves its BPDU information.

A

Max age

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

Max age default value

A

20 seconds

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

What three timers does STP use to make sure that a network converges properly before a bridging loop occurs?

A

Hello timer
Forward delay
Max age

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
What are the 2 spanning-tree cost modes?
Short mode | Long mode
26
``` STP Port Costs: 10 Mbps 100 Mbps 1 Gbps 10 Gbps ```
``` SM / LM 10 Mbps = 100 / 2,000,000 100 Mbps = 19 / 200,000 1 Gbps = 4 / 20,000 10 Gbps = 2 / 2,000 ```
27
Hello timer default interval
2 seconds
28
Max age default time
20 seconds
29
Forward delay default value
15 seconds
30
What command is used to configure spanning-tree for long-mode interface cost?
spanning-tree pathcost method long
31
What does a BID consist of?
``` Bridge priority (system priority)- 2 bytes MAC address- 6 bytes ```
32
How many bytes make up a BID?
8 bytes
33
Bridge priority range and default value?
Range: 0-65535 Default: 32768 (0x8000)
34
Explain the root bridge election process.
1. Switches send out BPDUs with a root BID equal to its own BID and a sender BID that is it's own BID. 2. Received BPDUs are analyzed to determine if it is a better BPDU. 3. The switch that sent the better BPDU becomes the root bridge. 4. Non-root bridges update their BPDU to advertise the net root BID and root path cost.
35
What determines the root bridge?
1. Lower Bridge priority. | 2. Lower MAC address (if priority is the same).
36
Interface STP cost is used to determine ____ ____ ___ ?
Root path cost
37
Which switch will become the root bridge? Switch A: System priority 16572 MAC 0062.ec9d.c500 Switch B: System Priority 20480 MAC 0062.ec9d.3500 Switch C: System priority 32768 MAC 0062.ec9d.a500
Switch B.
38
What command is used to display the root bridge?
show spanning-tree root
39
Root port election process
1. Interface with lowest path cost. 2. Interface with the lowest system priority of advertising switch. 3. Interface with the lowest MAC address of advertising switch. 4. Lowest port priority, if multiple links involved. 5. Lower port number, if multiple links involved.
40
If two non-root switches are connected on their designate ports, what port state will one of the ports become?
Blocking
41
What determines which port becomes blocked between two non-root switches?
Switch must be a designated port 1. Switch with the higher path cost blocks. 2. Higher system priority blocks. 3. Higher MAC address blocks.
42
List the various STP versions.
``` 802.1D PVST PVST+ 802.1W RSTP 802.1S MST ```
43
What 3 STP modes do Cisco Catalyst switches operate in?
PVST+ RSTP MST
44
What port types are expected on Catalyst switches?
P2P | P2P Edge
45
This type of port specifies portfast is enable on the port.
P2P Edge
46
This port type connects with another network device,
P2P
47
'show spanning-tree' is issued on a switch. The Type field shows *TYPE_INC. What does this signify?
Port configuration mismatch between the switch and the switch it's connected to.
48
True or False: BPDUs always flow from the edge switches to the root bridge in a stable L2 topology.
False. BPDUs originate from the root bridge.
49
True or False: Root bridges contain root ports.
False: All ports on a root bridge are designated ports.
50
What cause a TCN BPDU to be generated?
L2 topology change.
51
What does the root bridge do when a TCN BPDU is received?
1. Creates a new configuration BPDU. 2. Sets the topology change flag. 3. Floods the BPDU to all switches.
52
What does a non-root bridge do when it receives a configuration BPDU with the topology change flag set?
1. Changes MAC address timer to the forwarding delay timer. 2. Flushes all learned MAC address, EXCEPT MACs that are actively communication. 3. Reset MAC address timer to default (300 seconds) when second configuration BPDU is received.
53
True or False: TCNs are generated on a VLAN basis.
True
54
What command shows topology changes?
show spanning-tree [vlan #] detail
55
True or False: A root bridge can generate a configuration BPDU with the Topology Change flag set, without ever receiving a TCN.
True
56
What are the IEEE spanning-tree versions?
802. 1D Common Spanning Tree 802. 1W RSTP 802. 1S MSTP
57
What are the Cisco spanning-tree versions?
PVST PVST+ RPVST+
58
What are the 802.1W port states?
Discarding Learning Forwarding
59
Name the 802.1W root ports.
Root port Designated port Alternate port Backup port
60
Name the 802.1W port types.
Edge port Root port Point-to-point port
61
True or False: 802.1D improve 802.1W by reducing the number of port states a port transitions through to reach the forwarding state.
False 802. 1D is CST. 8021. W is RSTP
62
A port that connects to the root switch or an upstream switch. Has the best path cost toward the root bridge.
Root port
63
A port that provides connectivity to downstream switches and devices.
Designated port
64
A port that provides alternate connectivity toward the root through a different switch.
Alternate port
65
This port only exists when there are multiple links between the same switches. It cannot guarantee connectivity to the root in the event that the upstream switch fails.
Backup port
66
A port where host connect to the L2 topology with one interface and cannot form a loop.
Edge port