{"id":79,"date":"2015-08-26T18:52:20","date_gmt":"2015-08-26T18:52:20","guid":{"rendered":"http:\/\/wiki.thomasandsofia.com\/?p=79"},"modified":"2015-09-06T20:17:26","modified_gmt":"2015-09-06T20:17:26","slug":"ccent-3-s01-e12-lans-initial-setup-of-a-cisco-switch","status":"publish","type":"post","link":"https:\/\/wiki.thomasandsofia.com\/?p=79","title":{"rendered":"CCENT 3 S01 E12 \u2013 LANS: Initial Setup of a Cisco Switch"},"content":{"rendered":"<h3>Understanding the Physical Indicators<\/h3>\n<ul>\n<li>System &#8211; System Status.\u00a0 As it powers on, it will blink green.\u00a0 Will turn solid green upon completion.<\/li>\n<li>RPS &#8211; Redundant Power Supply.\u00a0 If installed, this will glow green.<\/li>\n<li>STAT &#8211; Default Mode.\u00a0 Show status of port.\u00a0 On (flicker) with signal.<\/li>\n<li>Util &#8211; Utilization.\u00a0 All lights work together to show full traffic utilization.<\/li>\n<li>Duplex &#8211; Ports will like for all ports working in Full Duplex.\u00a0 Unlight ports will be half-duplex<\/li>\n<li>Speed &#8211; On for 100 Mbps, off for 10 Mbps<\/li>\n<li>Mode Button (Available on Stackable Switches) &#8211; This will switch between the Stat, Util, Duplex and Speed modes.<\/li>\n<\/ul>\n<h3>Observing the Boot Process<\/h3>\n<ul>\n<li>No power button.\u00a0 Need to unplug\/plug in to boot.<\/li>\n<li>Copies IOS from flash to RAM and decompresses it.<\/li>\n<li>Shows current version of IOS<\/li>\n<li>Tests each component, cpu, ram, etc.<\/li>\n<li>Memory: 65526k\/8192K Bytes of Memory (Volitile \/ Non-Volitile)<\/li>\n<li>Memory is partitioned into 2 sections: for total memory, you add the two values together.<\/li>\n<li>After boot, system will continue to spew out messages. (Press <span class=\"kbbtn\">Enter<\/span> or <span class=\"kbbtn\">Tab<\/span> to see last question.<\/li>\n<\/ul>\n<h3>Performing the Initial Configuration<\/h3>\n<h4>Basics<\/h4>\n<ul>\n<li>Would you like to enter initial configuration mode (Setup Wizard): NO!! <span class=\"kbbtn\">Ctrl<\/span>+<span class=\"kbbtn\">C<\/span> to exit!<\/li>\n<li>Once you know how to do it from command line, you&#8217;ll prefer it.<\/li>\n<li>Enable Secret &#8211; Password to enter Privilege Mode.<\/li>\n<li>Enable Password &#8211;<\/li>\n<li>Basic Management &#8211; Just enough information to configure it remotely.<\/li>\n<li>Any option in [ Brackets ] is the default.\u00a0 Press <span class=\"kbbtn\">Enter<\/span> to accept.<\/li>\n<li>Virtual Terminal Password &#8211; Password for Telnet, even to access User Mode<\/li>\n<\/ul>\n<h4>Manual configuration<\/h4>\n<p>Initial Login is User Mode. Switch to Privilege Mode<\/p>\n<pre>Host&gt;<span style=\"color: #33cccc;\">enable<\/span>\r\nHost#_<\/pre>\n<p>Switch to Global Configuration mode to make configuration changes<\/p>\n<pre>Host#<span style=\"color: #33cccc;\">configure terminal<\/span>\r\nHost(config)#_<\/pre>\n<p>Set the Hostname<\/p>\n<pre>Host#<span style=\"color: #33cccc;\">hostname Sw1<\/span>\r\nSw1(config)#_<\/pre>\n<p>How to name a switch: Recommend Logical\/physical location of switch.<\/p>\n<p>Assign an IP Address &#8211; Requires basic understanding of vlans (Virtual LANs)<\/p>\n<p><a href=\"http:\/\/wiki.thomasandsofia.com\/wp-content\/uploads\/2015\/08\/vlan.gif\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-82\" src=\"http:\/\/wiki.thomasandsofia.com\/wp-content\/uploads\/2015\/08\/vlan.gif\" alt=\"vlan\" width=\"645\" height=\"220\" \/><\/a><\/p>\n<ul>\n<li>VLANs break your switch into multiple broadcast domains.<\/li>\n<li>VLANs are not part of this series, is for CCNA.<\/li>\n<li>Broadcasts to VLAN1 will only go to ports on VLAN1, Broadcasts on VLAN2 only go to VLAN2, etc.<\/li>\n<\/ul>\n<p>To Assign an IP, we need to enter a VLAN Interface.<\/p>\n<ul>\n<li>By Default, all ports are assigned to VLAN1<\/li>\n<li>Difference between VLAN1 and Interface VLAN1 (Virtual Interface)<\/li>\n<li>Interface VLAN1 is accessible by every switchport on VLAN1.<\/li>\n<li>Can Telnet and Ping the Virtual Port, even though it doesn&#8217;t actually exist.<\/li>\n<li>Once an IP is assigned to Interface VLAN!, you can log into the system.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<pre>Sw1(config)#<span style=\"color: #33cccc;\">interface vlan1<\/span>\r\nSw1(config-if)#<span style=\"color: #33cccc;\">ip address 172.30.2.180 255.255.255.0<\/span>\r\nSw1(config-if)#<span style=\"color: #33cccc;\">end<\/span>\r\nSw1#<span style=\"color: #33cccc;\">show interface vlan 1<\/span>\r\nvlan1 is administratively down, line protocol is down\r\n  Hardware is Ether...\r\n  internet address is 172.30.2.180\/24\r\n  ...\r\n<\/pre>\n<p>Enable the Interface using &#8220;no shutdown&#8221;<br \/>\nBecause the interface is down, we need to enable it.<\/p>\n<pre>Sw1#<span style=\"color: #33cccc;\">conf t<\/span>\r\nSw1(config)#<span style=\"color: #33cccc;\">int vlan 1<\/span>\r\nSw1(config-if)#<span style=\"color: #33cccc;\">no shutdown\r\n<\/span><\/pre>\n<p>result&#8230;<\/p>\n<pre>%LINK-5-CHANGED: Interface Vlan1, changed state to up<\/pre>\n<p>At this time, the switch can be accessed via Telnet!<\/p>\n<p>Assign a default gateway. This would be the IP address of the Router connected to the switch.<\/p>\n<pre>Sw1(config)#<span style=\"color: #33cccc;\">ip default-gateway 172.30.2.1<\/span><\/pre>\n<p>** Note: The Default Gateway is assigned GLOBALLY!! Regardless of the port, you only have 1 default gateway!<\/p>\n<h4>Saving your Configuration!<\/h4>\n<p>All configuration changes made are only stored in VOLITILE RAM! If the power is lost, all changes will also be lost!<\/p>\n<pre>Sw1#<span style=\"color: #33cccc;\">show running-config<\/span>\r\nBuilding configuration...\r\n\r\ncurrent configuration : 1020 bytes\r\n!\r\nversion 12.1\r\nno service timestamps log datetime msec\r\nno service timestamps debug datetime msec\r\nno service password-encryption\r\n!\r\nhostname Sw1\r\n!\r\n...\r\ninterface Vlan1\r\n ip address 172.30.2.180 255.255.255.0\r\n!\r\nip default-gateway 172.30.2.1\r\n!\r\n...\r\nend\r\n\r\nSw1#_<\/pre>\n<p>To save the running configuration to the startup configuration:<\/p>\n<pre>Sw1#<span style=\"color: #33cccc;\">copy running-config startup-config<\/span>\r\nDestination filename [startup-config]? <span class=\"kbbtn\">Enter<\/span>\r\nBuilding configuration...\r\n[OK]\r\nSw1#<\/pre>\n<p>CAUTION!!<br \/>\nMake sure you only press <span class=\"kbbtn\">Enter<\/span> when prompted for the Destination filename! Entering <span class=\"kbbtn\">Y<\/span> or similar will change the filename to &#8220;Y&#8221;!!!<\/p>\n<p>Verify the change &#8211;<\/p>\n<pre>Sw1#<span style=\"color: #33cccc;\">show running-config<\/span>\r\nUsing 1020 bytes\r\n!\r\nversion 12.1\r\nno service timestamps log datetime msec\r\n...\r\nend\r\nSw1#_<\/pre>\n<h4>Knowing Your Switch &#8211; Getting an Overview<\/h4>\n<pre>Sw1#<span style=\"color: #33cccc;\">show version<\/span>\r\nCisco Internetwork Operating System Software\r\nIOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(22)EA4, RELEASE SOFTWARE(fc1)\r\nCopyright (c) 1986-2005 by cisco Systems, Inc.\r\n...\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Understanding the Physical Indicators System &#8211; System Status.\u00a0 As it powers on, it will blink green.\u00a0 Will turn solid green upon completion. RPS &#8211; Redundant Power Supply.\u00a0 If installed, this will glow green. STAT &#8211; Default Mode.\u00a0 Show status of port.\u00a0 On (flicker) with signal. Util &#8211; Utilization.\u00a0 All lights work together to show full ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/wiki.thomasandsofia.com\/?p=79\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,2,5],"tags":[],"class_list":["post-79","post","type-post","status-publish","format-standard","hentry","category-ccent","category-networking","category-switches"],"_links":{"self":[{"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/posts\/79","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=79"}],"version-history":[{"count":11,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/posts\/79\/revisions"}],"predecessor-version":[{"id":112,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/posts\/79\/revisions\/112"}],"wp:attachment":[{"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=79"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=79"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=79"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}