An STP Root Question with No Direct Link to the Root

certskills
By certskills July 30, 2015 09:05

Here’s another Spanning Tree question, one that creates a topology in which one switch does not have a direct link to the root. What happens in this case? Note that as with this similar question, this question is meant for study prep, not for assessment, so don’t worry about how much time it takes, or fret if you get it wrong – just use it to learn.

In the switched network shown in the figure, the switches use PVST+, which creates an STP instance per VLAN. This question focuses on the STP state in VLAN 2. Currently, switch S4 is the root.

Figure 2: Four Switches, S4 as the Root

Continuing with the conditions and assumptions… there are no other devices or links in the network. All the links physically work and are enabled (no shutdown). All the links use 802.1Q trunking. The switches do not necessarily use all default STP settings.

The point here is that, with switch S4 as the root, which STP settings in this network could impacts S3’s choice of root port. To choose its root port, switch S3 will compare all received Hello BPDUs, and choose the best (least cost) path to reach the root. Think about all the switches, interfaces, and port priority settings. Which of those settings (as listed in the answers) could impact S3’s choice of root port here in VLAN 2?

A) S1’s F0/4 interface cost for VLAN 2

B) S2’s F0/1 interface cost for VLAN 2

C) S3’s F0/1 port priority for VLAN 2

D) S2’s F0/3 port priority for VLAN 2

E) S1’s F0/2 interface cost for VLAN 2

F) S4’s F0/1 interface cost for VLAN 2

Answers to a Root Question with No Direct Link to the Root
Answer to an Earlier STP Question
certskills
By certskills July 30, 2015 09:05
Write a comment

11 Comments

  1. Rico September 25, 04:51

    A) S1’s F0/4 int cost for VLAN 2

    D) S2’s F0/3 port priority for VLAN 2

    E) S1’s F0/2 int cost for VLAN 2

    based on these are output ports for a frame traveling from S3 to the root switch. (?)

    Reply to this comment
    • Rico September 25, 04:53

      Oops … not D) … I meant to say C)

      Reply to this comment
      • Matteo August 1, 02:31

        Hi,
        For me the correct answer for the question is D,
        I think in a defoult configuration the best path is from S1’s F0/3 int and S4’s F0/1 int, so to change the topology The only answer is to change the prority of S2’s F0/3 int.

        Reply to this comment
  2. srinivasan August 27, 10:37

    The root port for S3 is a choice between f0/2 and f0/3.
    The lowest cost route would determine the root port.
    Changing S1 F0/4 interface cost and changing S2 F0/3 port priority do not give the same result. Clearly changing S1 F0/4 interface cost makes it the lowest cost route.

    Reply to this comment
  3. Gabriel Moran August 10, 01:40

    Why is S2 F0/1 considered in this? If S1 already picked its own root port as F0/4 and then lost the tie breaker (assuming default values) on F0/2 therefore blocking on that port.

    Please clarify

    Reply to this comment
    • certskills Author August 10, 11:45

      Gabriel,
      The question asks, paraphrased: which port settings “could” impact the choices? S2 has three possible paths to the known root, so the cost settings on all interfaces in all three paths “could” impact the choice. I think you analyzed what “is” in this specific case. So, picky wording on my part probably.
      Wendell

      Reply to this comment
  4. Gabriel Moran August 17, 00:18

    Wendell, sorry to post this here but there doesn’t seem to be any other way to get a hold of you regarding webpage problems. I went to view the labs for 200-105 Chapter 5 and it returns an error, when I click to contact/report an issue it does not do anything at all. Thanks

    Reply to this comment
    • certskills Author August 17, 11:21

      Hi Gabriel,
      No problem. Maybe I should put a generic reach me page up. Or maybe I’ll just delete your comment and my response once we’re done.
      Anyway, are you:
      Clicking in “200-105 (New) Chapters”?
      And then clicking “Chapter 5”
      That works for me, although the page notes that there are no posts. Literally:

      ——–

      No Articles Found
      Sorry, there are no articles here !
      You can contact us to resolve this problem !

      Or You can still go back to Homepage !
      ——–

      That’s just the page that’s shown if there are no posts in that category. That is, I haven’t added a post that is specific to ICND2 chapter 5.

      If that’s what you’re seeing, it’s normal. If it’s something else, and you want to take the time to describe it here, I’ll take a look. Thanks!
      Wendell

      Reply to this comment
      • Gabriel Moran August 22, 13:44

        That is the same thing I am seeing. It wasn’t specific in saying there was no labs for Chapter 5, I assumed the page link was broken. Thanks.

        Reply to this comment
View comments

Write a comment

Comment; Identify w/ Social Media or Email

Subscribe

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Search

Categories