{"id":2124,"date":"2023-11-23T09:43:35","date_gmt":"2023-11-23T04:43:35","guid":{"rendered":"https:\/\/afzalbadshah.com\/?p=2124"},"modified":"2023-11-23T13:33:05","modified_gmt":"2023-11-23T08:33:05","slug":"lab-activity-switch-configuration-in-cisco-packet-tracer","status":"publish","type":"post","link":"https:\/\/afzalbadshah.com\/index.php\/2023\/11\/23\/lab-activity-switch-configuration-in-cisco-packet-tracer\/","title":{"rendered":"Lab Activity: Switch | VLAN Configuration in Cisco Packet Tracer"},"content":{"rendered":"\n<p>The objective of this lab activity is to familiarize students with the basic configuration of a Cisco switch using Cisco Packet Tracer. Students will learn essential switch configuration commands and understand how to set up and manage switch interfaces. Additionally, they will learn how to configure VLANs on packet tracers.  <a href=\"https:\/\/afzalbadshah.com\/index.php\/2023\/10\/16\/local-area-network-lan-and-its-protocol\/\" target=\"_blank\" rel=\"noopener\" title=\"\">Learn more about physical and virtual LANs. <\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Equipment and Software Requirements<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Cisco Packet Tracer (Download from the Cisco Networking Academy website)<\/li>\n\n\n\n<li>Cisco switch in Packet Tracer<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Topology Setup<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Create a simple network topology with one Cisco switch and two PCs.<\/li>\n\n\n\n<li>Connect the PCs to the switch using appropriate cables (Ethernet cables).<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"640\" height=\"328\" src=\"https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2023\/11\/1.jpg?resize=640%2C328&#038;ssl=1\" alt=\"\" class=\"wp-image-2175\" style=\"aspect-ratio:1.951219512195122;width:840px;height:auto\" srcset=\"https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2023\/11\/1.jpg?w=800&amp;ssl=1 800w, https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2023\/11\/1.jpg?resize=300%2C154&amp;ssl=1 300w, https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2023\/11\/1.jpg?resize=768%2C394&amp;ssl=1 768w, https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2023\/11\/1.jpg?resize=527%2C270&amp;ssl=1 527w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><figcaption class=\"wp-element-caption\">VLAN configuration in Packet Tracer<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Basic Switch Configuration<\/h3>\n\n\n\n<p>Access the Cisco switch CLI or use the graphical interface in Packet Tracer.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"640\" height=\"371\" src=\"https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2023\/11\/2.jpg?resize=640%2C371&#038;ssl=1\" alt=\"\" class=\"wp-image-2176\" style=\"aspect-ratio:1.7253886010362693;width:840px;height:auto\" srcset=\"https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2023\/11\/2.jpg?w=666&amp;ssl=1 666w, https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2023\/11\/2.jpg?resize=300%2C174&amp;ssl=1 300w, https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2023\/11\/2.jpg?resize=466%2C270&amp;ssl=1 466w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><figcaption class=\"wp-element-caption\">VLAN configuration in Packet Tracer: Click on CLI to go to the command line interface<\/figcaption><\/figure>\n\n\n\n<p>Configure a hostname for the switch (e.g., Switch1).<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Switch1&gt; enable\nSwitch1# configure terminal\nSwitch1(config)# hostname Switch1\nSwitch1(config)# end\nSwitch1#<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">VLAN Configuration<\/h3>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"640\" height=\"330\" src=\"https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2023\/11\/3.jpg?resize=640%2C330&#038;ssl=1\" alt=\"\" class=\"wp-image-2177\" srcset=\"https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2023\/11\/3.jpg?w=667&amp;ssl=1 667w, https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2023\/11\/3.jpg?resize=300%2C155&amp;ssl=1 300w, https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2023\/11\/3.jpg?resize=524%2C270&amp;ssl=1 524w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><figcaption class=\"wp-element-caption\">Configuring VLANs on the switch<\/figcaption><\/figure>\n\n\n\n<p>Create a VLAN on the switch.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Switch1# configure terminal\nSwitch1(config)# vlan 100\nSwitch1(config-vlan)# name Admin\nSwitch1(config-vlan)# exit\nSwitch1(config)# vlan 101\nSwitch1(config-vlan)# name Quality-Assuarance\nSwitch1(config-vlan)# exit\nSwitch1(config)# vlan 103\nSwitch1(config-vlan)# name Developpers\nSwitch1(config-vlan)# exit\nSwitch1#<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Interface Configuration<\/h3>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"640\" height=\"354\" src=\"https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2023\/11\/5.jpg?resize=640%2C354&#038;ssl=1\" alt=\"\" class=\"wp-image-2178\" style=\"aspect-ratio:1.8091397849462365;width:840px;height:auto\" srcset=\"https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2023\/11\/5.jpg?w=673&amp;ssl=1 673w, https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2023\/11\/5.jpg?resize=300%2C166&amp;ssl=1 300w, https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2023\/11\/5.jpg?resize=488%2C270&amp;ssl=1 488w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><figcaption class=\"wp-element-caption\">Interface configuration on Packet Tracer<\/figcaption><\/figure>\n\n\n\n<p>Configure FastEthernet interfaces on the switch.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Switch1# configure terminal\nSwitch1(config)# interface range FastEthernet0\/1 - 2\nSwitch1(config-if-range)# switchport mode access\nSwitch1(config-if-range)# switchport access vlan 100\nSwitch1(config-if-range)# end\nSwitch1#<\/code><\/pre>\n\n\n\n<p><strong>Note:<\/strong> This sets interfaces FastEthernet0\/1 and FastEthernet0\/2 to access mode and assigns them to VLAN 10.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Verify Configuration<\/h3>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"621\" height=\"282\" src=\"https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2023\/11\/6.jpg?resize=621%2C282&#038;ssl=1\" alt=\"\" class=\"wp-image-2179\" style=\"aspect-ratio:2.202127659574468;width:840px;height:auto\" srcset=\"https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2023\/11\/6.jpg?w=621&amp;ssl=1 621w, https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2023\/11\/6.jpg?resize=300%2C136&amp;ssl=1 300w, https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2023\/11\/6.jpg?resize=595%2C270&amp;ssl=1 595w\" sizes=\"(max-width: 621px) 100vw, 621px\" \/><figcaption class=\"wp-element-caption\">Verifying the VLAN configuration<\/figcaption><\/figure>\n\n\n\n<p>Use various show commands to verify your switch configuration.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Switch1# show running-config\nSwitch1# show interfaces status\nSwitch1# show vlan<\/code><\/pre>\n\n\n\n<p>In this lab activity, you have configured a Cisco switch using Cisco Packet Tracer. By setting up a basic switch configuration, creating VLANs, and verifying the configuration, you have gained practical experience in managing a switch in a simulated network environment. This foundational knowledge will be crucial as you progress to more advanced networking concepts.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The objective of this lab activity is to familiarize students with the basic configuration of a Cisco switch using Cisco Packet Tracer. Students will learn essential switch configuration commands and understand how to set up and manage switch interfaces. Additionally, they will learn how to configure VLANs on packet tracers. Learn more about physical and virtual LANs. Equipment and Software Requirements Topology Setup Basic Switch Configuration Access the Cisco switch CLI or use the graphical interface in Packet Tracer. Configure&#8230;<\/p>\n<p class=\"read-more\"><a class=\"btn btn-default\" href=\"https:\/\/afzalbadshah.com\/index.php\/2023\/11\/23\/lab-activity-switch-configuration-in-cisco-packet-tracer\/\"> Read More<span class=\"screen-reader-text\">  Read More<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":2169,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"enabled":false},"version":2}},"categories":[371],"tags":[436,434,435],"class_list":["post-2124","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-computer-network-lab","tag-computer-networks-lab","tag-vlan","tag-vlan-activity"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/afzalbadshah.com\/wp-content\/uploads\/2023\/11\/pexels-photo-2881232.jpeg?fit=1880%2C1251&ssl=1","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pf3emP-yg","jetpack-related-posts":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/afzalbadshah.com\/index.php\/wp-json\/wp\/v2\/posts\/2124","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afzalbadshah.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afzalbadshah.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afzalbadshah.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afzalbadshah.com\/index.php\/wp-json\/wp\/v2\/comments?post=2124"}],"version-history":[{"count":6,"href":"https:\/\/afzalbadshah.com\/index.php\/wp-json\/wp\/v2\/posts\/2124\/revisions"}],"predecessor-version":[{"id":2184,"href":"https:\/\/afzalbadshah.com\/index.php\/wp-json\/wp\/v2\/posts\/2124\/revisions\/2184"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/afzalbadshah.com\/index.php\/wp-json\/wp\/v2\/media\/2169"}],"wp:attachment":[{"href":"https:\/\/afzalbadshah.com\/index.php\/wp-json\/wp\/v2\/media?parent=2124"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afzalbadshah.com\/index.php\/wp-json\/wp\/v2\/categories?post=2124"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afzalbadshah.com\/index.php\/wp-json\/wp\/v2\/tags?post=2124"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}