<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1304305295846759911</id><updated>2011-07-28T07:44:41.239-05:00</updated><title type='text'>Hedgehog Technical Institute</title><subtitle type='html'>Cisco CCNA Online Training.  Lab Exercises to prepare for the CCNA exam.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://hedgehogtech.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1304305295846759911/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://hedgehogtech.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>The Hedge</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>26</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1304305295846759911.post-8163483393939635307</id><published>2012-12-31T01:59:00.034-06:00</published><updated>2009-09-10T17:39:11.685-05:00</updated><title type='text'>CCNA® Training</title><content type='html'>&lt;span style="font-weight:bold;"&gt;&lt;font color=#2A3F32&gt;Providing Online Technical Training.&lt;/font&gt;  &lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://hedgehogtech.blogspot.com/2009/09/lab-16-new-switch-configuration.html"&gt;Time to configure your third and final switch.&lt;/a&gt;  The third switch is important for understanding two critical subjects that will be on the exam:  Spanning Tree Protocol (STP) and Virtual Trunking Protocol (VTP).  Yep, that's a lot of protocols.  But they will be on the exam, probably in difficult questions (at least, they were difficult when I took the exam).  &lt;br /&gt;&lt;br /&gt;You should be able to do this from memory.  As the Headgehog says in Lab 16, "If you can't do it from memory, then you can't do it at all."  Seriously, however, by now, you should know how to configure a switch with a basic configuration.  If you can't, it's time for a lot of review if you hope to pass the test.  &lt;br /&gt;&lt;br /&gt;For single switch labs, check (believe it or not!) &lt;a href="http://hedgehogtech.blogspot.com/2009/06/ccna-single-switch-labs.html"&gt;Single Switch Labs&lt;/a&gt;!&lt;br /&gt;&lt;br /&gt;For multi-switch labs, check in the &lt;a href="http://hedgehogtech.blogspot.com/2009/07/multiple-switch-labs.html"&gt;Multiple Switch Labs&lt;/a&gt; (shocking but true!).&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;font color=#2A3F32&gt;New to Hedgehog Tech?&lt;/font&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;See the Contents on the right.  If you do not have a lab, see the Contents on the right.  Start with &lt;a href="http://hedgehogtech.blogspot.com/2009/06/building-your-ccna-lab-routers-and.html"&gt;Building Your CCNA Lab&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;If you have a lab, start with the &lt;a href="http://hedgehogtech.blogspot.com/2009/06/ccna-single-switch-labs.html"&gt;Single Switch exercises&lt;/a&gt;.  And keep checking back.  More to follow.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1304305295846759911-8163483393939635307?l=hedgehogtech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1304305295846759911/posts/default/8163483393939635307'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1304305295846759911/posts/default/8163483393939635307'/><link rel='alternate' type='text/html' href='http://hedgehogtech.blogspot.com/2009/06/ccna-training.html' title='CCNA® Training'/><author><name>The Hedge</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-1304305295846759911.post-6880233822733542737</id><published>2009-09-05T16:51:00.010-05:00</published><updated>2010-02-19T09:41:07.634-06:00</updated><title type='text'>Lab 16 - New Switch Configuration</title><content type='html'>Time to configure a new switch.  This will be the last switch configured for your labs. &lt;br /&gt;&lt;br /&gt;hostname labsw3&lt;br /&gt;interface VLAN 1 - IP address 192.168.1.77 255.255.255.0&lt;br /&gt;&lt;br /&gt;All other parts of the configuration should be the same as labsw1:&lt;br /&gt;All passwords: enable secret, console, vty&lt;br /&gt;Password encryption&lt;br /&gt;motd banner&lt;br /&gt;DNS server&lt;br /&gt;&lt;br /&gt;VLANs&lt;br /&gt;200 - interfaces Fa0/7, Fa0/8&lt;br /&gt;201 - interfaces Fa0/5, Fa0/6&lt;br /&gt;202 - interfaces Fa0/3, Fa0/4&lt;br /&gt;203 - interfaces Fa0/1, Fa0/2&lt;br /&gt;&lt;br /&gt;Configure interfaces Fa0/23 and Fa0/24 (or the last 2 interfaces on your switch) as trunk ports.&lt;br /&gt;&lt;br /&gt;You have already configured interface Fa0/24 on labsw1 and labsw2 as trunk ports.  &lt;span style="font-weight:bold;"&gt;You should also reconfigure interface Fa0/23 on both switches as trunk ports.&lt;/span&gt;  When this is complete, each switch in your lab will have two trunk ports: Fa0/23 and Fa0/24 (or the last two interfaces on your switches).&lt;br /&gt;&lt;br /&gt;You may have noticed that we keep moving the interface VLAN assignments around.  The reason is simple: in an enterprise network, interface VLAN assignments are either&lt;br /&gt; the entire switch is one VLAN, such as a smaller remote office&lt;br /&gt;Or&lt;br /&gt; the interface VLAN assignments are somewhat random, and you have to use displays such as show vlan to determine which VLAN the interface is in.&lt;br /&gt;&lt;br /&gt;While no lab can reproduce an actual enterprise network environment, we keep trying.  The important thing is that you assign interfaces to the VLANs used in these labs, and that you test the configuration to insure that you have done it correctly.&lt;br /&gt;&lt;br /&gt;If this site was a discussion of actual network practices instead of labs to learn Cisco configuration, we would spend a lot of time talking about the low quality of most network documentation and test processes.  It’s a jungle out there.  Many problems can be avoided by testing a configuration before putting it in production.  The time required spent in resolving other problems could be significantly reduced by good documentation.  But as you will hear from many networks across the galaxy, “We have standards and they are very, very low.”  &lt;br /&gt;&lt;br /&gt;Oh, well.  &lt;strong&gt;Test your configuration.&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;When you have finished the configuration, save to the startup config and the TFTP server. &lt;strong&gt;Test&lt;/strong&gt; all configurations as was done in Labs 1-9.&lt;br /&gt;&lt;br /&gt;Again, consider this a test, or a pre-test. You should be able to do most of these things from memory. If you can't, you should be concerned about your knowledge of switch configurations.  Review the previous labs closely and repeat them as often as necessary to remember them. &lt;br /&gt;&lt;br /&gt;In the words of the Headgehog, "Repetition is the mother of education." And "If you can't do it from memory, then you can't do it at all."  (He says a lot things like that.  Boring at times, but of course, he's right.)&lt;br /&gt;&lt;br /&gt;This stuff will be on the test.  When and if you get a job in an enterprise network, you will need to know it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1304305295846759911-6880233822733542737?l=hedgehogtech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1304305295846759911/posts/default/6880233822733542737'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1304305295846759911/posts/default/6880233822733542737'/><link rel='alternate' type='text/html' href='http://hedgehogtech.blogspot.com/2009/09/lab-16-new-switch-configuration.html' title='Lab 16 - New Switch Configuration'/><author><name>The Hedge</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-1304305295846759911.post-4028161045731114153</id><published>2009-09-04T11:04:00.028-05:00</published><updated>2009-09-05T16:49:21.080-05:00</updated><title type='text'>Lab 15 - Ethernet Address Management in a Multi-switch Network – End Device Address Management</title><content type='html'>&lt;span style="font-weight:bold;"&gt;Goal:&lt;/span&gt; &lt;br /&gt;● Understand how switches manage Ethernet addresses of attached devices. &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Requirements:&lt;/span&gt;&lt;br /&gt;● Labsw1 and labsw2 configured and connected from previous labs&lt;br /&gt;● 2 PCs connected to the network with Ethernet cables&lt;br /&gt;● Console cable on PC1&lt;br /&gt;&lt;br /&gt;Lab 14 covered internal switch addressing, which, just like we keep threatening, will become very important in a couple of labs.  However, how switches manage addresses from external devices is also an important concept to master.  Yes, it is a potential test question, as well as very important in managing an enterprise network.  (Notice how often those two are related?)&lt;br /&gt;&lt;br /&gt;The basis of Ethernet address management was covered in Lab 5: &lt;br /&gt;● Switches learn Ethernet addresses by capturing the source address of each new frame that enters the switch&lt;br /&gt;● Switches record the addresses and the interfaces the frames used to enter the switch in a MAC Address Table.&lt;br /&gt;● Switches use MAC Address Table to make the decision to forward or filter packets.&lt;br /&gt;&lt;br /&gt;The above is pretty much the definition of layer 2 switching.&lt;br /&gt;&lt;br /&gt;How does that work in a network with multiple switches?  Consider 2 configurations:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt; Configuration 1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_9ZysJBVVIiY/SqE7sD4YcLI/AAAAAAAAAHw/n9SrHzQhC0U/s1600-h/lab15a.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 123px;" src="http://4.bp.blogspot.com/_9ZysJBVVIiY/SqE7sD4YcLI/AAAAAAAAAHw/n9SrHzQhC0U/s320/lab15a.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5377645058199154866" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Both &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC1&lt;/span&gt; and &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC2&lt;/span&gt; are connected to &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;labsw1&lt;/span&gt; on interfaces Fa0/1 and Fa0/5, both in VLAN 200.  In this exercise, we will ping &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC2&lt;/span&gt;, 192.168.1.3, from &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC1&lt;/span&gt;, 192.168.1.2.  Before connecting &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC1&lt;/span&gt; and &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC2&lt;/span&gt; to the network, record their MAC addresses.&lt;br /&gt;&lt;br /&gt;PC1: &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;0009.7CDC.DD12&lt;/span&gt;&lt;br /&gt;PC2: &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;0040.0B5B.E116&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Verify that the only addresses in the MAC Address Table of &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;labsw1&lt;/span&gt; and &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;labsw2&lt;/span&gt; are the internal MAC addresses of the respective switches by using the “&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;show mac-address-table dynamic&lt;/span&gt;” command.  Remember, these addresses should be associated with interface Fa0/24, the trunk port.  If there are other addresses in the MAC Address Tables, clear the MAC Address Table using the “&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;clear mac-address-table dynamic&lt;/span&gt;” command. &lt;br /&gt;&lt;br /&gt;Connect both computers to labsw1 as shown in the schematic above.  &lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC1&lt;/span&gt; on interface Fa0/1&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC2&lt;/span&gt; to interface Fa0/5 &lt;br /&gt;&lt;br /&gt;(Note: any two interfaces can be used if both are in the same VLAN.  If you don’t remember the interface VLAN assignments, display them with “show vlan” command.)  When the interfaces have synchronized (LEDs are green):&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;1. PC1&gt; ping 192.168.1.3&lt;br /&gt;Request timed out. &lt;/span&gt;(You may not receive this response, though.)&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;Reply from 192.168.1.3: bytes=32 time=63ms TTL=128&lt;br /&gt;Reply from 192.168.1.3: bytes=32 time=63ms TTL=128&lt;br /&gt;Reply from 192.168.1.3: bytes=32 time=62ms TTL=128&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Display the MAC Address Table of labsw1&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;2.  labsw1# show mac-address-table dynamic&lt;pre&gt;&lt;br /&gt;          Mac Address Table&lt;br /&gt;-------------------------------------------&lt;br /&gt;Vlan    Mac Address       Type        Ports&lt;br /&gt;----    -----------       --------    -----&lt;br /&gt;   1    0001.c9c8.a118    DYNAMIC     Fa0/24&lt;br /&gt; 200    0001.c9c8.a118    DYNAMIC     Fa0/24&lt;br /&gt; &lt;span style="font-weight:bold;"&gt;200    0009.7cdc.dd12    DYNAMIC     Fa0/1&lt;br /&gt; 200    0040.0b5b.e116    DYNAMIC     Fa0/5&lt;/span&gt;&lt;br /&gt; 201    0001.c9c8.a118    DYNAMIC     Fa0/24&lt;br /&gt; 202    0001.c9c8.a118    DYNAMIC     Fa0/24&lt;br /&gt; 203    0001.c9c8.a118    DYNAMIC     Fa0/24&lt;/pre&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Both MAC addresses are in the MAC Address Table. &lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC1, 0009.7cdc.dd12&lt;/span&gt;, on interface Fa0/1&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC2, 0040.0b5b.e116, on interface Fa0/5&lt;/span&gt;.  &lt;br /&gt;&lt;br /&gt;You should understand this from Lab 5.  However, now look at the MAC Address Table on &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;labsw2.&lt;br /&gt;&lt;br /&gt;3. labsw2# show mac-address-table dynamic&lt;pre&gt;&lt;br /&gt;          Mac Address Table&lt;br /&gt;-------------------------------------------&lt;br /&gt;Vlan    Mac Address       Type        Ports&lt;br /&gt;----    -----------       --------    -----&lt;br /&gt;   1    0001.63d7.d918    DYNAMIC     Fa0/24&lt;br /&gt; 200    0001.63d7.d918    DYNAMIC     Fa0/24&lt;br /&gt; &lt;span style="font-weight:bold;"&gt;200    0009.7cdc.dd12    DYNAMIC     Fa0/24&lt;/span&gt;&lt;br /&gt; 201    0001.63d7.d918    DYNAMIC     Fa0/24&lt;br /&gt; 202    0001.63d7.d918    DYNAMIC     Fa0/24&lt;br /&gt; 203    0001.63d7.d918    DYNAMIC     Fa0/24&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;labsw2&lt;/span&gt; now has the MAC address of &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC1, 0009.7cdc.dd12&lt;/span&gt;, in its MAC Address Table.  How did that happen? PC1 is not connected to &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;labsw2&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;Review the responses from &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC1&lt;/span&gt; when the ping was started.&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;br /&gt;Request timed out. &lt;/span&gt;(You may not receive this response, though.)&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;Reply from 192.168.1.3: bytes=32 time=63ms TTL=128&lt;br /&gt;Reply from 192.168.1.3: bytes=32 time=63ms TTL=128&lt;br /&gt;Reply from 192.168.1.3: bytes=32 time=62ms TTL=128&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;On the first ping attempt, &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC1&lt;/span&gt; did not know the MAC address of &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC2&lt;/span&gt;, IP address 192.68.1.3.  To learn the MAC address, &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC1&lt;/span&gt; issued an ARP request, a broadcast, for the MAC address associated with an IP address (Review Lab 5).&lt;br /&gt;&lt;br /&gt;How does a switch process a broadcast frame?  First, it records the MAC address of the issuing computer in the MAC Address Table, &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;0009.7cdc.dd12&lt;/span&gt;, the MAC address of &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC1&lt;/span&gt;, interface Fa0/1.  The next step is to forward the broadcast on all active interfaces except for the interface used to enter the switch: interface Fa0/1.  &lt;br /&gt;&lt;br /&gt;Review the diagram above.  Which other interfaces are active?  Interface Fa0/5 is active, since it supports &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC2&lt;/span&gt;.  But interface Fa0/24 is also active, since it is the trunk port between the switches.  &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;labsw1&lt;/span&gt; forwards the ARP broadcast on both Fa0/5 and Fa0/24.  &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC2&lt;/span&gt; responds to the ARP request, and &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;labsw1&lt;/span&gt; updates the MAC Address table with &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC2&lt;/span&gt;’s MAC address and switch interface.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;labsw2&lt;/span&gt; received the broadcast frame on the trunk port, Fa0/24.  &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;labsw2&lt;/span&gt; processes the frame according to the rules of switching: it updates its MAC address table with the &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC1&lt;/span&gt; MAC address, &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;0009.7cdc.dd12&lt;/span&gt;, learned on interface Fa0/24.  &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;labsw2&lt;/span&gt; cannot forward the frame because it has a single active interface: Fa0/24.  It will not forward a frame on the same interface that it received the frame on.  After updating the MAC Address Table, &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;labsw2&lt;/span&gt; discards, or filters, the frame.  If labsw2 had computers connected to other interfaces, however, it would have forwarded the broadcast to those interfaces.  &lt;br /&gt;&lt;br /&gt;(Even if the first ping request from &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC1&lt;/span&gt; did not time out, &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC1&lt;/span&gt; still issued an ARP request.  Your lab was able to process the ARP request before the first ping attempt failed.  Sometimes it works out that way.  You still need to know this for the exam.)&lt;br /&gt;&lt;br /&gt;Review the MAC Address tables of both &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;labsw1&lt;/span&gt; and &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;labsw2&lt;/span&gt; again.&lt;br /&gt;&lt;br /&gt;Labsw1&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;pre&gt;&lt;br /&gt;          Mac Address Table&lt;br /&gt;-------------------------------------------&lt;br /&gt;&lt;br /&gt;Vlan    Mac Address       Type        Ports&lt;br /&gt;----    -----------       --------    -----&lt;br /&gt;&lt;br /&gt;   1    0001.c9c8.a118    DYNAMIC     Fa0/24&lt;br /&gt; 200    0001.c9c8.a118    DYNAMIC     Fa0/24&lt;br /&gt;&lt;span style="font-weight:bold;"&gt; 200    0009.7cdc.dd12    DYNAMIC     Fa0/1&lt;br /&gt; 200    0040.0b5b.e116    DYNAMIC     Fa0/5&lt;/span&gt;&lt;br /&gt; 201    0001.c9c8.a118    DYNAMIC     Fa0/24&lt;br /&gt; 202    0001.c9c8.a118    DYNAMIC     Fa0/24&lt;br /&gt; 203    0001.c9c8.a118    DYNAMIC     Fa0/24&lt;/pre&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Labsw2&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;pre&gt;&lt;br /&gt;          Mac Address Table&lt;br /&gt;-------------------------------------------&lt;br /&gt;Vlan    Mac Address       Type        Ports&lt;br /&gt;----    -----------       --------    -----&lt;br /&gt;   1    0001.63d7.d918    DYNAMIC     Fa0/24&lt;br /&gt; 200    0001.63d7.d918    DYNAMIC     Fa0/24&lt;br /&gt; &lt;span style="font-weight:bold;"&gt;200    0009.7cdc.dd12    DYNAMIC     Fa0/24&lt;/span&gt;&lt;br /&gt; 201    0001.63d7.d918    DYNAMIC     Fa0/24&lt;br /&gt; 202    0001.63d7.d918    DYNAMIC     Fa0/24&lt;br /&gt; 203    0001.63d7.d918    DYNAMIC     Fa0/24&lt;/pre&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Why doesn’t &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;labsw2&lt;/span&gt; know about &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC2&lt;/span&gt;, MAC Address &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;0040.0b5b.e116&lt;/span&gt;?&lt;br /&gt;&lt;br /&gt;The reason is that &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC2&lt;/span&gt; did not issue a broadcast.  Review the process from the perspective of &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC2&lt;/span&gt;:&lt;ul&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC2&lt;/span&gt; received the ARP request from &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC1&lt;/span&gt;.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC2&lt;/span&gt; recognized that the ARP request was intended for itself, since it has IP address 192.168.1.3.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC2&lt;/span&gt; responded to the ARP request, using &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC1&lt;/span&gt;’s MAC address as the destination for the reply: &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;0009.7cdc.dd12&lt;/span&gt;.  &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC2&lt;/span&gt; used its own MAC address as the source address: &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;0040.0b5b.e116.&lt;/span&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;When &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC2&lt;/span&gt; responds to the ARP request, &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;labsw1&lt;/span&gt; updates the MAC Address Table with &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC2&lt;/span&gt;’s MAC address and interface: &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;0040.0b5b.e116&lt;/span&gt;, interface Fa0/5.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;labsw1&lt;/span&gt; then checks the MAC Address Table for MAC address &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;0009.7cdc.dd12&lt;/span&gt;, the destination address in the response frame.  It finds the MAC address on interface Fa0/1.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;labsw1&lt;/span&gt; forwards the frame to interface Fa0/1.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC1&lt;/span&gt; continues to issue pings, &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC2&lt;/span&gt; continues to respond to pings, and &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;labsw1&lt;/span&gt; continues to forward the frames based on the MAC Address Table.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;The response from &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC2&lt;/span&gt; is a unicast frame to &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC1&lt;/span&gt;, not a broadcast.  Since &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;labsw1&lt;/span&gt; knows which interface supports &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC1&lt;/span&gt;, the frame is not forwarded on Fa0/24.  &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;labsw2&lt;/span&gt; knows about PC1, but it does not yet know about &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC2&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Configuration 2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_9ZysJBVVIiY/SqFBnGkyn2I/AAAAAAAAAH4/nEdtmDZwwTc/s1600-h/lab+15b.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 126px;" src="http://2.bp.blogspot.com/_9ZysJBVVIiY/SqFBnGkyn2I/AAAAAAAAAH4/nEdtmDZwwTc/s320/lab+15b.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5377651570092711778" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC1&lt;/span&gt; is connected to &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;labsw1&lt;/span&gt; on interface Fa0/1, VLAN 200.  &lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC2&lt;/span&gt; is connected to &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;labsw2&lt;/span&gt; on interface Fa0/2, also in VLAN 200.  &lt;br /&gt;&lt;br /&gt;Repeat the process used to test Configuration 1 above.  Clear the MAC Address Table in both &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;labsw1&lt;/span&gt; and &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;labsw2.&lt;br /&gt;&lt;br /&gt;1.  PC1&gt; ping 192.168.1.3&lt;br /&gt;Request timed out.&lt;/span&gt; (You may not receive this response, though.)&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;Reply from 192.168.1.3: bytes=32 time=63ms TTL=128&lt;br /&gt;Reply from 192.168.1.3: bytes=32 time=63ms TTL=128&lt;br /&gt;Reply from 192.168.1.3: bytes=32 time=62ms TTL=128&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Display the MAC Address Table on both &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;labsw1&lt;/span&gt; and &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;labsw2.&lt;br /&gt;&lt;br /&gt;2. labsw1# show mac-address-table dynamic&lt;pre&gt;&lt;br /&gt;          Mac Address Table&lt;br /&gt;-------------------------------------------&lt;br /&gt;Vlan    Mac Address       Type        Ports&lt;br /&gt;----    -----------       --------    -----&lt;br /&gt;   1    0001.c9c8.a118    DYNAMIC     Fa0/24&lt;br /&gt; 200    0001.c9c8.a118    DYNAMIC     Fa0/24&lt;br /&gt;&lt;span style="font-weight:bold;"&gt; 200    0009.7cdc.dd12    DYNAMIC     Fa0/1&lt;br /&gt; 200    0040.0b5b.e116    DYNAMIC     Fa0/24&lt;/span&gt;&lt;br /&gt; 201    0001.c9c8.a118    DYNAMIC     Fa0/24&lt;br /&gt; 202    0001.c9c8.a118    DYNAMIC     Fa0/24&lt;br /&gt; 203    0001.c9c8.a118    DYNAMIC     Fa0/24 &lt;/pre&gt;  &lt;br /&gt;&lt;br /&gt;labsw1&lt;/span&gt; has the MAC address of both &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC1&lt;/span&gt; and &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC2&lt;/span&gt; recorded in the MAC Address Table.  &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC1&lt;/span&gt; is on Fa0/1, as expected.  &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC2&lt;/span&gt;, however, is associated with interface Fa0/24, the trunk port.&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;br /&gt;3. labsw2# show mac-address-table dynamic&lt;pre&gt;&lt;br /&gt;          Mac Address Table&lt;br /&gt;-------------------------------------------&lt;br /&gt;&lt;br /&gt;Vlan    Mac Address       Type        Ports&lt;br /&gt;----    -----------       --------    -----&lt;br /&gt;&lt;br /&gt;   1    0001.63d7.d918    DYNAMIC     Fa0/24&lt;br /&gt; 200    0001.63d7.d918    DYNAMIC     Fa0/24&lt;br /&gt;&lt;span style="font-weight:bold;"&gt; 200    0009.7cdc.dd12    DYNAMIC     Fa0/24&lt;br /&gt; 200    0040.0b5b.e116    DYNAMIC     Fa0/2&lt;/span&gt;&lt;br /&gt; 201    0001.63d7.d918    DYNAMIC     Fa0/24&lt;br /&gt; 202    0001.63d7.d918    DYNAMIC     Fa0/24&lt;br /&gt; 203    0001.63d7.d918    DYNAMIC     Fa0/24&lt;/pre&gt;&lt;br /&gt;labsw2&lt;/span&gt; also has the MAC addresses of both &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC1&lt;/span&gt; and &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC2&lt;/span&gt; recorded in its MAC Address Table.  The MAC address of &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC2&lt;/span&gt; is recorded on interface Fa0/2, and the MAC address of &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC1&lt;/span&gt; is recorded on interface Fa0/24.  By now, you should be able to figure out the process.&lt;ul&gt;&lt;br /&gt;&lt;li&gt;PC1, on Fa0/1, issued an ARP request for PC2’s MAC Address.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;labsw1&lt;/span&gt; recorded &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC1&lt;/span&gt;’s MAC address in its MAC Address Table: &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;0009.7cdc.dd12&lt;/span&gt;, interface Fa0/1.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;labsw1&lt;/span&gt; forwarded the frame on all active interfaces except interface Fa0/1.  The only other interface that is active on &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;labsw1&lt;/span&gt; is Fa0/24, the trunk port.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;labsw2&lt;/span&gt; received the ARP request on the trunk port, Fa0/24.  &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;labsw2&lt;/span&gt; recorded the source MAC address of the frame and the interface that it received the frame on: &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;0009.7cdc.dd12&lt;/span&gt;, from Fa0/24.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;labsw2&lt;/span&gt; forwarded the broadcast frame on all active interfaces except Fa0/24.  Only interface Fa0/2 is active, which supports &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC2&lt;/span&gt;.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC2&lt;/span&gt; responds to the ARP request, using &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC1&lt;/span&gt;’s MAC address as the destination and its own address, &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;0040.0b5b.e116&lt;/span&gt;, as the source address.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;labsw2&lt;/span&gt; recorded the MAC address for &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC2&lt;/span&gt; in its MAC Address Table on interface Fa0/2.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;labsw2&lt;/span&gt; checked its MAC Address Table for the destination MAC address, &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC1&lt;/span&gt;, in the frame.  &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;labsw2&lt;/span&gt; recorded the MAC address for &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC1&lt;/span&gt; when it received the ARP request on the trunk port.  The MAC Address Table showed the &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC1&lt;/span&gt; MAC address on interface Fa0/24.  &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;labsw2&lt;/span&gt; forwarded the frame on the trunk port.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;labsw1&lt;/span&gt; received the response on the trunk port, Fa0/24.  It recorded the MAC address for &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC2&lt;/span&gt; in its MAC Address Table: &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;0040.0b5b.e116&lt;/span&gt;, Fa0/24.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;labsw1&lt;/span&gt; received the &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC2&lt;/span&gt; response on trunk port Fa0/24.  &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;labsw1&lt;/span&gt; checked the destination address, found it in the MAC Address Table: &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;0009.7cdc.dd12&lt;/span&gt;, Fa0/1.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;labsw1&lt;/span&gt; forwarded the frame to Fa0/1.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC1, labsw1&lt;/span&gt;, and &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;labsw2&lt;/span&gt; all know the MAC Address of &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC2.  PC1&lt;/span&gt; continues the ping process using the MAC address for &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC2&lt;/span&gt;.  &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;labsw1&lt;/span&gt; and &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;labsw2&lt;/span&gt; continue to forward the frame, using the trunk connection to deliver the frame to the neighboring switch.  &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;PC2&lt;/span&gt; continues to respond to the ping requests.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;The process occurs about a bazillion times a day in an enterprise network.  Each switch knows the MAC addresses of the computers connected to each of its access ports.  It knows about the rest of addresses from the traffic on its trunk ports.&lt;br /&gt;&lt;br /&gt;This also shows why the process is known as "&lt;span style="font-weight:bold;"&gt;transparent switching&lt;/span&gt;."  You have seen that there are MAC addresses associated with the switches in Lab 14.  However, these addresses are "transparent" to the end devices.  The computers connected to the switches do not need the switch MAC address, and never learn them.&lt;br /&gt;&lt;br /&gt;Review this lab as many times as necessary to understand it.  It will be on the test in some format.  It will be a part of your job.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1304305295846759911-4028161045731114153?l=hedgehogtech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1304305295846759911/posts/default/4028161045731114153'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1304305295846759911/posts/default/4028161045731114153'/><link rel='alternate' type='text/html' href='http://hedgehogtech.blogspot.com/2009/09/lab-15-ethernet-address-management-in.html' title='Lab 15 - Ethernet Address Management in a Multi-switch Network – End Device Address Management'/><author><name>The Hedge</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_9ZysJBVVIiY/SqE7sD4YcLI/AAAAAAAAAHw/n9SrHzQhC0U/s72-c/lab15a.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-1304305295846759911.post-548769080164836262</id><published>2009-09-02T17:16:00.020-05:00</published><updated>2009-09-04T08:18:09.501-05:00</updated><title type='text'>Lab 14 – Ethernet Address Management in a Multi-switch Network – Internal Switch Addresses</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_9ZysJBVVIiY/Sp7vDNtPpxI/AAAAAAAAAHo/OUl-nPiSLao/s1600-h/lab+14.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 162px;" src="http://4.bp.blogspot.com/_9ZysJBVVIiY/Sp7vDNtPpxI/AAAAAAAAAHo/OUl-nPiSLao/s320/lab+14.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5376997843625027346" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Goal:&lt;/span&gt;&lt;blockquote&gt;&lt;br /&gt;● Understand internal MAC addresses on Cisco switches&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Requirements:&lt;/span&gt;&lt;blockquote&gt;&lt;br /&gt;● labsw1 and labsw2 configured in previous labs&lt;br /&gt;● PC with console cable&lt;/blockquote&gt;&lt;br /&gt;This lab should be conducted using on the console port on each switch. Attach no devices to the FastEthernet interfaces.&lt;br /&gt;&lt;br /&gt;In &lt;a href="http://hedgehogtech.blogspot.com/2009/06/ccna-lab-5-ethernet-address-management.html"&gt;Lab 5 – Ethernet Address Management&lt;/a&gt;, we covered how a single switch builds and uses MAC Address Tables.  The switch reads the source MAC address of every frame that enters the switch, and creates an entry in the MAC Address Table that identifies the address and the port that it used to enter the switch.  Review Lab 5 if necessary.&lt;br /&gt;&lt;br /&gt;We also covered how a switch handles broadcasts and unknown MAC addresses: the frame is forwarded on all active ports.  This part of Lab 5 was not very exciting, considering that we only had two PCs.&lt;br /&gt;&lt;br /&gt;Switches in a multi-switch network manage Ethernet addresses the same way, but the process now involves more Ethernet addresses.  Labs 11 and 12 showed that trunk ports allow a computer on &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;labsw1&lt;/span&gt; to communicate with a device on &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;labsw2&lt;/span&gt;, as long as the devices are in the same VLAN.  This lab expands on that process to show what actually happens in a multi-switch environment.  We will use two lab configurations for this lab.&lt;br /&gt;&lt;br /&gt;When switches are connected by a trunk port, each switch learns MAC addresses associated with the “other” or neighboring switches.  These MAC address will be displayed when the “&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;show mac-address-table&lt;/span&gt;” command is used.  These addresses are critical for switch function in a multi-switch environment, and future labs will covers the use of the addresses in detail.  This lab provides an explanation of the internal MAC addresses.  &lt;br /&gt;&lt;br /&gt;Display the MAC address table on &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;labsw1&lt;/span&gt; and &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;labsw2&lt;/span&gt;.  (There may be a difference between Cisco switches, as well as the Packet Tracer display.  By now, you should be able to understand the differences between the labs and your configuration.)&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;br /&gt;1. labsw1#sho mac-address-table dynamic&lt;pre&gt;&lt;br /&gt;          Mac Address Table&lt;br /&gt;-------------------------------------------&lt;br /&gt;Vlan    Mac Address       Type        Ports&lt;br /&gt;----    -----------       --------    -----&lt;br /&gt;   1    0001.c9c8.a118    DYNAMIC     Fa0/24&lt;/pre&gt;&lt;br /&gt; &lt;br /&gt;2.  labsw2# show mac-address-table dynamic&lt;pre&gt;&lt;br /&gt;          Mac Address Table&lt;br /&gt;-------------------------------------------&lt;br /&gt;Vlan    Mac Address       Type        Ports&lt;br /&gt;----    -----------       --------    -----&lt;br /&gt;   1    0009.43cb.3018    DYNAMIC     Fa0/24&lt;br /&gt; 200    0009.43cb.3018    DYNAMIC     Fa0/24&lt;br /&gt; 201    0009.43cb.3018    DYNAMIC     Fa0/24&lt;br /&gt; 202    0009.43cb.3018    DYNAMIC     Fa0/24&lt;br /&gt; 203    0009.43cb.3018    DYNAMIC     Fa0/24&lt;/pre&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;These MAC addresses were learned without connecting a computer to either switch.  Where did these Ethernet addresses come from?  We know that the switches are connected on interface Fa0/24 for both routers, and the MAC addresses (&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;0009.43cb.3018, 0001.c9c8.a118&lt;/span&gt;) were learned on those ports.  These MAC addresses can be verified by using the “&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;show interface&lt;/span&gt;” command for each interface: &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;br /&gt;3. labsw1# show interface fa0/24&lt;br /&gt;FastEthernet0/24 is up, line protocol is up (connected)&lt;br /&gt;  Hardware is Fast Ethernet, address is &lt;span style="font-weight:bold;"&gt;0009.43cb.3018&lt;/span&gt; (bia &lt;span style="font-weight:bold;"&gt;0009.43cb.3018&lt;/span&gt;)&lt;br /&gt;.&lt;/span&gt;&lt;br /&gt;(Lines omitted)&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt; &lt;br /&gt;4. labsw2#show interface fa0/24&lt;br /&gt;FastEthernet0/24 is up, line protocol is up (connected)&lt;br /&gt;  Hardware is Fast Ethernet, address is &lt;span style="font-weight:bold;"&gt;000a.8ae6.5198&lt;/span&gt; (bia &lt;span style="font-weight:bold;"&gt;000a.8ae6.5198&lt;/span&gt;)&lt;br /&gt;. &lt;/span&gt;&lt;br /&gt;(Lines omitted)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;labsw1&lt;/span&gt; knows MAC address &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;000a.8ae6.5198&lt;/span&gt; because it receives information from &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;labsw2&lt;/span&gt; on interface Fa0/24. &lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;labsw2&lt;/span&gt; knows about MAC address &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;0009.43cb.3018&lt;/span&gt; because it receives information from &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;labsw1&lt;/span&gt; on interface Fa0/24.&lt;br /&gt;&lt;br /&gt;What data does each switch receive from the other on the respective interfaces Fa0/24?  (Review Lab 12.)  We know at this point that cdp updates are passed between the switches, and future labs will identify STP (Spanning Tree Protocol) data passed on the trunk connections, critical data for real networks as well for the exam.&lt;br /&gt;&lt;br /&gt;Two critical points about switch internal MAC addresses:&lt;ol&gt;&lt;br /&gt;&lt;li&gt;Switch internal MAC addresses have no impact on attached devices.  Ethernet switches use transparent switching, meaning that internal switch MAC addresses are not used in Ethernet frames created by end devices.  End devices learn the MAC addresses of other end devices, not the switch. &lt;/li&gt;&lt;br /&gt;&lt;li&gt;Switch internal MAC addresses are critical to switch function.&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;That means that your PC can ignore internal switch MAC address, but you, hedgeling, cannot.&lt;br /&gt;&lt;br /&gt;Each switch has a MAC address associated with the overall switch. It is identified as the CPU address, and is displayed by the “&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;show mac-address-table&lt;/span&gt;” command (without the “dynamic” qualifier.  Not available on Packet Tracer), as well as by the “&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;show version&lt;/span&gt;” command.  It is also the MAC address of interface VLAN 1.  &lt;br /&gt;&lt;br /&gt;In this example, labsw1 has an internal, or CPU, MAC address of &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;0009.43cb.3000&lt;/span&gt;.  (Remember, MAC addresses are displayed in various formats.  Pay attention to the address, not the format.) &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;br /&gt;5. labsw1# show version&lt;br /&gt;Cisco Internetwork Operating System Software&lt;/span&gt;&lt;br /&gt;(Lines omitted)&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;32K bytes of flash-simulated non-volatile configuration memory.&lt;br /&gt;Base ethernet MAC Address: &lt;span style="font-weight:bold;"&gt;00:09:43:CB:30:00&lt;/span&gt;&lt;br /&gt;Motherboard assembly number: 73-5781-09&lt;br /&gt;Power supply part number: 34-0965-01&lt;br /&gt;.&lt;/span&gt;&lt;br /&gt;(Lines omitted)&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;br /&gt;6. labsw1#show mac-address-table&lt;pre&gt;&lt;br /&gt;          Mac Address Table&lt;br /&gt;-------------------------------------------&lt;br /&gt;&lt;br /&gt;Vlan    Mac Address       Type        Ports&lt;br /&gt;----    -----------       --------    -----&lt;br /&gt; All    0009.43cb.3000    STATIC      CPU&lt;br /&gt; All    0100.0ccc.cccc    STATIC      CPU&lt;br /&gt; All    0100.0ccc.cccd    STATIC      CPU&lt;br /&gt; All    0100.0cdd.dddd    STATIC      CPU&lt;br /&gt;   1    000a.8ae6.5198    DYNAMIC     Fa0/24&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;7. labsw2# show version&lt;br /&gt;Cisco Internetwork Operating System Software&lt;/span&gt;&lt;br /&gt;(Lines omitted)&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;32K bytes of flash-simulated non-volatile configuration memory.&lt;br /&gt;Base ethernet MAC Address: &lt;span style="font-weight:bold;"&gt;00:0A:8A:E6:51:80&lt;/span&gt;&lt;br /&gt;Motherboard assembly number: 73-5781-09&lt;br /&gt;Power supply part number: 34-0965-01&lt;br /&gt;.&lt;/span&gt;&lt;br /&gt;(Lines omitted)&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;br /&gt;8. labsw2#show mac-address-table&lt;pre&gt;&lt;br /&gt;          Mac Address Table&lt;br /&gt;-------------------------------------------&lt;br /&gt;&lt;br /&gt;Vlan    Mac Address       Type        Ports&lt;br /&gt;----    -----------       --------    -----&lt;br /&gt; All    000a.8ae6.5180    STATIC      CPU&lt;br /&gt; All    0100.0ccc.cccc    STATIC      CPU&lt;br /&gt; All    0100.0ccc.cccd    STATIC      CPU&lt;br /&gt; All    0100.0cdd.dddd    STATIC      CPU&lt;br /&gt;   1    0009.43cb.3018    DYNAMIC     Fa0/24&lt;br /&gt; 200    0009.43cb.3018    DYNAMIC     Fa0/24&lt;br /&gt; 201    0009.43cb.3018    DYNAMIC     Fa0/24&lt;br /&gt; 202    0009.43cb.3018    DYNAMIC     Fa0/24&lt;br /&gt; 203    0009.43cb.3018    DYNAMIC     Fa0/24&lt;/pre&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;(Note: Understanding the above is critical.  Learn it)&lt;br /&gt;&lt;br /&gt;In addition to the CPU address, each interface on the switch has a unique MAC address that is based on the CPU address.  To view the interface MAC address on each switch, use the “show interface” command.  The command will display information on all interfaces.  Page through the display to review the interface MAC addresses (it’s a long display, so we won’t reproduce it here.  However, you should review the output and make sure you understand the display.&lt;br /&gt;&lt;br /&gt;labsw1  (The interface MAC addresses increment by a binary 1, but are expressed in hexadecimal.)&lt;br /&gt;CPU MAC address: &amp;nbsp &amp;nbsp 00:09:43:CB:30:00&lt;br /&gt;Interface VLAN 1: &amp;nbsp &amp;nbsp &amp;nbsp 0009.43cb.3000&lt;br /&gt;Interface Fa0/1: &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp 0009.43cb.3001&lt;br /&gt;Interface Fa0/2: &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp 0009.43cb.3002&lt;br /&gt;Interface Fa0/3: &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp 0009.43cb.3003&lt;br /&gt;.&lt;br /&gt;Interface Fa0/10: &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp 0009.43cb.300a&lt;br /&gt;Interface Fa0/11: &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp 0009.43cb.300b&lt;br /&gt;.&lt;br /&gt;.&lt;br /&gt;Interface Fa0/24: &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp 0009.43cb.3018&lt;br /&gt; &lt;br /&gt;labsw2 &lt;br /&gt;CPU MAC Address: &amp;nbsp &amp;nbsp 00:0A:8A:E6:51:80&lt;br /&gt;Interface VLAN 1: &amp;nbsp &amp;nbsp &amp;nbsp 000a.8ae6.5180&lt;br /&gt;Interface Fa0/1: &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp 000a.8ae6.5181&lt;br /&gt;Interface Fa0/2: &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp 000a.8ae6.5182&lt;br /&gt;Interface Fa0/3: &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp 000a.8ae6.5183&lt;br /&gt;.&lt;br /&gt;(Interfaces omitted)&lt;br /&gt;Interface Fa0/24: &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp 000a.8ae6.5198&lt;br /&gt;&lt;br /&gt;Understanding internal switch MAC addresses is critical.  Learn it, live it, love it.  It will become critical in future labs, on the exam, and in any network that has Cisco switches.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1304305295846759911-548769080164836262?l=hedgehogtech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1304305295846759911/posts/default/548769080164836262'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1304305295846759911/posts/default/548769080164836262'/><link rel='alternate' type='text/html' href='http://hedgehogtech.blogspot.com/2009/09/lab-14-ethernet-address-management-in.html' title='Lab 14 – Ethernet Address Management in a Multi-switch Network – Internal Switch Addresses'/><author><name>The Hedge</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_9ZysJBVVIiY/Sp7vDNtPpxI/AAAAAAAAAHo/OUl-nPiSLao/s72-c/lab+14.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-1304305295846759911.post-5844236516790301584</id><published>2009-08-26T17:05:00.030-05:00</published><updated>2009-08-28T12:25:06.880-05:00</updated><title type='text'>Lab 13 – Cisco Discovery Protocol (CDP)</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_9ZysJBVVIiY/SpWyG-jkLvI/AAAAAAAAAHY/hS8wzwNa82g/s1600-h/cdp.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 173px;" src="http://3.bp.blogspot.com/_9ZysJBVVIiY/SpWyG-jkLvI/AAAAAAAAAHY/hS8wzwNa82g/s320/cdp.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5374397563277684466" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Goal:&lt;/span&gt;&lt;br /&gt; Demonstrate Cisco Discovery Protocol&lt;br /&gt; Configure Cisco Discovery Protocol&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Requirements: &lt;/span&gt;&lt;blockquote&gt;&lt;br /&gt;● Switches labsw1, labsw1&lt;br /&gt;● 1 PC with COM port, Ethernet port optional&lt;br /&gt;● Cisco rollover cable&lt;br /&gt;● 1 Ethernet cables - optioinal&lt;br /&gt;● 1 Ethernet crossover cable&lt;/blockquote&gt;&lt;br /&gt;In this lab, labsw2, interface Fa0/21, will be used as the trunk port connected to labsw1, interface Fa0/24.  The reason for the change is to reduce confusion in displays for this lab.  Note the change in the diagram above.&lt;br /&gt;&lt;br /&gt;Cisco Discovery Protocol (CDP) is a proprietary protocol developed by Cisco to assist with troubleshooting, and it is a great troubleshooting tool.  A Cisco switch or router communicates specific information with any other Cisco device that it is connected to.  CDP is a Layer 2 protocol, which means it does not require IP to function.  In fact, two routers that are configured incorrectly, and therefore will never pass user data without being re-configured, can communicate certain types of system or device information with an attached Cisco device.  Network techs regularly use cdp to identify problems with configuration.&lt;br /&gt;&lt;br /&gt;Cisco Discovery Protocol runs automatically on all Cisco devices, which means it is part of the default, “out-of-the-box” configuration.  cdp must be turned off if it is not wanted.  The default configuration can be viewed by using the “show cdp” command.&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;1. labsw1#show cdp&lt;br /&gt;Switch#show cdp&lt;br /&gt;Global CDP information:&lt;br /&gt;    Sending CDP packets every 60 seconds&lt;br /&gt;    Sending a holdtime value of 180 seconds&lt;br /&gt;    Sending CDPv2 advertisements is enabled&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The first parameter is self-explanatory: cdp packets are sent on active interfaces every 60 seconds.  The holdtime value needs explanation.  Cisco uses hold timers for a number of functions, and their purpose is usually the same.  A holdtime value is the amount of time that can elapse without an update before the connection is declared down.  &lt;br /&gt;&lt;br /&gt;In the case of the default CDP configuration, each device sends a cdp packet every 60 seconds.  Sort of.  There are reasons that a cdp packet will not be sent.  One of them would be that “real” data, user data, has priority over cdp data, and it will delay the cdp packet when “real” data needs to be sent. However, it is more likely that a missed cdp packet will be the result of an error in the network.  Which is where the holdtime value comes in.  In this case, if a cdp packet is not received in 180 seconds, or three times the cdp value, the cdp cache will be flushed for that interface.&lt;br /&gt;&lt;br /&gt;The real value of cdp is found in the following commands:&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;show cdp neighbor&lt;br /&gt;show cdp neighbor detail&lt;br /&gt;show cdp neighbor fa0/x &lt;/span&gt; (or active interface) (not available on Packet Tracer)&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;show cdp neighbor fa0/x detail&lt;/span&gt; (or active interface) (not available on Packet Tracer)&lt;br /&gt;&lt;br /&gt;These commands will display information about an attached, or neighboring, Cisco device.&lt;span style="font-family: courier new,monospace; font-size: 8pt"&gt;&lt;br /&gt;&lt;br /&gt;1. labsw1# show cdp neighbor &lt;br /&gt;Capability Codes: R-Router, T-Trans Bridge, B-Sce Rte Brdge&lt;br /&gt;                  S-Switch, H-Host, I-IGMP, r-Repeater, P-Phone&lt;br /&gt;&lt;br /&gt;Device ID        Local Intrfce     Holdtme    Capability  Platform  Port ID&lt;br /&gt;labsw2 &amp;nbsp &amp;nbsp          Fas 0/24 &amp;nbsp &amp;nbsp &amp;nbsp         124 &amp;nbsp &amp;nbsp          S I &amp;nbsp &amp;nbsp &amp;nbsp    WS-C2950-2Fas 0/21&lt;/span&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt; “Capability Code” shows the device types available for display.&lt;/li&gt;&lt;br /&gt;&lt;li&gt; “Device ID” is the hostname of the remote device.  In this case, labsw2 is the remote device to labsw1.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;“Local interface” is the interface on the local device that is receiving cdp packets.  In this case, it is Fa0/24, on labsw1.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;“Holdtme” is the amount of time before the cdp connection is declared down.  In this example, 124 seconds remain before the connection is declared down, which means that 56 seconds have elapsed since the last cdp packet was recieved.  This value is reset to 180 seconds each time a cdp packet is received.  Examples are provided below.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;“Capability” is the device type, based on the codes shown in Capability Codes: “S” indicates that it is a switch, “I” indicates IGMP.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;“Platform” indicates the model of the device.  labsw2 is a 2950 switch: WS-C2950.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;“Port ID” is the port on the remote device that supports the connection.  Interface Fa0/21 is the interface on labsw2 that connects to labsw1.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;As indicated in the Holdtime value (124), the value is reset whenever a cdp packet is received.  The examples below are taken from labsw1 and show the value change as cdp packets are received:&lt;span style="font-family: courier new,monospace; font-size: 8pt"&gt;&lt;br /&gt;labsw1#sho cdp neighbor&lt;br /&gt;labsw1# show cdp neighbor &lt;br /&gt;Capability Codes: R-Router, T-Trans Bridge, B-Sce Rte Brdge&lt;br /&gt;                  S-Switch, H-Host, I-IGMP, r-Repeater, P-Phone&lt;br /&gt;&lt;br /&gt;Device ID        Local Intrfce     Holdtme    Capability  Platform  Port ID&lt;br /&gt;labsw2 &amp;nbsp &amp;nbsp          Fas 0/24 &amp;nbsp &amp;nbsp &amp;nbsp         &lt;span style="font-weight:bold;"&gt;133&lt;/span&gt; &amp;nbsp &amp;nbsp          S I &amp;nbsp &amp;nbsp &amp;nbsp    WS-C2950-2Fas 0/21&lt;br /&gt;&lt;br /&gt;labsw1#sho cdp neighbor&lt;br /&gt;labsw1# show cdp neighbor &lt;br /&gt;Capability Codes: R-Router, T-Trans Bridge, B-Sce Rte Brdge&lt;br /&gt;                  S-Switch, H-Host, I-IGMP, r-Repeater, P-Phone&lt;br /&gt;&lt;br /&gt;Device ID        Local Intrfce     Holdtme    Capability  Platform  Port ID&lt;br /&gt;labsw2 &amp;nbsp &amp;nbsp          Fas 0/24 &amp;nbsp &amp;nbsp &amp;nbsp         &lt;span style="font-weight:bold;"&gt;126&lt;/span&gt; &amp;nbsp &amp;nbsp          S I &amp;nbsp &amp;nbsp &amp;nbsp    WS-C2950-2Fas 0/21&lt;br /&gt;&lt;br /&gt;labsw1#sho cdp neighbor&lt;br /&gt;labsw1# show cdp neighbor &lt;br /&gt;Capability Codes: R-Router, T-Trans Bridge, B-Sce Rte Brdge&lt;br /&gt;                  S-Switch, H-Host, I-IGMP, r-Repeater, P-Phone&lt;br /&gt;&lt;br /&gt;Device ID        Local Intrfce     Holdtme    Capability  Platform  Port ID&lt;br /&gt;labsw2 &amp;nbsp &amp;nbsp          Fas 0/24 &amp;nbsp &amp;nbsp &amp;nbsp         &lt;span style="font-weight:bold;"&gt;122&lt;/span&gt; &amp;nbsp &amp;nbsp          S I &amp;nbsp &amp;nbsp &amp;nbsp    WS-C2950-2Fas 0/21&lt;br /&gt;&lt;br /&gt;labsw1#sho cdp neighbor&lt;br /&gt;labsw1# show cdp neighbor &lt;br /&gt;Capability Codes: R-Router, T-Trans Bridge, B-Sce Rte Brdge&lt;br /&gt;                  S-Switch, H-Host, I-IGMP, r-Repeater, P-Phone&lt;br /&gt;&lt;br /&gt;Device ID        Local Intrfce     Holdtme    Capability  Platform  Port ID&lt;br /&gt;labsw2 &amp;nbsp &amp;nbsp          Fas 0/24 &amp;nbsp &amp;nbsp &amp;nbsp         &lt;span style="font-weight:bold;"&gt;177&lt;/span&gt; &amp;nbsp &amp;nbsp          S I &amp;nbsp &amp;nbsp &amp;nbsp    WS-C2950-2Fas 0/21&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;In the display above, labsw2 is connected to labsw1.  The Holdtime value counts down (133 seconds, 126 seconds, 122 seconds) before a cdp packet is reset.  When the packet is received, the timer resets to 180, and begins the count down again (177).&lt;br /&gt;&lt;br /&gt;Significantly more information about the remote device is available with the “&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;show cdp neighbor detail&lt;/span&gt;” display:&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;br /&gt;2.  labsw1#sho cdp neighbor detail&lt;br /&gt;-------------------------&lt;br /&gt;Device ID: labsw2&lt;br /&gt;Entry address(es):&lt;br /&gt;  IP address: 192.168.0.76&lt;br /&gt;Platform: cisco WS-C2950-24,  Capabilities: Switch IGMP&lt;br /&gt;Interface: FastEthernet0/24,  Port ID (outgoing port): FastEthernet0/21&lt;br /&gt;Holdtime : 127 sec&lt;br /&gt;&lt;br /&gt;Version :&lt;br /&gt;Cisco Internetwork Operating System Software&lt;br /&gt;IOS (tm) C2950 Software (C2950-I6K2L2Q4-M), Version 12.1(22)EA6, RELEASE SOFTWARE (fc1)&lt;br /&gt;Copyright (c) 1986-2005 by cisco Systems, Inc.&lt;br /&gt;Compiled Fri 21-Oct-05 02:22 by yenanh&lt;br /&gt;&lt;br /&gt;advertisement version: 2&lt;br /&gt;Protocol Hello:  OUI=0x00000C, Protocol ID=0x0112; payload len=27, value=00000000FFFFFFFF010221FF000000000000000A8AE65180FF0000&lt;br /&gt;VTP Management Domain: 'tlbeh'&lt;br /&gt;Native VLAN: 1&lt;br /&gt;Duplex: full&lt;br /&gt;Management address(es):&lt;br /&gt;  IP address: 192.168.0.76&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Much of the information shown above is easily understood.  labsw2 was configured with an IP address of 192.168.1.76 for VLAN 1.  The device name, device type, connected ports (Fa0/24, Fa0/21) were seen in the previous display.  Other information, such as the IOS version, has been seen in previous labs.  Some information, such as Native VLAN and VTP Management Domain, has not yet been covered in these labs, but is important for managing a network.  However, it should obvious that the Detail command contains more detail.&lt;br /&gt;&lt;br /&gt;In an enterprise network, it is common for a switch or router to have dozens of devices connected to it.  The commands above will show the information for all of those devices.  In an imaginary network where labsw1 is connected to a dozen devices, the display would be something like&lt;span style="font-family: courier new,monospace; font-size: 8pt"&gt;&lt;br /&gt;labsw1#sho cdp neighbor&lt;br /&gt;labsw1# show cdp neighbor &lt;br /&gt;Capability Codes: R-Router, T-Trans Bridge, B-Sce Rte Brdge&lt;br /&gt;                  S-Switch, H-Host, I-IGMP, r-Repeater, P-Phone&lt;br /&gt;&lt;br /&gt;Device ID        Local Intrfce     Holdtme    Capability  Platform  Port ID&lt;br /&gt;labsw2 &amp;nbsp &amp;nbsp          Fas 0/24 &amp;nbsp &amp;nbsp &amp;nbsp         124 &amp;nbsp &amp;nbsp          S I &amp;nbsp &amp;nbsp &amp;nbsp    WS-C2950-2Fas 0/21&lt;br /&gt;labsw3 &amp;nbsp &amp;nbsp          Fas 0/23 &amp;nbsp &amp;nbsp &amp;nbsp         124 &amp;nbsp &amp;nbsp          S I &amp;nbsp &amp;nbsp &amp;nbsp    WS-C2950-2Fas 0/24&lt;br /&gt;labsw4 &amp;nbsp &amp;nbsp          Fas 0/22 &amp;nbsp &amp;nbsp &amp;nbsp         124 &amp;nbsp &amp;nbsp          S I &amp;nbsp &amp;nbsp &amp;nbsp    WS-C2950-2Fas 0/23&lt;br /&gt;labsw5 &amp;nbsp &amp;nbsp          Fas 0/21 &amp;nbsp &amp;nbsp &amp;nbsp         124 &amp;nbsp &amp;nbsp          S I &amp;nbsp &amp;nbsp &amp;nbsp    WS-C2950-2Fas 0/24&lt;br /&gt;labsw6 &amp;nbsp &amp;nbsp          Fas 0/20 &amp;nbsp &amp;nbsp &amp;nbsp         124 &amp;nbsp &amp;nbsp          S I &amp;nbsp &amp;nbsp &amp;nbsp    WS-C2950-2Fas 0/23&lt;br /&gt;labsw7 &amp;nbsp &amp;nbsp          Fas 0/19 &amp;nbsp &amp;nbsp &amp;nbsp         124 &amp;nbsp &amp;nbsp          S I &amp;nbsp &amp;nbsp &amp;nbsp    WS-C2950-2Fas 0/21&lt;br /&gt;labsw8 &amp;nbsp &amp;nbsp          Fas 0/18 &amp;nbsp &amp;nbsp &amp;nbsp         124 &amp;nbsp &amp;nbsp          S I &amp;nbsp &amp;nbsp &amp;nbsp    WS-C2950-2Fas 0/24&lt;br /&gt;labsw9 &amp;nbsp &amp;nbsp          Fas 0/17 &amp;nbsp &amp;nbsp &amp;nbsp         124 &amp;nbsp &amp;nbsp          S I &amp;nbsp &amp;nbsp &amp;nbsp    WS-C2950-2Fas 0/23&lt;br /&gt;labsw10&amp;nbsp &amp;nbsp          Fas 0/16 &amp;nbsp &amp;nbsp &amp;nbsp         124 &amp;nbsp &amp;nbsp          S I &amp;nbsp &amp;nbsp &amp;nbsp    WS-C2950-2Fas 0/21&lt;/span&gt;&lt;br /&gt;etc.&lt;br /&gt;&lt;br /&gt;These displays can get very long and take a while to search for the needed information.  If the “&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;show cdp neighbor detail&lt;/span&gt;” command was used, the full detail display for all devices would be displayed.  That can be a lot of data to sift through.&lt;br /&gt;&lt;br /&gt;To display the information on a single interface such as Fa0/24, use “&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;show cdp neighbor fa0/24&lt;/span&gt;”&lt;span style="font-family: courier new,monospace; font-size: 9pt"&gt; &lt;br /&gt;&lt;br /&gt;labsw1#sho cdp neighbor fa0/24&lt;br /&gt;Capability Codes: R-Router, T-Trans Bridge, B-Sce Rte Brdge&lt;br /&gt;                  S-Switch, H-Host, I-IGMP, r-Repeater, P-Phone&lt;br /&gt;&lt;br /&gt;Device ID        Local Intrfce     Holdtme    Capability  Platform  Port ID&lt;br /&gt;labsw2 &amp;nbsp &amp;nbsp          Fas 0/24 &amp;nbsp &amp;nbsp &amp;nbsp         124 &amp;nbsp &amp;nbsp          S I &amp;nbsp &amp;nbsp &amp;nbsp    WS-C2950-2Fas 0/21&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The display will be limited to the specified interface: Fa0/24.&lt;br /&gt;&lt;br /&gt;This is even more valuable when using the detail command in a large network.  The display will be only for the specified interface and not the entire switch:&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;br /&gt;labsw1#sho cdp neighbor fa0/24 detail&lt;br /&gt;-------------------------&lt;br /&gt;Device ID: labsw2&lt;br /&gt;Entry address(es):&lt;br /&gt;  IP address: 192.168.0.76&lt;br /&gt;Platform: cisco WS-C2950-24,  Capabilities: Switch IGMP&lt;br /&gt;Interface: FastEthernet0/24,  Port ID (outgoing port): FastEthernet0/21&lt;br /&gt;Holdtime : 121 sec&lt;br /&gt;&lt;br /&gt;Version :&lt;br /&gt;Cisco Internetwork Operating System Software&lt;br /&gt;IOS (tm) C2950 Software (C2950-I6K2L2Q4-M), Version 12.1(22)EA6, RELEASE SOFTWARE (fc1)&lt;br /&gt;Copyright (c) 1986-2005 by cisco Systems, Inc.&lt;br /&gt;Compiled Fri 21-Oct-05 02:22 by yenanh&lt;br /&gt;&lt;br /&gt;advertisement version: 2&lt;br /&gt;Protocol Hello:  OUI=0x00000C, Protocol ID=0x0112; payload len=27, value=00000000FFFFFFFF010221FF000000000000000A8AE65180FF0000&lt;br /&gt;VTP Management Domain: 'tlbeh'&lt;br /&gt;Native VLAN: 1&lt;br /&gt;Duplex: full&lt;br /&gt;Management address(es):&lt;br /&gt;  IP address: 192.168.0.76&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It is possible to change the cdp timing parameters.  To change the cdp timer:&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;br /&gt;labsw1(config)#cdp timer x &lt;/span&gt;(number of seconds between cdp packets)&lt;br /&gt;&lt;br /&gt;The default holdtime is 3 times the cdp packet timer.  If 30 seconds was configured for the cdp timer, the hold time would be 90 seconds.  However, this can also be changed:&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;labsw1(config)#cdp holdtime x&lt;/span&gt; (number of seconds for the hold time)&lt;br /&gt;&lt;br /&gt;If the timers are changed, they should be changed on both connecting devices.  The only reason for changing cdp timers is to reduce network traffic.  &lt;br /&gt;&lt;br /&gt;cdp timers are rarely changed.  It is more common to disable cdp.  There are two reasons for disabling cdp:&lt;br /&gt;1. If the device is not connected to another Cisco device: a standalone switch, for example.  Disabling cdp prevents the cdp transmission on the active interfaces.  Similarly, cdp may be disabled on interfaces that do not connect to Cisco devices.  This will insure that cdp is available on the interfaces that support other Cisco devices.&lt;br /&gt;2. If you are connecting to a customer network, you may not want the customer to be able to gather information about your network from cdp advertisements.  &lt;br /&gt;&lt;br /&gt;To disable cdp:&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;br /&gt;labsw1(config)#no cdp run&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This configuration disables all cdp for the Cisco device.  &lt;br /&gt;&lt;br /&gt;It is more common to disable cdp on the interface that connects to the customer network, and keep cdp enabled on the connections to your network.  To disable cdp on an interface, enter interface configuration mode for the interface and disable cdp on the interface:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_9ZysJBVVIiY/SpW1ZvTJYmI/AAAAAAAAAHg/I7-vDgx3t1o/s1600-h/cdp+disable.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 117px;" src="http://3.bp.blogspot.com/_9ZysJBVVIiY/SpW1ZvTJYmI/AAAAAAAAAHg/I7-vDgx3t1o/s320/cdp+disable.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5374401184134685282" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;labsw1(config)#int fa0/24&lt;br /&gt;labsw1(config-if)#no cdp enable&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;cpd is a valuable tool for network management, and it is a likely test question.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1304305295846759911-5844236516790301584?l=hedgehogtech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1304305295846759911/posts/default/5844236516790301584'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1304305295846759911/posts/default/5844236516790301584'/><link rel='alternate' type='text/html' href='http://hedgehogtech.blogspot.com/2009/08/lab-13-cisco-discovery-protocol-cdp.html' title='Lab 13 – Cisco Discovery Protocol (CDP)'/><author><name>The Hedge</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_9ZysJBVVIiY/SpWyG-jkLvI/AAAAAAAAAHY/hS8wzwNa82g/s72-c/cdp.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-1304305295846759911.post-2918763215325010035</id><published>2009-08-23T15:09:00.015-05:00</published><updated>2009-08-23T15:57:11.995-05:00</updated><title type='text'>Lab 12 - Configuring Trunk Ports</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_9ZysJBVVIiY/SpGmUxGMexI/AAAAAAAAAHQ/kIHOkOAKTnI/s1600-h/lab+11.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 104px;" src="http://3.bp.blogspot.com/_9ZysJBVVIiY/SpGmUxGMexI/AAAAAAAAAHQ/kIHOkOAKTnI/s320/lab+11.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5373258706136627986" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Goal:&lt;/span&gt;&lt;br /&gt; Create static trunk ports&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Requirements: &lt;/span&gt;&lt;blockquote&gt;&lt;br /&gt;● Switches labsw1, labsw1&lt;br /&gt;● 2 PCs with COM port, Ethernet ports&lt;br /&gt;● Cisco rollover cable&lt;br /&gt;● 2 Ethernet cables&lt;br /&gt;● 1 Ethernet crossover cable&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;The following lab will create permanent trunk connections, using labsw1, interface Fa0/24, and labsw2, interface Fa0/24.  Creating a trunk configuration requires two interface-specific commands:&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;br /&gt;switchport mode trunk&lt;br /&gt;switchport trunk allowed vlan [all]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The first command: &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;switchport mode trunk&lt;/span&gt;, changes the port to a trunking-only port.  It disables DTP.  If the port can only trunk, then it cannot dynamically “decide” to be a trunk port or an access port.  &lt;br /&gt;&lt;br /&gt;The second command: &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;(switchport trunk allowed vlan all&lt;/span&gt;, specifies which VLANs can use the trunk, or more accurately, what VLAN data will be “allowed” on the trunk connection.  The command in this example allows the trunk to carry all VLAN traffic, and will be used in most labs.  (However, the trunk can be configured to carry traffic only for specified VLANs.)  &lt;br /&gt;&lt;br /&gt;labsw1 &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;br /&gt;1.  labsw1(config)#int fa0/24&lt;br /&gt;2.  labsw1(config-if)#switchport mode trunk&lt;br /&gt;3.  labsw1(config-if)#switchport trunk allowed vlan all&lt;br /&gt;4.  labsw1 (config-if)# Crtl-Z&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;labsw2&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;br /&gt;5.  labsw2(config)#int fa0/24&lt;br /&gt;6.  labsw2(config-if)#switch mode trunk&lt;br /&gt;7.  labsw2(config-if)#switchport trunk allowed vlan all&lt;br /&gt;8.  labsw2 (config-if)#Crtl-Z&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Notice the changes in Administrative Mode in Steps 9 and 10 below.  For both switches, the trunking interfaces are now “trunk”, not “dynamic desirable.”  Dynamic Trunking Protocol (DTP) has been disabled.  The ports will now only function as trunk ports.   &lt;br /&gt;&lt;br /&gt;labsw1&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;br /&gt;9. labsw1#show interface fa0/24 switchport&lt;br /&gt;&lt;br /&gt;Name: Fa0/24&lt;br /&gt;Switchport: Enabled&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Administrative Mode: trunk&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Operational Mode: trunk&lt;/span&gt;&lt;br /&gt;Administrative Trunking Encapsulation: dot1q&lt;br /&gt;Operational Trunking Encapsulation: dot1q&lt;br /&gt;Negotiation of Trunking: On&lt;/span&gt;&lt;br /&gt;(lines omitted)&lt;br /&gt;&lt;br /&gt;labsw2&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;br /&gt;10. labsw2#show interface fa0/24 switchport&lt;br /&gt;&lt;br /&gt;Name: Fa0/24&lt;br /&gt;Switchport: Enabled&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Administrative Mode: trunk&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Operational Mode: trunk&lt;/span&gt;&lt;br /&gt;Administrative Trunking Encapsulation: dot1q&lt;br /&gt;Operational Trunking Encapsulation: dot1q&lt;br /&gt;Negotiation of Trunking: On&lt;/span&gt;&lt;br /&gt;(lines omitted)&lt;br /&gt;&lt;br /&gt;Notice that the switchport mode has changed from “desirable” to “on.”&lt;br /&gt;&lt;br /&gt;labsw1&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;br /&gt;11. labsw1#show interfaces trunk&lt;/span&gt;&lt;span style="font-family: courier new,monospace; font-size: 8pt"&gt;&lt;br /&gt;&lt;br /&gt;Port &amp;nbsp   &amp;nbsp    Mode  &amp;nbsp &amp;nbsp &amp;nbsp Encapsulation &amp;nbsp Status &amp;nbsp       Native vlan&lt;br /&gt;Fa0/24 &amp;nbsp     On &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp  802.1q     &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp   trunking     &amp;nbsp&amp;nbsp 1&lt;br /&gt;&lt;br /&gt;Port &amp;nbsp &amp;nbsp    Vlans allowed on trunk&lt;br /&gt;Fa0/24  &amp;nbsp    1-4094&lt;br /&gt;&lt;br /&gt;Port &amp;nbsp  &amp;nbsp     Vlans allowed and active in management domain&lt;br /&gt;Fa0/24   &amp;nbsp   1,200-203&lt;br /&gt;&lt;br /&gt;Port   &amp;nbsp  &amp;nbsp   Vlans in spanning tree forwarding state and not pruned&lt;br /&gt;Fa0/24  &amp;nbsp    1,200-203&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;labsw2&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;br /&gt;11. labsw2#show interfaces trunk&lt;/span&gt;&lt;span style="font-family: courier new,monospace; font-size: 8pt"&gt;&lt;br /&gt;&lt;br /&gt;Port &amp;nbsp   &amp;nbsp    Mode  &amp;nbsp &amp;nbsp &amp;nbsp Encapsulation &amp;nbsp Status &amp;nbsp       Native vlan&lt;br /&gt;Fa0/24 &amp;nbsp     On &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp 802.1q     &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp   trunking     &amp;nbsp&amp;nbsp 1&lt;br /&gt;&lt;br /&gt;Port &amp;nbsp &amp;nbsp    Vlans allowed on trunk&lt;br /&gt;Fa0/24  &amp;nbsp    1-4094&lt;br /&gt;&lt;br /&gt;Port &amp;nbsp  &amp;nbsp     Vlans allowed and active in management domain&lt;br /&gt;Fa0/24   &amp;nbsp   1,200-203&lt;br /&gt;&lt;br /&gt;Port   &amp;nbsp  &amp;nbsp   Vlans in spanning tree forwarding state and not pruned&lt;br /&gt;Fa0/24  &amp;nbsp    1,200-203&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Best practices dictate that all trunk ports should be configured as trunk ports, and not rely on DTP to create them.  Controlling connectivity is an important part of network management, and interface configuration is the best way to accomplish that.  A later, critical lab on VTP (VLAN Trunking Protocol) will not work if the trunk links are created dynamically.&lt;br /&gt;&lt;br /&gt;In fact, all configuration choices should be hard coded whenever possible.  Switches are able to negotiate multiple configuration choices such as speed and duplex.  However, all dynamically negotiated parameters take time to be accomplished, and occasionally, the results do not function as planned.   &lt;br /&gt;&lt;br /&gt;It is also important to understand that for many configurations, a dynamic trunk port and a configured trunk port function the same way.  The trunk connection will deliver data the same regardless of how the trunk is created.  This can be verified by repeating the ping tests from Lab 11.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Extra Credit &lt;/span&gt;(but not necessary.  If you understand the “all” parameter, you can figure out how to change the all to a specific VLAN)&lt;br /&gt;&lt;br /&gt;As noted above, the trunk configuration allows the trunk to carry VLAN traffic for all VLANs.  If the decision is made to allow the trunk to carry traffic only some VLANs, the command would be&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;br /&gt;switchport trunk allowed vlan [VLAN number]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If more than one VLAN is needed, the command is&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;br /&gt;switchport trunk allowed vlan add [new VLAN number]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Specifying individual VLANs on trunk links in this manner has some risk.  If a new VLAN is created, consideration must be given to whether a particular trunk must have the VLAN added.  This step is often forgotten, and can create problems until the configuration is changed to support the new VLAN.  Unless there is a reason to limit the VLANs that can use a specific trunk link, it is advisable to allow all VLANs to use trunk links.&lt;br /&gt;&lt;br /&gt;The example below will configure labsw2, interface Fa0/22, to carry VLAN traffic only for VLANs 200 and 202:&lt;span style="font-family: courier new,monospace; font-size: 8pt"&gt;&lt;br /&gt;&lt;br /&gt;1a. labsw2(config)#interface fa0/22&lt;br /&gt;2a. labsw2(config-if)#switchport mode trunk&lt;br /&gt;3a. labsw2(config-if)#switchport trunk allowed vlan 200&lt;br /&gt;4a. labsw2(config-if)#switchport trunk allowed add vlan 202&lt;/span&gt;&lt;pre&gt;&lt;br /&gt; Repeat the above command for each VLAN to be included&lt;/pre&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;br /&gt;5a. labsw2(config-if)#Crtl-Z&lt;/span&gt;&lt;br /&gt;If interface Fa0/22 was connected to another switch to created a trunk port, only VLANs 200 and 202 could use the new trunk.&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt; &lt;br /&gt;6a. labsw2#show run interface fa0/22&lt;br /&gt;&lt;br /&gt;Building configuration...&lt;br /&gt;Current configuration : 96 bytes&lt;br /&gt;!&lt;br /&gt;interface FastEthernet0/22&lt;br /&gt; switchport trunk allowed vlan 200,202&lt;br /&gt; switchport mode trunk&lt;br /&gt;end&lt;br /&gt;&lt;br /&gt;7a. labsw2#show interfaces trunk&lt;span style="font-family: courier new,monospace; font-size: 8pt"&gt;&lt;br /&gt;&lt;br /&gt;Port &amp;nbsp   &amp;nbsp    Mode  &amp;nbsp &amp;nbsp &amp;nbsp Encapsulation &amp;nbsp Status &amp;nbsp       Native vlan&lt;br /&gt;Fa0/22 &amp;nbsp     On &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp 802.1q     &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp   trunking     &amp;nbsp&amp;nbsp 1&lt;br /&gt;&lt;br /&gt;Port &amp;nbsp &amp;nbsp    Vlans allowed on trunk&lt;br /&gt;Fa0/22  &amp;nbsp    200, 202&lt;br /&gt;&lt;br /&gt;Port &amp;nbsp  &amp;nbsp     Vlans allowed and active in management domain&lt;br /&gt;Fa0/22   &amp;nbsp   200, 202&lt;br /&gt;&lt;br /&gt;Port   &amp;nbsp  &amp;nbsp   Vlans in spanning tree forwarding state and not pruned&lt;br /&gt;Fa0/22  &amp;nbsp    1,200-203&lt;/span&gt;&lt;br /&gt;8a. labsw2#show interface fa0/22 switchport&lt;br /&gt;&lt;br /&gt;Name: Fa0/22&lt;br /&gt;Switchport: Enabled&lt;br /&gt;Administrative Mode: trunk&lt;br /&gt;Operational Mode: trunk&lt;br /&gt;Administrative Trunking Encapsulation: dot1q&lt;br /&gt;Operational Trunking Encapsulation: dot1q&lt;br /&gt;.&lt;br /&gt;(lines omitted)&lt;br /&gt;.&lt;br /&gt;Trunking VLANs Enabled: 200,202&lt;/span&gt;&lt;br /&gt;(lines omitted)&lt;br /&gt;&lt;br /&gt;This lab is the critical lab for trunking.  You should memorize the two commands, whether you are preparing for the exam or working in an enterprise network.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1304305295846759911-2918763215325010035?l=hedgehogtech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1304305295846759911/posts/default/2918763215325010035'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1304305295846759911/posts/default/2918763215325010035'/><link rel='alternate' type='text/html' href='http://hedgehogtech.blogspot.com/2009/08/lab-12-configuring-trunk-ports.html' title='Lab 12 - Configuring Trunk Ports'/><author><name>The Hedge</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_9ZysJBVVIiY/SpGmUxGMexI/AAAAAAAAAHQ/kIHOkOAKTnI/s72-c/lab+11.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-1304305295846759911.post-7076809167826468002</id><published>2009-08-23T13:12:00.040-05:00</published><updated>2010-02-12T14:44:41.371-06:00</updated><title type='text'>Lab 11 - Dynamic Trunking Protocol (DTP)</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_9ZysJBVVIiY/SpGGz51ajSI/AAAAAAAAAHI/42VoFTH-d5A/s1600-h/lab+11.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 104px;" src="http://1.bp.blogspot.com/_9ZysJBVVIiY/SpGGz51ajSI/AAAAAAAAAHI/42VoFTH-d5A/s320/lab+11.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5373224056686021922" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Goals:&lt;/span&gt;&lt;blockquote&gt;&lt;br /&gt;● Understand Dynamic Trunking Protocol&lt;br /&gt;● Create trunk connections dynamically&lt;br /&gt;● Test the trunk connections&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Requirements:&lt;/span&gt; &lt;br /&gt;2 Cisco switches, with configurations from Labs 1 - 10&lt;br /&gt;2 PCs with COM port, Ethernet ports&lt;br /&gt;Cisco rollover cable&lt;br /&gt;2 Ethernet cables&lt;br /&gt;1 Ethernet Crossover cable&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Notes for 2900XL switch and Packet Tracer users. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1. 2900XL switches (2912/2924) do not support Dynamic Trunking Protocol (DTP).  Static trunk configuration is required to create trunk ports.  However, if you are studying for the CCNA exam, you may have DTP questions that relate to 2950/2960 switches.  You should study this lab even if you cannot perform it.  The concept, though important, is not difficult to understand.  Interestingly, Cisco advises that switch are more secure if DTP is disabled from all switch interfaces.  &lt;br /&gt;&lt;br /&gt;Furthermore, 2900XL switches support two trunking protocols: ISL and 802.1q.  The 2950 and later models only support 802.1q.  ISL, a proprietary Cisco protocol, is the default trunking protocol for 2900XL switches, but it can be changed.  To configure a trunk interface for 802.1q, use the encapsulation command:&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;br /&gt;labsw[x](config)# interface fa0/[y]&lt;br /&gt;labsw[x](config)# switchport trunk encapsulation dot1q&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If you are feeling cheated, don’t.  In a far distant lab on Ethernet sub-interfaces, you will have to configure the encapsulation on the router interface, and it’s the same command.  &lt;br /&gt;&lt;br /&gt;2. Packet Tracer switches do not perform like real switches.  The developers of Packet Tracer apparently used a different “default” configuration to force students to configure trunking interfaces.  The difference can be seen in the &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;show interface fa0/x switchport &lt;/span&gt; command.&lt;br /&gt;  &lt;br /&gt;An actual 2950 switch has a default interface configuration of “dynamic desirable,” meaning that it will first try to create a trunk connection when a device is connected to it.   &lt;br /&gt;A 2950 Packet Tracer switch has a default interface configuration of “dynamic auto,” meaning that it will not attempt to create a trunk connection, but will create one if another switch initiates the process.&lt;br /&gt;&lt;br /&gt;This is a common issue for network simulators.  Writing a network simulator is a balance between features and cost.  To include every IOS feature in a simulator can be very expensive, and the developers usually focus on the most important features.  As we said about using Cisco hardware in &lt;a href="http://hedgehogtech.blogspot.com/2009/06/building-your-ccna-lab-routers-and.html"&gt;Building Your CCNA® Lab&lt;/a&gt;, “Since it is real Cisco hardware, it performs exactly like … real Cisco hardware.”  However, Packet Tracer will provide the hands-on experience required to pass the exam. &lt;br /&gt;&lt;br /&gt;The major difference can be managed by configuration.  To configure a Packet Tracer switch to act like a real switch, make the following configuration change to interfaces Fa0/23 and Fa0/24 (Note: it is our intention to always use the last interfaces as trunk ports.  If you have a 12 port switch, use ports 11 and 12 as trunk ports.):&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;br /&gt;Labsw[x](config)interface fa0/23 (or 24) &lt;br /&gt;Labsw[x](config)switchport mode dynamic desirable &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;(If you made the configuration changes above, save the running-config to the startup-config.)&lt;br /&gt;&lt;br /&gt;That being said, it is strongly advised that any switch in a production environment never be configured to allow dynamic trunk creation.  DTP should be disabled on every port, either by making the port an access port, or by configuring a port as a trunk port (only when needed).  Dynamic trunking is considered insecure.  However, it is important to understand DTP, so we are going to ignore that advice for these labs. &lt;br /&gt;&lt;br /&gt;Another less important difference between an actual 2950 switch and a Packet Tracer is the lack of support for all &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;show running-config commands&lt;/span&gt;.  You should know by now that &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;show running-config&lt;/span&gt; will display the entire switch configuration.  Cisco IOS can limit the text in a show command by using various qualifiers.  One very convenient command is &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;show running-config interface fa0/x&lt;/span&gt;.  This reduces the time spent scrolling through the configuration to find the desired configuration.  We will begin to use the command exclusively when we are discussing the configuration of a specific interface.  Packet Tracer users will need to use show running-config and scroll to the appropriate interface.&lt;br /&gt;&lt;br /&gt;If you are just beginning to study switches, the paragraphs above may be confusing.  However, it is important for those who use 2900XL switches and/or Packet Tracer to understand why their switches do not behave as described in this lab, and more importantly, understand how real hardware performs.  &lt;br /&gt;&lt;br /&gt;So after a long discussion about the differences between switches and simulators, on to the actual lab.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Dynamic Trunking Protocol&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Cisco has designed switches and IOS to function in a simple network with no additional configuration.  This is true for both access ports and trunk ports.  Cisco IOS supports a feature called “Dynamic Trunking Protocol” (DTP) that allows switches to pass data between the switches without configuring the interfaces.&lt;br /&gt;&lt;br /&gt;Cisco switches support two different uses for Ethernet interfaces: access and trunk.  The previous labs configured and tested access ports, or ports that support connections to devices that are not Cisco switches.  Access ports carry data for devices in a single VLAN.  A VLAN is a broadcast domain consisting of ports configured for that VLAN.&lt;br /&gt;&lt;br /&gt;Trunk ports on Cisco switches are used to carry data for multiple VLANs between switches.  Consider labsw1 and labsw2, which were configured in previous labs.  Trunking allows a port in VLAN 200 on labsw1, for example, to communicate with a port in VLAN 200 on labsw2.  &lt;br /&gt;&lt;br /&gt;Dynamic Trunking Protocol (DTP) creates trunk connections automatically, or “dynamically”, when two switches are connected to each other.  DTP is the default, or “out-of-the-box” configuration for every interface on a 2950/2960 switch.   &lt;br /&gt;&lt;br /&gt;To display the switchport mode on each switch, use the following command: &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;show interface switchport.&lt;/span&gt;   (Interfaces Fa0/23 and Fa0/24 should have the default configuration and should not be connected.) &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;br /&gt;1.  labsw1[or 2]#show interface FastEthernet 0/24 switchport&lt;br /&gt;&lt;br /&gt;Name: Fa0/24&lt;br /&gt;Switchport: Enabled&lt;br /&gt;Administrative Mode: &lt;span style="font-weight:bold;"&gt;dynamic desirable&lt;/span&gt;&lt;br /&gt;Operational Mode: down&lt;br /&gt;Administrative Trunking Encapsulation: &lt;span style="font-weight:bold;"&gt;dot1q&lt;/span&gt;&lt;br /&gt;Negotiation of Trunking: &lt;span style="font-weight:bold;"&gt;On&lt;/span&gt;&lt;br /&gt;.&lt;/span&gt;&lt;br /&gt;(lines omitted) &lt;br /&gt;&lt;br /&gt;Even though the interface has not been configured, the interface Administrative Mode is “dynamic desirable”, meaning that&lt;ol&gt;&lt;br /&gt;&lt;li&gt;The interface considers trunking to be the preferred mode, or “desirable”, though it will also be an access port if connected to a device that is not a switch.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;The interface will dynamically negotiate with another switch to create a trunk connection.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;The operational mode is down, because the interface is down, down.&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;br /&gt;Compare with the Administrative Mode of interface Fa0/1, configured as an access port and assigned to VLAN 200.&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;2.  labsw1[or 2]#show interface fa0/1 switchport&lt;br /&gt;&lt;br /&gt;Name: Fa0/1&lt;br /&gt;Switchport: Enabled&lt;br /&gt;Administrative Mode: &lt;span style="font-weight:bold;"&gt;static access&lt;/span&gt;&lt;br /&gt;Operational Mode: down&lt;br /&gt;Administrative Trunking Encapsulation: dot1q&lt;br /&gt;Negotiation of Trunking: &lt;span style="font-weight:bold;"&gt;Off&lt;/span&gt;&lt;br /&gt;Access Mode VLAN: 200 (Acct)&lt;/span&gt;&lt;br /&gt;(lines omitted)&lt;br /&gt; &lt;br /&gt;Configuring interface Fa0/1 as an access port disabled Dynamic Trunking Protocol.  The Administrative Mode is no longer “dynamic desirable.”  Instead, Administrative Mode is now “static access” and Negotiation of Trunking is “Off.”  Connecting interface Fa0/1 to another switch will not create a trunk port.  (Unfortunately, Packet Tracer switches do not change the display of these parameters when the switch is configured.  However, it is just the display.  Interfaces on Packet Tracer switches will perform as they should when configured as access ports.)&lt;br /&gt;&lt;br /&gt;For the following exercise, connect labsw1, Fa0/24, and labsw2, Fa0/24 with an Ethernet crossover cable.  (&lt;span style="font-weight:bold;"&gt;Note: Connections between Cisco switches once exclusively required an Ethernet crossover cable.  Newer model switches, such as the 2960 switch, have auto-mdix, and can auto-detect the cable type.  For the exam, all connections between switches should be made with crossover cable.&lt;/span&gt;)  After the connecting the switches, observe the following:&lt;br /&gt;&lt;br /&gt;The interface status of the port on each switch: up, up&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;3.  labsw1# show interface Fa0/24&lt;br /&gt;&lt;br /&gt;FastEthernet0/24 is up, line protocol is up (connected)&lt;br /&gt;  Hardware is Fast Ethernet, address is 0009.43cb.3018 (bia 0009.43cb.3018)&lt;br /&gt;.&lt;/span&gt;&lt;br /&gt;(lines omitted)&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;br /&gt;4.  labsw2# show interface Fa0/24&lt;br /&gt;&lt;br /&gt;FastEthernet0/24 is up, line protocol is up (connected)&lt;br /&gt;  Hardware is Fast Ethernet, address is 000a.8ae6.5198 (bia 000a.8ae6.5198)&lt;br /&gt;.&lt;/span&gt;&lt;br /&gt;(lines omitted)&lt;br /&gt;&lt;br /&gt;Because the Administrative Mode of each port was “dynamic desirable”, both interfaces became trunk ports when connected.  Note that the trunking mode is “desirable,” meaning that it was created by DTP, not by configuring the interface as trunk ports. (Note: Another area where Packet Tracer will differ.  Mode will show “on”.) In addition, notice the VLANs supported by the trunk connection.  VLANs 1 - 4094 are allowed (yes, 4094 VLANs.  If you actually have 4094 VLANs in your network, then, wow.)  However, only VLANs 1, 200-203 are active.  These are the only VLANs that have been created in this network. &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;br /&gt;5.  labsw1# show interfaces trunk&lt;/span&gt;&lt;span style="font-family: courier new,monospace; font-size: 8pt"&gt;&lt;br /&gt;&lt;br /&gt;Port &amp;nbsp   &amp;nbsp    Mode  &amp;nbsp &amp;nbsp &amp;nbsp Encapsulation &amp;nbsp Status &amp;nbsp       Native vlan&lt;br /&gt;Fa0/24 &amp;nbsp     desirable &amp;nbsp   802.1q     &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp   trunking     &amp;nbsp&amp;nbsp 1&lt;br /&gt;&lt;br /&gt;Port &amp;nbsp &amp;nbsp    Vlans allowed on trunk&lt;br /&gt;Fa0/24  &amp;nbsp    1-4094&lt;br /&gt;&lt;br /&gt;Port &amp;nbsp  &amp;nbsp     Vlans allowed and active in management domain&lt;br /&gt;Fa0/24   &amp;nbsp   1,200-203&lt;br /&gt;&lt;br /&gt;Port   &amp;nbsp  &amp;nbsp   Vlans in spanning tree forwarding state and not pruned&lt;br /&gt;Fa0/24  &amp;nbsp    1,200-203&lt;/span&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;6.  labsw2# show interfaces trunk&lt;/span&gt;&lt;span style="font-family: courier new,monospace; font-size: 8pt"&gt;&lt;br /&gt;&lt;br /&gt;Port &amp;nbsp   &amp;nbsp    Mode  &amp;nbsp &amp;nbsp &amp;nbsp Encapsulation &amp;nbsp Status &amp;nbsp       Native vlan&lt;br /&gt;Fa0/24 &amp;nbsp     desirable &amp;nbsp   802.1q     &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp   trunking     &amp;nbsp&amp;nbsp 1&lt;br /&gt;&lt;br /&gt;Port &amp;nbsp &amp;nbsp    Vlans allowed on trunk&lt;br /&gt;Fa0/24  &amp;nbsp    1-4094&lt;br /&gt;&lt;br /&gt;Port &amp;nbsp  &amp;nbsp     Vlans allowed and active in management domain&lt;br /&gt;Fa0/24   &amp;nbsp   1,200-203&lt;br /&gt;&lt;br /&gt;Port   &amp;nbsp  &amp;nbsp   Vlans in spanning tree forwarding state and not pruned&lt;br /&gt;Fa0/24  &amp;nbsp    1,200-203&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Display the switchport mode of each interface.&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;br /&gt;7.  labsw1[or 2]#show interface Fa0/24 switchport&lt;br /&gt;&lt;br /&gt;name: Fa0/24&lt;br /&gt;Switchport: Enabled&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Administrative Mode: dynamic desirable&lt;/span&gt;&lt;br /&gt;Operational Mode: trunk&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Administrative Trunking Encapsulation: dot1q&lt;/span&gt;&lt;br /&gt;Operational Trunking Encapsulation: dot1q&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Negotiation of Trunking: On&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;(lines omitted)&lt;br /&gt;&lt;br /&gt;Compare Steps 11, 12 displays to the display from Step 3.  The Operational mode has changed from “down” to “trunk” because the interface is now “up, up.” The interfaces have become trunk connections.  The trunk will support all VLANs from VLAN 1 to VLAN 4094, but currently only VLANs 1, 200, 201, 202 and 203 are active. &lt;br /&gt;&lt;br /&gt;Review the VLAN port assignments on labsw1 and labsw2.  First, notice that interface Fa0/24 on each switch is no longer in VLAN1.  A trunk port is not associated with a single VLAN, since it carries data for all VLANs.&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;pre&gt;&lt;br /&gt;8. labsw1[or 2]# show vlan&lt;br /&gt;&lt;br /&gt;VLAN Name         Status    Ports&lt;br /&gt;---- ----------- --------- -------------------------------&lt;br /&gt;1    default      active    Fa0/9, Fa0/10,..Fa0/23      &lt;br /&gt;200  Acct         active    Fa0/1, Fa0/5&lt;br /&gt;201  Admin        active    Fa0/2, Fa0/6&lt;br /&gt;202  Backbone     active    Fa0/3, Fa0/7&lt;br /&gt;203  VLAN0203     active    Fa0/4, Fa0/8&lt;br /&gt;&lt;/pre&gt;&lt;/span&gt;(lines omitted)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Testing the VLANs&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The following interfaces should be in the same VLANs&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;pre&gt;&lt;br /&gt;VLAN&amp;nbsp labsw1 &amp;nbsplabsw2&lt;br /&gt;200 &amp;nbsp Fa0/1 &amp;nbsp Fa0/1&lt;br /&gt;201 &amp;nbsp Fa0/2 &amp;nbsp Fa0/3&lt;br /&gt;202 &amp;nbsp Fa0/3 &amp;nbsp Fa0/5&lt;br /&gt;203 &amp;nbsp Fa0/4 &amp;nbsp Fa0/7&lt;/pre&gt;&lt;/span&gt;&lt;br /&gt;Connect PC1 to labsw1, and PC2 to labsw2, using interfaces in the table above that are in the same VLAN.  From PC1 (192.168.1.2), use the ping 192.168.1.3 command to test connectivity. Each ping attempt should be successful.  (Note: if you test between multiple interfaces on these switches, you may have to clear the mac-address-table between each test: &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;labswx# clear mac-address-table dynamic.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Verify that VLAN boundaries are maintained between the switches.  Connect PC1 and PC2 to the following interfaces, and repeat the ping test above.  Each attempt should fail.&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;pre&gt;&lt;br /&gt;Labsw1 interface VLAN Labsw2 interface VLAN&lt;br /&gt;&amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp Fa0/1 &amp;nbsp &amp;nbsp 200 &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp Fa0/3 &amp;nbsp &amp;nbsp 201&lt;br /&gt;&amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp Fa0/2 &amp;nbsp &amp;nbsp 201 &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp Fa0/5 &amp;nbsp &amp;nbsp 202&lt;br /&gt;&amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp Fa0/3 &amp;nbsp &amp;nbsp 202 &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp Fa0/7 &amp;nbsp &amp;nbsp 203&lt;br /&gt;&amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp Fa0/4 &amp;nbsp &amp;nbsp 203 &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp Fa0/1 &amp;nbsp &amp;nbsp 200&lt;/pre&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Testing connectivity to the switches&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It is also now possible to telnet from PC1 or PC2 to either of the switches, or to telnet from labsw1 to labsw2.  To perform these tests, make sure you connect PC1 and/or PC2 to an interface in VLAN 1 (why is that?)&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;9. labsw1#telnet 192.168.1.76&lt;br /&gt;Trying 192.168.1.76 ... Open&lt;br /&gt;&lt;br /&gt;User Access Verification&lt;br /&gt;&lt;br /&gt;Password: (cisco) &lt;/span&gt;(Password not displayed)&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;labsw2&gt;&lt;/span&gt;&lt;br /&gt;Terminate the connection&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;11.  labsw2 &gt; exit&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It should also be possible to test and telnet from both PC1 and PC2 to either switch.  &lt;br /&gt;&lt;br /&gt;Connect PC1 to labsw1, interface Fa0/10, VLAN 1 (or any interface in VLAN 1)&lt;br /&gt;Connect PC2 to labsw2, interface Fa0/9, VLAN 1&lt;br /&gt;&lt;br /&gt;From both PC1 and PC2:&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;12. C:&gt;\ping 192.168.1.75&lt;br /&gt;&lt;br /&gt;13. C:&gt;\ping 192.168.1.76&lt;br /&gt;&lt;br /&gt;14. C:&gt;\telnet 192.168.1.75 (sign on and exit after connecting)&lt;br /&gt;&lt;br /&gt;15. C:&gt;\telnet 192.168.1.76 (sign on and exit after connecting)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;For Extra Credit&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Actually, this is not extra credit, though it not covered very often.  We are going to assign an interface to VLAN 200, but we are not going to make it an access port.  Configure interface Fa0/22 in VLAN 200, but do not configure it as an access port.&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;br /&gt;1a. labsw1(config)#int fa0/22&lt;br /&gt;2a. labsw1(config-if)#switchport access vlan 200&lt;br /&gt;3a. labsw1(config-if)#Cntl_Z&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Verify that interface fa0/22 is now actually in VLAN 200.&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;pre&gt;&lt;br /&gt;4. labsw1# show vlan&lt;br /&gt;&lt;br /&gt;VLAN Name         Status    Ports&lt;br /&gt;---- ----------- --------- -------------------------------&lt;br /&gt;1    default      active    Fa0/9, Fa0/10,..Fa0/23      &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;200  Acct         active    Fa0/1, Fa0/5, Fa0/22&lt;/span&gt; &lt;br /&gt;201  Admin        active    Fa0/2, Fa0/6&lt;br /&gt;202  Backbone     active    Fa0/3, Fa0/7&lt;br /&gt;203  VLAN0203     active    Fa0/4, Fa0/8&lt;br /&gt;&lt;/pre&gt;&lt;/span&gt;(lines omitted)&lt;br /&gt;&lt;br /&gt;Disconnect the Ethernet crossover cable from labsw1, Fa0/24, and connect it to Fa0/22.  When the ports have synchronized, verify the trunk connections on labsw1.  Interface Fa0/22 has become a trunk port even though it was assigned to VLAN 200.&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;br /&gt;5. labsw1#show interface trunk&lt;/span&gt;&lt;span style="font-family: courier new,monospace; font-size: 8pt"&gt;&lt;br /&gt;&lt;br /&gt;Port &amp;nbsp   &amp;nbsp    Mode  &amp;nbsp &amp;nbsp &amp;nbsp Encapsulation &amp;nbsp Status &amp;nbsp       Native vlan&lt;br /&gt;Fa0/22 &amp;nbsp     desirable &amp;nbsp   802.1q     &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp   trunking     &amp;nbsp&amp;nbsp 1&lt;br /&gt;&lt;br /&gt;Port &amp;nbsp &amp;nbsp    Vlans allowed on trunk&lt;br /&gt;Fa0/22  &amp;nbsp    1-4094&lt;br /&gt;&lt;br /&gt;Port &amp;nbsp  &amp;nbsp     Vlans allowed and active in management domain&lt;br /&gt;Fa0/22   &amp;nbsp   1,200-203&lt;br /&gt;&lt;br /&gt;Port   &amp;nbsp  &amp;nbsp   Vlans in spanning tree forwarding state and not pruned&lt;br /&gt;Fa0/22  &amp;nbsp    1,200-203&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Display the VLAN port assignments again, and notice that Fa0/22 is no longer in VLAN 200.  It has become a trunk port, and therefore is no longer associated with a single VLAN.  Also notice the interface Fa0/24 is now back in VLAN1, since it is no longer a trunk port.&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;br /&gt;6. labsw1# show vlan&lt;pre&gt;&lt;br /&gt;&lt;br /&gt;VLAN Name         Status    Ports&lt;br /&gt;---- ----------- --------- -------------------------------&lt;br /&gt;1    default      active    Fa0/9, Fa0/10,..&lt;span style="font-weight:bold;"&gt;Fa0/24&lt;/span&gt;      &lt;br /&gt;200  Acct         active    Fa0/1, Fa0/5 &lt;br /&gt;201  Admin        active    Fa0/2, Fa0/6&lt;br /&gt;202  Backbone     active    Fa0/3, Fa0/7&lt;br /&gt;203  VLAN0203     active    Fa0/4, Fa0/8&lt;br /&gt;&lt;/pre&gt;&lt;/span&gt;(lines omitted)&lt;br /&gt;&lt;br /&gt;Until an interface is configured as an access port with the command "switchport mode access" it is not an access port.  It will still create a trunk dynamically.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1304305295846759911-7076809167826468002?l=hedgehogtech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1304305295846759911/posts/default/7076809167826468002'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1304305295846759911/posts/default/7076809167826468002'/><link rel='alternate' type='text/html' href='http://hedgehogtech.blogspot.com/2009/08/lab-11-dynamic-trunking-protocol-dtp.html' title='Lab 11 - Dynamic Trunking Protocol (DTP)'/><author><name>The Hedge</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_9ZysJBVVIiY/SpGGz51ajSI/AAAAAAAAAHI/42VoFTH-d5A/s72-c/lab+11.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-1304305295846759911.post-3299940841091643816</id><published>2009-08-05T14:15:00.004-05:00</published><updated>2009-08-27T08:26:39.219-05:00</updated><title type='text'>Lab 10 - New Switch Configuration</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_9ZysJBVVIiY/SnnfDQ31F3I/AAAAAAAAAG4/T3N01FMMOHU/s1600-h/switch+lab+9.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 114px;" src="http://2.bp.blogspot.com/_9ZysJBVVIiY/SnnfDQ31F3I/AAAAAAAAAG4/T3N01FMMOHU/s320/switch+lab+9.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5366565678150391666" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The next switch labs will cover multiple switches in a switching fabric.  To prepare for these labs, another switch is required.  Configure a new switch:&lt;br /&gt;&lt;br /&gt;hostname labsw2&lt;br /&gt;interface VLAN 1 - IP address 192.168.1.76 255.255.255.0&lt;br /&gt;&lt;br /&gt;All other parts of the configuration should be the same as labsw1:&lt;br /&gt;All passwords: enable secret, console, vty&lt;br /&gt;Password encryption&lt;br /&gt;DNS server&lt;br /&gt;&lt;br /&gt;VLANs&lt;br /&gt;200 - interfaces Fa0/1, Fa0/2&lt;br /&gt;201 - interfaces Fa0/3, Fa0/4&lt;br /&gt;202 - interfaces Fa0/5, Fa0/6&lt;br /&gt;203 - interfaces Fa0/7, Fa0/8&lt;br /&gt;&lt;br /&gt;When you have finished the configuration, save to the startup config and the TFTP server.  Test all configurations as was done in Labs 1-9.&lt;br /&gt;&lt;br /&gt;Actually, this is partially a test.  You should be able to do most of these things from memory.  If you can't, review the previous labs closely.  &lt;br /&gt;&lt;br /&gt;Good luck.  The next labs will connect multiple switches and begin discussing the switch fabric.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1304305295846759911-3299940841091643816?l=hedgehogtech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1304305295846759911/posts/default/3299940841091643816'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1304305295846759911/posts/default/3299940841091643816'/><link rel='alternate' type='text/html' href='http://hedgehogtech.blogspot.com/2009/08/lab-10-new-switch-configuration.html' title='Lab 10 - New Switch Configuration'/><author><name>The Hedge</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_9ZysJBVVIiY/SnnfDQ31F3I/AAAAAAAAAG4/T3N01FMMOHU/s72-c/switch+lab+9.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-1304305295846759911.post-7206076537989531798</id><published>2009-08-01T17:55:00.041-05:00</published><updated>2010-02-16T16:11:15.645-06:00</updated><title type='text'>Lab 9 - Configuration Issues</title><content type='html'>In Lab 9, we cover topics that are not directly related to device function.  If these changes are not implemented, switches will still forward or filter frames, and routers will still route packet.  However, all will make life in the network much easier or more secure, and some are covered on the CCNA® exam.&lt;br /&gt;&lt;br /&gt;The topics covered in Lab 9 are&lt;blockquote&gt;&lt;br /&gt;● Port security&lt;br /&gt;● motd banner&lt;br /&gt;● History file configuration and use&lt;br /&gt;● Password encryption&lt;br /&gt;● DNS configuration&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Port Security&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Port security allows you to control who can use a particular interface on a switch.  An interface is configured to control the MAC addresses, or the number of MAC addresses that can use an interface.&lt;br /&gt;&lt;br /&gt;It is not easy to understand the need for port security in a lab.  If these labs are your first experience with network equipment, it may seem like a simple issue: don’t plug a computer into a port.&lt;br /&gt;&lt;br /&gt;In reality, it’s not that easy.  In a real network, switches and routers are locked in a computer room or a wiring closet that is not close to where computers are located.  Cat 5 cabling runs from offices and cubicles to the switches.  If you work in a typical office, your computer is probably connected to an RJ-45 jack in your cubicle.  The other end of the wiring is connected to an interface on a switch in the computer room.&lt;br /&gt;&lt;br /&gt;The problem is that someone can unplug your computer and plug in their computer.  Then they are in your VLAN, with an IP address in your subnet, and possibly have access that you don’t want them to have.  When you go home, the Ethernet connection in your cubicle or the vice president’s office is now available to anyone with a laptop.  No cares if they use your cubicle when your (or I) are not there, but that vice president cares a great deal. &lt;br /&gt;&lt;br /&gt;As stated earlier, port security is configured on each interface.  Port security limits the number of MAC addresses that can use the interface, and actual addresses that can use the interface.  The “number of addresses” really is not much of an issue these days.  Most examples will show a hub in a critical department like Accounting, and discuss the need to limit access to a certain number of computers, like only the Accounting computers.  You would plug all of the Accounting computers in the hub, connect the hub to the switch, and configure the switch interface to only support the number of MAC addresses that correspond to the number of computers.  If you have four computers in the department, you would limit the number of MAC addresses to four.&lt;br /&gt;&lt;br /&gt;The first step in configuring port security is to enable port security.  The interface should be configured as an access port and assigned to a VLAN before configuring security.&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;br /&gt;labsw1 (config)interface fa0/9&lt;br /&gt;labsw1 (config-if) switchport mode access&lt;br /&gt;labsw1 (config-if) switchport access vlan x&lt;br /&gt;labsw1 (config-if) switchport port-security&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The next command defines the number of MAC address that can use the interface.  If it is the vice president’s connection, you probably want "1".  &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;br /&gt;Labsw1 (config-if) Switchport port-security maximum (number of addresses)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The next command determines what the port does if the security configuration is violated.  The options are &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;protect&lt;/span&gt;, &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;restrict&lt;/span&gt; or &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;shutdown&lt;/span&gt;.&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;br /&gt;labsw1 (config-if)switchport port-security violation (protect|restrict|shutdown)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;Protect&lt;/span&gt; will drop frames from an unauthorized MAC address&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;Restrict&lt;/span&gt; will generate an alarm to the network monitoring system (NMS)&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;Shutdown&lt;/span&gt; will physically disable the port&lt;br /&gt;&lt;br /&gt;To statically define the MAC addresses that can use the interface: &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;br /&gt;labsw1 (config-if) switchport port-security mac-address (MAC address)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The switch can learn the MAC addresses that can use the port.  Refer to the &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;maximum&lt;/span&gt; command above.  The interface will support the first addresses it learns until it reaches the number set in maximum.  These addresses are called “sticky”, perhaps because the first addresses will “stick”.  &lt;br /&gt;&lt;br /&gt;If your maximum is four, it will learn the first four addresses, and then follow the configuration choice used in the violation command: protect, restrict or shutdown.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;MOTD Banner&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Cisco IOS provides for a banner to be displayed when the switch or router is accessed.  If you are familiar with UNIX, you probably have seen similar banners, sometimes called the MOTD, or “message of the day.”  &lt;br /&gt;&lt;br /&gt;The message of today seems to be a warning to unauthorized people to go away.  There is a fable, which may even be true, that a person was criminally charged with maliciously accessing a system and destroying the system or data on the system.  According to the tale, when the person accessed the system, they received a “Welcome” banner.  This apparently meant that the person had permission from the owners to cause as much damage as possible, and, therefore, the case was dismissed.  Homeowners fear that the dismissal of the case will soon apply to them, which is why sales of welcome mats have decreased and sales of firearms have increased.&lt;br /&gt;&lt;br /&gt;The banner is any text that you decide to be displayed each time someone accesses the switch or router from the console port or a vty connection.  The banner is created in global configuration mode by using the banner command.&lt;br /&gt;&lt;br /&gt;There are several types of banners:&lt;span style="font-family: courier new,monospace; font-size: 8pt"&gt;&lt;pre&gt;&lt;br /&gt;  LINE             c banner-text c, where 'c' is a delimiting character&lt;br /&gt;  Exec             Set EXEC process creation banner&lt;br /&gt;  Incoming         Set incoming terminal line banner&lt;br /&gt;  Login            Set login banner&lt;br /&gt;  Motd             Set Message of the Day banner&lt;br /&gt;  prompt-timeout   Set Message for login authentication timeout&lt;br /&gt;  slip-ppp         Set Message for SLIP/PPP&lt;/pre&gt;&lt;/span&gt;&lt;br /&gt;A delimiter character is required in the banner command.  The delimiter character is the character that notifies the IOS to terminate the banner text.  In English, that means that you specify a character that will tell the switch or router that you have entered all of the banner text.  &lt;br /&gt;&lt;br /&gt;It is possible to use the Enter key while creating the banner to help format the banner.  A banner can be 256 characters, but a normal monitor screen displays about 80 or so characters.  If you don’t want most of your banner to disappear on the right side of your screen, use the Enter key to start a new line occasionally.  The router or switch will not consider the banner to be “finished” until you use the delimiter character.&lt;br /&gt;&lt;br /&gt;The command format is&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;banner [banner type] [delimiter character] [text] [delimiter character]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;In the example below, the “&amp;” character will be used as the delimiter character.&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;labsw1(config)#banner motd &amp; This is a private network and not available to unauthorized&lt;br /&gt;labsw1(config)access.  If you are not authorized, you can and will be &lt;br /&gt;labsw1(config)# prosecuted to the fullest extent of the law.  &amp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Test the banner by exiting your connection and re-establshing the connection.  When you connect, you should receive a message:&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;PC&gt;telnet labsw1&lt;br /&gt;&lt;br /&gt;Trying 192.168.1.75 ...&lt;br /&gt; This is a private network and not available for private&lt;br /&gt;access.  If you are not authorized, you can and will be prosecuted to the fullest extent of the law.&lt;br /&gt;&lt;br /&gt;User Access Verification&lt;br /&gt;&lt;br /&gt;Password: &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It is a very good idea to &lt;span style="font-weight:bold;"&gt;AVOID&lt;/span&gt; commonly used characters like letters and numbers as the delimiter character.  If, for example above, you specified the letter “a” as the delimiter in the banner above, the message would end with the first occurrence of “a”, and the banner would read “This is”.  While that may be existentially true, it’s not very helpful. &lt;br /&gt;&lt;br /&gt;Packet Tracer only supports motd banner messages.  &lt;span style="font-weight:bold;"&gt;Exam hint, perhaps&lt;/span&gt;?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;History file&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Cisco IOS supports command recall to reuse, or to modify and use, commands that have been entered in the current session.  The current session is the one that started when you logged in.  All commands are deleted when you exit the session.  To access the commands, use the Up arrow key and Down arrow key to cycle through the commands.  &lt;br /&gt;&lt;br /&gt;The history file is context sensitive.  If you are in EXEC mode, only commands that were entered in EXEC mode can be recalled.  If you are in configuration terminal mode, commands entered in configuration terminal mode can be recalled, but not the commands that were entered in EXEC mode.  When you return to Exec mode, only commands previously entered in EXEC mode can be recalled.&lt;br /&gt;&lt;br /&gt;Practical Note: An interesting feature of command recall is that Delete does not work.  This can be frustrating when you first try to use the Delete key.  Placing the cursor on a character and pressing the Delete key will probably insert a nonsensical character into the text without deleting anything.  If you need to modify a previous command, place the cursor under the character to the right of the one that you want to delete, and press the Backspace key.  You can backspace to remove characters as long as you have characters to backspace and delete.  Typing inserts character to the left of the cursor.  Practice with it.  It’s an important skill but probably not on the exam.&lt;br /&gt;&lt;br /&gt;The number of commands saved by the switch or router, however, may be a test question.  The default history size is the last ten commands, which may be too limited, depending on the tasks you are performing in the switch or router.  To increase the number of commands stored in the history file, use the EXEC command (not a configuration command):&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;labsw1#terminal history size x&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;(where x is a number between 1 and 256.  That right: 256.  257 and above will not work.)&lt;br /&gt;&lt;br /&gt;To recall commands already entered, use the Up key on the keyboard.  Continue to press Up until the desired command is displayed.  Hit Enter to reuse the command.  This is a time saving tool when doing repetitive tasks.  If you need to "go back" through the list of previous commands, use the Down arrow.&lt;br /&gt;&lt;br /&gt;To display all of the commands in the history file, use the command:&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;labsw1#show terminal history&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Remember: when you exit the switch or router, all of your command history is deleted.  The change to the terminal history file size is also reset to the default. You get to start over. &lt;br /&gt;&lt;br /&gt;Like all of the topics on the exam, the true value of command recall is when you are actually working with Cisco equipment.  It is convenient to recall a long command that has a typo and correct the typo instead of retyping the command (and making the mistake again).  Or you may need to use a particular show command multiple times to see if a status changes, or to watch totals change.  The Up arrow makes that much easier and faster.&lt;br /&gt;&lt;br /&gt;What we are saying, hedgelings, is learn how to use the Up and Down arrows and/or backspace to make your network life easier.  Learn to display and change the history file to pass the exam.  Both are good.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Password Encryption&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Few topics receive more attention these days than security.  Encryption is a vital part of security.  With the right IOS and hardware, many functions can be encrypted on a devices, from the actual data being transmitted, the data included in a vty session, and some elements of the configuration.&lt;br /&gt;&lt;br /&gt;In this section, we discuss password encryption.  We will cover session, or vty connection, encryption in a later lab.&lt;br /&gt;&lt;br /&gt;You have seen one example of password encryption with the &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;enable secret&lt;/span&gt; password.  The &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;enable secret&lt;/span&gt; password is encrypted (okay, for you real nit-picky hedgelings, it actually a hash of the password, but it works pretty much the same).  However, the rest of the passwords: console, vty, are in clear text, as shown in the following example.&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;labsw1#sho run&lt;br /&gt;Building configuration...&lt;br /&gt;&lt;br /&gt;Current configuration : 1203 bytes&lt;br /&gt;!&lt;br /&gt;version 12.1&lt;br /&gt;no service password-encryption&lt;br /&gt;!&lt;br /&gt;hostname labsw1&lt;br /&gt;!&lt;br /&gt;enable secret 5 $1$mERr$hx5rVt7rPNoS4wqbXKX7m0&lt;br /&gt;enable password pass1&lt;br /&gt;!&lt;br /&gt;ip name-server 192.168.1.3&lt;br /&gt;!&lt;br /&gt;!&lt;br /&gt;interface FastEthernet0/1&lt;br /&gt;!&lt;br /&gt;interface FastEthernet0/2&lt;br /&gt;!&lt;br /&gt;interface FastEthernet0/3&lt;/span&gt;&lt;br /&gt;(lines omitted)&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;!&lt;br /&gt;interface Vlan1&lt;br /&gt; ip address 192.168.1.75 255.255.255.0&lt;br /&gt;!&lt;br /&gt;banner motd ^C This is a private network and not available for private&lt;br /&gt;access.  If you are not authorized, you can and will be prosecuted to the &lt;br /&gt;fullest extent of the law.^C&lt;br /&gt;line con 0&lt;br /&gt; password cisco&lt;br /&gt; login&lt;br /&gt;!&lt;br /&gt;line vty 0 4&lt;br /&gt; password cisco&lt;br /&gt; login&lt;br /&gt;line vty 5 15&lt;br /&gt; password cisco&lt;br /&gt; login&lt;br /&gt;!&lt;br /&gt;!&lt;br /&gt;end&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To encrypt the display of the passwords, use the command:&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;labsw1(config)#service password-encryption&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Exit configuration mode and display the configuration again to see the encrypted passwords.&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;br /&gt;labsw1#sho run&lt;br /&gt;Building configuration...&lt;br /&gt;&lt;br /&gt;Current configuration : 1236 bytes&lt;br /&gt;!&lt;br /&gt;version 12.1&lt;br /&gt;service password-encryption&lt;br /&gt;!&lt;br /&gt;hostname labsw1&lt;br /&gt;!&lt;br /&gt;enable secret 5 $1$mERr$hx5rVt7rPNoS4wqbXKX7m0&lt;br /&gt;enable password 7 08314D5D1A48&lt;br /&gt;!&lt;br /&gt;ip name-server 192.168.1.3&lt;br /&gt;!&lt;br /&gt;!&lt;br /&gt;interface FastEthernet0/1&lt;br /&gt;!&lt;br /&gt;interface FastEthernet0/2&lt;br /&gt;!&lt;br /&gt;interface FastEthernet0/3&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;(lines omitted)&lt;/span&gt;&lt;br /&gt;!&lt;br /&gt;line con 0&lt;br /&gt; password 7 0822455D0A16&lt;br /&gt; login&lt;br /&gt;!&lt;br /&gt;line vty 0 4&lt;br /&gt; password 7 0822455D0A16&lt;br /&gt; login&lt;br /&gt;line vty 5 15&lt;br /&gt; password 7 0822455D0A16&lt;br /&gt; login&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;A switch or router configuration can have other "passwords" that are important to encrypt.  The &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;services password-encryption&lt;/span&gt; command will also encrypt those passwords.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;DNS&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;DNS is a potential exam question, and more importantly, it is one of the most important aids in managing a network.  You are probably very aware of how important DNS is in navigating the Internet.  You can remember google.com, yahoo.com , and hopefully hedgehogtech.blogspot.com, but you might have some difficulty remembering the IP addresses of those sites.&lt;br /&gt;&lt;br /&gt;If you are unfamiliar with DNS, DNS is the process that allows you to use a word or name instead of the IP address of a site, or in our case, a device in the network.  If you have not worked in a network environment, you may not be aware that most, probably all, enterprise networks maintain their own DNS for managing their networks.  It is more common to use a name like labsw1 and PC1 than to use 192.168.1.75 or 192.168.1.2.&lt;br /&gt;&lt;br /&gt;Before you can configure your switch or router to use DNS, you must first create a DNS server and connect it to the network.  If you are using a hardware lab, you will need &lt;a href="http://hedgehogtech.blogspot.com/2009/06/ccna-labs-software-for-your-lab.html"&gt;DNS server software&lt;/a&gt;.  (Note: any difficulty with this section will probably be configuring the DNS software.  The switch/router commands are very simple.)&lt;br /&gt;&lt;br /&gt;If you are using Packet Tracer, you will need to use the generic server and configure DNS.  The DNS entry contains both the name of the device, PC1, and the IP address of the device, 192.168.1.2, as well as labsw1 - 192.168.1.75.&lt;br /&gt;&lt;br /&gt;For this exercise:&lt;ol&gt;&lt;br /&gt;&lt;li&gt;Install a DNS server in your network.  Unless you have unlimited funds and space, you will probably install it on PC1.  Note the IP address of the system supporting DNS, such as 192.168.1.2.  Connect the server and PC1 to VLAN 1 interfaces: Fa0-9 – Fa0/24 (depending on the model of your switch).  You should know the reason for using VLAN 1 interfaces from Lab 8:  the devices connected to a switch must be in the same VLAN as the VLAN interface to use the VLAN 1 interface.  With the current switch configuration,the switch can only use services on VLAN 1, since VLAN 1 is the management interface.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Create two entries in the DNS server: PC1 – 192.168.1.2, and labsw1 - 1921.68.1.75&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Configure the switch to use the DNS server with the global configuration command:&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;labsw1(config)# ip name-server 192.168.1.2&lt;/span&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Exit configuration mode and ping PC1 from labsw1&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;labsw1#ping pc1&lt;/span&gt; (or pc1.workgroup, if you are using Dual Server)&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;You are successful when you can ping PC1 from labsw1.  &lt;br /&gt;&lt;br /&gt;You should also configure all equipment in our lab to use the DNS server: PCs, switches, and routers.  It will make life easier.  When you have configured the PC for your lab DNS server, ping labsw1 from the PC.&lt;br /&gt;&lt;br /&gt;In most networks, you will use the same DNS server for the entire network.  All Cisco devices will be configured with the same command: &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;ip name-server x.x.x.x&lt;/span&gt;.  If your lab includes a DNS server, we strongly recommend that you update the DNS entries as equipment is added to the lab.  It is just as helpful in a lab as it is in an actual network.&lt;br /&gt;&lt;br /&gt;Since adding PCs and servers to a Packet Tracer network is easy and cheap(see if your network simulator supports a DNS server), we recommend that you create a DNS server that is not part of the “normal” lab devices, and give it an IP address such as 192.168.1.240.  Unfortunately, you cannot configure the dns-server with its own IP address as the DNS server, as you can with most real DNS servers.  You can, however, configure all other devices to use the DNS server. &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Testing DNS&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Make sure your DNS entries are correct.  Always ping a device by name, such as pc1, labsw1, etc.  Look for the following errors:&lt;ol&gt;&lt;br /&gt;&lt;li&gt;Ping request could not find host pc4. Please check the name and try again. – This error means that no DNS entry exists for the device.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Request timed out – This error can often be the result of an incorrect IP address.  The ping process will display the IP address that is being pinged.  If the ping request times out, check the IP address of the DNS entry and make sure it is correct.  If the entry is correct, make sure that device is actually addressed correctly.  Finally, check to make sure that the cabling is correct, that the device is in the right vlan, and the port is up, up. If the ping to the DNS name fails, ping to the IP address.  If the address ping is successful, it is probably a mistake in the DNS entry.  Usually the IP address is mistyped.&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;When completed, save the running configuration to the startup configuration and to the TFTP server.&lt;br /&gt;&lt;br /&gt;Note to the ambitious: DNS management is a very profitable career choice.  Getting a CCNA® is very helpful toward learning and supporting DNS, so these CCNA® studies are by no means wasted if you decide to move in a DNS support direction.  You have to understand IP to successfully manage DNS.  The most common DNS software is BIND, which is free in FreeBSD and many Linux distributions. It ain’t so easy to learn, which is why someone will pay you well if you have these skills.  Kinda like getting a CCNA, CCNP, CCIE, etc.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1304305295846759911-7206076537989531798?l=hedgehogtech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1304305295846759911/posts/default/7206076537989531798'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1304305295846759911/posts/default/7206076537989531798'/><link rel='alternate' type='text/html' href='http://hedgehogtech.blogspot.com/2009/08/lab-9-configuration-issues.html' title='Lab 9 - Configuration Issues'/><author><name>The Hedge</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-1304305295846759911.post-5388451853544975576</id><published>2009-07-23T14:10:00.005-05:00</published><updated>2009-09-10T17:39:50.746-05:00</updated><title type='text'>Multiple Switch Labs</title><content type='html'>&lt;a href="http://hedgehogtech.blogspot.com/2009/08/lab-11-dynamic-trunking-protocol-dtp.html"&gt;Lab 11 - Dynamic Trunking Protocol (DTP)&lt;/a&gt;&lt;br /&gt;&lt;a href="http://hedgehogtech.blogspot.com/2009/08/lab-12-configuring-trunk-ports.html"&gt;Lab 12 - Configuring Trunk Ports&lt;/a&gt;&lt;br /&gt;&lt;a href="http://hedgehogtech.blogspot.com/2009/08/lab-13-cisco-discovery-protocol-cdp.html"&gt;Lab 13 - Cisco Discovery Protocol&lt;/a&gt;&lt;br /&gt;&lt;a href="http://hedgehogtech.blogspot.com/2009/09/lab-14-ethernet-address-management-in.html"&gt;Lab 14 - Ethernet Address Management in a Multi-switch Network - Internal Addresses&lt;/a&gt;&lt;br /&gt;&lt;a href="http://hedgehogtech.blogspot.com/2009/09/lab-15-ethernet-address-management-in.html"&gt;Lab 15 - Ethernet Address Management in a Multi-switch Network - End Device Address Management&lt;/a&gt;&lt;br /&gt;&lt;a href="http://hedgehogtech.blogspot.com/2009/09/lab-16-new-switch-configuration.html"&gt;Lab 16 - New Switch Configuration&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1304305295846759911-5388451853544975576?l=hedgehogtech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1304305295846759911/posts/default/5388451853544975576'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1304305295846759911/posts/default/5388451853544975576'/><link rel='alternate' type='text/html' href='http://hedgehogtech.blogspot.com/2009/07/multiple-switch-labs.html' title='Multiple Switch Labs'/><author><name>The Hedge</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-1304305295846759911.post-7097526741810946207</id><published>2009-07-23T09:52:00.024-05:00</published><updated>2009-08-23T09:35:54.612-05:00</updated><title type='text'>CCNA® Lab 8 - Testing the VLAN Configuration</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_9ZysJBVVIiY/SmiDQjri9nI/AAAAAAAAAGw/MP7Bu3OeHPA/s1600-h/switch+2+pcs.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 74px;" src="http://3.bp.blogspot.com/_9ZysJBVVIiY/SmiDQjri9nI/AAAAAAAAAGw/MP7Bu3OeHPA/s320/switch+2+pcs.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5361679676863608434" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Goal&lt;/span&gt;&lt;blockquote&gt;&lt;br /&gt;● Verify VLAN configuration and function &lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Requirements: &lt;/span&gt;&lt;blockquote&gt;&lt;br /&gt;● Cisco switch configured with Lab 1-3, Lab 5 configurations&lt;br /&gt;● 2 PCs with Ethernet ports, one with COM port.  PCs should be configured with the IP addresses shown above. &lt;br /&gt;● Cisco rollover cable&lt;br /&gt;● 2 Ethernet cables &lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Review broadcast domain&lt;/span&gt;&lt;blockquote&gt;&lt;br /&gt;●  A broadcast is a data transmission to all devices that communicate at Layer 2, or the Datalink layer. &lt;br /&gt;●  All devices in a broadcast domain “hear” all broadcasts.  (This explanation is very brief and incomplete.  Insure that you fully understand &lt;a href="http://www.scribd.com/doc/17536104/Broadcast-Domains"&gt;broadcasts, broadcast domains, how bridges/switches process broadcasts&lt;/a&gt;.)&lt;br /&gt;●  A VLAN is a broadcast domain.  It is a group of ports that can communicate at Layer 2, or will “hear” a broadcast from one of the devices connected to an interface in the same VLAN.&lt;br /&gt;●  Cisco switches initially have one VLAN, VLAN 1, and all ports are in VLAN 1.  Creating new VLANs creates new broadcast domains.&lt;/blockquote&gt;&lt;br /&gt;In Lab 7, four new broadcast domains, or VLANs, were created:&lt;blockquote&gt;&lt;br /&gt;●  VLAN 200&lt;br /&gt;●  VLAN 201&lt;br /&gt;●  VLAN 202&lt;br /&gt;●  VLAN 203&lt;/blockquote&gt;&lt;br /&gt;VLAN 1, the default VLAN, still exists.  VLAN 1 is automatically defined by the IOS, and cannot be deleted.  It can be made irrelevant by assigning all ports to other VLANs, but it will still exist.  Verify that the VLANs still exist from Lab 7, and the following port assignments have been made.&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;1.  testlabsw1 # show vlan&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 8pt"&gt;&lt;pre&gt;&lt;br /&gt;VLAN Name                       Status    Ports&lt;br /&gt;---- -------------------------- --------- -------------------------------&lt;br /&gt;1    default                    active    Fa0/9, Fa0/10, Fa0/11, Fa0/12&lt;br /&gt;200  Acct                       active    Fa0/1, Fa0/5&lt;br /&gt;201  Admin                      active    Fa0/2, Fa0/6&lt;br /&gt;202  Backbone                   active    Fa0/3, Fa0/7&lt;br /&gt;203  VLAN0203                   active    Fa0/4, Fa0/8&lt;br /&gt;.&lt;br /&gt;(lines omitted)&lt;/pre&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Testing the configuration&lt;/span&gt;&lt;br /&gt;The test consists of using the ping command.  The test has two parts: &lt;blockquote&gt;&lt;br /&gt;●  Test for a successful ping between the devices in the same VLAN&lt;br /&gt;●  Test for a failure to ping between the devices in different VLANs&lt;/blockquote&gt;&lt;br /&gt;It may sound strange to test for failure, or an unsuccessful ping, but it really isn’t.  If you can ping between VLANs (200 to 201, for example), then either the configuration is wrong, or VLANs do not really create separate broadcast domains.&lt;br /&gt;&lt;br /&gt;A final test step is to ping the switch interface VLAN 1 IP address (192.168.1.75) from each VLAN.  Before beginning this exercise, display the status of the VLAN1 IP address:&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;labsw1# show interface vlan 1&lt;br /&gt;&lt;br /&gt;Vlan1 is up, line protocol is down&lt;br /&gt;.&lt;br /&gt;.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;(Interface VLAN 1 is not complete functional.  Why not?  Review &lt;a href="http://hedgehogtech.blogspot.com/2009/06/ccna-lab-2-basic-configuration.html"&gt;Lab 2&lt;/a&gt;, step 22 and discussion.)&lt;br /&gt;&lt;br /&gt;Before beginning these exercises, verify that the PCs are configured with the following IP addresses: PC1 – 192.168.1.2, PC2 – 192.168.1.3.  Connect PC1 and PC2 to the switch interfaces as shown in the chart below, and ping from PC1 to PC2. &lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;labsw1# clear mac-address-table&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;(Note: if you cannot ping from PC1 to PC2 after you move the connections to new interfaces &lt;span style="font-weight:bold;"&gt;in the same VLAN&lt;/span&gt;, use the &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;clear mac-address-table dynamic&lt;/span&gt; command and test again.  Just make sure that the interfaces are in the same VLAN.)&lt;br /&gt;&lt;br /&gt;It is not necessary to issue every ping described in this section.  However, it is important that you understand that pings are successful between computers in the same VLAN and unsuccessful between computers in different VLANs.  If you like, chose a subset of the interfaces to perform the tests. It is also important to show the status of interface VLAN after each cable move and note when it goes "up, up" (More in Lab 9). &lt;span style="font-family: courier new,monospace; font-size: 9pt"&gt;&lt;pre&gt;               &lt;br /&gt;                                                        Ping  &lt;br /&gt;                                          Interface    Result  &lt;br /&gt;  PC1    PC1    PC2     PC2     Ping       VLAN1      Interface&lt;br /&gt;  Int    VLAN   Int     VLAN   Result     Status        VLAN1&lt;br /&gt;-------  ----   ------   ----  --------   -------     -------&lt;br /&gt; Fa0/1    200   Fa0/5    200&lt;br /&gt; Fa0/2    201   Fa0/5    200&lt;br /&gt; Fa0/2    201   Fa0/6    201&lt;br /&gt; Fa0/3    202   Fa0/6    201 &lt;br /&gt; Fa0/3    202   Fa0/7    202&lt;br /&gt; Fa0/4    203   Fa0/7    202&lt;br /&gt; Fa0/4    203   Fa0/12    1&lt;br /&gt; Fa0/9     1    Fa0/12    1&lt;br /&gt; Fa0/10    1    Fa0/12    1&lt;br /&gt; Fa0/11    1    Fa0/12    1&lt;/pre&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The results of the testing should show that a ping test is successful when both devices are in the same VLAN, and unsuccessful when the devices are in different VLANs.  &lt;br /&gt;&lt;br /&gt;Why is a ping attempt to the IP address of interface VLAN 1 successful from ports Fa0/9 through Fa0/12, but unsuccessful from all other interfaces?&lt;br /&gt;&lt;br /&gt;Two conditions must exist before the VLAN 1 IP address will respond to a ping.&lt;ol&gt;  &lt;br /&gt;&lt;li&gt;The VLAN 1 interface must be “up, up” before it will respond to a ping.  Interface VLAN 1 remained in an “up, down” status until a physical interface associated with VLAN 1, Fa0/9 - Fa0/12, was active, or in “up, up” status.  When a computer was connected to an interface in VLAN 1, a physical path to VLAN 1 was created, and VLAN 1 became “up, up” or active. The VLAN 1 interface became active in Step 8: however, it was not possible to ping the VLAN 1 IP address from Fa0/4.  Only when PC1 was connected to Fa0/9, VLAN 1, was it possible to ping 192.168.1.75 from PC1.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;PC1 could successfully ping the VLAN 1 IP address after it was connected to an interface in VLAN 1: Fa0/9 – Fa0/12.  The reason is a VLAN interface is associated with the VLAN that it is named for.  VLAN 1 can only be contacted from an interface in VLAN 1.  An interface in VLAN 200 cannot communicate with the VLAN 1 IP address.  Interface VLAN 1 is a part of VLAN 1, and can only be contacted from one of the ports in VLAN 1: Fa0/9, Fa0/10, Fa0/11, Fa0/12.&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1304305295846759911-7097526741810946207?l=hedgehogtech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1304305295846759911/posts/default/7097526741810946207'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1304305295846759911/posts/default/7097526741810946207'/><link rel='alternate' type='text/html' href='http://hedgehogtech.blogspot.com/2009/07/ccna-lab-8-testing-vlan-configuration.html' title='CCNA® Lab 8 - Testing the VLAN Configuration'/><author><name>The Hedge</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_9ZysJBVVIiY/SmiDQjri9nI/AAAAAAAAAGw/MP7Bu3OeHPA/s72-c/switch+2+pcs.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-1304305295846759911.post-355945780004371197</id><published>2009-07-22T13:00:00.039-05:00</published><updated>2009-08-08T08:07:28.705-05:00</updated><title type='text'>CCNA® Lab 7 - Vlan Creation and VLAN Interface Assignment</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_9ZysJBVVIiY/SmdT9EtFXSI/AAAAAAAAAGo/OBL585GuADE/s1600-h/switch+lab+4.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 114px;" src="http://3.bp.blogspot.com/_9ZysJBVVIiY/SmdT9EtFXSI/AAAAAAAAAGo/OBL585GuADE/s320/switch+lab+4.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5361346190107827490" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Lab 7 Goals&lt;/span&gt;&lt;blockquote&gt;&lt;br /&gt;● Understand VLANs and broadcast domains&lt;br /&gt;● Create VLANs&lt;br /&gt;● Assign interfaces to the new VLANs&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Lab Requirements&lt;/span&gt;&lt;blockquote&gt;&lt;br /&gt;● Switch configured with Lab 2 configuration&lt;br /&gt;● PC configured with &lt;br /&gt;IP address 192.168.1.2 255.255.255.0&lt;br /&gt;● Cisco rollover (console) cable&lt;br /&gt;● Ethernet cable&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;For this lab, use the console port to manage the switch.&lt;br /&gt;&lt;br /&gt;VLANs are a feature of Cisco® switches.  VLANs (Virtual LANs) allow multiple broadcast domains to be configured on one or more switches, configuring a set of switch interfaces as a broadcast domain. This lab will create VLANs and assign interfaces to those new VLANs.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;a href="http://www.scribd.com/doc/17536104/Broadcast-Domains"&gt;Broadcast Domain Review&lt;/a&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;br /&gt;● A broadcast is a data transmission to all devices that communicate at Layer 2, or the Datalink layer. Remember the example of the ARP request in the previous lab.  A broadcast has a destination address of all binary 1’s, or hex address of &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;ffff.ffff.ffff&lt;/span&gt;.&lt;br /&gt;● All devices in a broadcast domain “hear” all data transmissions, broadcasts.  (This explanation is very brief and incomplete.  Insure that you fully understand broadcasts, broadcast domains, how bridges/switches process broadcasts.)&lt;br /&gt;● A VLAN is a broadcast domain.  It is a group of ports configured on one or more switches by a network administrator that can communicate at Layer 2.  The ports in a VLAN will “hear” a broadcast from one of the devices in the same VLAN. &lt;br /&gt;● Cisco switches initially have one VLAN: VLAN 1.  All ports are in VLAN 1.  VLAN 1 can be shut down, but it cannot be deleted.&lt;/blockquote&gt;&lt;br /&gt;(All future labs will show commands in enable mode.  The commands to access enable mode will not be shown in future exercises.)&lt;br /&gt;&lt;br /&gt;As noted above, a VLAN is a group of switch ports configured as a single broadcast domain.  To display the VLAN port assignment, use the "&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;show vlan&lt;/span&gt;" command.  The example below shows all ports in the same VLAN, VLAN1.  VLAN 1 is a default VLAN created on every Cisco switch.  The default, or out-of-the-box, configuration assigns all interfaces on the switch to VLAN 1.  By default, all interfaces are in the same broadcast domain, VLAN 1.  (Note: The VLANs 1002 – 1005 are special purpose VLANs that have no function in these labs.)&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 8pt"&gt;&lt;pre&gt;&lt;br /&gt;1.  labsw1# show vlan&lt;br /&gt;&lt;br /&gt;VLAN Name                    Status    Ports&lt;br /&gt;---- ------------------- --------- -------------------------------&lt;br /&gt;1    default             active    Fa0/1, Fa0/2, Fa0/3, Fa0/4,&lt;br /&gt;                                   Fa0/5, Fa0/6, Fa0/7, Fa0/8,&lt;br /&gt;                                   Fa0/9, Fa0/10, Fa0/11, Fa0/12&lt;br /&gt;                                   (lines deleted)&lt;br /&gt;1002 fddi-default        active&lt;br /&gt;1003 token-ring-default  active&lt;br /&gt;1004 fddinet-default     active&lt;br /&gt;1005 trnet-default       active&lt;br /&gt;&lt;br /&gt;VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2&lt;br /&gt;---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------&lt;br /&gt;1    enet  100001     1500  -      -      -        -    -        1002   1003&lt;br /&gt;1002 fddi  101002     1500  -      -      -        -    -        1      1003&lt;br /&gt;1003 tr    101003     1500  1005   0      -        -    srb      1      1002&lt;br /&gt;1004 fdnet 101004     1500  -      -      1        ibm  -        0      0&lt;br /&gt;1005 trnet 101005     1500  -      -      1        ibm  -        0      0&lt;/pre&gt;&lt;/span&gt;&lt;br /&gt;VLAN data, as well as other important configuration data, is not stored in the "running-config" or the "startup-config."  It is stored in a file called "vlan.dat."  The contents of the vlan.dat cannot be easily displayed, but the file can be verified with the command "&lt;span style="font-family: courier new,monospace; font-size: 8pt"&gt;show flash&lt;/span&gt;."  Before starting this exercise, verify that no "vlan.dat" file exists.&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;Labsw1# show flash&lt;/span&gt;&lt;br /&gt;The only file should be the IOS.  If a vlan.dat file exists, remove it.&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;Labsw1# erase vlan.dat&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Follow the prompts to delete.  Verify that the file has been removed by using the "&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;show vlan&lt;/span&gt;" command and/or the "&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;show flash&lt;/span&gt;" command.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;VLAN Creation and Naming&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This lab will create additional VLANs and assign ports to those VLANs.  The VLAN process has two parts:&lt;blockquote&gt;&lt;br /&gt;● VLAN creation&lt;br /&gt;● Interface VLAN assignment&lt;/blockquote&gt;&lt;br /&gt;VLANs are created by assigning a number between 2 – 4096.  VLANs are also named, but the names have no function and serve only as documentation.  Custom VLAN names are optional.  If the VLANs are not named, the switch will create names: VLAN0200, VLAN0201, etc.  This lab will create and name the following VLANs.  Follow these commands to create the following VLANs:&lt;blockquote&gt;&lt;br /&gt;200 – Acct&lt;br /&gt;201 – Admin&lt;br /&gt;202 – Backbone&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;2950 Switch Commands (native IOS commands)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;2.  labsw1# configuration terminal&lt;br /&gt;3.  labsw1 (config)# vlan 200&lt;br /&gt;4.  labsw1 (config-vlan)# name Acct&lt;br /&gt;5.  labsw1 (config-vlan)# vlan 201&lt;br /&gt;6.  labsw1 (config-vlan)# name Admin&lt;br /&gt;7.  labsw1 (config-vlan)# vlan 202&lt;br /&gt;8.  labsw1 (config-vlan)# name Backbone&lt;br /&gt;9.  labsw1 (config-vlan)# [Ctrl-Z] &lt;/span&gt;(exit configuration mode) &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;2912/2924 Switch Commands&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This is the first area where the 2912/2924 switches differs from the native IOS switches.  VLAN creation must be done in “vlan database” mode, not configuration mode.  Vlan database mode is accessed by using the command "&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;vlan database&lt;/span&gt;."  To exit vlan database mode, use  "&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;exit&lt;/span&gt;" command.  VLAN database mode is also available on the 2950/2960 switches, but configuration mode is the preferred method.  Notice the (minor) differences in the commands 1a-5a.&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;2a. labsw1# vlan database&lt;br /&gt;3a. labsw1 (vlan)# vlan 200 name Acct&lt;br /&gt;4a. labsw1 (vlan)# vlan 201 name Admin&lt;br /&gt;5a. labsw1 (vlan)# vlan 202 name Backbone&lt;br /&gt;6a. labsw1 (vlan)# exit (exit vlan database mode)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Display the new VLANs:&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;10. labsw1 # show vlan&lt;/span&gt;&lt;span style="font-family: courier new,monospace; font-size: 8pt"&gt;&lt;pre&gt;&lt;br /&gt;VLAN Name                       Status    Ports&lt;br /&gt;---- -------------------------- --------- -------------------------------&lt;br /&gt;1    default                    active    Fa0/1, Fa0/2, Fa0/3, Fa0/4,&lt;br /&gt;                                          Fa0/5, Fa0/6, Fa0/7, Fa0/8,&lt;br /&gt;                                          Fa0/9, Fa0/10, Fa0/11, Fa0/12&lt;br /&gt;200  Acct                       active&lt;br /&gt;201  Admin                      active&lt;br /&gt;202  Backbone                   active&lt;br /&gt;.&lt;br /&gt;(lines omitted)&lt;/pre&gt;&lt;/span&gt;&lt;br /&gt;VLANs 200, 201 and 202 have been created and named: however, no interfaces have been assigned to the new VLANs.  All interfaces are still in VLAN 1, the default VLAN.  Interface VLAN assignment requires interface-specific commands.  Assigning an interface to a VLAN will also configure the interface as an access port, preventing it from becoming a trunk port dynamically.  (See discussion of access ports vs. trunk ports below).  To assign a port to a VLAN use the interface specific command "&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;switchport access vlan [vlan-number]&lt;/span&gt;."&lt;br /&gt;&lt;br /&gt;(Note: An interface can be configured as an access port by the command: "&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;switchport mode access&lt;/span&gt;."  This command will configure the port as an access port, and the port will remain in VLAN 1.)&lt;br /&gt;&lt;br /&gt;Use the commands below to configure labsw1 with the following VLAN port assignments.  Notice that VLAN 203 is used, but VLAN 203 has not been created and named.  Notice how the switch responds when an interface is assigned to VLAN 203.&lt;blockquote&gt;&lt;br /&gt;Fa0/1 - VLAN 200&lt;br /&gt;Fa0/2 - VLAN 201&lt;br /&gt;Fa0/3 – VLAN 202&lt;br /&gt;Fa0/4 – VLAN 203&lt;br /&gt;Fa0/5 – VLAN 200&lt;br /&gt;Fa0/6 – VLAN 201&lt;br /&gt;Fa0/7 – VLAN 202&lt;br /&gt;Fa0/8 – VLAN 203&lt;/blockquote&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;11.  labsw1# configuration terminal&lt;br /&gt;12.  labsw1 (config)# interface fa0/1&lt;br /&gt;13.  labsw1 (config-if)# switchport access vlan 200&lt;br /&gt;14.  labsw1 (config-if# switchport mode access&lt;br /&gt;15.  labsw1 (config-if) # interface fa0/2&lt;br /&gt;16.  labsw1 (config-if) # switchport access vlan 201&lt;br /&gt;17.  labsw1 (config-if# switchport mode access&lt;br /&gt;18.  labsw1 (config-if) # interface fa0/3&lt;br /&gt;19.  labsw1 (config-if) # switchport access vlan 202&lt;br /&gt;20.  labsw1 (config-if# switchport mode access&lt;br /&gt;21.  labsw1 (config-if) # interface fa0/4&lt;br /&gt;22.  labsw1 (config-if) # switchport access vlan 203&lt;br /&gt;23.  labsw1 (config-if# switchport mode access&lt;/span&gt;&lt;br /&gt;Note: The switch will automatically create a VLAN when a port is assigned to undefined VLAN, in this case, 203.  Note the response from the switch:&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;% Access VLAN does not exist. Creating vlan 203&lt;br /&gt;24.  labsw1 (config-if) # interface fa0/5&lt;br /&gt;25.  labsw1 (config-if) # switchport access vlan 200&lt;br /&gt;26.  labsw1 (config-if# switchport mode access&lt;br /&gt;27.  labsw1 (config-if) # interface fa0/6&lt;br /&gt;28.  labsw1 (config-if) # switchport access vlan 201&lt;br /&gt;29.  labsw1 (config-if# switchport mode access&lt;br /&gt;30.  labsw1 (config-if) # interface fa0/7&lt;br /&gt;31.  labsw1 (config-if) # switchport access vlan 202&lt;br /&gt;32.  labsw1 (config-if# switchport mode access&lt;br /&gt;33.  labsw1 (config-if) # interface fa0/8&lt;br /&gt;34.  labsw1 (config-if) # switchport access vlan 203&lt;br /&gt;35.  labsw1 (config-if# switchport mode access&lt;br /&gt;36.  labsw1 (config-if) # [Crtl-Z]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Display the VLAN information to see the VLAN port assignments:&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;37. labsw1 # show vlan&lt;/span&gt;&lt;span style="font-family: courier new,monospace; font-size: 8pt"&gt;&lt;pre&gt;&lt;br /&gt;VLAN Name                       Status    Ports&lt;br /&gt;---- --------------- --------- -------------------------------&lt;br /&gt;1    default         active    Fa0/9, Fa0/10, Fa0/11, Fa0/12&lt;br /&gt;200  Acct            active    Fa0/1, Fa0/5&lt;br /&gt;201  Admin           active    Fa0/2, Fa0/6&lt;br /&gt;202  Backbone        active    Fa0/3, Fa0/7&lt;br /&gt;203  VLAN0203        active    Fa0/4, Fa0/8&lt;br /&gt;.(lines omitted)&lt;/pre&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;VLAN 203 has been created and named: VLAN0203.&lt;br /&gt;&lt;br /&gt;Before saving the changes, use the "show flash" command again.&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;38. labsw1#show flash&lt;br /&gt;&lt;br /&gt;Directory of flash:/&lt;br /&gt;&lt;br /&gt;    1  -rw-     4414921          &lt;no date&gt;  c2960-lanbase-mz.122-25.FX.bin&lt;br /&gt;    2  -rw-         796          &lt;no date&gt;  vlan.dat&lt;br /&gt;&lt;br /&gt;64016384 bytes total (59600667 bytes free)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Note that the "vlan.dat" file was created automatically when the VLANs were created. Use the show running-config command to see the VLAN assignments on each interface, but also notice that there are no entries in the running configuration for the individual VLANs.  As noted earlier, the file cannot be viewed, but its existence can be verified by the command "&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;show flash&lt;/span&gt;." (Note: Your switch may include other files as well.)&lt;br /&gt;&lt;br /&gt;Save the configuration.&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;39.  labsw1 # copy running-config startup-config&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Access ports and trunk ports&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Switch interfaces can be configured as access ports or they can be configured as trunk ports.  Access ports connect devices that are not switches: computers, routers, printers, etc. &lt;br /&gt;&lt;br /&gt;Trunk ports are used to connect switches, creating a “switch fabric.”  A switch fabric is a set of switches that allow multiple switches to function as a single switch.  Trunk ports between switches carry data for multiple VLANs, and will be covered in more detail in future labs.  &lt;br /&gt;&lt;br /&gt;The most important difference between an access port and a trunk port:&lt;blockquote&gt;&lt;br /&gt;Access ports carry data within a single VLAN&lt;br /&gt;Trunk ports carry data for multiple VLANs&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1304305295846759911-355945780004371197?l=hedgehogtech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1304305295846759911/posts/default/355945780004371197'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1304305295846759911/posts/default/355945780004371197'/><link rel='alternate' type='text/html' href='http://hedgehogtech.blogspot.com/2009/07/ccna-lab-7-vlan-creation-and-vlan.html' title='CCNA® Lab 7 - Vlan Creation and VLAN Interface Assignment'/><author><name>The Hedge</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_9ZysJBVVIiY/SmdT9EtFXSI/AAAAAAAAAGo/OBL585GuADE/s72-c/switch+lab+4.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-1304305295846759911.post-8353190335693254359</id><published>2009-07-22T11:49:00.013-05:00</published><updated>2009-07-22T13:08:00.174-05:00</updated><title type='text'>CCNA® Lab 6 - Cleanup</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_9ZysJBVVIiY/SmdDTcg6_iI/AAAAAAAAAGg/SuV45wAIJ5s/s1600-h/switch+lab+4.jpg"&gt;&lt;img style="float:center; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 114px;" src="http://1.bp.blogspot.com/_9ZysJBVVIiY/SmdDTcg6_iI/AAAAAAAAAGg/SuV45wAIJ5s/s320/switch+lab+4.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5361327882758716962" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Lab 6 Goal&lt;/span&gt;&lt;br /&gt;● Configure the same password for all switch access: console, vty, enable&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Lab Requirements&lt;/span&gt;&lt;blockquote&gt;&lt;br /&gt;● Switch configured with Lab 2 configuration&lt;br /&gt;● PC configured with &lt;br /&gt;IP address 192.168.1.2 255.255.255.0&lt;br /&gt;● Cisco rollover (console) cable&lt;br /&gt;● Ethernet cable&lt;/blockquote&gt;&lt;br /&gt;Yes, hedgelings, it's time to clean up the configuration.  It is easier use a single password for all access: console, vty, and enable secret.  It is important to remember, however, that these are distinct and different passwords, even if you use the same value like we are going to do.  This change is just to make access easier.&lt;br /&gt;&lt;br /&gt;Connect PC1 to labsw1 using an Ethernet cable and/or the console cable.  An Ethernet connection is preferred for all configured devices.  Access labsw1 using the telnet command from PC1.&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;1.  PC&gt; telnet 192.168.1.75&lt;br /&gt;Trying 192.168.1.75 ...&lt;br /&gt;&lt;br /&gt;User Access Verification&lt;br /&gt;Password: [pass1]&lt;br /&gt;2.  labsw1&gt; enable&lt;br /&gt;Password: [pass5]&lt;br /&gt;3. labsw1# configure terminal&lt;br /&gt;4. labsw1(config)# enable secret cisco&lt;/span&gt; (or some other password easy for you to remember)&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;5. labsw1(config)#line cons 0&lt;br /&gt;6. labsw1(config-line)#password cisco&lt;br /&gt;7. labsw1(config-line)#login&lt;br /&gt;8. labsw1(config-line)#line vty 0 15&lt;br /&gt;9. labsw1(config-line)#password cisco&lt;br /&gt;10. labsw1(config-line)#login&lt;br /&gt;11. labsw1(config-line)#Crtl Z&lt;br /&gt;12. labsw1# copy run start&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Verify your changes:&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;13. labsw1# show running-config&lt;blockquote&gt;&lt;br /&gt;Building configuration...&lt;br /&gt;&lt;br /&gt;Current configuration : 1030 bytes&lt;br /&gt;!&lt;br /&gt;version 12.1&lt;br /&gt;no service password-encryption&lt;br /&gt;!&lt;br /&gt;hostname labsw1&lt;br /&gt;!&lt;br /&gt;enable secret 5 $1$mERr$hx5rVt7rPNoS4wqbXKX7m0&lt;br /&gt;enable password pass1&lt;br /&gt;!&lt;br /&gt;ip name-server 192.168.1.3&lt;br /&gt;!&lt;br /&gt;!&lt;br /&gt;interface FastEthernet0/1&lt;br /&gt;!&lt;br /&gt;interface FastEthernet0/2&lt;br /&gt;!&lt;br /&gt;interface FastEthernet0/3&lt;br /&gt;!&lt;br /&gt;interface FastEthernet0/4&lt;br /&gt;!&lt;br /&gt;interface FastEthernet0/5&lt;br /&gt;!&lt;br /&gt;interface FastEthernet0/6&lt;br /&gt;!&lt;br /&gt;interface FastEthernet0/7&lt;br /&gt;!&lt;br /&gt;interface FastEthernet0/8&lt;br /&gt;!&lt;br /&gt;interface FastEthernet0/9&lt;br /&gt;!&lt;br /&gt;interface FastEthernet0/10&lt;br /&gt;!&lt;br /&gt;interface FastEthernet0/11&lt;br /&gt;!&lt;br /&gt;interface FastEthernet0/12&lt;br /&gt;!&lt;br /&gt;interface FastEthernet0/13&lt;br /&gt;!&lt;br /&gt;interface FastEthernet0/14&lt;br /&gt;!&lt;br /&gt;interface FastEthernet0/15&lt;br /&gt;!&lt;br /&gt;interface FastEthernet0/16&lt;br /&gt;!&lt;br /&gt;interface FastEthernet0/17&lt;br /&gt;!&lt;br /&gt;interface FastEthernet0/18&lt;br /&gt;!&lt;br /&gt;interface FastEthernet0/19&lt;br /&gt;!&lt;br /&gt;interface FastEthernet0/20&lt;br /&gt;!&lt;br /&gt;interface FastEthernet0/21&lt;br /&gt;!&lt;br /&gt;interface FastEthernet0/22&lt;br /&gt;!&lt;br /&gt;interface FastEthernet0/23&lt;br /&gt;!&lt;br /&gt;interface FastEthernet0/24&lt;br /&gt;!&lt;br /&gt;interface Vlan1&lt;br /&gt; ip address 192.168.1.75 255.255.255.0&lt;br /&gt;!&lt;br /&gt;line con 0&lt;br /&gt; password cisco&lt;br /&gt; login&lt;br /&gt;!&lt;br /&gt;line vty 0 4&lt;br /&gt; password cisco&lt;br /&gt; login&lt;br /&gt;line vty 5 15&lt;br /&gt; password cisco&lt;br /&gt; login&lt;br /&gt;!&lt;br /&gt;!&lt;br /&gt;end&lt;/blockquote&gt;&lt;br /&gt;14. labsw1# exit&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Test all connectivity: telnet and console to verify the changes.  The password for all connections is now "&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;cisco&lt;/span&gt;", or whatever password you chose for your lab.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1304305295846759911-8353190335693254359?l=hedgehogtech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1304305295846759911/posts/default/8353190335693254359'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1304305295846759911/posts/default/8353190335693254359'/><link rel='alternate' type='text/html' href='http://hedgehogtech.blogspot.com/2009/07/ccna-lab-6-cleanup.html' title='CCNA® Lab 6 - Cleanup'/><author><name>The Hedge</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_9ZysJBVVIiY/SmdDTcg6_iI/AAAAAAAAAGg/SuV45wAIJ5s/s72-c/switch+lab+4.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-1304305295846759911.post-9021781075941895058</id><published>2009-07-21T17:57:00.039-05:00</published><updated>2009-08-28T10:19:05.214-05:00</updated><title type='text'>CCNA® Lab 5 - Ethernet Address Management</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_9ZysJBVVIiY/SmYfqwBG_qI/AAAAAAAAAGY/8VzrsVUOo28/s1600-h/switch+lab+5.jpg"&gt;&lt;img style="float:center; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 118px;" src="http://2.bp.blogspot.com/_9ZysJBVVIiY/SmYfqwBG_qI/AAAAAAAAAGY/8VzrsVUOo28/s320/switch+lab+5.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5361007225735675554" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Lab 5 Goals&lt;/span&gt;&lt;blockquote&gt;&lt;br /&gt;● Understand Ethernet MAC addressing&lt;br /&gt;● Understand Address Resolution Protocol&lt;br /&gt;● Observe how Cisco® switches use MAC addresses&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Requirements:&lt;/span&gt; &lt;br /&gt;Cisco switch with Lab 1-3 configuration&lt;br /&gt;2 PCs with Ethernet ports, one with COM port.  IP addresses shown above. &lt;br /&gt;Cisco rollover cable&lt;br /&gt;2 Ethernet cables &lt;br /&gt;&lt;br /&gt;Understanding Ethernet MAC addresses and frames is critical to managing Cisco switches.  The CCNA exam will cover Layer 2 switching, and Ethernet MAC addressing is a critical component for the exam.  The following points need to be memorized:&lt;blockquote&gt; &lt;br /&gt;• Ethernet is a Layer 2 protocol.  &lt;br /&gt;• Ethernet addresses are composed of 48 bits, written as 12 hexadecimal digits.&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;An Ethernet address is composed of 2 parts:&lt;blockquote&gt;&lt;br /&gt;• 24 bits (six hexadecimal digits) for vendor identification, also called the “Organizationally Unique Identifier”, or OUI&lt;br /&gt;• 24 bits (six hexadecimal digits) for card or interface identification&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Example:&lt;/span&gt; &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;00-19-D2-49-1E-ED&lt;/span&gt;&lt;blockquote&gt;&lt;br /&gt;• &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;00-19-D2&lt;/span&gt; is the vendor identifier for the card manufacturer, Intel&lt;br /&gt;• &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;49-1E-ED&lt;/span&gt; is the card identifier&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Each Ethernet device has the address permanently encoded on, or “burned in” to the card or interface.  The MAC Address is also called the “BIA” or “burned-in address.” The BIA, or local address, is included in every Ethernet frame as the “source address”, or the address of the device transmitting the data.  &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Commands to display BIA MAC addresses:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;Windows:  &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;ipconfig /all&lt;/span&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Linux:   &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;ifconfig&lt;/span&gt; or &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;ifconfig -a&lt;/span&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Cisco:   &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;show version, show interface Fa0/x&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;The display of the Ethernet MAC Address is different for each operating system (O/S)&lt;ul&gt;&lt;br /&gt;&lt;li&gt;Windows: &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;00-19-D2-49-1E-ED&lt;/span&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Linux:  &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;00:19:D2:49:1E:ED&lt;/span&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Cisco uses different formats: &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;00:19:D2:49:1E:ED or 0019.D249.1EED&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;Cisco gives each switch an overall Ethernet address, and each interface on the switch with a unique address based on the overall address.  These addresses are displayed by the &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;show version&lt;/span&gt; command, and the &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;show interface Fa0/x&lt;/span&gt; command.  The addresses are related, varying only in the last byte.  The value of the last hexadecimal digits increments by the port number.  Example:&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;Switch Ethernet Address : 00:0F:90:41:9B:00&lt;br /&gt;&lt;br /&gt;Interface Fa0/1  : 000f.9041.9b01&lt;br /&gt;Interface Fa0/2  : 000f.9041.9b02&lt;br /&gt;Interface Fa0/3  : 000f.9041.9b03&lt;br /&gt;.&lt;br /&gt;Interface Fa012  : 000f.9041.9b0c&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;These addresses are critical to multi-switch networks for Spanning Tree (to follow soon), but are not important to the end devices (workstations, servers, routers, etc.) that use the switches.  Cisco uses “transparent switching”, which was based on “transparent bridging”.  “Transparent” means that the workstations, servers, and routers attached to a switch are unaware of the function of the switch infrastructure.  They are only concerned with the MAC addresses of the end devices, not the switches that carry the data.   &lt;br /&gt;&lt;br /&gt;Switches use the same &lt;a href="http://www.scribd.com/doc/17536102/Ethernet"&gt;process to learn Ethernet addresses&lt;/a&gt; that all Ethernet devices use: reading the source address field of every Ethernet frame that it receives.  A switch create a table of the known MAC addresses and the interfaces that support the connected devices.  To display the MAC Address table:&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;testlabsw1# show mac-address-table&lt;br /&gt;&lt;br /&gt;          Mac Address Table&lt;br /&gt;-------------------------------------------&lt;br /&gt;&lt;br /&gt;Vlan    Mac Address       Type        Ports&lt;br /&gt;----    -----------       --------    -----&lt;br /&gt; All    000f.9041.9b00    STATIC &amp;nbsp CPU&lt;br /&gt; All    0100.0ccc.cccc    STATIC      &amp;nbsp CPU&lt;br /&gt; All    0100.0ccc.cccd    STATIC      &amp;nbsp CPU&lt;br /&gt; All    0100.0cdd.dddd    STATIC      &amp;nbsp CPU&lt;br /&gt;   1&amp;nbsp&amp;nbsp 0011.9354.7230    DYNAMIC     Fa0/2&lt;br /&gt;   1&amp;nbsp&amp;nbsp 0018.18df.3281    DYNAMIC     Fa0/1 &lt;br /&gt; 402    0000.0c07.acc6    DYNAMIC     Fa0/6&lt;br /&gt; 402    000e.0cc7.04d2    DYNAMIC     Fa0/16&lt;br /&gt; 402    0012.1ea2.6cb0    DYNAMIC     Fa0/19&lt;br /&gt; 402    0060.2e02.aee3    DYNAMIC     Fa0/15&lt;br /&gt; 402    0080.8c02.70e1    DYNAMIC     Fa0/23&lt;br /&gt; 402    00e0.1eae.cdc8    DYNAMIC     Fa0/14&lt;br /&gt; 402    c288.6060.0d83    DYNAMIC     Fa0/12&lt;br /&gt; 403    0000.0c07.ac03    DYNAMIC     Fa0/3&lt;br /&gt; 403    000e.0c5c.d8b0    DYNAMIC     Fa0/10&lt;br /&gt; 403    0010.db65.66c0    DYNAMIC     Fa0/8&lt;br /&gt; 403    0018.19c1.0ac1    DYNAMIC     Fa0/9&lt;br /&gt; 404    0011.9354.7241    DYNAMIC     Fa0/4&lt;br /&gt; 410    0011.9354.7242    DYNAMIC     Fa0/5&lt;/span&gt;&lt;br /&gt;  &lt;br /&gt;There are two types of addresses: Static and Dynamic.  The “Static” addresses are internal to the switch.  The “Dynamic” addresses are the MAC addresses of the devices connected to the ports.  Our primary concern is the dynamic addresses.  The switch learns addresses “dynamically” by reading the source addresses of frames that entered the switch.  The switch uses these MAC addresses to create the MAC addresses table, or the list of addresses and the ports from which those addresses entered the switch.  The switch then uses the MAC address table to deliver, or forward, data.  The switch reads the Destination Address in each Ethernet frame, and delivers the data to the port associated with the Ethernet address.  A example from the above table:&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt; 403    0000.0c07.ac03    DYNAMIC     Fa0/3&lt;br /&gt; 403    000e.0c5c.d8b0    DYNAMIC     Fa0/10&lt;br /&gt; 403    0010.db65.66c0    DYNAMIC     Fa0/8&lt;br /&gt; 403    0018.19c1.0ac1    DYNAMIC     Fa0/9&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The process of delivering an Ethernet frame to the correct port is called “Frame Forwarding”.  The process:&lt;ul&gt;&lt;br /&gt;&lt;li&gt;The computer on FA0/3 creates a frame of data with the MAC address of the destination device: &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;0018.19c1.0ac1&lt;/span&gt;, in the Destination field.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;The computer puts its own MAC address in the Source field: &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;0000.0c07.ac03&lt;/span&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;The source computer sends the Ethernet frame to the switch.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;The switch reads the destination address field, &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;0018.19c1.0ac1&lt;/span&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;The switch then checks the MAC address table to find the interface for that device: Fa0/9&lt;/li&gt;&lt;br /&gt;&lt;li&gt;The switch forwards the Ethernet frame to interface Fa0/9&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;MAC Address learning&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If a new device with MAC address &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;0071.0c24.bd03&lt;/span&gt; is connected to interface Fa0/7, the switch will have no information about the device until it transmits data for the first time.  When the new device transmits data the first time,&lt;ul&gt;&lt;br /&gt;&lt;li&gt;the switch reads the source address in the Ethernet frame&lt;/li&gt;&lt;br /&gt;&lt;li&gt;the switch checks the MAC Address Table to see if the MAC address exists in the table.  It does not.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;Since it is a new device, the switch does not have the address in the MAC Address table for it.  When the device transmits data for the first time, the switch will create a new entry in the MAC address table:&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;403    0071.0c24.bd03    DYNAMIC     Fa0/7&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The switch uses this information to deliver data to this device.  &lt;br /&gt;&lt;br /&gt;Exercise: &lt;br /&gt;&lt;br /&gt;Before starting the lab, configure two PCs with the IP addresses shown in the diagram: 192.168.1.2 255.255.255.0 and 192.168.1.3 255.255.255.0.  Do not connect the PCs to the Ethernet ports on the switch until Step 4 below.   &lt;br /&gt;  &lt;br /&gt;1.Use the console connection, display the switch internal MAC address:&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;testlabsw1#show version&lt;br /&gt;Cisco Internetwork Operating System Software&lt;br /&gt;IOS (tm) C2950 Software (C2950-I6K2L2Q4-M), Version 12.1(22)EA6, RELEASE SOFTWARE (fc1)&lt;br /&gt;Copyright (c) 1986-2005 by cisco Systems, Inc.&lt;br /&gt;.&lt;br /&gt;(lines omitted)&lt;br /&gt;.&lt;br /&gt;32K bytes of flash-simulated non-volatile configuration memory.&lt;br /&gt;Base ethernet MAC Address: 00:09:43:CB:30:00&lt;br /&gt;Motherboard assembly number: 73-5781-09&lt;br /&gt;.&lt;br /&gt;(lines omitted)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Record the switch MAC Address:  ____________________________&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Note:&lt;/span&gt; Packet Tracer does not report on the internal switch MAC addresses in the &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;show mac-address-table&lt;/span&gt; display.  While this feature makes it easier to identify MAC addresses, be aware that it is not a normal display for an actual switch.  The Packet Tracer display is more like show mac-address-table dynamic. If you are using a real switch, the dynamic display will be more useful for this lab.&lt;br /&gt;&lt;br /&gt;If there are dynamically learned MAC address, clear the MAC address table, and verify no dynamic MAC addresses are in the table.&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;labsw1# clear mac-address-table dynamic&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;3.  Display and record the MAC addresses of PC1 and PC2, using the ipconfig /all command:&lt;br /&gt;&lt;br /&gt;PC1:  __________________________        &lt;br /&gt;Port: _________________&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;PC2:  __________________________        &lt;br /&gt;Port:  ________________&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;4.  Using  Ethernet cables, connect PC1 and PC2 to labsw1.  The lights on the interfaces should turn green, indicating that the connections are good.  Record the interfaces above (Fa0/1, Fa0/2, etc.)  Using the console connection, verify that the PC MAC addresses do not appear in the MAC Address table:&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;testlabsw1#sho mac-address-table dymanic&lt;br /&gt;          Mac Address Table&lt;br /&gt;-------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If there are addresses in the table, clear the MAC Address Table&lt;br /&gt;clear mac-address-table dynamic&lt;br /&gt;&lt;br /&gt;5.  From PC1, ping the IP address of PC2:&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt; C:&gt;\ping 192.168.1.3&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;6.  After the ping has completed successfully, display the MAC address table again.  The MAC addresses of PC1 and PC2 should be in the MAC Address table, as well as the interfaces used.&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;labsw1#sho mac-address-table&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;So how did it work?  You should see both MAC addresses listed in the MAC Address Table.  Make sure you understand this process.&lt;br /&gt;&lt;br /&gt;ARP - Address Resolution Protocol&lt;br /&gt;&lt;br /&gt;When you issued the ping from PC1 for the first time, you probably got a response like this:&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;Request timed out.&lt;br /&gt;Reply from 192.168.1.3: bytes=32 time=16ms TTL=255&lt;br /&gt;Reply from 192.168.1.3: bytes=32 time=31ms TTL=255&lt;br /&gt;Reply from 192.168.1.3: bytes=32 time=32ms TTL=255&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The first reply is where the entire process of MAC Address learning happened.  The process:&lt;br /&gt;&lt;br /&gt;1.The ping command is typed and entered: &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;ping 192.168.1.3&lt;/span&gt;.  The system will issue four ping commands, with 5 second timeout between each unsuccessful ping.  The timer starts for the first ping.&lt;br /&gt;&lt;br /&gt;2.PC1 checks its ARP cache to find the MAC address for &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;192.168.1.3&lt;/span&gt;.  (Windows command: &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;arp –a&lt;/span&gt;).  There is no entry for &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;192.168.1.3&lt;/span&gt;. &lt;br /&gt;&lt;br /&gt;3.PC1 needs to get a MAC address for &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;192.168.1.3&lt;/span&gt;.  To learn the address, PC1 issued an ARP (Address Resolution Protocol).  An ARP request is a broadcast frame that says “&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;Who has IP address 192.168.1.3&lt;/span&gt;?”  The Ethernet frame from PC1 has all “1’s” in the Destination Address field (broadcast) and its own MAC address in the Source Address field:&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt; 0010.11d7.d0c0&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;4.While the ARP request is processing, so does timer for the ping.  &lt;br /&gt;&lt;br /&gt;5.Switch labsw1 reads the ARP request and learns that MAC address &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;0010.11d7.d0c0&lt;/span&gt; is on interface FA0/1. &lt;br /&gt;&lt;br /&gt;6.Switch labsw1 updates the MAC Address table with &lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;  1    0010.11d7.d0c0    DYNAMIC     Fa0/1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;7.Switch labsw1 then forwards the ARP broadcast out all active interfaces (&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;up, up&lt;/span&gt;), except for FA0/1.  In this case, only FA0/2 is "&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;up, up&lt;/span&gt;".&lt;br /&gt;&lt;br /&gt;8.PC2 sees the ARP request, knows that it has IP address &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;192.168.1.3&lt;/span&gt;, and replies back to PC1 to notify PC1 that it has the requested IP address.  It uses the PC1 MAC address for the destination, and its own MAC address for the source Address: &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;00D0.BA00.D536&lt;/span&gt;.  The frame is transmitted to switch labsw1.&lt;br /&gt;&lt;br /&gt;9.Switch labsw1 reads the source MAC address table and discovers that the MAC address for PC2 is new.  The switch updates the MAC Address Table with the PC2 MAC address on interface FA0/2:&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;1    00d0.ba00.d536    DYNAMIC     Fa0/2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;10.Now switch labsw1 has a MAC Address Table that looks like:&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;br /&gt;          Mac Address Table&lt;br /&gt;-------------------------------------------&lt;br /&gt;Vlan    Mac Address       Type        Ports&lt;br /&gt;----    -----------       --------    -----&lt;br /&gt;   1    0010.11d7.d0c0    DYNAMIC     Fa0/1&lt;br /&gt;   1    00d0.ba00.d536    DYNAMIC     Fa0/2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;11. Switch labsw1 reads the Destination Address field and finds MAC Address&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt; 0010.11d7.d0c0&lt;/span&gt;.  Switch labsw1 reads the MAC Address table and sees that &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;0010.11d7.d0c0&lt;/span&gt; is on interface FA0/1.&lt;br /&gt;&lt;br /&gt;12.Switch labsw1 forwards the Ethernet frame out interface FA0/1.&lt;br /&gt;&lt;br /&gt;13.By now, the first ping request has timed out.  It returns &lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;Request timed out.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;14.PC1 now has a MAC address for PC2.  PC1 creates the second ping request using the MAC address of PC2 as the Destination MAC address.  PC1 transmits the frame to switch labsw1.&lt;br /&gt;&lt;br /&gt;15.Switch labsw1 looks at the Destination MAC Address, refers to the table, and transmits the frame out interface FA0/2.&lt;br /&gt;&lt;br /&gt;16.PC2 sees the ping request from PC1, creates a reply using PC1’s MAC address as the destination and its own address as the source.  PC2 transmits the reply to labsw1.&lt;br /&gt;&lt;br /&gt;17.Labsw1 forwards the reply to PC1 based on the MAC address table.&lt;br /&gt;&lt;br /&gt;18.This process is repeated until PC1 has issued all of the ping requests. Since all devices: PC1, PC2 and labsw1, know about the MAC addresses, each ping and reply is processed in less than 2 seconds, and the requests do not time out.&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;Reply from 192.168.1.3: bytes=32 time=16ms TTL=255&lt;br /&gt;Reply from 192.168.1.3: bytes=32 time=31ms TTL=255&lt;br /&gt;Reply from 192.168.1.3: bytes=32 time=32ms TTL=255&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Summary&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Two critical processes have been demonstrated in Lab 5:&lt;br /&gt;Address management: address learning, MAC address updates, data forwarding&lt;br /&gt;ARP: Address Resolution Protocol&lt;br /&gt;&lt;br /&gt;These are critical processes, both for the CCNA® exam, as well as for managing a Cisco network.  Repeat this lab as often as needed to fully understand these processes.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1304305295846759911-9021781075941895058?l=hedgehogtech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1304305295846759911/posts/default/9021781075941895058'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1304305295846759911/posts/default/9021781075941895058'/><link rel='alternate' type='text/html' href='http://hedgehogtech.blogspot.com/2009/06/ccna-lab-5-ethernet-address-management.html' title='CCNA® Lab 5 - Ethernet Address Management'/><author><name>The Hedge</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_9ZysJBVVIiY/SmYfqwBG_qI/AAAAAAAAAGY/8VzrsVUOo28/s72-c/switch+lab+5.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-1304305295846759911.post-104707437476109136</id><published>2009-07-19T13:25:00.006-05:00</published><updated>2009-07-21T13:13:21.867-05:00</updated><title type='text'>Ethernet Roundup</title><content type='html'>Lab 5 will introduce switch management of Ethernet addresses for forwarding and filtering decisions.  Understanding everything about Ethernet is critical to passing the CCNA® exam.  There is a lot of quality information about Ethernet available on the Internet, and we will not try to reinvent very good wheels that are already turning.  If you have a CCNA® study guide such as Cisco's or Sybex's books, they also have excellent discussions of Ethernet.  &lt;br /&gt;&lt;br /&gt;We have included our high level discussion of &lt;a href="http://www.scribd.com/doc/17536102/Ethernet"&gt;Ethernet addressing&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;We also recommend&lt;br /&gt;&lt;a href="http://en.wikipedia.org/wiki/10BASE5"&gt;&lt;br /&gt;Wikipedia - 10Base5&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://en.wikipedia.org/wiki/10BASE2"&gt;Wikipedia - 10Base2&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://en.wikipedia.org/wiki/Ethernet_over_twisted_pair"&gt;Wikipedia - 10BaseT&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Collision domains and CSMA-CD (Collision domains are back by popular demand!  Included free of charge in every wireless network!  Sort of.)  Here are documents used at Hedgehog Tech on these subjects.  These are intended for people with little experience with Ethernet broadcasts and collisions.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.scribd.com/doc/17536104/Broadcast-Domains"&gt;Broadcast domains&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.scribd.com/doc/17536106/Collision-Domains"&gt;&lt;br /&gt;Collision Domains&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1304305295846759911-104707437476109136?l=hedgehogtech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1304305295846759911/posts/default/104707437476109136'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1304305295846759911/posts/default/104707437476109136'/><link rel='alternate' type='text/html' href='http://hedgehogtech.blogspot.com/2009/07/ethernet-roundup.html' title='Ethernet Roundup'/><author><name>The Hedge</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-1304305295846759911.post-2682062801006070738</id><published>2009-06-29T10:08:00.009-05:00</published><updated>2009-06-29T13:32:28.344-05:00</updated><title type='text'>Cisco Router-Switch Memory</title><content type='html'>Any discussion of managing devices configurations must start with a discussion of memory on Cisco devices. &lt;br /&gt;&lt;br /&gt;If all steps were followed in Labs 1 and 2, the switch, labsw1, has two copies of the configuration: the running configuration (&lt;em&gt;running-config&lt;/em&gt;) and the startup configuration stored on the switch (&lt;em&gt;startup-config&lt;/em&gt;).  The startup configuration is stored on the switch even with the switch is powered down.  The running configuration only exists when the switch is powered on, and the startup-config is loaded into RAM.  These two configurations are stored in different memory on the switch.  &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Types of Memory&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Cisco devices have four types of memory:&lt;blockquote&gt;&lt;br /&gt;• ROM&lt;br /&gt;• Flash memory&lt;br /&gt;• NVRAM - Non-volatile RAM&lt;br /&gt;• RAM, sometimes called DRAM (Dynamic Random Access Memory)&lt;/blockquote&gt;&lt;br /&gt;&lt;strong&gt;ROM&lt;/strong&gt; is the least exciting and holds very important low level processes.  One such process is the POST process used at bootup: Power On Self Test.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Flash&lt;/strong&gt; memory holds a copy of the IOS. It is not affected by a loss of power, wihch insures that a copy of IOS is available at bootup.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;NVRAM&lt;/strong&gt;, Non-volatile RAM, stores the startup configuration. It is not affected by power loss, which insures that a copy of the startup configuration is available at bootup.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;RAM&lt;/strong&gt; memory is where all of the work of switching and routing take place.  The IOS loads into RAM, then the startup configuration, and finally, the device begins to do its work.  All information held in RAM is lost when power is lost or the device is reloaded.&lt;br /&gt;&lt;br /&gt;Understanding how memory is used during the boot process may also be on the exam.  The (simple) boot process for routers and switches:&lt;br /&gt;&lt;ol&gt;&lt;br /&gt;&lt;li&gt;Power-on self-test (POST)&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Read IOS into RAM from Flash memory&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Read startup-config into DRAM from NVRAM&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;At this point, the device has a running configuration.&lt;br /&gt;&lt;br /&gt;Cisco emphasizes that there are two configurations in the router or switch.  The two configurations are the startup-config and the running-config.  Normally, the data in these two file should be the same; however, it is important to remember that commands entered in configuration mode (configure terminal) are made to the running-config, not to the startup-config.  If changes are made, but not saved, the running-config and the startup-config are not the same, and the changes will not available when the switch or router or switch is rebooted.&lt;br /&gt;&lt;br /&gt;Changes made to the running-config are saved to the startup-config by the command "&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;copy running-config startup-config&lt;/span&gt;".  This command copies the running configuration from DRAM to NVRAM.  The saved configuration will be used at the next reboot.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1304305295846759911-2682062801006070738?l=hedgehogtech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1304305295846759911/posts/default/2682062801006070738'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1304305295846759911/posts/default/2682062801006070738'/><link rel='alternate' type='text/html' href='http://hedgehogtech.blogspot.com/2009/06/cisco-router-switch-memory.html' title='Cisco Router-Switch Memory'/><author><name>The Hedge</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-1304305295846759911.post-5581238951548736871</id><published>2009-06-29T06:30:00.049-05:00</published><updated>2009-08-02T08:41:04.813-05:00</updated><title type='text'>CCNA® Lab 4 - TFTP Server and Configuration Backup</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_9ZysJBVVIiY/SkioE5QRZ-I/AAAAAAAAAGI/I7FaTbGKfd4/s1600-h/switch+lab+4.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 114px;" src="http://3.bp.blogspot.com/_9ZysJBVVIiY/SkioE5QRZ-I/AAAAAAAAAGI/I7FaTbGKfd4/s320/switch+lab+4.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5352712959171848162" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Lab 4 Goals&lt;/span&gt;&lt;blockquote&gt;&lt;br /&gt;● Explain locations for Cisco® device configuration &lt;br /&gt;● Back up switch configuration to an external TFTP server &lt;br /&gt;● Configure switch using the external configuration&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Requirements &lt;/span&gt;&lt;blockquote&gt;&lt;br /&gt;● Cisco switch configured with basic configuration from Labs 2 and 3 &lt;br /&gt;● PC with COM port, Ethernet port, TFTP server software &lt;br /&gt;● Cisco rollover cable &lt;br /&gt;● Ethernet cable&lt;/blockquote&gt;&lt;br /&gt;&lt;strong&gt;Process&lt;/strong&gt;&lt;blockquote&gt;&lt;br /&gt;● Connect the rollover cable and the Ethernet cable to PC1 &lt;br /&gt;● Configure the PC to the IP address shown above: 192.168.1.3 255.255.255.0 &lt;br /&gt;● Power on the switch and manage the switch using the console connection&lt;/blockquote&gt;&lt;br /&gt;&lt;strong&gt;Background&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Cisco considers three device configuration files for the same device:&lt;ul&gt;&lt;br /&gt;&lt;li&gt;The running-config that resides in RAM and actually controls the device functions&lt;/li&gt;&lt;br /&gt;&lt;li&gt;The startup-config that resides in NVRAM, and is loaded when the device boots&lt;/li&gt;&lt;br /&gt;&lt;li&gt;An external copy of the configuration, stored on a TFTP server&lt;/li&gt;&lt;/UL&gt;&lt;br /&gt;The problem is that these configuration files are not automatically synchronized, and therefore, there can be differences between the configurations.  As you have seen in Labs 2 and 3, configuration changes are made to the running-config.  They are not saved until the command "&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;copy running-config startup-config&lt;/span&gt;" backs up the running configuration&lt;/li&gt;.  If changes are not saved, the "old" configuration will load the next time the device boots, and the device will not function as it is supposed to.  Usually, a process that a customer considers very important stops working. &lt;br /&gt;&lt;br /&gt;This can be an exciting time in a network, with much loud discussion about why a customer isn't working as they should.  The customer expresses their concern to management, usually loudly, and management expresses their concerns to the technicians, usually loudly. Then a technician remembers that changes were made, finds the work order or change document, and makes the changes.  Eventually the customer and management calm down and may even forget that the problem happened.  Until the next time someone forgets to save changes made to a device.&lt;br /&gt;&lt;br /&gt;Unfortunately, this happens more often than you might think. The solution to this problem is simple: save the changed configuration with the command "&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;copy running-config startup-config&lt;/span&gt;".  &lt;br /&gt;&lt;br /&gt;While the problem above was caused by incomplete procedures and carelessness, a larger problem occurs when a device fails completely. If the only configurations are stored on the device as the running and startup configurations, the only method of recovering the configuration is to type it all in again, hoping that someone remembers everything that should be in the configuration.  Life is not usually so kind.  Technicians do not document their processes so well.  After all, these were the same technicians that forgot to back up the configuration to the startup-config.&lt;br /&gt;&lt;br /&gt;Cisco provided a solution.  The IOS has the capability to move configurations between the router or switch, and an external server.  This process uses an IP protocol called Trivial File Transfer Protocol: TFTP.  Because the protocol is TFTP, the server is usually called a TFTP server (even though there can be other applications running on the server).  &lt;br /&gt;&lt;br /&gt;This lab will use TFTP to backup up a configuration and to restore the configuration to labsw1.  The TFTP server should be connected to labsw1, which has the configuration from Labs 2 and 3.  If you have have a hardware lab, you must have a &lt;a href="http://hedgehogtech.blogspot.com/2009/06/ccna-labs-software-for-your-lab.html"&gt;TFTP server&lt;/a&gt;. The IP address for the TFTP server is 192.168.1.3  255.255.255.0.  If you are using &lt;em&gt;Packet Tracer&lt;/em&gt;, install a generic server, configure it with IP address 192.168.1.3 255.255.255.0, and make sure that TFTP is "on." &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Backing up the configuration to a TFTP server&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;The format for all copy commands is the same:&lt;blockquote&gt;&lt;br /&gt;copy [existing-location] [target-location]&lt;/blockquote&gt;&lt;br /&gt;For the copy command used in previous labs&lt;blockquote&gt; &lt;br /&gt;• the existing location was the running-config &lt;br /&gt;• the target location was the startup-config &lt;/blockquote&gt;&lt;br /&gt;The command to save the configuration is &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;blockquote&gt;copy running-config startup-config&lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;Saving a configuration to a TFTP server uses the same format.  To copy the running configuration to the TFTP server:&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;blockquote&gt;copy running-config tftp&lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;To restore a configuration from a TFTP server to a new device, a similar copy command is used.  The existing location is the TFTP server, and target location is the startup-config (never, never, copy a configuration to the running config.  The configuration is merged with the existing configuration, and may cause problems).  &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;The TFTP copy process&lt;/strong&gt;  &lt;br /&gt;&lt;br /&gt;The process is always done in the router or switch.  Before starting the copy process, it is advisable to test connectivity with a ping from the router or switch to IP address of the TFTP server: &lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;blockquote&gt;&lt;br /&gt;1.  labsw1&gt;ping 192.168.1.3&lt;/span&gt; If the test fails, check equipment configuration and connectivity."&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;2. labsw1&gt; enable &lt;/span&gt; (Enter the enable password when prompted)"&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;3. labsw1 # copy run tftp&lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;Copying a configuration to a TFTP server will result in two prompts.  The first prompt is for the IP address or DNS name of the server(DNS not yet covered). The IP address is 192.168.1.3.&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;blockquote&gt;&lt;br /&gt;4. Address or name of remote host []? 192.168.1.3&lt;br /&gt;5. Destination filename [labsw1-confg]?&lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;Pressing Enter will accept the default name “labsw1-config”.  The name can be changed if desired, for example, to labsw1."&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;blockquote&gt;&lt;br /&gt;6. Destination filename [labsw1-config]? labsw1&lt;br /&gt;!!!!!!!!!&lt;/blockquote&gt;&lt;br /&gt;“!!!!!!!&lt;/span&gt;” is an indication that the copy process is working successfully.  If the attempt was unsuccessful, the indication would be “&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;....&lt;/span&gt;”  If the copy is unsuccessful, check connectivity by a ping from the PC to the switch, and by verifying the function and configuration of the TFTP server software.  Ping the IP address of the TFTP server to verify connectivity.&lt;br /&gt;&lt;br /&gt;Depending on your system, it is possible to view the stored configuration on the TFTP server. The file is an ASCII file, and it will reside in the directory that you specified for the TFTP files.  From a command prompt on the PC, use the "type" or "more" command to view the file.  Notice that it is the same as the show running-config display on the switch.&lt;br /&gt;&lt;br /&gt;Packet Tracer will show that the file was copied, but does not allow you to view the contents of the file.  Verify the existence of the file by using Config &gt; Services &gt; TFTP.  The file should be near the bottom of the list.&lt;br /&gt;&lt;br /&gt;Test the restoration of the configuration from the TFTP server.  To test, it is necessary to delete the startup configuration and reload the switch.  Reloading the switch after deleting the startup configuration will return the switch to factory defaults.  To delete the startup configuration:&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;blockquote&gt;&lt;br /&gt;7.  labsw1# erase startup-config&lt;br /&gt;Erasing the nvram filesystem will remove all configuration files! Continue? [confirm]&lt;br /&gt;Press Enter to confirm &lt;br /&gt;[OK]&lt;br /&gt;Erase of nvram: complete&lt;br /&gt;03:52:58: %SYS-7-NV_BLOCK_INIT: Initalized the geometry of nvramload&lt;br /&gt;8. labsw1#reload&lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;You may be presented with the following prompt:&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;blockquote&gt;&lt;br /&gt;System configuration has been modified. Save? [yes/no]: &lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;Replying “&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;yes&lt;/span&gt;” to save the configuration will be the same as the command “copy run start.”  The goal is to reload the switch with no configuration.  Reply “&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;no”&lt;/span&gt;.&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;blockquote&gt;&lt;br /&gt;Proceed with reload? [confirm] Press Enter&lt;br /&gt;03:53:05: %SYS-5-RELOAD: Reload requested&lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;When the reload is complete, you will see &lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;blockquote&gt;&lt;br /&gt;Press RETURN to get started!&lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Press Enter, and the switch will prompt:&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;blockquote&gt;&lt;br /&gt;Switch &gt;&lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Before the configuration can be restored from the TFTP server, the switch must be configured with enough information that it can communicate with the TFTP server.  For this lab, the interface VLAN 1 configuration must be restored.&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;blockquote&gt;&lt;br /&gt;9. Switch&gt; enable&lt;br /&gt;10. Switch# configuration terminal&lt;br /&gt;11. Switch (config)#interface VLAN 1&lt;br /&gt;12. Switch (config-if)# IP address 192.168.1.75 255.255.255.0 &lt;br /&gt;13. Switch (config-if)# no shutdown&lt;br /&gt;14. Switch (config-if)#Crtl-Z&lt;br /&gt;Switch#&lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;At this point, the switch should be able to communicate with the TFTP server.  To test the configuration, ping the IP address of the TFTP server::&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;blockquote&gt;&lt;br /&gt;15. Switch # ping 192.168.1.3 &lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;The ping should be successful.&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;blockquote&gt;&lt;br /&gt;Sending 5, 100-byte ICMP Echos to 192.168.1.3, timeout is 2 seconds:&lt;br /&gt;.!!!!&lt;br /&gt;Success rate is 80 percent (4/5), round-trip min/avg/max = 31/31/31 ms&lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;If the ping is successful, it will be possible to restore the configuration.  From the switch:&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;blockquote&gt;&lt;br /&gt;16. Switch# copy tftp start&lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;The information required to complete the copy is the same information above.  Respond to the prompt with the information provided.&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;blockquote&gt;&lt;br /&gt;17. Address or name of remote host []? 192.168.1.3 &lt;br /&gt;18. Source filename []? labsw1 &lt;/span&gt;(Note: name must exactly match the name of the file saved above in Step 3.)&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;19. Destination filename [startup-config]? Press Enter to accept&lt;br /&gt;Accessing tftp://192.168.1.3/labsw1-config...&lt;br /&gt;Loading labsw1 from 192.168.0.3 (via Vlan1): !!!!&lt;br /&gt;[OK - 1459 bytes]&lt;br /&gt;[OK]&lt;br /&gt;1459 bytes copied in 18.456 secs (79 bytes/sec)&lt;br /&gt;&lt;br /&gt;Switch#&lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;The copy was successful.  The startup configuration can be viewed before reloading&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;blockquote&gt;&lt;br /&gt;20. Switch# show startup-config&lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The startup configuration should contain the same information created in Labs 2 and 3.  Reload the switch to move the startup configuration into the running configuration.&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;blockquote&gt;&lt;br /&gt;21. Switch# reload&lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;The switch will reload with the labsw1 configuration.  Test the passwords, etc., and verify that the configuration is the one that was created in Labs 1 and 2.&lt;br /&gt;&lt;br /&gt;Note:  This lab is a very simple example of using a TFTP server.  The server is in the same network/subnet as the switch.  That will not be true in most networks.  Missing from this example is a default gateway, required for most enterprise networks.  The default gateway is related to routing, and will be covered in later labs.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1304305295846759911-5581238951548736871?l=hedgehogtech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1304305295846759911/posts/default/5581238951548736871'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1304305295846759911/posts/default/5581238951548736871'/><link rel='alternate' type='text/html' href='http://hedgehogtech.blogspot.com/2009/06/ccna-lab-4-backing-up-your.html' title='CCNA® Lab 4 - TFTP Server and Configuration Backup'/><author><name>The Hedge</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_9ZysJBVVIiY/SkioE5QRZ-I/AAAAAAAAAGI/I7FaTbGKfd4/s72-c/switch+lab+4.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-1304305295846759911.post-7907894307251396567</id><published>2009-06-28T17:12:00.001-05:00</published><updated>2009-06-28T17:15:04.400-05:00</updated><title type='text'>Cisco CCNA® Commands - Appendix A</title><content type='html'>Appendix A is used to document the commands used in the labs, and it will grow as new commands are introduced in the labs.  The goal is to document every command used, but not every command available.  It is possible to print every IOS command available, but it is highly recommended that you get a new print cartridge and several reams of paper before you begin.  There are a lot of commands.&lt;br /&gt;These commands need to be memorized and understood.  They will be used on the exam, and they will be used in any position managing Cisco devices.  You got to know the commands.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Enable command&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The enable command is required to access the higher functions of Privileged EXEC mode.  Enable mode is usually protected by a password (see below).  Privileged EXEC mode is indicated by the pound sign (#) in the prompt.&lt;br /&gt;&lt;strong&gt;Show commands&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Show commands are used to display information about the router or switch. &lt;br /&gt;&lt;style type="text/css"&gt;.nobrtable br { display: none }&lt;/style&gt;&lt;br /&gt;&lt;div class="nobrtable"&gt;&lt;br /&gt;&lt;table border=”1”&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;th&gt;Command&lt;/th&gt;&lt;br /&gt;&lt;th&gt;Purpose&lt;/th&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;td&gt;show running-config&lt;/td&gt;&lt;br /&gt;&lt;td&gt;Displays the active, or current, configuration.  The running configuration exits in RAM and is lost when the router or switch is rebooted.&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;show startup-config&lt;/td&gt;&lt;br /&gt;&lt;td&gt;Displays the stored configuration.  The startup configuration is stored in Flash memory and is loaded into RAM when the router or switch is rebooted.&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;show version&lt;/td&gt;&lt;br /&gt;&lt;td&gt;Displays the version of the IOS, as well as information about the hardware configuration of the router or switch.&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;show interface [Interface type] [Inteface x/y]&lt;/td&gt;&lt;br /&gt;&lt;td&gt;Displays status of any interface: Serial, Ethernet, VLAN, loopback, etc.  The most common physical interfaces for a router are serial and Ethernet/Fast Etherenet/Gigabit Ethernet.  The most common physical interfaces for a switch are Fast Ethernet/Gigabit Ethernet.&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;show ip interface brief&lt;/td&gt;&lt;br /&gt;&lt;td&gt;Displays a summary of the status of all interfaces on a router or switch.&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;show vlan&lt;/td&gt;&lt;br /&gt;&lt;td&gt;Displays all VLANs on a switch and the ports assigned to each VLAN.&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;/table&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;strong&gt;Configuration Commands&lt;/strong&gt;&lt;br /&gt;Configuration commands are used to change the configuration of a router or switch.  When configuration mode is invoked by the configuration terminal command, the router or switch is in global configuration mode.  Commands entered in global configuration mode either&lt;blockquote&gt;&lt;br /&gt;•Affect the entire router or switch&lt;br /&gt;•Enter a specific configuration mode, such as interface configuration mode, line configuration mode, etc.&lt;/blockquote&gt;&lt;br /&gt;&lt;style type="text/css"&gt;.nobrtable br { display: none }&lt;/style&gt;&lt;br /&gt;&lt;div class="nobrtable"&gt;&lt;br /&gt;&lt;table border=”1”&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;th&gt;Command&lt;/th&gt;&lt;br /&gt;&lt;th&gt;Purpose&lt;/th&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;configure terminal&lt;/td&gt;&lt;br /&gt;&lt;td&gt;Invokes global configuration mode in the Command Line Interface (CLI).  Indicated by (config) in the prompt.&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;hostname [text]&lt;/td&gt;&lt;br /&gt;&lt;td&gt;Creates a custom host name.  The hostname value can be any alpha-numeric value,but must start with an alpha character.  The hostname is documentation; that is, it does not affect the function of the router or switch.&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;enable password [text]&lt;/td&gt;&lt;br /&gt;&lt;td&gt;Creates an enable password required to access Privileged EXEC mode. Used to prevent unauthorized access to higher level functions, such as configuration changes.  The enable password is stored in clear text and is considered vulnerable.&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;enable secret [text]&lt;/td&gt;&lt;br /&gt;&lt;td&gt;Creates an encrypted password required to access Privileged EXEC mode. Used to prevent unauthorized access to higher level functions, such as configuration changes.  An enable secret password will have priority over an enable password.  Enable secret passwords are considered more secure.&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;line console 0&lt;/td&gt;&lt;br /&gt;&lt;td&gt; Used to access console configuration mode.&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;line vty 0 15&lt;/td&gt;&lt;br /&gt;&lt;td&gt; Accesses vty configuration mode.  vty provides remote, telnet management.  In line vty mode, all following configurations for vty apply to all 16 lines (0 – 15)(Note: older versions of IOS may be limited to 5 sessions: line vty 0 4)&lt;/td&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;password [text]&lt;/td&gt;&lt;br /&gt;&lt;td&gt;Used to configure all management lines: console, vty, auxilliary (aux one routers only. Creates a password required to access the router or switch&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;login&lt;/td&gt;&lt;br /&gt;&lt;td&gt;Used to configure all management lines: console, vty, auxilliary (aux one routers only.Requires the use of the password created by the password command.&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt; Crtl-Z&lt;/td&gt;&lt;br /&gt;&lt;td&gt; Control key + “z” key.  Terminates configuration mode&lt;/td&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;/table&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;strong&gt;Interface Configuration Mode&lt;/strong&gt;&lt;br /&gt;Interface configuration mode is accessed from global configuration.  Interface configuration mode is invoked when an interface is specified in Global Configuration Mode.&lt;br /&gt;&lt;style type="text/css"&gt;.nobrtable br { display: none }&lt;/style&gt;&lt;br /&gt;&lt;div class="nobrtable"&gt;&lt;br /&gt;&lt;table border=”1”&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;th&gt;Command&lt;/th&gt;&lt;br /&gt;&lt;th&gt;Purpose&lt;/th&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;interface [type][slot#/port#]&lt;/td&gt;&lt;br /&gt;&lt;td&gt; The interface types installed on a router or switch can be displayed by using the "show ip interface brief" command.  &lt;a href="http://www.petri.co.il/csc_how_router_interfaces_get_their_names_on_cisco_routers.htm"&gt;For an explanation of slot and port...&lt;/a&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;description [text]&lt;/td&gt;&lt;br /&gt;&lt;td&gt;Documentation for the interface.  Does not affect interface function.&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;speed [10, 100, 1000]&lt;/td&gt;&lt;br /&gt;&lt;td&gt;Disables auto-negotiation for interface data transfer rate on Ethernet/Fast Ethernet/Gigabit Ethernet iterface and configures the interface for a single speed.  Each interface has a maximum speed: Ethernet: 10Mbps, Fast Ethernet: 100Mbps, Gigabit: 1,000MBPS.  An interface can run at lower speeds, but cannot exceed maximum rate for the interface (An Ethernet interface cannot run 10Mbps, a Fast Ethernet can run 10Mbps or 100Mbps, but it cannot run 1,000Mbps, etc.)&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;duplex [full half]&lt;/td&gt;&lt;br /&gt;&lt;td&gt;Establishes duplex for data transfer.  Half duplex can transmit and receive, but not at the same time.  Full duplex can transmit and receive at the same time.  Full duplex mode disables CSMA-CD.&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;ip address [x.x.x.x y.y.y.y]&lt;/td&gt;&lt;br /&gt;&lt;td&gt;Assigns an IP address to an interface.  Note: all router interfaces can be assigned an IP address.  One layer 2 switches such as the 2950, only the VLAN interface can be assigned an IP address.&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;shutdown/ no shutdown&lt;/td&gt;&lt;br /&gt;&lt;td&gt; Shutdown disables an interface in IOS.  It will not activate and transfer data.  No shutdown reverses the shutdown command, allowing the interface to activate if all connectivity requirements are met.&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;/table&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;strong&gt;Configuration Management Command&lt;/strong&gt;&lt;br /&gt;The following commands are used to store configurations, delete configurations and load configurations.  All configuration commands must be entered in Privileged EXEC (enable) mode.  &lt;br /&gt;&lt;style type="text/css"&gt;.nobrtable br { display: none }&lt;/style&gt;&lt;br /&gt;&lt;div class="nobrtable"&gt;&lt;br /&gt;&lt;table border=”1”&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;th&gt;Command&lt;/th&gt;&lt;br /&gt;&lt;th&gt;Purpose&lt;/th&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;copy&lt;/td&gt;&lt;br /&gt;&lt;td&gt;The copy command is used to copy router and switch configurations to different locations.  The command requires two locations or qualifiers:&lt;blockquote&gt;  &lt;br /&gt;• the location of the configuration to be copied: running-config, startup-config, TFTP (server). &lt;/blockquote&gt; &lt;blockquote&gt;&lt;br /&gt;• the location where the configuration will be stored: running-config, startup-config, TFTP (server).&lt;/blockquote&gt;&lt;blockquote&gt;&lt;br /&gt;Example: &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt; copy running-config startup-config &lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;copies the active configuration in RAM to Flash memory.&lt;br /&gt;&lt;br/&gt;&lt;br /&gt;The running-config exists in RAM, the startup-config exists in Flash.  TFTP indicates a remote TFTP server to store the configuration.  Using the command to save the startup-config or to copy to a TFTP server overwrites the existing configuration.  Used the copy command to copy to the running configuration merges the changes with the existing running-config.&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;erase startup-config&lt;/td&gt;&lt;br /&gt;&lt;td&gt;Command erases the startup-config.  Used to restore router or switch to factory defaults.&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;/table&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1304305295846759911-7907894307251396567?l=hedgehogtech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1304305295846759911/posts/default/7907894307251396567'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1304305295846759911/posts/default/7907894307251396567'/><link rel='alternate' type='text/html' href='http://hedgehogtech.blogspot.com/2009/06/cisco-ccna-commands-appendix.html' title='Cisco CCNA® Commands - Appendix A'/><author><name>The Hedge</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-1304305295846759911.post-7566446351319966672</id><published>2009-06-28T17:06:00.011-05:00</published><updated>2009-07-17T14:09:25.494-05:00</updated><title type='text'>CCNA® Labs - Software for Your Lab</title><content type='html'>&lt;blockquote&gt;• TFTP server&lt;br /&gt;• Syslog server&lt;br /&gt;• DNS &lt;/blockquote&gt;&lt;br /&gt;If you don’t know what these are, you will.  In fact, we will be using TFPT in the Lab 4, the next lab.  Syslog and DNS will be covered in later labs.&lt;br /&gt;&lt;br /&gt;This section applies to labs that are using Cisco routers and switches instead of a simulator.  If you are using a simulator, these functions may be included in the software.  Packet Tracer, for example, has TFTP support and DNS support, but it does not include a syslog server.  To install these services in Packet Tracer, first chose a generic server from the End Devices and connect it to the switch.  Then verify in the Config section that TFTP and DNS are “on.”&lt;br /&gt;&lt;br /&gt;The following software is used in the Hedgehog labs, and provides support for all three services: TFTP, syslog and DNS, as well as two services not needed: FTP and DHCP.  The software is free, and, so far, has presented no performance problems on the PC that supports them (more on this below).  There are other software packages that perform the same functions very well, and are also free.  If you are running Linux or UNIX in your lab, support for these functions is included in the operating system.  Usually a few configuration changes are all that are needed to start the services.  If you are running an Apple system, well.......&lt;br /&gt;&lt;br /&gt;&lt;a href="http://support.3com.com/software/utilities_for_windows_32_bit.htm"&gt;3CDaemon v.2 for Win32 from 3Com&lt;/a&gt; – TFPT, syslog, and FTP server support&lt;br /&gt;&lt;br /&gt;&lt;a href="http://sourceforge.net/project/showfiles.php?group_id=132995&amp;package_id=146064"&gt;Dual DHCP DNS Server from Sourceforge&lt;/a&gt; – DHCP and DNS&lt;br /&gt;&lt;br /&gt;Both software packages are free, and come with no nagging messages.  We run both packages on a system that is considerable slower than any new PC on the market today:&lt;blockquote&gt;&lt;br /&gt;• Dell PC 2.4Ghz single processor&lt;br /&gt;• 512meg of RAM&lt;br /&gt;• Windows 2000&lt;/blockquote&gt;&lt;br /&gt;The system has experienced no performance issues even when other programs such as putty and a web browser are used, too.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;3CDaemon v.2 for Win32 from 3Com&lt;/span&gt; is easy to configure.  Create directories for the TFTP files and the syslog files in My Documents, or any directory that is easy to remember.  Configure the services to use these directories, and the task is complete.  We recommend that you name the directories &lt;em&gt;tftp&lt;/em&gt;, or something similar, and &lt;em&gt;syslog&lt;/em&gt;, or something similar.  &lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;Dual DHCP DNS server&lt;/span&gt; is a bit quirky, but works as advertised.  When installed, it reads the Workgroup value from the System configuration, usually “Workgroup” and makes it the domain name.  When using DNS, it is necessary to use the fully qualified name, such as "pc1.workgroup."  Not quite as convenient as other DNS, but the price is right, and it works well in spite of this one quirk.&lt;br /&gt;  &lt;br /&gt;It also requires a static IP address instead of a dynamic address from DHCP.  The software simply will not run if the PC has a dynamic address.  Actually, that makes a lot of sense.  If you are unfamiliar with DNS, understand that all devices in your lab require the IP address of the DNS server.  If the address changes each time you reboot the PC running these services, you would need to reconfigure every device in your lab each time you rebooted the machine, which is inconvenient, wouldn't you say?  &lt;br /&gt;&lt;br /&gt;When configuring the static IP address for the DNS server, use the same static IP address for the DNS server.  In other words, have the system point to itself so it will perform DNS services for your lab.  Otherwise, the server will read another public DNS server, which has not been configured for your lab.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1304305295846759911-7566446351319966672?l=hedgehogtech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1304305295846759911/posts/default/7566446351319966672'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1304305295846759911/posts/default/7566446351319966672'/><link rel='alternate' type='text/html' href='http://hedgehogtech.blogspot.com/2009/06/ccna-labs-software-for-your-lab.html' title='CCNA® Labs - Software for Your Lab'/><author><name>The Hedge</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-1304305295846759911.post-8789000064307164658</id><published>2009-06-28T17:02:00.013-05:00</published><updated>2009-08-05T21:47:28.473-05:00</updated><title type='text'>CCNA® Single Switch Labs</title><content type='html'>As the name indicates, Single Switch Labs require a single switch.  The skills learned in these labs will be applied to every switch in this program, and more importantly, to every Cisco switch in an enterprise network.  So learn these lessons well.  The information presented in these labs will be tested on the exam.&lt;br /&gt;&lt;a href="http://hedgehogtech.blogspot.com/2009/06/ccna-lab-1-console-port-access.html"&gt;Lab 1: Initial Console Port Access&lt;/a&gt;&lt;br /&gt;&lt;a href="http://hedgehogtech.blogspot.com/2009/06/ccna-lab-2-basic-configuration.html"&gt;Lab 2: Basic Configuration&lt;/a&gt;&lt;br /&gt;&lt;a href="http://hedgehogtech.blogspot.com/2009/06/ccna-lab-3-testing-configuration.html"&gt;Lab 3: Testing the Configuration&lt;/a&gt;&lt;br /&gt;&lt;a href="http://hedgehogtech.blogspot.com/2009/06/ccna-labs-software-for-your-lab.html"&gt;CCNA Labs: Software for Your Lab&lt;/a&gt;&lt;br /&gt;&lt;a href="http://hedgehogtech.blogspot.com/2009/06/ccna-lab-4-backing-up-your.html"&gt;Lab 4: TFTP Server and Configuration Backup&lt;/a&gt;&lt;br /&gt;&lt;a href="http://hedgehogtech.blogspot.com/2009/06/ccna-lab-5-ethernet-address-management.html"&gt;Lab 5: MAC Address Management&lt;/a&gt;&lt;br /&gt;&lt;a href="http://hedgehogtech.blogspot.com/2009/07/ccna-lab-6-cleanup.html"&gt;Lab 6: Cleanup&lt;/a&gt;&lt;br /&gt;&lt;a href="http://hedgehogtech.blogspot.com/2009/07/ccna-lab-7-vlan-creation-and-vlan.html"&gt;Lab 7: Vlan Creation and VLAN Interface Assignment&lt;/a&gt;&lt;br /&gt;&lt;a href="http://hedgehogtech.blogspot.com/2009/07/ccna-lab-8-testing-vlan-configuration.html"&gt;Lab 8: Testing the VLANs&lt;/a&gt;&lt;br /&gt;&lt;a href="http://hedgehogtech.blogspot.com/2009/08/lab-9-configuration-issues.html"&gt;Lab 9: Configuration Issues&lt;/a&gt;&lt;br /&gt;&lt;a href="http://hedgehogtech.blogspot.com/2009/08/lab-10-new-switch-configuration.html"&gt;Lab 10: New Switch Configuration&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1304305295846759911-8789000064307164658?l=hedgehogtech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1304305295846759911/posts/default/8789000064307164658'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1304305295846759911/posts/default/8789000064307164658'/><link rel='alternate' type='text/html' href='http://hedgehogtech.blogspot.com/2009/06/ccna-single-switch-labs.html' title='CCNA® Single Switch Labs'/><author><name>The Hedge</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-1304305295846759911.post-7475250162726965928</id><published>2009-06-28T16:50:00.015-05:00</published><updated>2009-07-17T14:07:31.045-05:00</updated><title type='text'>CCNA Lab 3 - Testing the Configuration</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_9ZysJBVVIiY/Skfl32JpXSI/AAAAAAAAAF4/iN-M5ND6Hhs/s1600-h/switch+lab+3.jpg"&gt;&lt;img style="float:center; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 192px;" src="http://2.bp.blogspot.com/_9ZysJBVVIiY/Skfl32JpXSI/AAAAAAAAAF4/iN-M5ND6Hhs/s320/switch+lab+3.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5352499429744663842" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Lab 3 Goals&lt;/span&gt;&lt;blockquote&gt;&lt;br /&gt;● Test vty connectivity and switch management&lt;br /&gt;● Create an enable secret password&lt;br /&gt;● Save the configuration&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Lab Requirements&lt;/span&gt;&lt;blockquote&gt;&lt;br /&gt;● Switch configured with Lab 2 configuration&lt;br /&gt;● PC configured with &lt;br /&gt;IP address 192.168.1.2 255.255.255.0&lt;br /&gt;● Cisco rollover (console) cable&lt;br /&gt;● Ethernet cable&lt;/blockquote&gt;&lt;br /&gt;In Lab 2, the switch was configured with several passwords: &lt;blockquote&gt;&lt;br /&gt;● enable password - pass1&lt;br /&gt;● Console password - pass3&lt;br /&gt;● vty password - pass4&lt;/blockquote&gt;&lt;br /&gt;Configure a PC with IP address 192.168.1.2 255.255.255.0.  Connect the PC to labsw1, Fast Ethernet 0/1.  When the light on the interface turns green, you are ready to start.  Test the connectivity with a ping from the PC to the switch VLAN 1 IP address: 192.168.1.75. &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt; &lt;blockquote&gt;&lt;br /&gt;1. PC&gt;ping 192.168.1.75&lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;You should receive the following response:&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt; &lt;blockquote&gt;Pinging 192.168.1.75 with 32 bytes of data:&lt;br /&gt;Reply from 192.168.1.75: bytes=32 time=32ms TTL=255&lt;br /&gt;Reply from 192.168.1.75: bytes=32 time=32ms TTL=255&lt;br /&gt;Reply from 192.168.1.75: bytes=32 time=32ms TTL=255&lt;br /&gt;Reply from 192.168.1.75: bytes=32 time=31ms TTL=255&lt;br /&gt;Ping statistics for 192.168.1.75:&lt;br /&gt;    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),&lt;br /&gt;Approximate round trip times in milli-seconds:&lt;br /&gt;    Minimum = 31ms, Maximum = 32ms, Average = 31ms&lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;If the ping is unsuccessful, verify your configuration and cabling.  The interface that is connected to the PC and interface VLAN 1 should be "&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt; up, up&lt;/span&gt;".  When the ping is successful, telnet to the switch:&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt; &lt;blockquote&gt;&lt;br /&gt;2. PC&gt; telnet 192.168.1.75&lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;You will be prompted for a password.  Use the vty password created in Lab 2: &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt; pass4&lt;/span&gt;.  If the vty password (or any other password) is entered incorrectly (or if a mistake was made when creating the vty password), the telnet session will prompt for the password three times before it will terminate with the message &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt; [Connection to 192.168.1.75 closed by foreign host]&lt;/span&gt;.  Performing the test in the console session will allow you to correct the configuration and retest.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Testing the Privileged Exec, or enable, Mode&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Enable mode allows all access to the switch.  Since enable mode is very powerful, it is usually secured by a password.  The enable password configured In Lab 2 is pass1. &lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt; &lt;blockquote&gt;&lt;br /&gt;3.  labsw1 &gt; enable&lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;You will be prompted for the enable password.  Enter the enable password created in Lab 2: &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;"pass1&lt;/span&gt;."   &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;blockquote&gt;&lt;br /&gt;4.  Password: pass1 (The password will not be displayed)&lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;When the password has been entered correctly, the prompt will show:&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;blockquote&gt;&lt;br /&gt;labsw1 #&lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;The pound sign (#) indicates that enable access has been granted.  &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Create enable secret password&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The purpose of this and the following test is to demonstrate that a vty, or telnet, connection has the same control as a console connection.  Configurations can be changed and managed from a vty connection exactly like a console connection.&lt;br /&gt;&lt;br /&gt;The enable password created in Lab 2 is considered insecure.  Cisco has created a method of bypassing all security, the &lt;a href="http://www.cisco.com/en/US/products/sw/iosswrel/ps1831/products_tech_note09186a00801746e6.shtml"&gt;Password Recovery Procedure&lt;/a&gt;.  If the Password Recovery Process is used, the enable password could be displayed by using the “&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;show running-config&lt;/span&gt;” or “&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;show startup-config&lt;/span&gt;” command.  The password, “&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;pass1"&lt;/span&gt;, is in clear text.  Verify that the enable password is in clear text is by using the “&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;show running-config&lt;/span&gt;” command.  &lt;br /&gt;&lt;br /&gt;A more secure process is to create an enable secret password instead of the enable password.  The enable secret password will be encrypted in all displays, and cannot by determined by using the Password Recovery Process.  To create an enable secret password,&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;blockquote&gt;&lt;br /&gt;5. labsw1 # configure terminal&lt;br /&gt;6. labsw1(config) # enable secret pass5&lt;br /&gt;7. labsw1 (config) # Crtl-Z&lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;Now verify that the enable secret password has been created and that it is encrypted:&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;blockquote&gt;&lt;br /&gt;8. labsw1 # show running-config&lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt; Partial output below&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;blockquote&gt;&lt;br /&gt;Current configuration : 1350 bytes&lt;br /&gt;!&lt;br /&gt;version 12.1&lt;br /&gt;no service pad&lt;br /&gt;service timestamps debug uptime&lt;br /&gt;service timestamps log uptime&lt;br /&gt;no service password-encryption&lt;br /&gt;!&lt;br /&gt;hostname labsw1&lt;br /&gt;!&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;enable secret 5 $1$ADGV$w/H8cfK035rDMajX&lt;br /&gt;enable password pass1&lt;br /&gt;!&lt;/blockquote&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;(Lines omitted)&lt;br /&gt;&lt;br /&gt;Now two enable passwords exist: however, only one can be used.  If an enable secret password has been created, it will always be the default password.  The enable password, &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;"pass1&lt;/span&gt;" in this example, will no longer work.&lt;br /&gt;Test this change, exit enable mode with the &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;"disable"&lt;/span&gt; command:&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;blockquote&gt;&lt;br /&gt;9. labsw1 # disable&lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;The prompt, “&gt;” indicates that the access has returned to User Exec Mode.&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;blockquote&gt;&lt;br /&gt; labsw1 &gt;&lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;Access Privilege Exec mode again by entering the enable command:&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;blockquote&gt;&lt;br /&gt;10. labsw1 &gt; enable&lt;br /&gt;11. Password: &lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt; First, test the change by entering the enable password created in Lab 2: "pass1."  It should not work.  The Password prompt will be displayed again.  This time, enter the enable secret password created in Step 6: "pass5."  Enable access should be granted:&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;blockquote&gt;&lt;br /&gt;labsw1 #&lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;It is best to remove the enable password, since it no longer functions.  Removing a configuration is usually accomplished by adding a "&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;no&lt;/span&gt;" to the beginning of the command.  You saw an example of this in Lab 2 with the "&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;shutdown"&lt;/span&gt; command.  The &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;shutdown&lt;/span&gt; command was removed or reversed by using the "&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;no shutdown&lt;/span&gt;" command.  As stated earlier, most of the time, the "&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;no&lt;/span&gt;" option at the beginning of a command reverses or removes the configuration.   Access "configuration mode" and use the no command to remove the enable password. &lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;blockquote&gt;&lt;br /&gt;12. labsw1# configuration terminal &lt;br /&gt;13. labsw1(config) # no enable password &lt;br /&gt;14. labsw1# (config)# Crtl-Z&lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;Verify that the enable password has been removed: &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;blockquote&gt;&lt;br /&gt;15.  labsw1# show running-config&lt;br /&gt;&lt;br /&gt;Current configuration:&lt;br /&gt;!&lt;br /&gt;version 12.0&lt;br /&gt;no service pad&lt;br /&gt;service timestamps debug uptime&lt;br /&gt;service timestamps log uptime&lt;br /&gt;no service password-encryption&lt;br /&gt;!&lt;br /&gt;hostname labsw1&lt;br /&gt;!&lt;br /&gt;enable secret 5 $1$M9aV$.WWzTZpZ1xlWQQZ0KOsax0&lt;br /&gt;!&lt;br /&gt;.&lt;br /&gt;(Lines omitted)&lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;Save the new configuration.  &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt; &lt;blockquote&gt;&lt;br /&gt;16.  labsw1# copy running-config startup-config&lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;Terminate the vty session&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;blockquote&gt;&lt;br /&gt;17.  labsw1# exit&lt;/blockquote&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1304305295846759911-7475250162726965928?l=hedgehogtech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1304305295846759911/posts/default/7475250162726965928'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1304305295846759911/posts/default/7475250162726965928'/><link rel='alternate' type='text/html' href='http://hedgehogtech.blogspot.com/2009/06/ccna-lab-3-testing-configuration.html' title='CCNA Lab 3 - Testing the Configuration'/><author><name>The Hedge</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_9ZysJBVVIiY/Skfl32JpXSI/AAAAAAAAAF4/iN-M5ND6Hhs/s72-c/switch+lab+3.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-1304305295846759911.post-3409241584699054700</id><published>2009-06-28T12:55:00.059-05:00</published><updated>2009-07-17T13:56:20.245-05:00</updated><title type='text'>CCNA® Lab 2 - Basic Configuration</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_9ZysJBVVIiY/SkevHalW3gI/AAAAAAAAAFw/w_ugrqchD4U/s1600-h/switch+lab+1.jpg"&gt;&lt;img style="float:center; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 150px;" src="http://1.bp.blogspot.com/_9ZysJBVVIiY/SkevHalW3gI/AAAAAAAAAFw/w_ugrqchD4U/s320/switch+lab+1.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5352439224083078658" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Lab 2 Goals&lt;/span&gt;&lt;br/&gt;&lt;blockquote&gt;&lt;br /&gt;• Connect to the switch using the console port&lt;br /&gt;• Create a basic configuration&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Lab Requirements&lt;/span&gt;&lt;br/&gt;&lt;blockquote&gt;&lt;br /&gt;• PC &lt;br /&gt;• Cisco console (rollover) cable &lt;br /&gt;• Cisco Catalyst switch: 2950 or 2900-XL&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;br /&gt;The following lab assumes that the switch does not have a stored configuration (called startup-config).  Connect to the console port and power on the switch.  When the boot process is complete, the display should read:&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;blockquote&gt;&lt;br /&gt;Switch&gt;&lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;The following commands are used to display configuration and status information, and create a basic switch configuration.  You should recognize changes in the prompt that occur as you progress through the exercise.  Some of the following commands will produce more than one screen of display.  The word “&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;More&lt;/span&gt;” indicates that the display has more than one page.  Use the Space Bar to advance the display one page or use the Enter key to advance one line.  Practice using both the Space Bar and the Enter key to advance the display.   &lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt; &lt;blockquote&gt;&lt;br /&gt;1. Switch&gt; show ip interface brief&lt;br /&gt;&lt;br /&gt;Interface              IP-Address      OK? Method Status                Protocol&lt;br /&gt;FastEthernet0/1        unassigned      YES manual down                  down&lt;br /&gt;FastEthernet0/2        unassigned      YES manual down                  down&lt;br /&gt;FastEthernet0/3        unassigned      YES manual down                  down&lt;br /&gt;FastEthernet0/4        unassigned      YES manual down                  down&lt;br /&gt;FastEthernet0/5        unassigned      YES manual down                  down&lt;br /&gt;FastEthernet0/6        unassigned      YES manual down                  down&lt;br /&gt;FastEthernet0/7        unassigned      YES manual down                  down&lt;br /&gt;FastEthernet0/8        unassigned      YES manual down                  down&lt;br /&gt;FastEthernet0/9        unassigned      YES manual down                  down&lt;br /&gt;FastEthernet0/10       unassigned      YES manual down                  down&lt;br /&gt;FastEthernet0/11       unassigned      YES manual down                  down&lt;br /&gt;FastEthernet0/12       unassigned      YES manual down                  down&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Lines omitted&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;Vlan1                  unassigned      YES manual administratively down &lt;br /&gt;&lt;br /&gt;2. Switch&gt;enable&lt;br /&gt;&lt;br /&gt;switch# &lt;/blockquote&gt; &lt;/span&gt;&lt;br /&gt;Notice the change in prompt when the enable command is used: #. &lt;br /&gt;&lt;br /&gt;Before  configuring the switch, it is important to recognize the default, or “factory” or “out-of-the-box” configuration.  The following step will show the default configuration.  The default configuration may change with a new IOS, and your switch may be slightly different. To display the active, or running configuration:&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;blockquote&gt;&lt;br /&gt;3.  Switch# show running-config&lt;br /&gt;Building configuration...&lt;br /&gt;&lt;br /&gt;Current configuration : 1123 bytes &lt;br /&gt;! &lt;br /&gt;version 12.1 &lt;br /&gt;no service pad &lt;br /&gt;service timestamps debug uptime &lt;br /&gt;service timestamps log uptime &lt;br /&gt;no service password-encryption &lt;br /&gt;! &lt;br /&gt;hostname Switch &lt;br /&gt;! &lt;br /&gt;! &lt;br /&gt;ip subnet-zero &lt;br /&gt;! &lt;br /&gt;ip ssh time-out 120 &lt;br /&gt;ip ssh authentication-retries 3 &lt;br /&gt;! &lt;br /&gt;spanning-tree mode pvst &lt;br /&gt;no spanning-tree optimize bpdu transmission &lt;br /&gt;spanning-tree extend system-id &lt;br /&gt;! &lt;br /&gt;! &lt;br /&gt;! &lt;br /&gt;! &lt;br /&gt;interface FastEthernet0/1 &lt;br /&gt;! &lt;br /&gt;interface FastEthernet0/2 &lt;br /&gt;! &lt;br /&gt;interface FastEthernet0/3&lt;br /&gt;!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Lines omitted.  Press the space bar to advance one screen, press Enter to advance one line. &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;  &lt;br /&gt;&lt;br /&gt;interface Vlan1 &lt;br /&gt; no ip address &lt;br /&gt; no ip route-cache &lt;br /&gt; shutdown &lt;br /&gt;! &lt;br /&gt;ip http server &lt;br /&gt;! &lt;br /&gt;line con 0 &lt;br /&gt;line vty 5 15&lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;The following commands will create a "basic configuration" for the switch.  Text displayed in [brackets] is a variable, and can be any acceptable text (brackets should not be used in the configuration).  &lt;br /&gt;&lt;br /&gt;Most configuration commands are implemented immediately when the Enter key is pressed.  This is easily seen with &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;hostname&lt;/span&gt; command.  The prompt changes as soon as Enter is pressed.  &lt;br /&gt;&lt;br /&gt;This exercise uses multiple passwords. Later, we will use the same password, but understand that the switch considers each password to be unique, even if the same value is used for each password.&lt;blockquote&gt;&lt;br /&gt;● The enable password protects the switch from unauthorized changes&lt;br /&gt;● The console password protects the switch from unauthorized console acccess.&lt;br /&gt;●The vty password protects the switch from unauthorized telnet, or remote access.&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;br /&gt;4. Switch# configure terminal&lt;br /&gt;5. Switch(config)# hostname [labsw1]&lt;br /&gt;6. labsw1 (config)# enable password [pass1]&lt;br /&gt;7. labsw1 (config)# line console 0&lt;br /&gt;8. labsw1 (config-line) # password [pass3]&lt;br /&gt;9. labsw1 (config-line) # login&lt;br /&gt;10.labsw1 (config-line) # line vty 0 15&lt;br /&gt;11.labsw1 (config-line) # password [pass4]&lt;br /&gt;12.labsw1 (config-line) # login&lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;It should be obvious what the &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;password&lt;/span&gt; command does, but it is not so obvious what the &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;login&lt;/span&gt; command does.  The login command makes the password a requirement for the console.  Without the login command, access could be granted without requiring a password. &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Interface Configuration&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The following commands are typical configuration commands for the Ethernet interfaces.  Ethernet is used generically, and is the most common term used for these interfaces.  Understand the interfaces used on your switch.  The interfaces on the 2900-XL and the 2950 switches are Fast Ethernet.Technically: &lt;blockquote&gt;&lt;br /&gt;• Ethernet means 10 Megabits per second and half duplex.&lt;br /&gt;• Fast Ethernet means 100 Megabits per second and full duplex, but Fast Ethernet can also run 10 Megabits and half duplex.  &lt;br /&gt;• Gigabit Ethernet means 1,000 Megabits, or Gigabit, and full duplex.  A Gibabit Ethernet interface will run all lower speeds, and both full and half duplex.  &lt;br /&gt;&lt;br /&gt;All Ethernet, FastEthernet, and Gigabit Ethernet interfaces will automatically synchronize speed and duplex with a device attached to the interface.  However, configuring a speed and duplex on an interface disables automatic synchronization, forcing the interface to run only at the configured speed and duplex.&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 9pt"&gt;&lt;br /&gt;13. labsw1 (config-if) # interface FastEthernet 0/1&lt;br /&gt;14. labsw1 (config-if) # description [Supported device]&lt;br /&gt;15. labsw1 (config-if) #  speed 100&lt;br /&gt;16. labsw1 (config-if) # duplex full&lt;br /&gt;17. labsw1 (config-if) # interface VLAN 1&lt;br /&gt;18. labsw1 (config-if) # description [Management interface]&lt;br /&gt;19. labsw1 (config-if) # ip address [192.168.1.75 255.255.255.0]&lt;br /&gt;20. labsw1 (config-if) #no shutdown&lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;The following message should be displayed after the “&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;no shutdown&lt;/span&gt;” command has been entered: &lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;00:37:24: %LINK-3-UPDOWN: Interface Vlan1, changed state to up&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;blockquote&gt;&lt;br /&gt;21. labsw1 (config-if)# Crtl-Z&lt;/span&gt; (Exit configuration mode.  Press Control key and Z simultaneously.  Or use exit, exit)&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;22. labsw1# show ip interface brief  &lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt; Compare the status of interface VLAN 1 with the Step 1 display.&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;Interface                  IP-Address      OK? Method Status                Protocol&lt;br /&gt;FastEthernet0/1            unassigned      YES unset  down                  down&lt;br /&gt;FastEthernet0/2            unassigned      YES unset  down                  down&lt;br /&gt;FastEthernet0/3            unassigned      YES unset  down                  down&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;Lines omitted&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;blockquote&gt;&lt;br /&gt;Vlan1                      192.168.1.75    YES manual up                    down &lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;The physical interfaces on the switch, Fast Ethernet 0/1-24, do not become active, or “&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;up, up&lt;/span&gt;”, until an active, powered-on Ethernet device, such as a PC, is connected to it.  Interface VLAN 1 is a logical (non-physical) interface used to manage the switch.  The only purpose for interface VLAN 1 is to support a vty or a remote telnet connection.  It has an ““&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;up, down&lt;/span&gt;” status, not quite ready for use.  The reason that the VLAN1 interface is not “&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;up, up&lt;/span&gt;”, or completely functional, is that no physical path exists to provide access to the interface.  None of physical interfaces are “&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;up, up&lt;/span&gt;.”  At least one interface must be “&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;up, up&lt;/span&gt;” to provide a physical path to the switch.&lt;br /&gt;&lt;br /&gt;A critical skill is to understand each interface status and to know how to correct an error status. &lt;blockquote&gt;&lt;br /&gt;• “&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;Up, up&lt;/span&gt;” status indicates that the interface is active and will transfer data.&lt;br /&gt;&lt;br /&gt;• “&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;Down, down&lt;/span&gt;” status indicates that the interface is not connected to a device, or the device has no power.  Actually, “down, down” indicates the interface sees no power from another Ethernet device.  If a device is connected to a “&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;down, down&lt;/span&gt;” interface, it will activate, or go “&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;up, up&lt;/span&gt;.”&lt;br /&gt;&lt;br /&gt;• “&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;Up, down&lt;/span&gt;” status indicates that the interface is not fully functional.&lt;br /&gt;&lt;br /&gt;• “&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;Administratively down&lt;/span&gt;” status indicates that the interface has been configured with “&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;shutdown&lt;/span&gt;” to prevent it from being used to transfer data.&lt;/blockquote&gt;&lt;br /&gt;The display from Step 3 shows that interface VLAN 1 is configured with a "&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;shutdown&lt;/span&gt; command, which results in the interface status of "&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;administratively down&lt;/span&gt;".  Think of "&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;administratively down&lt;/span&gt;" as being shutdown by a network administrator. The "&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;shutdown&lt;/span&gt;" was reversed by a &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;no shutdown&lt;/span&gt;" configuration.  The result is that interface VLAN 1 attempts to activate, but cannot.  &lt;br /&gt;&lt;br /&gt;In this lab, nothing has been connected to the Ethernet interfaces, so no interface provides a path into or out of the switch.  Bringing up at least one of the physical interfaces will cause the physical interface and the VLAN 1 interface to change to ““&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;up, up&lt;/span&gt;”.  This can be accomplished by connecting a PC to one of the Ethernet interfaces.  Connect a computer to interface Fast Ethernet 0/1, and use “&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;show ip interface brief&lt;/span&gt;” command again to see the interface status changes.    &lt;br /&gt;&lt;br /&gt;(Packet Tracer requires that the Ethernet configurations of the computer match the switch interface configuration.  In this lab, interface FastEthernet 0/1 has been configured for 100 Meg, full duplex.  The interface of the computer must be configured the same for the port to go "&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;up, up&lt;/span&gt;.": 100Meg, full duplex.   In real life, modern computer Ethernet interfaces will auto-discover these values.) &lt;br /&gt;Compare the displays from Step 1, Step 22 and Step 23.&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;blockquote&gt;&lt;br /&gt;23. labsw1# show ip interface brief&lt;br /&gt;&lt;br /&gt;Interface                  IP-Address      OK? Method Status                Protocol&lt;br /&gt;FastEthernet0/1            unassigned      YES unset  up                    up  &lt;br /&gt;FastEthernet0/2            unassigned      YES unset  down                  down&lt;br /&gt;FastEthernet0/3            unassigned      YES unset  down                  down&lt;br /&gt;. (lines omitted)&lt;br /&gt;Vlan1                      192.168.1.75    YES manual up                    up &lt;/span&gt; &lt;br /&gt;• In Step 1, Fast Ethernet 0/1 is "&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;down, down&lt;/span&gt;" and interface VLAN 1 is "&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;administratively down&lt;/span&gt;" because is configured as "&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;shutdown&lt;/span&gt;." &lt;br /&gt;• In Step 22, after the "&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;no shutdown&lt;/span&gt;" configuration was made to interface VLAN 1 in Step 20, interface VLAN 1 is "&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;up, down&lt;/span&gt;."&lt;br /&gt;• In Step 23, after a computer is connected to interface Fast Ethernet 0/1, interface Fast Ethernet 0/1 is "&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;up, up&lt;/span&gt;," and interface VLAN 1 is "&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;up, up&lt;/span&gt;."&lt;/blockquote&gt;&lt;br /&gt;The display below shows the changes in the Fast Ethernet 0/1 configuration: &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;blockquote&gt;&lt;br /&gt;24. labsw1 # show interface FastEthernet 0/1 &lt;br /&gt;&lt;br /&gt;FastEthernet0/1 is up, line protocol is up (connected)&lt;br /&gt;  Hardware is Fast Ethernet, address is 0009.43cb.3001 (bia 0009.43cb.3001)&lt;br /&gt;  &lt;span style="font-weight:bold;"&gt;Description: Supported device: PC 192.168.1.26&lt;/span&gt;&lt;br /&gt;  MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,&lt;br /&gt;     reliability 255/255, txload 1/255, rxload 1/255&lt;br /&gt;  Encapsulation ARPA, loopback not set&lt;br /&gt;  Keepalive set (10 sec)&lt;br /&gt;  &lt;span style="font-weight:bold;"&gt;Full-duplex, 100Mb/s&lt;/span&gt;, media type is 100BaseTX&lt;br /&gt;  input flow-control is unsupported output flow-control is unsupported&lt;br /&gt;  ARP type: ARPA, ARP Timeout 04:00:00&lt;br /&gt;  Last input 00:00:03, output 00:00:00, output hang never&lt;br /&gt;  Last clearing of "show interface" counters never&lt;br /&gt;  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0&lt;/span&gt;&lt;br /&gt;. (lines omitted)&lt;/blockquote&gt;&lt;br /&gt;Compare with the new switch configuration with the configuration from Step 2.&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;blockquote&gt;&lt;br /&gt;25. labsw1 # show running-config &lt;br /&gt;&lt;br /&gt;Building configuration...&lt;br /&gt;&lt;br /&gt;Current configuration : 1350 bytes&lt;br /&gt;!&lt;br /&gt;version 12.1&lt;br /&gt;no service pad&lt;br /&gt;service timestamps debug uptime&lt;br /&gt;service timestamps log uptime&lt;br /&gt;no service password-encryption&lt;br /&gt;!&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;hostname labsw1&lt;/span&gt;&lt;br /&gt;!&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;enable password pass&lt;/span&gt;1&lt;br /&gt;!&lt;br /&gt;ip subnet-zero&lt;br /&gt;.&lt;br /&gt;(lines omitted)&lt;br /&gt;.&lt;br /&gt;interface FastEthernet0/1&lt;br /&gt; &lt;span style="font-weight:bold;"&gt;description Supported device: PC 192.168.1.26&lt;br /&gt; speed 100&lt;br /&gt; duplex full&lt;/span&gt;&lt;br /&gt;!&lt;br /&gt;interface FastEthernet0/2&lt;br /&gt;!&lt;br /&gt;interface FastEthernet0/3&lt;/span&gt;&lt;br /&gt;(Lines omitted&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;!&lt;br /&gt;interface Vlan1&lt;br /&gt; &lt;span style="font-weight:bold;"&gt;description Management interface&lt;br /&gt; ip address 192.168.1.75 255.255.255.0&lt;/span&gt;&lt;br /&gt; no ip route-cache&lt;br /&gt;!&lt;br /&gt;ip http server&lt;br /&gt;!&lt;br /&gt;line con 0&lt;br /&gt; &lt;span style="font-weight:bold;"&gt;password pass3&lt;br /&gt; login&lt;/span&gt;&lt;br /&gt;line vty 0 4&lt;br /&gt; &lt;span style="font-weight:bold;"&gt;password pass4&lt;br /&gt; login&lt;/span&gt;&lt;br /&gt;line vty 5 15&lt;br /&gt; &lt;span style="font-weight:bold;"&gt;password pass4&lt;br /&gt; login&lt;/span&gt;&lt;br /&gt;!&lt;br /&gt;!&lt;br /&gt;end&lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;Save the configuration&lt;br /&gt;&lt;br /&gt;The configuration must be saved if the configuration is to be used after a reload or power down/up.  The command is entered from enable mode:&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;blockquote&gt;&lt;br /&gt;26. labsw1# copy running-config startup-config&lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;More on configuration management later.&lt;br /&gt;&lt;br /&gt;This ends Lab 2.  This is a critical lab.  It was titled “Basic Switch Configuration” because it will be used for all future Cisco equipment configurations (meaning that this is also the “Basic Router Configuration”, with a few changes).  Memorizing and absorbing this information is critical.  Review as much as required, and then review some more.  You have fully grasped the information when you can complete all steps without this guide, and you know what each step does.&lt;br /&gt;&lt;br /&gt;It is highly advisable that this lab be repeated many times.  To repeat the lab, delete the saved configuration:&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;blockquote&gt;&lt;br /&gt;erase startup-config&lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;Then power the switch off/on the switch to bring it up in the original default configuration.  The switch can also be rebooted with the reload command.  When prompted to save the configuration, reply “no”.  Press enter to continue with the reload.&lt;br /&gt;&lt;br /&gt;The before-and-after comparisons may seem tedious, but they are a critical skill. The CCNA exam will have questions that measure your ability to recognize configuration errors.  Before you can identify a configuration mistake, you have to recognize a correct configuration.  It can get even tougher in a network management position. Many times you have to compare two configurations and identify the problem.  There is no substitute for understanding device configurations.&lt;br /&gt;&lt;br /&gt;You may continue with the Lab 3 before powering the switch off or disconnecting the console cable.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1304305295846759911-3409241584699054700?l=hedgehogtech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1304305295846759911/posts/default/3409241584699054700'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1304305295846759911/posts/default/3409241584699054700'/><link rel='alternate' type='text/html' href='http://hedgehogtech.blogspot.com/2009/06/ccna-lab-2-basic-configuration.html' title='CCNA® Lab 2 - Basic Configuration'/><author><name>The Hedge</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_9ZysJBVVIiY/SkevHalW3gI/AAAAAAAAAFw/w_ugrqchD4U/s72-c/switch+lab+1.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-1304305295846759911.post-8234814512872379263</id><published>2009-06-28T12:20:00.040-05:00</published><updated>2010-01-30T08:11:10.646-06:00</updated><title type='text'>CCNA® Lab 1 - Console Port Access</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_9ZysJBVVIiY/Skem52AQOZI/AAAAAAAAAFo/o3fyhsxmHp8/s1600-h/switch+lab+1.jpg"&gt;&lt;img style="float:center; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 150px;" src="http://1.bp.blogspot.com/_9ZysJBVVIiY/Skem52AQOZI/AAAAAAAAAFo/o3fyhsxmHp8/s320/switch+lab+1.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5352430194832456082" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-weight:bold;"&gt;Lab 1 Goals&lt;/span&gt;&lt;blockquote&gt;&lt;br /&gt;● Connect to the switch using the console port&lt;br /&gt;● View the boot process&lt;br /&gt;● Basic commands&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-weight:bold;"&gt;Lab Requirements&lt;/span&gt;&lt;blockquote&gt;&lt;br /&gt;● PC&lt;br /&gt;● Cisco console (rollover) cable&lt;br /&gt;● Cisco Catalyst switch: 2950 or 2900-XL&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Process&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;br /&gt;&lt;li&gt;Using the Cisco console cable, connect the PC COMM port to the switch console port.  Make sure that your terminal program is configured for 8N1 (8 data bits, No stop bits, 1 parity bit).&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Power on the switch.  Very soon, text should be displayed on your PC.  If no text is displayed, review your PC COMM port configuration.&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;It is important to understand the boot sequence.  You should observe it enough times to be familiar with the messages and what they mean.  Below are some critical displays with explanations.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Loading the IOS&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;Loading "flash:/c2950-i6q4l2-mz.121-22.EA4.bin"...&lt;br /&gt;########################################################################## [OK]&lt;br /&gt;              Restricted Rights Legend&lt;br /&gt;&lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;Things to recognize:&lt;br /&gt;1.  The boot sequence loads IOS from Flash memory.  This is true for all Cisco IOS devices.&lt;br /&gt;2. The version of IOS being loaded (your version will probably be different).&lt;br /&gt;3. The “#’s” indicate the load progress.&lt;br /&gt;4. [OK] indicates that the IOS load was successful.&lt;br /&gt;&lt;br /&gt;Hardware Summary&lt;br /&gt;&lt;br /&gt;The boot process provides a summary of the hardware configuration of the switch, shown below.&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Cisco WS-C2950-24&lt;/span&gt; (RC32300) processor (revision C0) with &lt;span style="font-weight:bold;"&gt;21039K bytes of memory&lt;/span&gt;.&lt;br /&gt;Processor board ID FHK0610Z0WC&lt;br /&gt;Running Standard Image&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;24 FastEthernet/IEEE 802.3 interface(s)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;32K bytes of flash-simulated non-volatile configuration memory&lt;/span&gt;.&lt;br /&gt;Base ethernet MAC Address: &lt;span style="font-weight:bold;"&gt;00E0.F928.5566&lt;/span&gt;&lt;br /&gt;Motherboard assembly number: 73-5781-09 &lt;br /&gt;Power supply part number: 34-0965-01&lt;br /&gt;Motherboard serial number: FOC061004SZ&lt;br /&gt;Power supply serial number: DAB0609127D&lt;br /&gt;Model revision number: C0&lt;br /&gt;Motherboard revision number: A0&lt;br /&gt;Model number: &lt;span style="font-weight:bold;"&gt;WS-C2950-24&lt;/span&gt;&lt;br /&gt;System serial number: FHK0610Z0WC&lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;Note the following information:&lt;br /&gt;&lt;br /&gt;1.  Switch model: &lt;span style="font-weight:bold;"&gt;WS-C2950-24&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;2. &lt;span style="font-weight:bold;"&gt;24 FastEthernet/IEEE 802.3 interfaces&lt;/span&gt; – the number of interfaces or connections that the switch supports.&lt;br /&gt;&lt;br /&gt;3. &lt;span style="font-weight:bold;"&gt;Memory 21039K (RAM&lt;/span&gt;), and &lt;span style="font-weight:bold;"&gt;32K flash-simulated non-volatile configuration memory&lt;/span&gt;.  Non-volatile memory is similar to a hard drive on a computer.  It stores information to be used by the switch.  The information is retained when the device is powered down.  RAM is the same as RAM on a computer.&lt;br /&gt;&lt;br /&gt;4. Base MAC address: &lt;span style="font-weight:bold;"&gt;00E0.F928.5566&lt;/span&gt; – All of Layer 2 switching is dependent on MAC addresses.  Become familiar with the MAC addresses of all types of equipment.&lt;br /&gt;&lt;br /&gt;If the switch has no saved, or startup, configuration, you may be prompted to enter initial configuration dialog.  For now, enter "no."  Messages may appear on the screen, but at some point, the messages will stop.  Press Return to access the switch.  &lt;br /&gt;&lt;br /&gt;Notice that the prompt is “&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;Switch&gt;&lt;/span&gt;.” A prompt of “&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;Switch&gt;&lt;/span&gt;” usually means that the switch has not been configured, or more correctly, has the default (out-of-the-box) configuration. The “&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;/span&gt;” indicates that you are in User EXEC mode, the least powerful access mode.  To view the commands available in User Exec mode, enter “?”.&lt;br /&gt;&lt;br /&gt;User Exec mode is limited to protect the switch from unauthorized changes.  A more powerful mode is supported by IOS: Privilege EXEC mode.  In the next lab, we will set passwords to limit access to Privilege EXEC mode.  For now, access Privilege Exec mode by using the “enable” command.&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;blockquote&gt;&lt;br /&gt;Switch&gt;enable&lt;br /&gt;Switch# &lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;The prompt now has a pound sign: #.  This indicates Privilege EXEC mode.  If you are experienced with UNIX/Linux, it is similar to root access, which is also indicated by the pound sign.  Privilege EXEC mode is usually called “enable mode” by experienced techs.  It may be called either enable mode or Privilege EXEC mod on the exam.  Enable mode supports all commands that are available in User EXEC mode, as well as many other commands.  Display the commands available in Privilege EXEC mode by entering “?”.  All access is available in Privilege Exec mode, including configuration commands. &lt;br /&gt;&lt;br /&gt;Notice  &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;“–More—“ &lt;/span&gt;at the bottom of the display, indicating that additional information is available.  To display the remaining information, use “Enter” to display one line at a time, or use the space bar to display one screen at a time.  This process is used for all displays that are larger than one screen.  Practice using both.&lt;br /&gt;&lt;br /&gt;As indicated above, all techs need to understand switch and router configurations.  This includes understanding a configuration and its function, but it is also means  to recognized when a component has not been configured.  The following exercise will display the configuration of a switch that has not been customized.  Understand that all devices have a configuration, but the default configuration may lack critical features.  The following commands are important, not only for the exam, but more importantly, for managing a Cisco network.  Learn the commands and the information they produce.&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;blockquote&gt;&lt;br /&gt;Switch#show running-config&lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;The following display may be slightly different in your switch, depending on the model and IOS version.  However, you will see these same elements, but perhaps in a different part of the display.&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;blockquote&gt;&lt;br /&gt;Building configuration...&lt;br /&gt;&lt;br /&gt;Current configuration : 863 bytes&lt;br /&gt;!&lt;br /&gt;version 12.1&lt;br /&gt;no service password-encryption&lt;br /&gt;!&lt;br /&gt;hostname Switch&lt;br /&gt;!&lt;br /&gt;!&lt;br /&gt;!&lt;br /&gt;interface FastEthernet0/1&lt;br /&gt;!&lt;br /&gt;interface FastEthernet0/2&lt;br /&gt;!&lt;br /&gt;interface FastEthernet0/3&lt;br /&gt;!&lt;br /&gt;interface FastEthernet0/4&lt;br /&gt;!&lt;br /&gt;interface FastEthernet0/5&lt;br /&gt;!&lt;br /&gt;interface FastEthernet0/6&lt;br /&gt;!&lt;br /&gt;interface FastEthernet0/7&lt;br /&gt;!&lt;br /&gt;interface FastEthernet0/8&lt;br /&gt;!&lt;br /&gt;interface FastEthernet0/9&lt;br /&gt;!&lt;br /&gt;interface FastEthernet0/10&lt;br /&gt;!&lt;br /&gt;interface FastEthernet0/11&lt;br /&gt;!&lt;br /&gt;interface FastEthernet0/12&lt;br /&gt;!&lt;br /&gt;(Interfaces 13-24 omitted)&lt;br /&gt;!&lt;br /&gt;interface Vlan1&lt;br /&gt; no ip address&lt;br /&gt; shutdown&lt;br /&gt;!&lt;br /&gt;line con 0&lt;br /&gt;!&lt;br /&gt;line vty 0 4&lt;br /&gt; login&lt;br /&gt;line vty 5 15&lt;br /&gt; login&lt;br /&gt;!&lt;br /&gt;!&lt;br /&gt;End&lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;Note the following:&lt;br /&gt;&lt;ol&gt;&lt;br /&gt;&lt;li&gt;The hostname is &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;Switch&lt;/span&gt;, which is the same as the prompt.  The hostname value is the system prompt.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;The FastEthernet interfaces have no visible configuration.  Actually, each has a configuration which are all automatic features.  Issues such as automatic speed and duplex negotiation, as well as some trunk port negotiation values have been set, but are not displayed.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Compare the Vlan1 interface with the FastEthernet interfaces.  Unlike switch FastEthernet interfaces, the Vlan1 interface can be configured with an IP address, but has not been configured with one.  The Vlan1 interface has also been shut down.&lt;/li&gt; &lt;br /&gt;&lt;li&gt;The FastEthernet interfaces do not support IP addresses, and they have not been shut down.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;There are three entries for lines: con 0, vty 0 4, and vty 5 15.  (You may not have vty 5 15 on your model.)&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;Console and vty lines are used to manage the switch.  The connectivity is different but the access authority (what you can do) is the same for either type of connection.&lt;blockquote&gt;&lt;br /&gt;● Con 0 is the console line.  There is a single console port, con 0.  It is a    physical line.&lt;br /&gt;● Vty lines are virtual tty, or terminal, connections.  vty lines support remote connections, either telnet or ssh.  &lt;br /&gt;●  There are 16 vty lines for this switch: 0 through 4, and 5 through 15, or actually line 0 to line 15.  These define the number of simultaneous connections that can be made to the switch. 16 simultaneous telnet sessions can be established to this switch.&lt;/blockquote&gt;&lt;br /&gt;What's the difference between interfaces, lines and ports?  “Port” is not officially a part of Cisco vocabulary, even though everyone says "ports" when talking about the console port or data interfaces, as in, “What port is it on?”  The difference between an interface and a line is the type of data that the interface or line supports.  An interface, such as interface FastEthernet 0/1, is used to transport user data, such as IP, HTTP, etc.  Lines are used for device management.  Summary: Interface = data, lines = management access.&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;Switch# show version&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;The “show version“ command will display the version of IOS installed on the switch (or router), but it will display more than just the IOS version.  It will also display most of the information that was shown during the boot process:&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;blockquote&gt;&lt;br /&gt;Cisco Internetwork Operating System Software&lt;br /&gt;IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(22)EA4, RELEASE SOFTWARE(fc1)&lt;br /&gt;Copyright (c) 1986-2005 by cisco Systems, Inc.&lt;br /&gt;Compiled Wed 18-May-05 22:31 by jharirba&lt;br /&gt;Image text-base: 0x80010000, data-base: 0x80562000&lt;br /&gt;&lt;br /&gt;ROM: Bootstrap program is is C2950 boot loader&lt;br /&gt;&lt;br /&gt;Switch uptime is 35 seconds &lt;/span&gt;(How long the system has been available)&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;System returned to ROM by power-on &lt;/span&gt;(How the system was booted: power or system reload)&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;Cisco WS-C2950-24 (RC32300) processor (revision C0) with 21039K bytes of memory.&lt;br /&gt;Processor board ID FHK0610Z0WC&lt;br /&gt;Last reset from system-reset&lt;br /&gt;Running Standard Image&lt;br /&gt;24 FastEthernet/IEEE 802.3 interface(s)&lt;br /&gt;&lt;br /&gt;32K bytes of flash-simulated non-volatile configuration memory.&lt;br /&gt;Base ethernet MAC Address: 000C.CF90.9B8A&lt;br /&gt;Motherboard assembly number: 73-5781-09 &lt;br /&gt;Power supply part number: 34-0965-01&lt;br /&gt;Motherboard serial number: FOC061004SZ&lt;br /&gt;Power supply serial number: DAB0609127D&lt;br /&gt;Model revision number: C0&lt;br /&gt;Motherboard revision number: A0&lt;br /&gt;Model number: WS-C2950-24&lt;br /&gt;System serial number: FHK0610Z0WC&lt;br /&gt;Configuration register is 0xF&lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;You have seen most of this information before during the boot process.  One piece of information that is available from the show version command is the method by which it was rebooted, and the amount of time that the switch has been up.  In this situation, the switch was powered on:&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;Switch uptime is 35 seconds&lt;br /&gt;System returned to ROM by power-on&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;If the switch is booted by using the &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;reload&lt;/span&gt; command, the display would show&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;Switch uptime is 45 minutes&lt;br /&gt;System returned to ROM by reload at 09:22:58 edt Sun Feb 28, 2009&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Interface displays&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The status of interfaces can be displayed individually, or a summary of the status of all interfaces can be displayed. Interface status and statistics are some of your most important troubleshooting tools.  It is critical to understand this display.&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;Switch#show interface FastEthernet Fa0/1&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Note: this display contains a lot of information, all of it relevant in different troubleshooting situations, but not all of it is relevant here.  Sections of the display are not shown.&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;FastEthernet0/1 is down, line protocol is down (disabled)&lt;br /&gt;  Hardware is Lance, address is 0010.112b.e701 (bia 0010.112b.e701)&lt;br /&gt;  MTU 1500 bytes, BW 100000 Kbit, DLY 1000 usec,&lt;/span&gt;&lt;br /&gt;  . [Lines deleted]&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;     956 packets input, 193351 bytes, 0 no buffer&lt;br /&gt;     Received 956 broadcasts, 0 runts, 0 giants, 0 throttles&lt;br /&gt;     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort&lt;br /&gt;     0 watchdog, 0 multicast, 0 pause input&lt;br /&gt;     0 input packets with dribble condition detected&lt;br /&gt;     2357 packets output, 263570 bytes, 0 underruns&lt;br /&gt;     0 output errors, 0 collisions, 10 interface resets&lt;br /&gt;     0 babbles, 0 late collision, 0 deferred&lt;br /&gt;     0 lost carrier, 0 no carrier&lt;br /&gt;     0 output buffer failures, 0 output buffers swapped out&lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;The interface status is shown in the first line.  In this display, the interface is "&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;down, down&lt;/span&gt;".  The remaining lines at the end of the display are data volume and errors.  This information is critical in many troubleshooting exercises.&lt;br /&gt;&lt;br /&gt;The show ip interface brief command shows a summary of the status of all interfaces. &lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;Switch# show ip interface brief&lt;br /&gt;&lt;br /&gt;Interface              IP-Address      OK? Method Status                Protocol&lt;br /&gt; &lt;br /&gt;FastEthernet0/1&amp;nbsp        unassigned      YES manual down                  down&lt;br /&gt;FastEthernet0/2&amp;nbsp        unassigned      YES manual down                  down&lt;br /&gt;FastEthernet0/3&amp;nbsp        unassigned      YES manual down                  down&lt;br /&gt;FastEthernet0/4&amp;nbsp        unassigned      YES manual down                  down&lt;br /&gt;FastEthernet0/5&amp;nbsp        unassigned      YES manual down                  down&lt;br /&gt;FastEthernet0/6&amp;nbsp        unassigned      YES manual down                  down&lt;br /&gt;FastEthernet0/7&amp;nbsp        unassigned      YES manual down                  down&lt;br /&gt;FastEthernet0/8&amp;nbsp        unassigned      YES manual down                  down&lt;br /&gt;FastEthernet0/9&amp;nbsp        unassigned      YES manual down                  down&lt;br /&gt;FastEthernet0/10       unassigned      YES manual down                  down&lt;br /&gt;FastEthernet0/11       unassigned      YES manual down                  down&lt;br /&gt;FastEthernet0/12       unassigned      YES manual down                  down&lt;/span&gt;&lt;/blockquote&gt;[Lines omitted] &lt;blockquote&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;Vlan1                  unassigned      YES manual administratively down down&lt;br /&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;In this display, all FastEthernet interfaces are "&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;down, down&lt;/span&gt;".  The status of the &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;VLAN1&lt;/span&gt; interface is "&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;administratively down&lt;/span&gt;".  &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;VLANs&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;VLANS will be discussed in significant detail in future labs, but each switch comes out of the box with VLAN 1.&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;Switch&gt;show vlan&lt;/span&gt;&lt;span style="font-family: courier new,monospace; font-size: 8pt"&gt;&lt;pre&gt;&lt;br /&gt;VLAN Name                     Status    Ports&lt;br /&gt;---- -------------------- --------- -------------------------------&lt;br /&gt;1    default              active    Fa0/1, Fa0/2, Fa0/3, Fa0/4&lt;br /&gt;                                    Fa0/5, Fa0/6, Fa0/7, Fa0/8&lt;br /&gt;                                    Fa0/9,Fa0/10, Fa0/11,Fa0/12&lt;br /&gt;                                    Fa0/13,Fa0/14,Fa0/15,Fa0/16&lt;br /&gt;                                    Fa0/17,Fa0/18,Fa0/19,Fa0/20&lt;br /&gt;                                    Fa0/21,Fa0/22,Fa0/23,Fa0/24&lt;br /&gt;1002 fddi-default         active    &lt;br /&gt;1003 token-ring-default   active    &lt;br /&gt;1004 fddinet-default      active    &lt;br /&gt;1005 trnet-default        active    &lt;br /&gt; &lt;br /&gt;VLAN Type SAID MTU Parnt RngNo BrdgeN Stp BrdgMode Trns1 Trns2&lt;br /&gt;---- ----- ---------- ----- ------ ------ -------- ---- -------- &lt;br /&gt;1    enet  100001     1500  -      -      -        0      0&lt;br /&gt;1002 enet  101002     1500  -      -      -        0      0&lt;br /&gt;1003 enet  101003     1500  -      -      -        0      0&lt;br /&gt;1004 enet  101004     1500  -      -      -        0      0&lt;br /&gt;1005 enet  101005     1500  -      -      -        0      0 &lt;/span&gt; &lt;/pre&gt;&lt;br /&gt;All FastEthernet interfaces are in VLAN1, which is indicated as the default VLAN.  The VLANs 1002-1005 are also default VLANS with a special purpose. If you are not familiar with VLANs, they will be covered in future labs. &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Using Cisco IOS Commands&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If you are just starting with Cisco IOS, you may feel that the commands are long and tedious.  To help with that problem, Cisco has written the IOS to accept abbreviated commands as long as the commands are unique; that is, they cannot be confused with another command.  You only have to enter enough letters to uniquely identify the command.  &lt;br /&gt;&lt;br /&gt;For example, we used the enable command above.  What is the shortest command possible for enable?  If the letter “e” is entered (the smallest number of letters possible), the switch returns the following:&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;blockquote&gt;&lt;br /&gt;Switch#e&lt;br /&gt;% Ambiguous command: "e" &lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;Why is “e” ambiguous?  Other commands start with “e” and the switch does not know which one you want.  To find the other commands that begin with “e”, enter&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;blockquote&gt;&lt;br /&gt;Switch#e?  &lt;/span&gt;(no space between “e” and ?)&lt;/blockquote&gt;&lt;br /&gt;The switch returns&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;blockquote&gt;&lt;br /&gt;Switch#e?&lt;br /&gt;enable  erase  exit  &lt;/blockquote&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;br /&gt;• &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;"en"&lt;/span&gt; is unique for &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;"enable"&lt;/span&gt;&lt;br /&gt;• &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;"er"&lt;/span&gt; is unique for &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;"erase"&lt;/span&gt; &lt;br /&gt;• &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;"ex"&lt;/span&gt; is unique for &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;"exit"&lt;/span&gt; &lt;/blockquote&gt;&lt;br /&gt;There is no magic formula for determining the smallest number of characters that make a command unique.  A command that you will be using very often in these labs is the “&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;configure terminal&lt;/span&gt;” command.  What is the smallest number of characters for this command?  Find out by using “&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;c?&lt;/span&gt;”, “&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;co?&lt;/span&gt;”, “&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;con?&lt;/span&gt;”.  You find that the smallest number of characters needed to make the configure command unique is “&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;conf”&lt;/span&gt;.  Test for the shortest number of characters for “&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;configure terminal&lt;/span&gt;” by using “&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;conf t&lt;/span&gt;?” (no space after “t”).  Terminal requires only “t”, because the only command that follows “&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;configure&lt;/span&gt;” that begins with “t” is “&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;terminal&lt;/span&gt;.” &lt;br /&gt;&lt;br /&gt;Every command can be abbreviated.  You will develop a set of abbreviations that you are comfortable with as you work with IOS devices.   &lt;br /&gt;&lt;br /&gt;Another use of the “?” is to find the qualifiers for a particular command.  For example, the options for the configure command can be displayed by &lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;blockquote&gt;&lt;br /&gt;Switch#configure ? &lt;/span&gt;(space between configure and “?”)&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;br /&gt;  terminal  Configure from the terminal&lt;br /&gt;  &lt;cr&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;The options for configure are “&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;terminal&lt;/span&gt;” and &lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;carriage return(cr)&lt;/span&gt; (or Enter).  Using (cr) will produce the following&lt;br /&gt;&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;&lt;blockquote&gt;&lt;br /&gt;Configuring from terminal, memory, or network [terminal]? Enter configuration commands, one per line.  End with CNTL/Z. &lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;"Terminal" is the default, but you can also configure from "memory" or "network."  &lt;br /&gt;&lt;br /&gt;A final thing to understand about commands is that a command can be completed by using the tab key.  Enter “&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;conf&lt;/span&gt;” and press tab, and the switch will complete the command as “&lt;span style="font-family: courier new,monospace; font-size: 10pt"&gt;configure&lt;/span&gt;.”  Practice these commands to begin to develop your Cisco “keyboarding” skills.&lt;br /&gt;&lt;br /&gt;Lab 2 will configure your switch with a basic configuration.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1304305295846759911-8234814512872379263?l=hedgehogtech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1304305295846759911/posts/default/8234814512872379263'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1304305295846759911/posts/default/8234814512872379263'/><link rel='alternate' type='text/html' href='http://hedgehogtech.blogspot.com/2009/06/ccna-lab-1-console-port-access.html' title='CCNA® Lab 1 - Console Port Access'/><author><name>The Hedge</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_9ZysJBVVIiY/Skem52AQOZI/AAAAAAAAAFo/o3fyhsxmHp8/s72-c/switch+lab+1.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-1304305295846759911.post-34845907309491676</id><published>2009-06-28T12:08:00.005-05:00</published><updated>2009-06-28T12:19:13.070-05:00</updated><title type='text'>Cisco® Password Recover Procedure</title><content type='html'>So you got your equipment from ebay, and you can't access the equipment by using the console port.  This thing keeps asking for a password.  You tried &lt;span style="font-style:italic;"&gt;test&lt;/span&gt;, &lt;span style="font-style:italic;"&gt;password&lt;/span&gt;, &lt;span style="font-style:italic;"&gt;cisco&lt;/span&gt;, and nothing works.  Now what?&lt;br /&gt;&lt;br /&gt;This is your first test.&lt;br /&gt;&lt;br /&gt;Cisco has provided a solution: &lt;a href="http://www.cisco.com/en/US/products/sw/iosswrel/ps1831/products_tech_note09186a00801746e6.shtml"&gt;Password Recovery Procedure&lt;/a&gt;.  As you can see, they have documented the process for every device they made.  In a nutshell, the process for most devices is:&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;connect to the console port&lt;/li&gt;&lt;br /&gt;&lt;li&gt;power the device on&lt;/li&gt;&lt;br /&gt;&lt;li&gt;do something to interrupt the normal boot process, usually enter a Break character in the first 60 seconds&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;This process is not really a beginner level skill; however, Cisco has provided excellent instructions, and any hedgeling should be able to follow them.  Eventually.&lt;br /&gt;&lt;br /&gt;But the process has problems.  Not the process, per se, but finding the right key strokes for the Break character can be a wee challenge, if the process calls for a Break sequence.&lt;br /&gt;&lt;br /&gt;Here is the process we have developed here at the Institute*:&lt;br /&gt;&lt;ol&gt;&lt;br /&gt;&lt;li&gt;Create two profiles for your terminal program: putty or Hyperterm:&lt;blockquote&gt;&lt;br /&gt;• the normal "9600 8N1" profile for normal console access&lt;/blockquote&gt;&lt;blockquote&gt;&lt;br /&gt;• one with "2400 8N1", for using with the Password Recover Procedure&lt;/blockquote&gt;&lt;br /&gt;Name the normal profile something catchy like &lt;span style="font-style:italic;"&gt;Cisco&lt;/span&gt;.  Name the second program something easy to remember like &lt;span style="font-style:italic;"&gt;Break&lt;/span&gt;.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Start your terminal program with the &lt;span style="font-style:italic;"&gt;Break&lt;/span&gt; profile (2400 8N1).&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Connect to the console port and power on the router.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;As soon as the fan starts to turn, start hitting the space bar until you see gibberish on the screen.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Stop the Break profile and start the &lt;span style="font-style:italic;"&gt;Cisco&lt;/span&gt; profile (9600 8N1).  Press enter.  The router should respond with "&lt;span style="font-style:italic;"&gt;&gt;rommon&lt;/span&gt;".  Follow the procedure as described in the Password Recovery Procedure.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;At some point, you will be instructed to enter “&lt;span style="font-style:italic;"&gt;copy start run&lt;/span&gt;”.  Don’t do it.  You do not want the old configuration in the router.  Instead, enter “write erase” to delete the stored configuration.  If the device is a switch, make sure that you remove any VLAN configuration: "&lt;span style="font-style:italic;"&gt;delete flash:vlan.dat&lt;/span&gt;".  Follow the prompts to complete.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Whatever you do, make sure that you finish the Password Recovery Procedure.  Otherwise, the router may not boot correctly, cause a multitude of problems.  Of course, you can always do it again and make it work.  &lt;/li&gt; &lt;/ol&gt;&lt;br /&gt;Check your hardware to make sure you use the correct process.&lt;br /&gt;&lt;br /&gt;*If this process appears as a test question, Cisco is looking for a Break sequence, not a work around like we have shown.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1304305295846759911-34845907309491676?l=hedgehogtech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1304305295846759911/posts/default/34845907309491676'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1304305295846759911/posts/default/34845907309491676'/><link rel='alternate' type='text/html' href='http://hedgehogtech.blogspot.com/2009/06/cisco-password-recover-procedure.html' title='Cisco® Password Recover Procedure'/><author><name>The Hedge</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-1304305295846759911.post-3270450723577534370</id><published>2009-06-28T11:09:00.003-05:00</published><updated>2009-06-28T11:28:24.777-05:00</updated><title type='text'>Cisco® Token Ring Only Routers</title><content type='html'>Actually, this is not about routers that have Token Ring Interfaces, but routers whose &lt;span style="font-weight:bold;"&gt;only&lt;/span&gt; LAN interface is Token Ring.  There are routers that have both Ethernet and Token Ring interfaces, and are good candidates for your lab.  All routers should also have serial interfaces.&lt;br /&gt;&lt;br /&gt;The concepts described herein will probably be above any newbie hedgeling, but we are going to give it a shot.&lt;br /&gt;&lt;br /&gt;IP networks and subnets are added to a network by giving a router interface an IP address from the new IP network/subnet.  In effect, that makes the router interface the "door" to the new IP network/subnet.  When the interface goes active, or "up, up," the router supporting that interface will broadcast the new IP network/subnet to the entire network.  All routers in the network will create a route to the new IP network/subnet based on the rules of the routing protocol that is being used.  &lt;br /&gt;&lt;br /&gt;A routing table is a map.  It contains routes to all of the networks/subnets in your network, and uses the routes as a map to deliver packets to an IP network/subnet.  It’s kind of like, “The destination IP address for that packet is in that IP network/subnet.  The routing table say that my path to that network/subnet is through that interface.”  And the router transmits the packet on the specified interface to a neighboring router, the neighboring router does the same thing, and eventually the packet gets delivered.&lt;br /&gt;&lt;br /&gt;The problem is that a network/subnet will not exist in the larger network until the  interface is active, or "up, up." When an interface goes active, the router will advertise that the new IP network/subnet is in the network.  All physical interfaces, serial, Ethernet or Token Ring, must be electrically activated to go "up, up."  With serial interfaces and Ethernet interfaces, it’s easy.  Connect the serial interface correctly to a serial interface on another router, and you can get the interface to activate.  For an Ethernet interface, connect it to a switch port and the Ethernet interface can be activated.&lt;br /&gt;&lt;br /&gt;To use a Token Ring interface, you must connect to the interface to a Token Ring MSAU, another piece of equipment that is no longer used by anyone.  Otherwise, the Token Ring interface will not activate, and might as well not exist.  So never buy a Token Ring router, right?&lt;br /&gt;&lt;br /&gt;Maybe not.&lt;br /&gt;&lt;br /&gt;Routers also support a virtual interface called a loopback interface.  A loopback interface can be activated without a physical connection.  In other words, it is treated by the network as a live interface even thought it does not have a physical connection.  It can be given an IP address and the router will advertise the IP network/subnet associated with the IP address.  It acts like an Ethernet interface, except it doesn’t actually transmit data.&lt;br /&gt;&lt;br /&gt;Which is okay sometimes.  Managing routing tables is a major challenge in Cisco networking, whether you are preparing for an exam or running a network.  Using a loopback interface allows you to add a new IP network/subnet to the network, and watch the address propagate through the network.  A loopback interface is as good as a physical interface for that.  Or better, since you can set it up easily.  As long as the router has serial interfaces to connect it to the overall network, it will work fine for learning routing protocols and routing table processes.  It does not need a LAN interface, so a router that only has a Token Ring LAN interface will work very well for this situation.&lt;br /&gt;&lt;br /&gt;Yes, we said that it was okay to get a Token Ring router with four serial ports to serve as your Frame Relay switch.  Routers with four serial ports are desirable for this reason, and the price goes up accordingly.  If you get a router with Token Ring LAN interface (only) with four serial ports, you can manage the frame relay configurtion by connecting to the console port.  Frame relay is a big deal in the Cisco world, both on the CCNA exam as well as in enterprise networks.  So any router with four serial ports is good for your lab.  Just be a careful shopper.  Compare the price to a router with four serial ports AND Ethernet, such as a Cisco 2500 model with those interfaces, or perhaps a Cisco 2600 with those interfaces.&lt;br /&gt;&lt;br /&gt;The bottom line: yes, a Token Ring router will work in your lab.&lt;br /&gt;&lt;br /&gt;The bottomer line: if you didn’t understand this, don’t get a router that has only a Token Ring LAN interface.&lt;br /&gt;&lt;br /&gt;The very bottomest line: If you decide to get a router with a Token Ring interface, don't rely on Token Ring only routers. Make sure you have some routers with Ethernet interfaces.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1304305295846759911-3270450723577534370?l=hedgehogtech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1304305295846759911/posts/default/3270450723577534370'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1304305295846759911/posts/default/3270450723577534370'/><link rel='alternate' type='text/html' href='http://hedgehogtech.blogspot.com/2009/06/cisco-token-ring-only-routers.html' title='Cisco® Token Ring Only Routers'/><author><name>The Hedge</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-1304305295846759911.post-6340036946000403129</id><published>2009-06-28T10:03:00.022-05:00</published><updated>2009-08-01T17:18:10.939-05:00</updated><title type='text'>Building your CCNA® Lab - Routers and Switches</title><content type='html'>This is a long post, so be warned.  If you have little or no experience with Cisco equipment, much of this can be confusing. If you have friends or acquaintances with Cisco experience, discuss this with them.  However, there are two types of people to avoid:&lt;blockquote&gt;&lt;br /&gt;• Those who tell you that you don't need a lab because they achieved X,Y and Z without buying anything, and only an idiot needs a lab.&lt;br /&gt;• Those who must have the newest, latest and greatest of everything, and tell you that you are not only an idiot, but undoubtedly a broke idiot if you can't buy 7200 routers and 6500 switches.&lt;/blockquote&gt;&lt;br /&gt;Both of these types are telling you about themselves instead of what you need.&lt;br /&gt;&lt;br /&gt;Hedgelings, you need a lab.  &lt;br /&gt;&lt;br /&gt;The days of the paper CCNA (when you could pass the CCNA exam by reading “paper” or books) are gone.  Cisco made the exam tougher to weed out candidates who have limited hands-on experience, so plan on building a lab.  Education has a cost, both money and time.  You are making an investment in your future.  If you get a CCNA cert, your expenses will be worth it.  (And worth even more if you get a CCNP, CCVP, CCIE.)  Consider the following options:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Option 1&lt;/span&gt;.  Purchase a network simulator designed for the CCNA or CCNP exam. There are some very good simulators on the market.  Do your research and make sure you get the best one you can afford.  &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;WARNING&lt;/span&gt;: There is a free simulator on the Internet: GNS3, which is really Dynamips with GNS3.  It's a great program.  Truly spectacular.  And totally unsuitable for hedgelings just starting their studies.  Configuring the software is a major challenge, both hardware, like interfaces and memory, as well as the IOS.  And you must have real, honest-to-goodness IOS from Cisco to make it work.  Way beyond the scope of a CCNA program.  Plus, the emphasis is on routing, so it is not adequate for CCNA switch exercises.  Did I mention that it is not easy to set up?  After you get your CCNA, consider getting it for a CCNP, CCVP, or even some CCIE stuff.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Option 2&lt;/span&gt;. Enroll in a Cisco Network Academy program at your local community college. This option has a lot going for it.&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;A teacher/trainer&lt;/li&gt;&lt;br /&gt;&lt;li&gt;A very decent network simulator from Cisco: &lt;span style="font-style:italic;"&gt;Packet Tracer&lt;/span&gt;.  Registered Network Academy students can download the simulator as a part of the course.  Very decent simulator, my young hedgehogs, very decent.  And included in the cost of the course.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Access to actual Cisco equipment in the class.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Did I mention &lt;span style="font-style:italic;"&gt;Packet Tracer&lt;/span&gt;?  It’s pretty darned good.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Option 3&lt;/span&gt;. Purchase used Cisco equipment&lt;br /&gt;&lt;br /&gt;This is the best and worst option.  Nothing, like nothing, beats actual hardware.  Since it is real Cisco hardware, it performs exactly like … real Cisco hardware.  The problem is knowing what to get, when to get it, and what to do with it.  Not only will you need routers and switches, but you will need a variety of cables to make it work.  And you might decide that you need more memory to run newer IOS versions.  And then you want a terminal server… and the list goes on and on.&lt;br /&gt;&lt;br /&gt;Below is our recommended hardware list for CCNA candidates (all of these can be found on ebay, who has not yet decided to advertise with us.  Wazzupwiddat?)  Do not buy more equipment than what is listed here.  More equipment WILL NOT get you a higher score on the test.  Be wise with your money and time.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Cisco switches&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You need three.  You might get by with 2, and we will do our best to show you how to learn everything with 2, but 3 is better.  The switches to consider are the 2950 and the 2900-XL switches.  Both are available in 12 and 24 port models.  All are available on ebay for reasonable prices, whatever reasonable means.   &lt;br /&gt;&lt;br /&gt;The 2950 is the more modern and more desirable switch, and it will cost more.  The 2950 switch uses native IOS, the same IOS used by routers, with additional support for switching commands.  What does that really mean?  It means that all configuration commands are entered in &lt;span style="font-style:italic;"&gt;configuration mode&lt;/span&gt; instead of &lt;span style="font-style:italic;"&gt;vlan database mode&lt;/span&gt;.  The difference in the command sets are minor, and you can probably pass the exam if you did all of the switching labs with 2900-XL switches.  But the Headgehog recommends at least one 2950 switch.    &lt;br /&gt;&lt;br /&gt;Our recommendation: &lt;blockquote&gt;&lt;br /&gt;● 1 - 2950 Catalyst switch&lt;br /&gt;&lt;br /&gt;● 2 - 2900-XL Catalyst switches: 2912 or 2924&lt;/blockquote&gt;&lt;br /&gt;If you can afford three 2950 switches, great.  Get them.  If finances are a serious problem, you can sorta, kinda, almost, get by with 2900-XL switches.  And you might need only two switches.  Sorta.  Kinda.  Almost.  We will do our best to explain things using two switches, but three is better.&lt;br /&gt;&lt;br /&gt;Avoid 1700, 1900, or 5000 switches.  You can find these cheap.  Like, real cheap, and they function well as switches.  But their command sets are very different, so avoid them, no matter how much money you can save.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Routers&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Almost any router will work.  The issue is cost.  New router models cost more than older router models, but older models are usually more than adequate for a CCNA lab.  We recommend Cisco 2500 routers whenever possible, but there are other candidates, too.  Cisco 2500 routers have at least one LAN interface and two serial interfaces, and will also work in a CCNP lab, if you decide to continue your certifications.&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;● 3 – 2501 routers with Ethernet transceivers, or any 2500 routers with 10BaseT   interfaces.  Most 2500 routers have a LAN interface and two serial interfaces, though models with four serial interfaces are highly desirable (see next recommendation).  Do your research.  2501 routers, or any router with an AUI Ethernet interface, will need transceivers, which can add about $15 to the cost of each router. &lt;br /&gt;&lt;br /&gt;● 1 router with 4 serial interfaces.  You will need 4 serial interfaces for your Frame Relay labs.  If you don’t know what Frame Relay is, don’t worry.  You will.&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Affordable routers with four serial ports&lt;/span&gt;:&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;● 2520 series router with 2 synch/2 asynch/synch serial interfaces (This can even be a 2521 Token Ring router, &lt;a href="http://hedgehogtech.blogspot.com/2009/06/cisco-token-ring-only-routers.html"&gt;the only time to consider a Token ring router &lt;/a&gt;(if the price is right.  Shop wisely.) &lt;br /&gt;&lt;br /&gt;● 2600 router with 4 serial interfaces.&lt;br /&gt; &lt;br /&gt;● 4000-4500 router with 4 serial interfaces&lt;/blockquote&gt; &lt;br /&gt;If you can afford four 2600 routers, great.  Get them.  The price goes up.  2600 routers are modular, and many vendors sell the modules separately.  You can add the interfaces you need, or better, buy routers that already have them.  When looking for 2600 routers, &lt;span style="font-weight:bold;"&gt;DO NOT buy routers with a WIC–DSU-T1 interface or any interface with DSU in the name&lt;/span&gt;.  These are great interfaces when you have a T1 circuit (If your burrow has T1 circuits, then, wow).  Instead, look for routers with the following serial interface cards, or purchase the interfaces later.&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;● WIC-1T (single serial interface.  2 cards are better than 1)&lt;br /&gt;&lt;br /&gt;● NM-4E (4 serial interfaces)&lt;br /&gt;&lt;br /&gt;● NM-8E (8 serial interfaces)&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;WIC-2T cards have 2 serial interfaces in one card, but they require a different cable.  They work great, but the cost will go up.  &lt;br /&gt;&lt;br /&gt;All 2600 routers include an Ethernet interface as a part of the basic model.  The later models have Fast Ethernet, or 100BaseT, interfaces.  There is one important lab that requires a Fast Ethernet interface: Ethernet sub-interfaces.  If you get a 2600 router, try to get one with a Fast Ethernet (100BaseT) interface.  &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Cables&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;● At least 3 serial crossover (DTE-DCE) cables&lt;br /&gt;&lt;br /&gt;● At least 3 Ethernet crossover cables&lt;br /&gt;&lt;br /&gt;● Enough Ethernet cables to connect your PC(s) and routers to the network&lt;br /&gt;&lt;br /&gt;● 1 Cisco rollover (console) cable&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;You can probably find Ethernet crossover cables at any decent consumer electronics store that sells computers, Internet routers, etc.  You can find serial crossover cables on ebay.  Buy the shortest ones you can find.  Cabling becomes a mess in a lab environment, and short cables help control the confusion.  &lt;br /&gt;&lt;br /&gt;Avoid (almost) any router that only has a &lt;a href="http://hedgehogtech.blogspot.com/2009/06/cisco-token-ring-only-routers.html"&gt;Token Ring LAN &lt;/a&gt;interface.  The only exception is a 2521 with four serial ports, if the price is right.  You can make them work in your network, but making them work is not always simple.  Cheap, probably.  Easy, maybe not.&lt;br /&gt;&lt;br /&gt;A last word on 2500 routers.  The 2500 family of routers has been in end-of-life/end-of-support for a long time.  That may sound bad, but it’s really not.  They will perform about 99% of everything you need for the CCNA labs.  Cisco also did us a really big favor by continuing to update the 2500 IOS.  With 16Meg RAM and 16Meg NVRAM (non-volatile RAM), you can run very up-to-date IOS, including IPv6 support.  If you need to upgrade the memory, bundles of memory (16/16) can be found on ebay for about $25-$50.  The newest IOS is not needed for most of the CCNA labs.  In fact, you can probably learn everything you need with minimum memory and old IOS.  However, $25 to run the latest and greatest IOS is pretty cheap.  Look for routers with 16/16 memory.  The difference in cost is usually less than $25.&lt;br /&gt;&lt;br /&gt;4000-4500 routers are also modular, but are often sold without interfaces.  The only reason to buy a 4000 or 4500 router is to get four serial interfaces.  If you can’t verify that it has four serial interfaces, don’t buy it.  They have limited value beyond the CCNA, or to serve as a Frame Relay switch in a CCNP study.  Again, it may be smarter to spend more money on other routers.  But they work well if you get the interfaces you need, and they can be cheap.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Very Important Note&lt;/span&gt;e&lt;br /&gt;&lt;br /&gt;If you buy equipment from ebay, it will most assuredly have a configuration in it, including passwords that will prevent you from gaining access to the equipment.  Count on it.  &lt;a href="http://hedgehogtech.blogspot.com/2009/06/cisco-password-recover-procedure.html"&gt;There is a solution&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;The last hardware item to consider for your lab is a serial, or COM, port for your PC.  If you have a new PC, particularly a laptop, it probably does not have a serial port.  &lt;br /&gt;&lt;br /&gt;                            &lt;span style="font-weight:bold;"&gt;&amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp YOU HAVE TO HAVE A COMM PORT. &lt;/span&gt; &lt;br /&gt;&lt;br /&gt;You will need a USB serial adapter.  This is one area where we advise much caution, young hedgelings.  Yes, you will find them cheap, cheap, I tell you, cheap, on ebay.  And they will not work.  At least, the ones we got did not.  Spend the $25-$40 and buy a brand name adapter. It will have drivers for your operating system, and a help desk to help you if you can’t figure it out.  &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Software&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Your lab experience will be greatly improved with the right software.  You will need an asynchronous terminal program.  If your operating system is Windows XP, you should have Hyperterm in &lt;span style="font-style:italic;"&gt;Accessories &gt; Communications&lt;/span&gt;.  It is a fine program.  If your operating system is Linux, you may have minicom, or you can install minicom, another fine program.  If you are running one of the Apple systems, good luck.  And finally, if you are running Windows Vista, you have no asynchronous terminal program.  After all, if your new(ish) computer didn’t have a COMM port, you don’t need a terminal program.&lt;br /&gt;&lt;br /&gt;For any and all Windows platforms, we recommend &lt;a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/"&gt;putty&lt;/a&gt;.  It supports asynch connectivity as well as telnet and ssh.  And best of all, it is free.  We can’t even find a bleg for money on the website.  If you find one, drop a few shekels in the cup.  It’s that good.  And if you need a very decent ssh program at work, use putty.  It’s that good.&lt;br /&gt;&lt;br /&gt;We also recommend a TFTP server, syslog server and DNS.  These packages are also free and work well.  &lt;br /&gt;&lt;br /&gt;&lt;a href="http://support.3com.com/software/utilities_for_windows_32_bit.htm"&gt;3CDaemon v.2 for Win32 from 3Com&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://sourceforge.net/project/showfiles.php?group_id=132995&amp;package_id=146064"&gt;Dual DHCP DNS Server v6.42&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;For more information on these packages, &lt;a href="http://hedgehogtech.blogspot.com/2009/06/ccna-labs-software-for-your-lab.html"&gt;see here&lt;/a&gt;.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Financing Your Habit&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If cost is an issue (and when is it not?), consider sharing the cost with other CCNA candidates.  Naturally, all of the equipment will need to be in one location, but that’s not the end of the world.  Assuming that everyone in the group has Internet access (and really, if you didn’t have the Internet, you wouldn’t be reading this), a lab can be set up to allow everyone to work remotely.  We will show some ways that provide various levels of access.  But the person who keeps the labs will have a slightly higher electricity bill and a bit more noise from the equipment.&lt;br /&gt;&lt;br /&gt;Summary&lt;br /&gt;&lt;br /&gt;However you get a lab, get a lab.  You have to have a lab.  &lt;br /&gt;&lt;br /&gt;You. Have. To. Have. A. Lab.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1304305295846759911-6340036946000403129?l=hedgehogtech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1304305295846759911/posts/default/6340036946000403129'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1304305295846759911/posts/default/6340036946000403129'/><link rel='alternate' type='text/html' href='http://hedgehogtech.blogspot.com/2009/06/building-your-ccna-lab-routers-and.html' title='Building your CCNA® Lab - Routers and Switches'/><author><name>The Hedge</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry></feed>
