ITS270-Lab5 (2)

docx

School

Purdue University, Northwest *

*We aren’t endorsed by this school

Course

270

Subject

Computer Science

Date

Dec 6, 2023

Type

docx

Pages

3

Uploaded by ChefPencil9883

Report
ITS 270 LAB 5 Please put your name and course number. Use an appropriate screenshot to show your results if it is needed. Use file name of “ ITS270-Lab5-FirstNameLastName.(doc, docx) ”. Any failure to do so will result in a deduction. Important note 1. If question asks to explain or write observation, you should not answer only with screenshot. You will have to explain and write your observation. You can use screenshot to support your answer. If you answer only with screenshot , you will get zero . 2. Screenshot should be clear enough to read and follow the screenshot policy. Otherwise, it will not be accepted. 3. This lab is designed for Packet Tracer version 7.3. It may not properly work with any older version. It is your responsibility to use any other version of Packet Tracer. In lab5, we will investigate the Spanning Tree Algorithm. For the given topology, we will find Root Port, Designated Port, and Blocking Port and learn more about STP. Create the network using 3 switches First, place 3 switches (i.e., switch1, switch2, switch3) as shown in Figure 1. Then, find the “ Base Ethernet MAC address ”, which can be found in “ console Terminal ” or “ CLI tab ”. Once the switch is booted up, type “show version” in User or Privilege mode to get the switch ID. Figure 1. Three switches Let’s reassign the Switch number for convenience. Lowest Switch ID for Switch1, second lowest Switch ID for Switch 2, the last one for Switch 3. Add your initial when you rename them. In addition, write Switch ID next to Switch number for each Switch using “note”. 1. Write your switch ID for Switch1, Switch2, and Switch3. Which switch is the Root Switch? Explain your answer using switch ID. (5 points) 2. Now connect the switches, switch1 (Fa0/1) to switch2 (Fa0/2) , switch2 (Fa0/1) to switch3 (Fa0/2) , switch3 (Fa0/1) to switch1 (Fa0/2) properly. Now label the connecting port (e.g., fa0/1, fa0/2). Wait until switches finish the Spanning Tree Protocol. After converging, observe the spanning tree protocol result using “ show spanning-tree ” at privilege mode . Find RP (root port), DP (designated port), and BP (blocking port) for each switch. Answer it using Table below. Also include proper screenshot. (10 points) Swit ch 1 Switc h 2 Sw itc h 3
F a 0/ 1 F a 0/ 2 3. In the network diagram, label Root Switch and port number (e.g., fa0/1, fa0/2) on each Switch. Then, label RP, DP, and/or BP on each corresponding port. Provide proper screenshot of labeled network to answer this question. (5 points) 4. From the output of “ show spanning-tree ” command, find the spanning-tree protocol parameters such as Root address, Hello time, Max Age and Forward Delay for each switch. (5 points) Now let’s connect one PC to each Switch. PC1 to Switch1, PC2 to Switch2, and PC3 to Switch3. Assign IP address of PC1 as 192.168.10.5 with subnetmask of 255.255.255.0, PC2 as 192.168.10.10 255.255.255.0, and PC3 as 192.168.10.15 255.255.255.0. Now, rename PCs with your initial. Then, at PC2, ping PC1 and PC3. Both pings should be successful. 5. Go to simulation mode and use Simple PDU to send message from PC2 to PC1 and PC3. Do both messages take the shortest path? Which one does not take a short path? Explain why. All traffic except ICMP should be unchecked in “Edit Filter” to observe ICMP traffic only. (The shortest path means the least number of hops in the path for this case) (5 points) 6. In this step you will need to measure a STP converging time. To measure it, you will need to keep checking the output of “ show spanning-tree ” to measure the converging time with watch . Open CLI at Switch2 and get ready to observe output of “ show spanning-tree ”. Now, at Root Switch (i.e., switch1), type “ no spanning-tree vlan 1 ” in the Configuration mode and go back to CLI of Switch2 to measure converging time. It may take a while to converge. Once it is converged, output should be changed. How long did it take to converge? Has the Root Switch changed? If so, which one is the new Root Switch? Also include proper screenshot of converged output of STP. (10 pints) 7. At each Switch, observe Spanning Tree information. Which port of interface has been blocked? Explain why it’s been blocked. (Hint: The Switch with no spanning tree is considered as a link in STP) (5 points) Now, type “ spanning-tree vlan 1 ” in the configuration mode at Switch1. This enables the Spanning Tree Protocol at Switch1 again. Wait until STP converges before proceed Q8.
8. In this step we will also measure STP converging time, just like Q6 . Now go to Switch3 (highest switch ID) and type “ spanning-tree vlan 1 root primary ” at configuration mode. Keep checking the STP output until it changes to measure the converging time at Switch2. How long did it take to converge? Who is the Root Switch now? In addition, find root port (RP), designated port (DP), and blocking port (BP) using STP output of each Switch. Include proper screenshots of STP information. (5 points) Before proceeding to the next step, type “ no spanning-tree vlan 1 root primary ” at Switch3. 9. Place one more Switch (i.e., Switch 4) and rename it with your initial. What is the switch ID of switch 4? Based on this information, which switch will be a Root when Switch 4 is added to your network? You should explain as much detail as possible. (5 points) 10. Now connect switch 4 (Fa0/1) to switch 1 (Fa0/3) and switch 4 (Fa0/2) to switch 2 (Fa0/3). Then, find Root Switch, RP, DP, and BP at each switch using STP information of each Switch. Also include proper screenshots of STP information. (10 points) 11. In a network diagram, label Root Switch and port number (e.g., fa0/1, fa0/2) on each Switch. Then, label RP, DP, and/or BP on each corresponding port. Provide proper screenshot of labeled network to answer this question. (5 points)
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help