Spanning Tree Protocols (STP) in Computer Networks
45 Questions
1 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What is the primary advantage of RSTP networks?

  • They are simpler than STP
  • They offer low availability
  • They offer high availability (correct)
  • They are only used in small networks
  • What happens to a port that has been disabled when it is enabled again?

  • It enters the blocking state (correct)
  • It enters a loop state
  • It enters the forwarding state
  • It stays disabled
  • What is the purpose of STP?

  • To balance the states across ports and avoid bridge looping (correct)
  • To enable all ports
  • To disable all ports
  • To create network loops
  • How does RSTP prevent network loops?

    <p>By blocking redundant paths on a network</p> Signup and view all the answers

    What is the first step in the RSTP algorithm?

    <p>Determine the root bridge</p> Signup and view all the answers

    What determines the root bridge in RSTP?

    <p>The switch with the lowest bridge priority</p> Signup and view all the answers

    What happens to all interfaces on the root bridge in RSTP?

    <p>They are placed in a forwarding state</p> Signup and view all the answers

    What is the purpose of the root port in RSTP?

    <p>To provide the best path to the root bridge</p> Signup and view all the answers

    How does the port cost affect the root port selection in RSTP?

    <p>The lower the port speed, the higher the cost</p> Signup and view all the answers

    What type of data units do bridges exchange to carry out STP operations?

    <p>Bridge protocol data units (BPDUs)</p> Signup and view all the answers

    What is the initial state of a port when STP is enabled on a network bridge?

    <p>Disabled</p> Signup and view all the answers

    What happens to frames received from the attached network segment in the blocking state?

    <p>They are discarded</p> Signup and view all the answers

    What happens to the address table in the learning state?

    <p>It is updated with learned information</p> Signup and view all the answers

    What is the function of a port in the forwarding state?

    <p>It forwards frames across the network segments</p> Signup and view all the answers

    What is the purpose of BPDUs in STP operations?

    <p>To provide network information to bridges</p> Signup and view all the answers

    What happens to frames forwarded from another port in the listening state?

    <p>They are discarded</p> Signup and view all the answers

    What is the transition from the blocking state to the listening state?

    <p>The port starts receiving and processing BPDUs</p> Signup and view all the answers

    What is the final state of a port after STP operations?

    <p>Forwarding</p> Signup and view all the answers

    What is the main purpose of Spanning Tree Protocol in a switched network?

    <p>To monitor network links and prevent looping</p> Signup and view all the answers

    Who invented the original Spanning Tree Protocol and algorithm?

    <p>Radia Perlman</p> Signup and view all the answers

    What is the IEEE standard for Spanning Tree Protocol?

    <p>IEEE 802.1D</p> Signup and view all the answers

    What is the primary function of an algorithm in Spanning Tree Protocol?

    <p>To search for redundant links in the LAN</p> Signup and view all the answers

    What happens to redundant links in Spanning Tree Protocol?

    <p>They are put in blocking state</p> Signup and view all the answers

    What is the main reason for using Spanning Tree Protocol in a network with redundant paths?

    <p>To prevent looping in the network</p> Signup and view all the answers

    What does Spanning Tree Protocol use to control the flow of traffic?

    <p>Algorithm</p> Signup and view all the answers

    What is the role of bridges in Spanning Tree Protocol?

    <p>To continually understand the topology of the network</p> Signup and view all the answers

    What is a characteristic of Spanning Tree Protocol?

    <p>It monitors network links and prevents looping</p> Signup and view all the answers

    What is the main criteria for selecting the root port in a non-root switch?

    <p>Low port cost</p> Signup and view all the answers

    What is the role of a designated port in RSTP?

    <p>To provide the lowest root path cost in a LAN segment</p> Signup and view all the answers

    What happens to an alternate port when the root port fails?

    <p>It becomes the new designated port</p> Signup and view all the answers

    What is the role of a backup port in RSTP?

    <p>To act as a backup for the designated port</p> Signup and view all the answers

    What is the name of the messages exchanged between switches on the network?

    <p>Bridge Protocol Data Units (BPDUs)</p> Signup and view all the answers

    How many root ports are there per non-root switch in RSTP?

    <p>One</p> Signup and view all the answers

    What is the state of a port that is not passing data to other switches on the network?

    <p>Discarding</p> Signup and view all the answers

    What is the primary difference between RSTP and STP?

    <p>RSTP has fewer port states than STP</p> Signup and view all the answers

    What is the purpose of a designated port in a LAN segment?

    <p>To provide the lowest root path cost</p> Signup and view all the answers

    What is a major advantage of RSTP over STP?

    <p>Faster convergence time</p> Signup and view all the answers

    What is the function of the Alternate port in RSTP?

    <p>To directly enter the forwarding state</p> Signup and view all the answers

    What is the primary purpose of MSTP?

    <p>To provide multiple forwarding paths for data traffic</p> Signup and view all the answers

    What is the Listening state used for in STP?

    <p>Sending and receiving BPDUs</p> Signup and view all the answers

    What is the benefit of MSTP in terms of bridge computations?

    <p>Bridges have less computations to perform</p> Signup and view all the answers

    What is the standardized protocol for MSTP?

    <p>IEEE 802.1Q-2014</p> Signup and view all the answers

    What is the function of the Blocking state in STP?

    <p>No forwarding, processing, or learning of MAC addresses</p> Signup and view all the answers

    What is the advantage of MSTP in terms of VLANs?

    <p>MSTP permits numerous VLANs to share STP instances</p> Signup and view all the answers

    What is the main difference between RSTP and STP?

    <p>RSTP has a faster convergence time</p> Signup and view all the answers

    Study Notes

    Spanning Tree Protocols (STP)

    • Spanning tree protocols are used in switched networks to monitor and control traffic flow, preventing data loops and ensuring network performance.
    • The original STP algorithm was invented by Radia Perlman in 1985, and later standardized by IEEE as IEEE 802.1D.
    • STP uses an algorithm to search for redundant links in the LAN and select the best paths, putting links in either forwarding or blocking states.

    STP Port States

    • There are five STP port states:
      • Disabled: The port is totally disabled and does not participate in frame forwarding or STP operations.
      • Blocking: The port does not participate in frame forwarding and discards frames received from the attached network segment, but continues to listen for and process BPDUs.
      • Listening: The port discards frames from the attached network segment or forwarded from another port, but receives BPDUs and redirects them to the switch module for processing.
      • Learning: The port listens for and processes BPDUs, but discards frames from the attached network segment or forwarded from another port, and starts updating the address table with learned information.
      • Forwarding: The port moves from the learning state to the forwarding state, starts forwarding frames across network segments, and continues to receive and process BPDUs and update the address table.

    Rapid Spanning Tree Protocol (RSTP)

    • RSTP is an improvement over STP, providing high availability of network and loop-free topology within Ethernet networks.
    • RSTP prevents network loops by blocking redundant paths on a network, and establishes a root bridge and blocking specific ports to prevent network loops.
    • RSTP algorithm steps:
      • Determine the root bridge: The switch with the lowest bridge priority will be the root bridge, and if there is a tie, the switch with the lowest MAC address is selected.
      • All interfaces on the root bridge are placed in a Forwarding state.
      • All other switches on the network (non-root) select a root port: The root port is the best path to the root bridge based on its port cost.
      • Designated ports are selected: These ports are permitted to forward traffic and are also selected based on port cost.
      • All other ports are in a discarding (blocking) state.

    RSTP Port Roles

    • Root Port: The port that receives BPDUs on the root bridge.
    • Designated Port: The port selected in each LAN segment that provides the lowest root path cost.
    • Alternate Port: A backup for the root port in case of failure, and is blocked during typical operation of the root port.
    • Backup Port: A backup for the designated port, and is normally blocked when the designated port is operating correctly.

    RSTP States

    • RSTP has three port states: Discarding, Learning, and Forwarding.
    • The Disabled, Blocking, and Listening states described by STP have been combined into the Discarding state in RSTP.
    • RSTP allows the Alternate port and Backup port to directly enter the forwarding state, reducing convergence time.

    Multiple Spanning Tree Protocol (MSTP)

    • MSTP creates multiple spanning trees (instances) for each VLAN on a single physical network.
    • MSTP allows each VLAN to have a configured root bridge and forwarding topology.
    • MSTP uses RSTP to provide rapid convergence, enables VLANs to be grouped into a spanning-tree instance, provides multiple forwarding paths for data traffic, and enables load balancing.
    • MSTP is standardized by the IEEE within the 802.1Q-2014 report.

    Studying That Suits You

    Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

    Quiz Team

    Related Documents

    ch6.pdf

    Description

    Learn about Spanning Tree Protocols and their role in switched networks, including the algorithm and port states.

    More Like This

    STP and RSTP Basics
    12 questions

    STP and RSTP Basics

    InexpensiveGnome avatar
    InexpensiveGnome
    Use Quizgecko on...
    Browser
    Browser