Home > VTP Lab 2

VTP Lab 2

March 18th, 2011 in LabSim Go to comments

Question:

Acme is a small export company that has an existing enterprise network comprised of 5 switches;
CORE,DSW1,DSW2,ASW1 and ASW2. The topology diagram indicates their desired pre-VLAN spanning tree mapping.
Previous configuration attempts have resulted in the following issues:
– CORE should be the root bridge for VLAN 20; however, DSW1 is currently the root bridge for VLAN 20.
– Traffic for VLAN 30 should be forwarding over the gig 1/0/6 trunk port between DSW1 and DSW2. However VLAN 30 is currently using gig 1/0/5.
– Traffic for VLAN 40 should be forwarding over the gig 1/0/5 trunk port between DSW1 and DSW2. However VLAN 40 is currently using gig 1/0/6.

You have been tasked with isolating the cause of these issuer and implementing the appropriate solutions. You task is complicated by the fact that you only have full access to DSW1, with isolating the cause of these issues and implementing the appropriate solutions. Your task is complicated by the fact that you only have full access to DSW1, with the enable secret password cisco. Only limited show command access is provided on CORE, and DSW2 using the enable 2 level with a password of acme. No configuration changes will be possible on these routers. No access is provided to ASW1 or ASW2.


VTP_Troubleshooting

Answer and Explanation:

1) “CORE should be the root bridge for VLAN 20; however, DSW1 is currently the root bridge for VLAN 20″ -> We need to make CORE switch the root bridge for VLAN 20.

By using the “show spanning-tree” command as shown above, we learned that DSW1 is the root bridge for VLAN 20 (notice the line “This bridge is the root”).

DSW1>enable
DSW1#show spanning-tree

VTP_Lab2_show_spanning-tree

To determine the root bridge, switches send and compare their priorities and MAC addresses with each other. The switch with the lowest priority value will have highest priority and become the root bridge. Therefore, we can deduce that the priority of DSW1 switch is lower than the priority of the CORE switch so it becomes the root bridge. To make the CORE the root bridge we need to increase the DSW1′s priority value, the best value should be 61440 because it is the biggest value allowed to assign and it will surely greater than of CORE switch. (You can use another value but make sure it is greater than the CORE priority value by checking if the CORE becomes the root bridge or not; and that value must be in increments of 4096).

(Notice that the terms bridge and switch are used interchangeably when discussing STP)

DSW1#configure terminal
DSW1(config)#spanning-tree vlan 20 priority 61440

2) “Traffic for VLAN 30 should be forwarding over the gig 1/0/6 trunk port between DSW1 and DSW2. However VLAN 30 is currently using gig 1/0/5″

DSW1 is the root bridge for VLAN 30 (you can re-check with the show spanning-tree command as above), so all the ports are in forwarding state for VLAN 30. But the question said that VLAN 30 is currently using Gig1/0/5 so we can guess that port Gig1/0/6 on DSW2 is in blocking state (for VLAN 30 only), therefore all traffic for VLAN 30 will go through port Gig1/0/5.

VTP_Lab2_VLAN30_Blocking

The root bridge for VLAN 30, DSW1, originates the Bridge Protocol Data Units (BPDUs) and switch DSW2 receives these BPDUS on both Gig1/0/5 and Gig1/0/6 ports. It compares the two BPDUs received, both have the same bridge-id so it checks the port cost, which depends on the bandwidth of the link. In this case both have the same bandwidth so it continues to check the sender’s port id (includes port priority and the port number of the sending interface). The lower port-id value will be preferred so the interface which received this port-id will be the root and the other interface (higher port-id value) will be blocked.

In this case port Gig1/0/6 of DSW2 received a Priority Number of 128.6 (means that port priority is 128 and port number is 6) and it is greater than the value received on port Gig1/0/5 (with a Priority Number of 128.5) so port Gig1/0/6 will be blocked. You can check again with the “show spanning-tree” command. Below is the output (notice this command is issued on DSW1 – this is the value DSW2 received and used to compare).

VTP_Lab2_show_spanning-tree_VLAN30

Therefore, all we need to do is to change the priority of port Gig1/0/6 to a lower value so the neighboring port will be in forwarding state. Notice that we only need to change this value for VLAN 30, not for all VLANs.

DSW1(config)#interface g1/0/6
DSW1(config-if)#spanning-tree vlan 30 port-priority 64
DSW1(config-if)#exit

3) “Traffic for VLAN 40 should be forwarding over the gig 1/0/5 trunk port between DSW1 and DSW2. However VLAN 40 is currently using gig 1/0/6″

Next we need to make sure traffic for VLAN 40 should be forwarding over Gig1/0/5 ports. It is a similar job, right? But wait, we are not allowed to make any configurations on DSW2, how can we change its port-priority for VLAN 40? There is another solution for this…

Besides port-priority parameter, there is another value we can change: the Cost value (or Root Path Cost). Although it depends on the bandwidth of the link but a network administrator can change the cost of a spanning tree, if necessary, by altering the configuration parameter in such a way as to affect the choice of the root of the spanning tree.

Notice that the Root Path Cost is the cost calculated by adding the cost in the received hello to the cost of the interface the hello BPDU was received. Therefore if you change the cost on an interface of DSW1 then only DSW1 will learn the change.

By default, the cost of a 100Mbps link is 19 but we can change this value to make sure that VLAN 40 will use interface Gig1/0/5.

DSW1(config)#interface g1/0/5
DSW1(config-if)#spanning-tree vlan 40 cost 1

DSW1(config-if)#end

You should re-check to see if everything was configured correctly:

DSW1#show spanning-tree

Save the configuration:

DSW1#copy running-config startup-config

(Notice: Many reports said the copy running-config startup-config didn’t work but they still got the full mark)

Remember these facts about Spanning-tree:

Path Selection:

1) Prefer the neighbor advertising the lowest root ID
2) Prefer the neighbor advertising the lowest cost to root
3) Prefer the neighbor with the lowest bridge ID
4) Prefer the lowest sender port ID

Spanning-tree cost:

spanningtree_cost

Other good resource for reference:

http://www.cisco.com/en/US/tech/tk389/tk621/technologies_tech_note09186a00800ae96a.shtml


Other lab-sims in this site:

LACP with STP Sim
MLS and EIGRP Sim
VTP Lab
Spanning Tree Lab Sim
AAAdot1x Lab Sim


Comments
  1. Kumar
    August 10th, 2010

    Switch DSW1 is root bridge (Upstream) for Vlan30 and Downstream for vlan 40.
    Switch DSW2 is root bridge (Upstream) for Vlan40 and Downstream for vlan 30.

    To influence which port is elected the root port, the two user configurable values to change are port cost and port priority. Port-priority is set on an upstream switch to influence a downstream switch and Cost is set on downstream switch to influence a upstream switch.

  2. BIP-DOOO
    August 18th, 2010

    For this scenario, your rules work. For real life, port-priority and path cost can be used on either side of the path.

  3. salar.ccnp
    September 10th, 2010

    thank you.that’s very good lab.I’m sure that’s exam sim.

  4. Alpha
    October 7th, 2010

    Did anybody ever get this in your exam? (in recent exams after July 31st?

  5. hmm…?
    October 12th, 2010

    thanks

  6. seattle
    October 31st, 2010

    BIP-DOOO

    No that isn’t correct.

    If you have a switch that isn’t the root switch but has two uplinks as per above then the root switch will be FWD on both ports and the non-root switch will have to block a port to prevent a loop forming.

    You have to manipulate cost on the non root switch if you can manipulate port priority on the root.

  7. Ahmed Adel
    November 2nd, 2010

    for the requirement
    DSW1(config)#interface g1/0/5
    DSW1(config-if)#spanning-tree vlan 40 cost 1
    can i make it as
    DSW1(config)#interface g1/0/6
    DSW1(config)#spanning-tree vlan 40 port-priority 240 —> this makes g1/0/5 port priority less
    then traffic will pass througe g1/0/5
    ???

  8. soup
    November 7th, 2010

    @Ahmed Adel

    recall the sequence of the four criteria that STP uses to choose a path
    1. Lowest bridge ID
    2. Lowest root path cost
    3. Lowest sender bridge ID
    4. Lowest SENDER port ID

    root path cost is the cumulative – ingress at the interface
    lower port priority value indicates a more preferred path toward the root

    this information is in the BPDU

    thats the way i understand it – 7 more days to 642-813

  9. Nathan S.
    November 11th, 2010

    Who do I talk to about submitting a Packet Tracer lab sim for this… I was able to simulate everything but unfortunately Packet Tracer doesnt allow you to use the spanning-tree vlan cost command so question 3 is un-doable but everything else is working good and it looks clean.. I would love to share, this site is definitely a major asset to anyone looking to take CCNP exams.

  10. Joe
    November 16th, 2010

    Packet Tracer is basically useless once you get past the CCNA.

  11. small business grants for women
    December 4th, 2010

    Superb blog post, I have book marked this internet site so ideally I’ll see much more on this subject in the foreseeable future!

  12. learner
    December 8th, 2010

    is this sim still valid??

  13. Nguyen Duc Hoa
    December 9th, 2010

    Thanks for your lab. I’m going to take CCNP Swiching. Thanks again.

  14. Raj
    December 10th, 2010

    Why cant we use the command spanning-tree vlan xx cost 1 (where xx refers to either vlan 30 or 40) in both the cases. Can someone please explain why we use port-priority in one case and cost on the other?

  15. Nguyen Duc Hoa
    December 16th, 2010

    Thank you. This configuration is correct. I’ve tested on my lab. I’m going to take 642-813 exam next week. Update later.

  16. Nguyen Duc Hoa
    December 16th, 2010

    @Raj: Cause the first, DSW1 is root switch, so we cannot alter the cost from any port to root switch (amazing).

  17. Nguyen Duc Hoa
    December 20th, 2010

    @Ahmed Adel : Cannot do like you. Cause the DSW1 is not root switch for VLAN 40, in other way, the switch A does not send any BPDU about VLAN 40.

  18. Fred
    January 4th, 2011

    Really this is what the SWITCH exam is like? I just finished the cisco netacadamy class and it did not prepare the class for a question anything like this. How can they give questions they don’t prepare you for? Now I am nervous about taking the test.

  19. Thafu
    January 11th, 2011

    Is this lab appearing for the exam these days?

  20. CCNP_Aspirant
    January 12th, 2011

    Hello Friends,

    Can anyone of please send me the latest CCNP switch dumps and the crack to open .vce files and the packet tracer lab files at t2b2l2@yahoo.com.

    Thank you very much.

  21. stp
    January 15th, 2011

    Actually this is STP Lab, not VTP

  22. Carlos
    January 16th, 2011

    I took this test twice 642-812.
    This sim was on it both times. It is a complicated troubleshooting exercise but the solution it minimal.

    DSW1(config)# spanning-tree vlan 20 priority 61440
    DSW1(config)# interface g1/0/6
    DSW1(config-if)# spanning-tree vlan 30 port-priority 64
    DSW1(config-if)# interface g1/0/5
    DSW1(config-if)# spanning-tree vlan 40 cost 1

  23. esfin
    January 19th, 2011

    HI all¡¡
    This practice its for the 642-813 or only to the 642-812¿??¿

  24. Mau
    January 23rd, 2011

    @ all

    Anyone can plzz explain who all had got this ;ab for exam recently.

    Coz mostly they are getting Lacp with stp.

    Anyways if the solution is minimal we can always be prepared for this as well

  25. esfin
    January 23rd, 2011

    Please, This practice its for the 642-813 or only to the 642-812¿??¿

  26. extran
    January 25th, 2011

    i think this can works:
    dsw1(config)#spanning-tree vlan 40 root primary

  27. extran
    January 25th, 2011

    sorry
    dsw1(config)#spannig-tree vlan 40 root secondary ?¿¿?

  28. Ciro
    January 29th, 2011

    Actually are the labs on switch exam?

  29. Kasi Boy
    February 4th, 2011

    There are 3 to 4 Labs in the Switch Exam Boss (i.e Eigrp,VTP,VTP2 & aaa)

  30. Nirutheegan
    February 8th, 2011

    Anyone have idea about a simulation question [not VTP,VTP2, MLS with EIGRP, LACP with STP, STP, AAAdot1X] in almost all the dumps (P4S, Testking, flipper) with very long IOS commands as step 1, 2, 3,,,,,,,,,,, Becoz it’s too many pages. Need lot of time to finish.. Will it come for exam? Plz anyone tel me…!

  31. mat1105
    February 17th, 2011

    yes. at most 3. but if you are unlucky you will get 4 labs.

  32. joke
    February 17th, 2011

    are these still the latest labs. pls i need an urgent answer. i want to write this week

  33. joke
    February 17th, 2011

    what is pass mark now for new switching

  34. Anonymous
    February 18th, 2011

    790

  35. naveed
    February 22nd, 2011

    hi guys

    please send me the link for ccnp switch 642-813 dumps i need it.

  36. bentz
    February 23rd, 2011

    Is there any limitation in the question not to change DSW1′s priority for VLAN 40?
    It seems to me there’s another way to achieve this goal:

    DSW1#configure terminal
    DSW1(config)#spanning-tree vlan 40 priority 28672 (or any other number LOWER than DSW2′s VLAN 40 priority which can be seen in “show spanning-tree”, making DSW1 root for VLAN 40)
    DSW1(config)#interface g1/0/5
    DSW1(config-if)#spanning-tree vlan 40 port-priority 64

    Actually the last line is not needed because g1/0/5′s priority for VLAN 40 is 128.5 which is lower than g1/0/6′s.

    Can anyone confirm this is a working solution not violating any requirement?

  37. Pika
    February 24th, 2011

    @bentz
    i think everyone forgets that the exam runa a switch simulator.
    just follow what is written here.

  38. bentz
    February 24th, 2011

    @Pika
    I fail to see the rellevance in your post. All I was saying was that what worked for VLAN 20 should also work fo VLAN 40.

  39. DBW
    March 13th, 2011

    I am struggling to find a better way to practice CCNP SWITCH LABS. ANYHELP?. In return i will give you the latest dump from p4sure & TE including other googies that will blow your mind away.

  40. binoy
    March 14th, 2011

    hi! just a question, do you have to clear / reset the port on DSW1 to update the stp port status on the vlan 30 question? tried it in the packet tracer and i did have to refresh the ports so vlan 30 would use Gi1/0/6. thanks

  41. Sohan Lal
    April 27th, 2011

    These are great example and are very clear.
    Thanks buddy. please post like these examples if possible.

  42. saad
    May 2nd, 2011

    Hello all could some one provide us with a link to down load simulation labs and practice on them for exam

    it will be very helpful i search every were and i didnt find this labs

    thanks in advance

    saadhh_007@yahoo.com

  43. ITL
    May 4th, 2011

    This site is very good keep he good work guys

  44. Chris
    May 10th, 2011

    @DBW f you want a full simulation use gns3 . Its free , just google it

  45. neshoa
    May 29th, 2011

    guys would you be so kind sending me the right dump files for the exam on neshoa@abv.bg
    I have non of them. plssssss
    thanks in advance

  46. r2g
    June 2nd, 2011

    can someone pls explain why we cant alter the cost of the link/interface for vlan 30. why must we use port-priority?
    thanks

  47. Moo
    June 2nd, 2011

    @r2g
    What it doesn’t tell you in the above sim, is that you only have full commands on DSW1 and the other two switch you can only do show commands.

    So all the config changes have to be on DWS1. So depending on who is the ROOT depends on which commands we can use. For VLAN 30 we change the port cost to make that link better. For VLAN 40 we change the port priority because we can’t change the port cost as port cost is calculated from the root outwards.

  48. business
    June 11th, 2011

    Single STP allows all the VLANs to run STP but each VLAN runs the same instance of STP resulting in numerous blocked ports that do not pass any Layer 2 traffic. STP per VLAN group uses all available links by load balancing traffic for different instances of STP on different ports.

  49. Anonymous
    June 11th, 2011

    can anybody send me the latest dumps at waheed.nse@gmail.com please.I am going for CCNp switch next week

  50. Essence
    July 6th, 2011

    Your asnwer was just what I needed. It’s made my day!

  51. dos
    July 22nd, 2011

    my exam after 12h and 30 min

  52. Allex1
    August 3rd, 2011

    Hi guys .
    As I did not find a pkt for this lab I decided to make one myself. If someone wants it you can find it here:
    http://www.4shared.com/file/FtH3Eo9C/VTP_LAB2.html
    I couldn’t set the exact interfaces but made a map so you can figure out quickly. If you find any errors please let me know and I will try to fix it. Any feedback is appreciated.
    Thanks.

  53. Allex1
    August 3rd, 2011
  54. Qu’est
    August 6th, 2011

    On the cisco website the criteria 4 root path selection says:

    1. Path cost

    2. The bridge ID of the forwarding switch

    3. Lowest port priority

    4. Lowest internal port number

    as opposed to the list given in the explanation:

    1) Prefer the neighbor advertising the lowest root ID
    2) Prefer the neighbor advertising the lowest cost to root
    3) Prefer the neighbor with the lowest bridge ID
    4) Prefer the lowest sender port ID

    its very confusing, someone please clarify this ASAP, Thanks.

  55. Qu’est
    August 6th, 2011
  56. Pooja
    August 21st, 2011

    Can anyone tell me What are the latest sim lab for Switch exam?
    I have done 3 .
    LACP with STP sim
    MLS and Eigrp sim
    AAA dot1x lab sim
    Is there any mor lab should i need to do?
    Thank you..

  57. rtyecript
    August 23rd, 2011

    I really liked the article, and the very cool blog

  58. Paul Amo
    August 31st, 2011

    Has anyone had this lab recently in the SWITCH exam? Its not mentioned on the other sites I’ve been looking at.

  59. hi
    September 7th, 2011

    Hello I need your help and your advice I entered the exam and got the 781 class of 1000 do not know where the problem
    But what happened with me is a matter of copy running-config startup-config
    Not pleased to work save
    In questions lacp, aaadot1x
    Possible, help me please reply quickly because I would like to enter the exam next Saturday
    Thank you

  60. jimmy
    September 10th, 2011

    hi guys my exam is on monday 12th sep, i have done all four labs, LAcp with stp, mls eigrp, aaa, and vtp. any tips for me ???

  61. jimmy
    September 11th, 2011

    24 hours to go :|

  62. jimmy
    September 11th, 2011

    15 hrs tik tik tik tik

  63. jimmy
    September 15th, 2011

    don dona don done !!!!!!! I cleared the exam on 12th sept . labs were same, copy run start does not work and ip default gateway command does not work. few mcq questions were new but very easy.

  64. Sivaguru
    September 18th, 2011

    Could you post the dump version and which are the labs for exam?

  65. Sivaguru
    September 18th, 2011

    Jimmy, I will plan to write the exam on next week, any tips for me?

  66. Ahmad
    September 23rd, 2011

    i will take my paper tomorrow at 10am.

  67. Ahmad
    September 24th, 2011

    4 hrs left

  68. Suran
    October 9th, 2011

    Is any one recommended to buy workbook from http://www.passearly.com for CCIE?

  69. business review
    October 10th, 2011

    To configure the STP bridge priority of a VLAN when the extended system ID is disabled perform this. To configure the STP bridge priority of a VLAN when the extended system ID is enabled perform this.

  70. salar.mehdizadeh
    October 29th, 2011

    Bydefault,port gig 1/0/5 is the root port for vlan 40,why we decreas the port cost?

  71. rajesh
    November 12th, 2011

    jimmy,could u please share the link of latest dump from where u prepared for the exam.?

  72. Madhav
    November 19th, 2011

    Did any one face a situation where after increasing the priority of vlan 20 to 61440 on DSW1 , still CORE did not become the root ? It shouldn’t happen and can’t help if that happens due to no access to them , but curious to know if any other switches had a lower priority for vlan 20 in the topology?

  73. Anonymous
    November 21st, 2011

    I did not have that problem Madhav. Check your root MAC with show spanning-tree. Also, keep in mind, you will have to wait a second for CORE to take over as root.

  74. salman
    November 28th, 2011

    Can anyone of please send me the latest CCNP switch dumps and packet tracer labs
    salmansaeed101@gmail.com

  75. zshan
    December 4th, 2011

    comeon guys!!I think am asking this 6th timeafter everybody else..DID SOMEONE GOT THIS LAB RECENTLY IN THE EXAM…we have ppl here talking about about exam 642-812 ehehehhe….well this is 813 unfortunately…any body got this one???

  76. BAD NEWS
    December 15th, 2011

    hii every one .. i fail my exam yesterday i got 766 .. 2 new lab :(
    its the same topolgy but with TOTALLY difference requirements ..;(

  77. Madhav
    December 16th, 2011

    @Bad News – What do you mean 2 new labs ? Kindly explain it more. There are many people waiting to write the exam and it will definitely bring tension to them while they appear for the exams. If you can’t explain it , please refrain from posting such comments as it creates fear to other candidates. Hence kindly show some lights on it and wishes good luck for the new take.

  78. akamise
    December 21st, 2011

    took it yesterday with 967 :)

    no new labs present,

    dot1x+aaa
    eigrp+mls
    spanning-tree + channel
    hsrp hotspot

    probably all of the questions were from pass4sure 6.8

    thanks guys.

  79. gatsu666999
    December 23rd, 2011

    which is spanning-tree + channel?did u mean LACP with STP Sim?

  80. dhenny
    December 30th, 2011

    Great job guys! please kindly help me with the latest dumps for CCNP (switch & T-Shoot). Thank you.

  81. dhenny
    December 30th, 2011

    Great job guys! please kindly help me with the latest dumps for CCNP (switch & T-Shoot). Thank you.
    please the CCNP (Siwtch & T-Shoot) can be forwarded to my e-mail address simplycooldenny@yahoo.com

    Thank you greatly.

  82. sico
    January 1st, 2012

    please I want a valid exam …. any one have >>? thank u

  83. ethernet16
    January 17th, 2012

    Can anyone of please send me the latest CCNP switch dumps and packet tracer labs
    ethernet16@gmail.com
    Thank you

  84. CCNP WannaBe
    January 26th, 2012

    Can someone please send me the last 642-813 switch dumps. I have the lab info just need the dumps.

    journeyrocks13@yahoo.com

  1. No trackbacks yet.
Add a Comment