Spanning Tree Protocol - Spanning Tree Protocol Fundamentals

22 important questions on Spanning Tree Protocol - Spanning Tree Protocol Fundamentals

Spanning Tree has 5 versions, which ones?

1. 802.1D, the original specifications
2. Per-VLAN Spanning Tree (PVST)
3. Per-VLAN Spanning Tree Plus (PVST+)
4. 802.1W Rapid Spanning Tree Protocol (RSTP)
5. 802.1S Multiple Spanning Tree (MST)

How many instances of Spanning Tree are supported by the original 802.1D Spanning Tree Protocol standard.

Only one instance, meaning all VLANs will be measured against the same instance.

How many instances of Spanning Tree are supported by the original 802.1D Spanning Tree Protocol standard.

Only one instance, meaning all VLANs will be measured against the same instance.
  • Higher grades + faster learning
  • Never study anything twice
  • 100% sure, 100% understanding
Discover Study Smart

Name 6 port states of the original 802.1D Spanning Tree Protocol standard.

1. Disabled (Shutdown)
2. Blocking (Blocked by STP to prevent a loop)
3. Listening (Transitioned from blocking, listening for BPDUs)
4. Learning (Learning MAC addresses it receives, no user-traffic forwarding.)
5. Forwarding (Final state, forwarding user traffic.)   
6. Broken (Configuration or Operational problem on the port.)

What are the default timers for 802.1D STP Listening and Learning states.

Listening 15 seconds
Learning 15 seconds

What is a Root Bridge

The Root Bridge or Switch is considered to be at the top of the Spanning Tree. All ports are Designated Ports.

What is the destination MAC address of a Bridge Protocol Data Unit (BPDU).

01:80:C2:00:00:00

A Configuration BPDU has 7 pieces of information. Which ones?

1. STP Type
2. Root Path Cost
3. Root Bridge Identifier
4. Local Bridge Identifier
5. Max Age Time
6. Hello Time
7. Forward Delay

What is the Root Path Cost?

The combined cost of a specific path to the Root Bridge

In STP, what is the System Priority and what is it used for?

It is a 4-bit value that indicates the preference of the bridge to be the Root. Default value is 32768

In STP, what is the System ID Extension.

It is a 12-bit value that represents the VLAN the BPDU belongs to,

What are the Root and Local Bridge Identifier and what are they comprised of.

It is a unique identifier comprised of Base System MAC address, System Priority and the System ID Extension.

In STP, what is the Max Age Timer for and what is the default value.

It is the time the received BPDU information is assumed valid. Default value is 20 seconds.

In STP, what is the Hello Time for and what is the default value?

It is how often a BPDU is advertised out of a port. Default value is 2 seconds.

In STP, what is the Forward Delay used for and what is the default value.

It is the time the port stays in Listening and Learning mode. By default it is 15 secondes per state.

In Spanning Tree, each interface has an STP cost based on it's speed. Which 2 STP Cost methods are there and what are they based on?

1. Short-Mode STP Cost: Original and default. Based on 20 Gbps. 16 bit value
2. Long-Mode STP Cost: Newer version. Based on 20 Tbps. 32 bit value

How is the Root Bridge Elected?

A Bridge assumes it is the Root Bridge. If a neighbor's configuration BPDU is more preferrable it updates it's own.
It first compares the Priority, lower is better, if these are the same then the Bridge with the lower MAC is preferred.

There are 5 steps to identify the Root Ports, name which 5 in the correct order?

1. Interface with the lowest Path Cost.
2. Interface associated with the lowest system priority of the advertising switch
3. Interface associated with the lowest system MAC of the advertising switch
4. When connected to the same switch the lowest port priority from the advertising switch is used.
5. When the port priority is the same the lowest port number of the advertising switch is used.

After locating the Root Ports all other ports are considered Designated Ports. When two non-root switches are connected on Designated ports, one of the ports needs to be blocked to prevent a loop. Name the 6 steps to identify the Blocked ports

1. The interface is a Designated Port.
2. The switch with the higher path cost blocks.
3. The switch with the higher priority blocks
4. The switch with the higher MAC address blocks
5. The port where the advertised port priority is lower is Designated. The other port is blocked.
6. The port where the advertised port id is lower is Designated . The other port is blocked.

If the Type field includes *TYPE_inc - it indicates a port configuration mismatch. What are 2 common issues?

1. Port type being incorrect.
2. Port mode (Access vs Trunk). Incorrect

If a Layer 2 topology change is detected, what happens in STP?

1. The switch that detects the change sends a Topology Change Notification (TCN) out of it's Root Port.
2. Intermediate switch send an Ack message and forwards the TCN.
3. The Root Bridge creates a new Configuration BPDU with the TCN Flag set and floods it to all switches.
4. Switches that receive the BPDU with the TCN set, temporarily set the MAC age time to 15 seconds. Effectively flushing all MAC addresses older than 15 seconds.

What happens when there is a loss of BPDUs on a root port.

When the STP Max Age Timer of 20 seconds runs out the cached root port entry is flushed. A new root port is then elected.

The question on the page originate from the summary of the following study material:

  • A unique study and practice tool
  • Never study anything twice again
  • Get the grades you hope for
  • 100% sure, 100% understanding
Remember faster, study better. Scientifically proven.
Trustpilot Logo