SWITCH Training VTP Lab PDF

Download as pdf or txt
Download as pdf or txt
You are on page 1of 16
At a glance
Powered by AI
The document discusses configuring VTP and VLANs on distribution and access layer switches to share VLAN information and enable inter-VLAN routing. VTP needs to be configured with the distribution switch as the server and access switch as the client. VLANs then need to be configured on the distribution switch and inter-VLAN routing enabled to allow communication between VLANs.

The VTP domain name needs to be configured as 'cisco' on both switches. VLAN IDs 20 and 21 need to be configured. The distribution switch should be configured as the VTP server and access switch as the client. IP addresses also need to be assigned to the VLAN interfaces.

The steps are to enable IP routing on the distribution switch, configure the VLANs with IP addresses, and configure the trunk port between the distribution and access switches to allow those VLANs.

SWITCH Training VTP Lab

http://www.certprepare.com/vtp-lab#more-46

Home > VTP Lab

VTP Lab
April 16th, 2012 in LabSim Go to comments Question: The headquarter offices for a book retailer are enhancing their wiring closets with Layer3 switches. The new distribution-layer switch has been installed and a new access-layer switch cabled to it. Your task is to configure VTP to share VLAN information from the distribution-layer switch to the access-layer devices. Then, it is necessary to configure interVLAN routing on the distribution layer switch to route traffic between the different VLANs that are configured on the access-layer switches; however, it is not necessary for you to make the specific VLAN port assignments on the access-layer switches. Also, because VLAN database mode is being deprecated by Cisco, all VLAN and VTP configurations are to be completed in the global configuration mode. Please reference the following table for the VTP and VLAN information to be configured:

Requirements: VTP Domain name cisco VLAN Ids IP Addresses 20 21 172.16.71.1/24 172.16.132.1/24

These are your specific tasks: 1. Configure the VTP information with the distribution layer switch as the VTP server 2. Configure the VTP information with the access layer switch as a VTP client 3. Configure VLANs on the distribution layer switch 4. Configure inter-VLAN routing on the distribution layer switch 5. Specific VLAN port assignments will be made as users are added to the access layer switches in the future. 6. All VLANs and VTP configurations are to completed in the global configuration. To configure the switch click on the host icon that is connected to the switch be way of a serial console cable.

1 of 16

6/19/2012 10:42 AM

SWITCH Training VTP Lab

http://www.certprepare.com/vtp-lab#more-46

Xelas OSI Protocol


All layer OSI stack over TP4, X.25 and RFC-1006 for Linux,Windows,Unix
www.xelas.com

Answer and Explanation:

1) Configure the VTP information with the distribution layer switch as the VTP server:

DLSwitch#configure terminal DLSwitch(config)#vtp mode server DLSwitch(config)#vtp domain cisco (use cisco, not CISCO because it is case sensitive) (Requirement 2 will be solved later) 3) Configure VLANs on the distribution layer switch To create VLANs on a switch, use the vlan vlanID# command: DLSwitch(config)#vlan 20 DLSwitch(config)#vlan 21 Configure Ip addresses for Vlans: DLSwitch(config)#interface vlan 20 DLSwitch(if-config)#ip address 172.16.71.1 255.255.255.0 DLSwitch(if-config)#no shutdown DLSwitch(if-config)#interface vlan 21 DLSwitch(if-config)#ip address 172.16.132.1 255.255.255.0 DLSwitch(if-config)#no shutdown DLSwitch(if-config)#exit 4) Configure inter-VLAN routing on the distribution layer switch DLSwitch(config)#ip routing DLSwitch(config)#exit DLSwitch#copy running-config startup-config 2) Configure the VTP information with the access layer switch as a VTP client ALSwitch#configure terminal ALSwitch(config)#vtp mode client ALSwitch(config)#vtp domain cisco ALSwitch(config)#exit ALSwitch#copy running-config startup-config (Notice: Many reports said the copy running-config startup-config didnt work but they still got the full mark)

2 of 16

6/19/2012 10:42 AM

SWITCH Training VTP Lab

http://www.certprepare.com/vtp-lab#more-46

Other lab-sims in this site: LACP with STP Sim MLS and EIGRP Sim VTP Lab 2 Spanning Tree Lab Sim AAAdot1x Lab Sim Comments 1. DONG August 26th, 2010 Hello! What about trunks ports Fa0/1? i think that you must configure its before sharing vlan informations. I will take 642-813 examen soon! 2. SWITCH August 26th, 2010 Just follow what you need to do 3. Shuyun August 31st, 2010 It says to do all of the config in global config mode. Does this mean the VLANs dont come preconfigured? By default Fa0/1 on both sides will be setup in DTP dynamic desirable mode and should create a trunk link with each other. 4. Durrr September 3rd, 2010 Set it up, if the vlans pass from DSW to ASW then it works, if not config a trunk. Or if you want to be sure config the trunk anyway. Common sense, thats a CCNA kinda consideration 5. Lulavinyl October 4th, 2010 Is it not needed to use a routing protocol to get the Inter-VLAN routing? The only thing you can get by using the ip routing command is enabling the use of routing protocols, not the routing protocol indeed. 6. oritz October 5th, 2010 Hi Guys, Please i need a good dump for the Switch Exam. I look forward to seating it by next week. 7. Preparing for SWITCH October 7th, 2010 Lula, directly connected networks do not need a routing protocol. Also it maynot be neccessaryto creat the SVI ( int vlans) you can check the running config to see what has been preconfigured.Remember all configs are in the GLOBAL CONFIG MODE. So you may not even need to go into the interface mode. 8. Alpha October 7th, 2010
3 of 16

6/19/2012 10:42 AM

SWITCH Training VTP Lab

http://www.certprepare.com/vtp-lab#more-46

Hi Prep for SWITCH Question does say Configure VLANs on the distribution layer switch. So I think it is a requirement to configure SVIs. Otherwise how will the DL switch know about the VLANs connected to AL Switch? 9. Alpha October 7th, 2010 And also Lula and Prep for SWITCH questin also asks to enable Intervlan routing. So yes ip routing needs to be included. 10. Alpha October 8th, 2010 Can someone tell me if we need to configure fa0/1 ports on both switches to create a trunk? or is that not required? 11. Alpha October 8th, 2010 For VTP intervlan routing do we have configure the trunk between L3 switch and L2 switch? Or is that not required? Just create VTP domain and mode and SVIs and ip routing on L3? And VPT domain and mode on L2. Do we have to put ip routing on L2 as well or just on L3 switch? what about the trunk the port between L2 and L3? Do we have to create a trunk and specify encapsulation as welll? 12. christok October 21st, 2010 well ive just tried practicing dis sim, d L3 switch does not share vlan information with d L2 switch without a trunk configured on f0/1 link of both switches. In an exam situation, use d show run conf to verify d config on both switches, if cisco has configured d f0/1 links to negotiat trunk, then you may not needneed to configure trunk negotiation, if not then you must configure it simple. 13. Lulavinyl October 21st, 2010 @Preparing for SWITCH Thx man!! I forget. You are right. 14. Lulavinyl October 21st, 2010 @Preparing for SWITCH Thx man!! I forgot it. You are right. 15. Keith October 29th, 2010

4 of 16

6/19/2012 10:42 AM

SWITCH Training VTP Lab

http://www.certprepare.com/vtp-lab#more-46

What about question N#5. Specific Vlan port assignment will be made as users are added to the access layer switches in the future 16. Anonymous October 31st, 2010 Keith It means dont bother setting vlan assignments to ports on the ALS after all, which ports are vlan20 and which are vlan21? the sim doesnt say, so you cant do it 17. Ahmed Adel November 2nd, 2010 Guys take care you should configure VTP domain and mode first , before creating VLANs 18. soup November 4th, 2010 @ Ahmed Adel u r correct show interface trunk will tell u interfaces that r trunked 19. weight November 15th, 2010 i like 20. jimmy November 19th, 2010 give me now 21. ku January 6th, 2011 if any have a 642-813 dumps plz send me this email [email protected] 22. Chitu January 7th, 2011 DLSwitch#configure terminal DLSwitch(config)#vtp mode server DLSwitch(config)#vtp domain cisco (use cisco, not CISCO because it is case sensitive) DLSwitch(config)#vlan 20 DLSwitch(config)#vlan 21 Configure Ip addresses for Vlans: DLSwitch(config)#interface vlan 20 DLSwitch(if-config)#ip address 172.16.71.1 255.255.255.0 DLSwitch(if-config)#no shutdown DLSwitch(if-config)#interface vlan 21 DLSwitch(if-config)#ip address 172.16.132.1 255.255.255.0 DLSwitch(if-config)#no shutdown DLSwitch(if-config)#exit

5 of 16

6/19/2012 10:42 AM

SWITCH Training VTP Lab

http://www.certprepare.com/vtp-lab#more-46

DLSwitch(config)#interface fa0/1 DLSwitch(config-if)#switchport mode trunk DLSwitch(config-if)#switchport trunk encapsulation dot1q DLSwitch(config-if)#switchport trunk native vlan1 DLSwitch(config-if)#exit DLSwitch(config)#spanning-tree vlan 1,20-21 root primary 4) Configure inter-VLAN routing on the distribution layer switch DLSwitch(config)#ip routing DLSwitch(config)#exit DLSwitch#copy running-config startup-config ALSwitch ALSwitch#configure terminal ALSwitch(config)#vtp mode client ALSwitch(config)#vtp domain cisco ALSwitch(config)#exit ALSwitch(config)#interface fa0/1 ALSwitch(config-if)#switchport mode trunk ALSwitch(config-if)#switchport trunk encapsulation dot1q ALSwitch(config-if)#switchport trunk native vlan1 ALSwitch(config-if)#exit ALSwitch(config)#spanning-tree vlan 1,20-21 root primary ALSwitch#copy running-config startup-config 23. Chitu January 7th, 2011 THIS IS HOW I WILL BE ABLE TO ANSWER THIS SIMULATION [email protected] 24. Custom January 9th, 2011 @Chitu Why are you setting the ALSwitch(config)#spanning-tree vlan 1,20-21 root primary on the access switch and distributions for that matter? Its like starting to set secret and line passswords Dont do anything unless its a task. Setting trunks, Spanning-Tree are not objectives, so dont configure it unless its not working. VTP is not advetised with out a trunk, thats right, BUT there might be hidden configs you cant see, so do a sh vtp stat on both devices to see if the VLANs is advitise out ;) In the CCIE lab exam youll fail if you configure other things then told to. I know several that was like, hey wait a minut, thats not what what i would do in real life. And thats how most people fail the CCIE ;) GL with your exam!! /C 25. 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

6 of 16

6/19/2012 10:42 AM

SWITCH Training VTP Lab

http://www.certprepare.com/vtp-lab#more-46

packet tracer lab files at [email protected]. Thank you very much. 26. esfin January 19th, 2011 Hi all. This practice its for 642-813??? Or for 642-812 27. extran January 25th, 2011 Please This lab its necessary ? 28. extran January 26th, 2011 Ok, its easy lab but 5. Specific VLAN port assignments will be made as users are added to the access layer switches in the future Can anyone explain this point? Thanks 29. switcher January 26th, 2011 @extran: Dude just scroll above to get your answer. But i ll still write it for u: U dont need to assign specific ports to vlans. 30. extran January 27th, 2011 @switcher Sorry i understend no very well english Thanks for your reply. Ok, the 5 point its not necesary to make it 31. 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 its too many pages. Need lot of time to finish.. Will it come for exam? Plz anyone tel me! 32. Pika February 24th, 2011 @chitcu you are doing more than the question is asking you to do. 33. Pika February 24th, 2011 @chitchu why are you configuring both switches as root for vlans 1, 20-21?!

7 of 16

6/19/2012 10:42 AM

SWITCH Training VTP Lab

http://www.certprepare.com/vtp-lab#more-46

DLSwitch(config)#spanning-tree vlan 1,20-21 root primary ALSwitch(config)#spanning-tree vlan 1,20-21 root primary 34. Switcho March 7th, 2011 Yep, just to be safe hardcode int fa0/1 on both ends as a trunk. otherwise vtp wont work 35. 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. 36. rahul March 23rd, 2011 i did all the config and trunking also, with one switch in server and other in client mode. put the vlan info on server switch, still didnt see the vlan on client switch please advise 37. monex.com March 23rd, 2011 In the election process all switches exchange BPDU frames to determine which switch has the lowest Bridge id BID ..The switch with the lowest BID becomes the root bridge..Each BPDU contains a BID identifying the source switch..BID priority value MAC extended ID.The path costs are calculated by adding port cost values along a given path..STA chooses the path with the lowest path cost..After STA determines which paths are available it configures ports into distinct port roles.. .ELECTING THE ROOT BRIDGE .Every spanning tree instance has a root bridge..It serves as a refrence point for all calculations..All switches in the domain participate in the election..After a switch reboots it sends out BPDU every 2 secs..Initially each switch identifies itself as the root bridge..If the root ID from a received BPDU is lower than the BID on the receiving switch the receiver updates its root ID..The switch forwards new BPDU with the lower root ID..Eventually the switch with the lowest BID ends up being identified as the root bridge for the spanning tree instance..BEST PATHS TO ROOT BRIDGE .After electing the root the STA starts determining the best paths to root from all destinations.The path info is determined by adding up port costs from each destination to the root..Port costs are defined by speed..The values have already been changed to accommodate the newer 10GB Ethernet may change again in future..Port cost is configured .SW1 config-if spanning-tree cost .To verify port cost path cost .SW1 show spanning-tree detail.The cost Field total cost to root.BPDU FIELDS .The 1st 4 fields identify STP version type status..The next 4 fields identify the root cost to the root..The last 4 fields are timer fields that determine how often BPDU are sent how long the info is retained.. EXTENDED SYSTEM ID .Can be ommited in certain configurations..Early STP was not designed for vlans..This field contains the VLAN id..Reduces the of bits available for priority so the increments for the priority change from 1 to 4096..3.MAC ADDRESS .If switches have the same priority extSID the switch with the lowest MAC has the lowest BID..With default configs the MAC is then the deciding factor..This can lead to an unpredictable root bridge..Its recommended that the desired switch be given a lower priority..Also ensures that the addition of switches to your network does not trigger a new election..CONFIG VERIFY BID .There are 2 ways to change priority..SW1 config spanning-tree vlan vlan-id root primary .Sets priority to 24576 or the next 4096 increment below the lowest priority detected on network..For backup use . 38. Sambit March 25th, 2011

8 of 16

6/19/2012 10:42 AM

SWITCH Training VTP Lab

http://www.certprepare.com/vtp-lab#more-46

plz send any lattest dump CCNP Switch_642_813 on [email protected] 39. Anonymous March 29th, 2011 Kindly can any one send for me lattest Pass4 sure link 40. Nathan March 30th, 2011 I have a PT lab that simulates this, if anyone wants it let me know. its a pretty basic setup but it helps for practice! Also if anyone knows how to get it submitted to be included with the other labs let me know so i can send it in 41. DaEngineer April 7th, 2011 Does anyone know if you can use copy run start or Wr mem instead Also does tabing and help with ? work on SIMS for these labs ? Thanks! 42. SA April 15th, 2011 Has anyone got this lab with latest exam ? 43. 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 [email protected] 44. Bryanrobh May 2nd, 2011 @Nathan Can I get the PT forthis lab please [email protected] 45. Martin May 14th, 2011 is the vlan 1 needed as Chitu has put in his config ? without it, the vtp updates on the client side and sees the vlan 20 and 21.. 46. kartik May 18th, 2011 Hi Can anyone pl give me the latest dumps .i plan to give the switch exam in the month of june any help will be much appreciated.

9 of 16

6/19/2012 10:42 AM

SWITCH Training VTP Lab

http://www.certprepare.com/vtp-lab#more-46

This is my mail address [email protected] 47. Anonymous June 4th, 2011 Hi Can anyone pls give me the ROUTE (642-902) latest dumps .i plan to the exam soonest. Your help will be much appreciated. My email address is [email protected] 48. Mr.CIO June 22nd, 2011 Will take my Switch exam today Wish me luck! :D 49. erick June 23rd, 2011 Today is my SWITCH exam, i will post my comments 50. Tory July 9th, 2011 What an awesome way to explain thisnow I know eevrtyhing! 51. Younis July 19th, 2011 Can anyone send me the latest switching dumps to my email: [email protected] 52. Shanmugam July 28th, 2011 can anyone share latest Switching dumps to my email:[email protected] or any URL for switching dump? 53. xtremzores August 9th, 2011 help! pls post links of lates dump. 54. Allwyn_Dcosta August 13th, 2011 I am appearing for my exam todaywish me luck 55. 2343 August 15th, 2011 234 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

10 of 16

6/19/2012 10:42 AM

SWITCH Training VTP Lab

http://www.certprepare.com/vtp-lab#more-46

AAA dot1x lab sim Is there any mor lab should i need to do? Thank you.. 57. Anonymous August 23rd, 2011 Good News !!! I have a updated dump contact me for it [email protected] 58. Zain September 7th, 2011 Can anyone please mail me link or file of latest dumps of 642-813 .i have version6.8 but on pss4sure.com it has been changed at 26th august. please help me Email id is [email protected] 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. Cisco Guy September 14th, 2011 Hello everyone, my exams is after two days, kindly inform me updated dumps..anyone knows about any lab change? @Anonymous can u pls. email me latest dumps @ [email protected] thanks guys, this forum is owesome 61. Cisco Guy September 14th, 2011 @Anonymous sorry my correct email is : [email protected] 62. spy December 20th, 2011 on DLS switch: interface vlan 1 no shut ex
11 of 16

6/19/2012 10:42 AM

SWITCH Training VTP Lab

http://www.certprepare.com/vtp-lab#more-46

interface valn 20 ip address 172.16.236.1 255.255.255.0 no shut ex interface valn 21 ip address 172.16.170.1 255.255.255.0 no shut ex vtp domain cisco vtp mode server ex ip routing copy run start ON ALS switch: interface fa0/1 switchport mode trunk ex vtp mode client vtp domain cisco ex copy run start 63. Raina March 17th, 2012 Hi Guys, Please tell me whether the tab key is working on the simulator, means it will complete the command, Example: SW#sh (press tab) SW#show 64. Anonymous March 19th, 2012 from where i will get the sim for this lab listed as first in the list.. i cant open the downloaded file.. can anyone help me please.. Practice Real SWITCH Labs with Packet Tracer.. my mail id is [email protected] 65. Anonymous April 15th, 2012 dear all, any body tried the new version of pas4sure, it is only 145 question 66. Test123 April 17th, 2012 Drag and Drop Q/A new Added , Drag and Drop Questions 2 >>> Same Site 67. rnsguy April 18th, 2012 Hey guysI am looking for the entire lab questions which I think is in P4S v6.8 497q. any ideas where i could get it?

12 of 16

6/19/2012 10:42 AM

SWITCH Training VTP Lab

http://www.certprepare.com/vtp-lab#more-46

68. qqqqqqqqqqq April 19th, 2012 21333 69. sup April 24th, 2012 Hello guys , just finished route..any recommendation on study material for switch.? 70. @ Chitu and @ spy May 1st, 2012 DLSwitch#configure terminal DLSwitch(config)#vtp mode server DLSwitch(config)#vtp domain cisco (use cisco, not CISCO because it is case sensitive) DLSwitch(config)#vlan 20 DLSwitch(config)#vlan 21 Configure Ip addresses for Vlans: DLSwitch(config)#interface vlan 20 DLSwitch(if-config)#ip address 172.16.71.1 255.255.255.0 DLSwitch(if-config)#no shutdown DLSwitch(if-config)#interface vlan 21 DLSwitch(if-config)#ip address 172.16.132.1 255.255.255.0 DLSwitch(if-config)#no shutdown DLSwitch(if-config)#exit DLSwitch(config)#interface fa0/1 DLSwitch(config-if)#switchport mode trunk DLSwitch(config-if)#switchport trunk encapsulation dot1q ==================================== DLSwitch(config-if)#switchport trunk allowed vlan 20,21 ! Missing line ===================================== DLSwitch(config-if)#exit DLSwitch(config)#spanning-tree vlan 1,20-21 root primary 4) Configure inter-VLAN routing on the distribution layer switch DLSwitch(config)#ip routing DLSwitch(config)#exit DLSwitch#copy running-config startup-config ALSwitch ALSwitch#configure terminal ALSwitch(config)#vtp mode client ALSwitch(config)#vtp domain cisco ALSwitch(config)#exit ALSwitch(config)#interface fa0/1 ALSwitch(config-if)#switchport mode trunk ALSwitch(config-if)#switchport trunk encapsulation dot1q

13 of 16

6/19/2012 10:42 AM

SWITCH Training VTP Lab

http://www.certprepare.com/vtp-lab#more-46

ALSwitch(config-if)#switchport trunk allowed vlan 20,21 ALSwitch(config-if)#exit ALSwitch#copy running-config startup-config No need to declare vlan 1 as native and you dont need to include in the allowed vlan list, since native vlan are allowed untagged. Also, you declared the DLSwitch(config)#spanning-tree vlan 20-21 root primary you don need it again on ALSwitch if you do that then ALSwitch will be the root. Remember the keyword primary is a macro and it will set the switch priority to existing priority 4096 upon comparing all the switches priority and is not a polling command. So if you configure the same command on ALSwitch later on then ALSwitch will be root because it will decrement to less than the DLSwitch new priority 4096, since DLSwitch was the lowest post configuration. 71. sup May 7th, 2012 Hello guys , just finished switch..any recommendation on study material for tshoot.? 72. the_NME June 14th, 2012 Hello, I think point 5 Specific VLAN port assignments will be made as users are added to the access layer switches in the future. is about Layer2-Security and the switchports should NOT be able to build a trunk. I think, they want you to configure switchport host to the access-ports which in fact adds the following 2 lines to the switchport configs: switchport mode access (Switchport can no longer negociate a trunk) spanning-tree portfast Good luck for you all!!! the_NME 73. the_NME June 14th, 2012 ADD: of course NOT port Fa 0/1.. something like: interface range Fa0/2 48 switchport host 1. No trackbacks yet. Add a Comment Name

14 of 16

6/19/2012 10:42 AM

SWITCH Training VTP Lab

http://www.certprepare.com/vtp-lab#more-46

Subscribe to comments feed VTP Lab 2 Spanning Tree Lab Sim

SWITCH 642-813 Exam


LabSim STP Hotspot HSRP Hotspot Drag and Drop Questions Drag and Drop Questions 2 VLAN VTP STP Questions STP Questions STP Questions 2 STP Questions 3 STP Questions 4 STP Questions 5 VLAN Hopping Questions DHCP Spoofing Questions Dynamic ARP Inspection DAI VLAN Access Map Port Security Questions Port Security Questions 2 Private VLAN (PVLAN) EtherChannel Questions InterVLAN Routing Voice Support Questions Gateway Redundancy Questions Wireless Questions SWITCH FAQs & Tips Share your SWITCH Experience

Network Resources
CCNA Website ROUTE Website SWITCH Website TSHOOT Website CCNA Voice Website CCNA Security Website

15 of 16

6/19/2012 10:42 AM

SWITCH Training VTP Lab

http://www.certprepare.com/vtp-lab#more-46

CCNA Wireless Website CCDA Website CCIP Website CCIE Website Support Certprepare

Your contribution will help keep this site updated!

Ads by Google

Cisco CCIE Lab Cisco Routers Cisco Lab Top Copyright 2010-2012 SWITCH Training Privacy Policy. Valid XHTML 1.1 and CSS 3.

16 of 16

6/19/2012 10:42 AM

You might also like