STP
52 Questions
18 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 becomes a critical business concern as businesses become increasingly dependent on the network?

  • Network security
  • Network availability (correct)
  • Network speed
  • Network scalability
  • What is the primary solution for achieving the necessary availability in network infrastructure?

  • Load balancing
  • Redundancy (correct)
  • Virtualization
  • Encryption
  • How does Layer 2 redundancy improve network availability?

  • By reducing network traffic through blocking redundant traffic
  • By implementing alternate network paths by adding equipment and cabling (correct)
  • By upgrading the network protocols
  • By simplifying network configuration
  • What allows for a single path to be disrupted without impacting the connectivity of devices on the network?

    <p>Having multiple paths for data to traverse the network</p> Signup and view all the answers

    What can happen when multiple paths exist between two devices on the network and STP is disabled?

    <p>Layer 2 loop</p> Signup and view all the answers

    What prevents Layer 2 loops when STP is enabled on switches?

    <p>Loop avoidance by blocking redundant paths</p> Signup and view all the answers

    STP id enabled by default on switches running layer 2, and this prevents layer 2 loops and duplicates frames.

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

    What is the primary function of the Spanning Tree Protocol (STP)?

    <p>To ensure a single logical path between all destination at the network by blocking redundant paths which cause loops</p> Signup and view all the answers

    How do switches running STP compensate for failures?

    <p>By dynamically unblocking previously blocked ports to allow alternate paths.</p> Signup and view all the answers

    What is the role of a root bridge(single switch) in STP?

    <p>It serves as the reference point for all calculations</p> Signup and view all the answers

    How are root ports determined in STP?

    <p>They are the switch ports closest to the root bridge</p> Signup and view all the answers

    What is the specific role of a Designated Port in a Spanning Tree Protocol (STP) network?

    <p>Permits all non-root ports to forward of traffic on the network</p> Signup and view all the answers

    What is the primary function of non-designated ports in a Spanning Tree Protocol (STP) ?

    <p>configures ports to be in a blocking state to prevent loops</p> Signup and view all the answers

    How does Spanning Tree Protocol (STP) determine which switch ports need to be configured for blocking to prevent loops in a network?

    <p>Using the Spanning Tree Algorithm (STA)</p> Signup and view all the answers

    What is the role of the Spanning Tree Algorithm (STA) in selecting a root bridge as a reference point for all calculations?

    <p>It designates a single switch as the root bridge using an election process.</p> Signup and view all the answers

    The election process is controlled by the Bridge-ID (BID).

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

    By default, what determines the root bridge in a Spanning Tree Protocol (STP) network?

    <p>The lowest MAC address of switch in the network.</p> Signup and view all the answers

    How can the default selection of the root bridge be changed in STP?

    <p>By configuring the bridge priority.</p> Signup and view all the answers

    Highest bridge priority configured is root bridge

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

    What are the port roles on the root bridge in STP?

    <p>All ports are designated ports.</p> Signup and view all the answers

    What is the role of ports on non-root bridges connected to the root bridge in STP?

    <p>All are root ports.</p> Signup and view all the answers

    What are the ports connected to designated ports that are not root ports known as in STP?

    <p>Non-designated ports.</p> Signup and view all the answers

    Speed of ports also used to calculate link cost back to root bridge.

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

    The root bridge is elected for the spanning-tree instance.

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

    In a network topology, what determines the calculation of port roles?

    <p>The location of the root bridge</p> Signup and view all the answers

    What is the function of a root port in a network switch?

    <p>Determines the best path to forward traffic to the root bridge</p> Signup and view all the answers

    What defines a designated port in an STP topology?

    <p>A port that receives and forwards frames toward the root bridge.</p> Signup and view all the answers

    How many designated ports are permitted per segment in a network?

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

    What is a non-designated port in STP?

    <p>A port that is in blocking state.</p> Signup and view all the answers

    Which of the following are states that a port on a network switch can be in?

    <p>Listening, learning, forwarding, blocking, disabled</p> Signup and view all the answers

    What is the function of a port in "Blocking" state in a network?

    <p>It is a non-designated port and does not participate in frame forwarding.</p> Signup and view all the answers

    What does it mean when a port is in the "Listening" state in Spanning Tree Protocol (STP)?

    <p>STP has determined that the port can participate in frame forwarding based on received BPDU frames the switch received.</p> Signup and view all the answers

    What occurs when a port is in the "Learning" state in a network switch?

    <p>The port prepares to participate in frame forwarding and begins to populate the MAC address table.</p> Signup and view all the answers

    What is the characteristic of a port in the "Forwarding" state in a network switch?

    <p>The port is considered part of the active topology, forwards frames, and also sends and receives BPDU frames.</p> Signup and view all the answers

    What is the characteristic of a port in the "Disabled" state in a network switch?

    <p>The Layer 2 port does not participate in STP and does not forward frames.</p> Signup and view all the answers

    Which of the following accurately describe STP convergence? Select all 2 that apply (A)The time it takes for the network to set switch ports to their final spanning-tree port roles where all potential loops are eliminated. (B)The time it takes for the network to propagate the changes to all switches in the network. (C)The time it takes for the network to determine which switch is going to assume the role of the root bridge. (D)The time it takes for the network to elect the Designated and Non-designated ports.

    <p>A, C</p> Signup and view all the answers

    What are the three steps in STP convergence?

    <p>Elect a root bridge, elect the root ports, elect the Designated and Non-designated ports.</p> Signup and view all the answers

    What is true about the election process in a broadcast domain in STP?

    <p>All switches in the broadcast domain participate.</p> Signup and view all the answers

    What occurs after a switch boots regarding Bridge Protocol Data Units (BPDU) frames?

    <p>The switch sends out BPDU frames containing the switch BID and the root ID every 2 seconds.</p> Signup and view all the answers

    What does the root ID identify in a network topology?

    <p>The root bridge on the network.</p> Signup and view all the answers

    What is the default behavior regarding the root ID and the local BID for switches on a network?

    <p>The root ID matches the local BID for all switches on the network, meaning each switch considers itself as the root bridge when it boots.</p> Signup and view all the answers

    What happens as switches forward their Bridge Protocol Data Unit (BPDU) frames in the election process?

    <p>Switches in the broadcast domain read the root ID information from the BPDU frame.</p> Signup and view all the answers

    What action does a receiving switch take if the root ID from the Bridge Protocol Data Unit (BPDU) received is lower than its own root ID?

    <p>The switch updates its root ID, identifying the adjacent switch as the root bridge.</p> Signup and view all the answers

    What action does a switch take after updating its root ID when receiving a BPDU with a lower root ID?

    <p>The switch forwards new BPDU frames with the lower root ID to the other adjacent switches.</p> Signup and view all the answers

    What happens at the end in the Spanning Tree Protocol (STP) process regarding the identification of the root bridge?

    <p>The switch with the lowest BID is identified as the root bridge for the spanning-tree instance.</p> Signup and view all the answers

    How can the cost of a path in Spanning Tree Protocol (STP) be managed to specify a preferred path?

    <p>By manually configuring the cost of the path to ensure it's the preferred path instead of relying on STP's automatic selection.</p> Signup and view all the answers

    How does changing the cost of a particular path affect the Spanning Tree Algorithm (STA)?

    <p>It may influence the STA's decision-making process, potentially favoring the path with the adjusted cost.</p> Signup and view all the answers

    What is the 'no' form of a command that returns the cost to its default value in Spanning Tree Protocol (STP)?

    <p>'no cost'</p> Signup and view all the answers

    What command is used to set the cost to a specific value in Spanning Tree Protocol (STP) configuration?

    <p>spanning-tree cost [value]</p> Signup and view all the answers

    What is the bridge priority in Spanning Tree Protocol (STP)?

    <p>A customizable value that you can use to influence which switch becomes the root bridge.</p> Signup and view all the answers

    How is the root bridge determined in Spanning Tree Protocol (STP) based on switch priorities?

    <p>The switch with the lowest priority, which means lowest Bridge ID (BID), becomes the root bridge.</p> Signup and view all the answers

    The lower the priority value, the higher the priority.

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

    Study Notes

    Network Availability and Redundancy

    • As businesses become increasingly dependent on the network, network availability becomes a critical business concern.
    • The primary solution for achieving necessary availability in network infrastructure is Layer 2 redundancy.

    Spanning Tree Protocol (STP)

    • STP is enabled by default on switches running Layer 2, preventing Layer 2 loops and duplicate frames.
    • The primary function of STP is to prevent network loops and ensure network availability.
    • STP compensates for failures by rerouting traffic through alternate paths.
    • A root bridge (single switch) is elected as a reference point for all STP calculations.
    • The root bridge is determined by the Bridge-ID (BID), with the lowest BID becoming the root bridge.
    • The default selection of the root bridge can be changed by configuring a lower priority on a specific switch.
    • The Spanning Tree Algorithm (STA) selects the root bridge as a reference point for all calculations.

    Port Roles in STP

    • The root bridge has all ports in a forwarding state, known as root ports.
    • Non-root bridges connected to the root bridge have ports in a forwarding state, known as designated ports.
    • Ports connected to designated ports that are not root ports are known as non-designated ports.
    • Speed of ports is used to calculate link cost back to the root bridge.

    STP Convergence

    • STP convergence is the time it takes for the network to set switch ports to their final spanning-tree port roles, eliminating all potential loops.
    • Convergence involves three steps: election of the root bridge, calculation of port roles, and propagation of changes to all switches in the network.

    Bridge Protocol Data Units (BPDU) Frames

    • After a switch boots, it sends out BPDU frames to participate in the election process.
    • The root ID identifies the root bridge in a network topology.
    • Switches forward their BPDU frames in the election process, and the switch with the lowest root ID becomes the root bridge.

    Path Cost and Preference

    • The cost of a path in STP can be managed to specify a preferred path.
    • Changing the cost of a particular path affects the Spanning Tree Algorithm (STA).
    • The command spanning-tree cost sets the cost to a specific value in STP configuration.

    Studying That Suits You

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

    Quiz Team
    Use Quizgecko on...
    Browser
    Browser