Home > STP & VTP Questions

STP & VTP Questions

January 22nd, 2021 Go to comments

Note: If you are not sure about STP or VTP, please read our Spanning Tree Protocol STP Tutorial, Rapid Spanning Tree Protocol RSTP Tutorial, STP Root Port Election Tutorial and VLAN Trunking Protocol VTP Tutorial.

Question 1

Question 2

Explanation

The purpose of Port Fast is to minimize the time interfaces must wait for spanning-tree to converge, it is effective only when used on interfaces connected to end stations.

Reference: https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3560/software/release/12-2_55_se/configuration/guide/3560_scg/swstpopt.html

Question 3

Explanation

Enabling the PortFast feature causes a switch or a trunk port to enter the STP forwarding-state immediately or upon a linkup event, thus bypassing the listening and learning states.

Note: To enable portfast on a trunk port you need the trunk keyword “spanning-tree portfast trunk

Question 4

Explanation

The VTP mode of SW2 is transparent so it only forwards the VTP updates it receives to its trunk links without processing them.

Question 5

Explanation

This bridge is not the root bridge because it does not have the statement “This bridge is the root”. When the local switch is not the root bridge, the port it shows would be the root port to the root bridge. Therefore in this case FastEthernet2/1 is the root port that is connected to the root bridge.

Question 6

Explanation

As this question did not state about bridge priority so we can assume all of them are using the default priority. Therefore the switch with lowest MAC address wins the election.

Question 7

Question 8

Question 9

Question 10

Explanation

The keyword here is “always” so we should set the priority to the lowest value which is 0. If we use the “primary root” keyword then our switch is only set to the lower value compared to other switches. And new switch added in the future can be set to lower value than our switch to take over the root role.

Question 11

Question 12

Refer to the exhibit.

root_bridge_election.jpg

Switch1: 0C.E0.38.57.24.22
Switch2: 0C.0E.15.22.1A.61
Switch3: 0C.0E.15.1D.3C.9A
Switch4: 0C.E0.19.A1.4D.16

After the election process what is the root bridge in the HQ LAN?

A. Switch 1
B. Switch 2
C. Switch 3
D. Switch 4

 

Answer: C

Question 13

Comments (30) Comments
Comment pages
1 2 4904
  1. DR D
    May 11th, 2020

    I am pretty sure the answer to #2 is B. I have conferred with a few experts and another study guide. You show C here and on the section quizzes.

  2. DR D
    May 11th, 2020

    or maybe not…I am finding information online that also gives the answer you all have. Apparently there is some debate.

  3. DR D
    May 11th, 2020

    I got some explanation on this from an expert. I was told that the “spanning-tree portfast” command does put the port into a an automatic forwarding state BUT it has nothing to do with reloading the switch. Thus, the best answer provided is B (but none of them are really good). Please share if you all have more information.

  4. shiraz
    May 23rd, 2020

    I also think the correct answer to #2 is B @9Tut

  5. Anwar
    May 24th, 2020

    #2 Seems like Answer is C. It immediately puts the port into the forwarding state when the switch is reloaded

    Understanding Port Fast
    Port Fast immediately brings an interface configured as an access or trunk port to the forwarding state from a blocking state, bypassing the listening and learning states. You can use Port Fast on interfaces connected to a single workstation or server, as shown in Figure 18-1, to allow those devices to immediately connect to the network, rather than waiting for the spanning tree to converge.
    Ref:
    https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3560/software/release/12-2_55_se/configuration/guide/3560_scg/swstpopt.html

  6. Youpi Alex
    August 27th, 2020

    Regarding #2, B is the correct answer.

    When you enable PortFast on a switch or trunk port, the port is immediately transitioned to the spanning tree forwarding state. So C is not correct, because you don’t need to reload the switch to Apply it. Imagine that on production environment, it’s impossible.

    Spanning-tree porfast minimizes STP convergence time, because it doesn’t need to recalculate TCN for portfast edge ports.

  7. 9tut
    August 27th, 2020

    @Youpi Alex: Thanks for your information, we updated Q.2.

  8. Yasse R YG
    November 29th, 2020

    Thanks, i appreciate it!

  9. Nadim
    December 24th, 2020

    Hi, I cannot see the questions on this section? Only the explanations?

  10. haji gul
    January 23rd, 2021

    can some plz explain q#6 and o#12 how they calculate the lowest MAC address plz for RB selection

  11. MoG
    January 27th, 2021

    @haji gul: The explaination for q#6 and #12 are rather strait forward. In both cases you do not have a given bridge-priority, hence we do have to assume, that all switches hold the same priority. This leaves us with the 2nd factor in Bridge-Priority calculation, which is MAC-Address based. Just imagine each MAC-Adress which is only composed of zeros and ones as a binary number. For both questions (q#6&12), the destinguishing factors happen in the 2nd and 4th octett of the MAC-Addresses.

  12. MoG
    January 29th, 2021

    There seems to be an error with q#4 answeres. From the supposed two correct answeres (C&E) only C would be correct (if i am not mistaken). From my expirence a Switch running Rapid PVST+ does state so explicitly in the show spanning-tree output. However, the protocol stated here is RSTP aka. IEEE Rapid Spanning-Tree which does not operate on a per VLAN basis. Hence only one of the provided options answere E would match the given exhibit.

  13. MoG
    January 29th, 2021

    I have to rewoke my last comment. STP Protocol does get promoted as stp or rstp. Per VLAN spanning-tree is just an implementation method used by cisco, but for compatibilty reasons it does only announce itself as rstp.

  14. Ricardo López
    February 22nd, 2021

    La pregunta 10 considero que la respuesta es D no A ya que si dos switch tienen la misma prioridad 0 la selección será por la mac, mientras que si se asigna root primary siempre será el root

  15. EAG
    April 23rd, 2021

    #5-Answer for Spanning Tree Mode should be Rapid STP (rstp) and not Rapid PVST+ (Rapid PVST+), right?

  16. Anonymous
    May 13th, 2021

    Question 7 which switch will become the root bridge?
    Priority can only be changed by 4096 am I wrong

  17. Patrick
    May 14th, 2021

    Can someone help
    # show spanning-tree vlan 1
    INT Role Status Cost Priority NBR
    fa0/2 128.2
    What is NBR whats its Role-reason, how do you change config ?
    It seems to be just the same as interface this interface

  18. zack
    September 19th, 2021

    @9tut

    It supposed SW2 right that have lowest MAC address? why the answer is SW 3?
    Same with the question 6. hurmmm

    Switch1: 0C.E0.38.57.24.22
    Switch2: 0C.0E.15.22.1A.61
    Switch3: 0C.0E.15.1D.3C.9A
    Switch4: 0C.E0.19.A1.4D.16
    After the election process what is the root bridge in the HQ LAN?

  19. 9tut
    September 19th, 2021

    @zack: Switch 3 MAC address is lower than Switch2 MAC because 1 (in 1D.3C.9A) < 2 (22.1A.61).

  20. Anonymous
    October 18th, 2021

    #2 the correct answer is B. The question says primary effect, even though C is correct but we put the port in that state because we want to reduce the convergence time, so if we read the question properly, the correct answer is B, because it is the primary effect or primary reaction we want when we enable PortFast.

  21. Guled I
    January 6th, 2022

    hi where is the exam questions ?

  22. Souziana Zagi
    January 7th, 2022

    For question 2, the correct answer is B: “to minimize spanning-tree convergence time”. Refer to Cisco website, and to the part headed as “Understanding Port Fast” :https://www.cisco.com/en/US/docs/switches/metro/me3600x_3800x/trash/swstpopt.html
    where it says:
    Note Because the purpose of Port Fast is to minimize the time interfaces must wait for spanning tree to converge, it is effective only when used on STP ports connected to end stations. If you enable Port Fast on an interface connecting to another switch, you risk creating a spanning-tree loop.

  23. Shaddy
    January 30th, 2022

    Where are the questions? Why am i unable to see questions.

  24. Anonymous
    April 20th, 2022

    I need CCNP question. who can help me? my email is {email not allowed}

  25. Anonymous
    April 20th, 2022

    my email is: ahmad_mardani2002 at yahoo.com

  26. Anonymous
    July 8th, 2022

    What is the fee for premium membership?

  27. Anonymous
    July 11th, 2022

    A really easy way to figure
    out the lowest MAC address is to just start reading from the left toward the right until
    you find a lesser value…Todd Lammle

  28. alex
    August 21st, 2022

    please regarding #7 if the Bridge Priority Field can only be set in increments of 4096 how come 30000 is acceptable???the answer should be S1 ????urgent please check

  29. alex
    August 21st, 2022

    @9tut please regarding #7 if the Bridge Priority Field can only be set in increments of 4096 how come 30000 is acceptable???the answer should be S1 ????urgent please check

  30. 9tut
    August 22nd, 2022

    @alex: Although Bridge Priority Field can only be set in increments of 4096 but Cisco’s Per-VLAN Spanning-Tree Plus (PVST+) adds the VLAN number (sys-id-ext) to the Bridge Priority so Bridge Priority can be any number. For example, the Bridge Priority of 32770 for VLAN 2 (32768 + 2).

Comment pages
1 2 4904
Add a Comment