<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Train Signal Training - Free Computer Training Videos &#187; open-shortest-path-first</title>
	<atom:link href="http://www.trainsignaltraining.com/tag/open-shortest-path-first/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.trainsignaltraining.com</link>
	<description>Free Computer Training &#38; News Brought To You By Train Signal</description>
	<lastBuildDate>Fri, 30 Jul 2010 19:47:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Cisco Routing Study Guide: Configuring OSPF in a Single Area</title>
		<link>http://www.trainsignaltraining.com/cisco-ccnp-ospf/2008-03-19/</link>
		<comments>http://www.trainsignaltraining.com/cisco-ccnp-ospf/2008-03-19/#comments</comments>
		<pubDate>Wed, 19 Mar 2008 15:00:34 +0000</pubDate>
		<dc:creator>Stelios Antoniou</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[CCENT]]></category>
		<category><![CDATA[CCNA]]></category>
		<category><![CDATA[CCNP]]></category>
		<category><![CDATA[link-state-routing-protocols]]></category>
		<category><![CDATA[open-shortest-path-first]]></category>
		<category><![CDATA[OSPF]]></category>
		<category><![CDATA[OSPF-Networks]]></category>
		<category><![CDATA[OSPF-Routing-Protocol]]></category>
		<category><![CDATA[routing]]></category>
		<category><![CDATA[routing-protocol]]></category>

		<guid isPermaLink="false">http://www.trainsignaltraining.com/cisco-routing-study-guide-configuring-ospf-in-a-single-area/2008-03-19/</guid>
		<description><![CDATA[OSPF stands for Open Shortest Path First and it represents a routing protocol belonging to the group of link-state routing protocols. 
OSPF routing protocol is classified among the best dynamic protocols that exist in networks today. It is also considered to be a sophisticated routing protocol that aims to maintain loop-free and accurate routing tables. [...]]]></description>
			<content:encoded><![CDATA[<p>OSPF stands for <strong>Open Shortest Path First</strong> and it represents a routing protocol belonging to the group of link-state routing protocols. </p>
<p>OSPF routing protocol is classified among the best dynamic protocols that exist in networks today. It is also considered to be a sophisticated routing protocol that aims to maintain loop-free and accurate routing tables. </p>
<p>Today, we&#8217;ll go over the necessary commands that are needed to enable the OSPF routing protocol, define OSPF networks, configure advanced options, and more. We&#8217;ll also look at how and why OSPF is used. </p>
<p>Let&#8217;s get started by taking a look at some </p>
<p>Unlike distance vector protocols, link-state routing protocols, and specifically OSPF, hold the following key points:</p>
<ul>
<li>Information about its neighbors (local connectivity) is sent to the entire network using multicasting</li>
<p></p>
<li>The entire routing table is transmitted once every 30 minutes</li>
<p></p>
<li>Link-state updates (LSAs) are transmitted when there is a change in the state of the links</li>
<p></p>
<li>HELLO messages are used to maintain adjacent neighbors</li>
<p></p>
<li>Is a classless routing protocol which uses VLSM and both manual and automatic summarization</li>
<p></p>
<li>Uses COST as a metric which CISCO defines as the inverse of the bandwidth </li>
<p></p>
<li>AREA terminology is created to provide a hierarchical structure and limit the multicast LSAs within routers of the same area &#8212; the default or otherwise core area is <strong>area 0</strong> and all other areas connect directly to it </li>
</ul>
<p>Based on OSPF LSAs, each router constructs a topology table which contains every connection link within the network. Then, the <strong>Dijkstra algorithm</strong> runs over the topology table to find the shortest path to every other router, and hence creates the routing table.</p>
<p>This algorithm, which is also known as the <strong>SPF algorithm</strong>, runs on every OSPF enabled router on the network, and routers within a particular area all have the same topology tree of the specific area.<br />
<br/><br />
<span id="more-435"></span></p>
<h3>Enabling the OSPF Routing Protocol</h3>
<p>The following command is needed in order to enable OSPF routing protocol on the router:</p>
<ul>
<li>Router(config)#<strong>router ospf </strong><em>process-number</em></li>
</ul>
<p>The <em>process-number</em> is nothing more than a number local to the router. It&#8217;s only used to distinguish processes within a router and can be given an arbitrary value. This value does not have to be the same on every router within the area. However, it is always good practice to keep this number the same for better administration.</p>
<p><br/></p>
<h3>Defining OSPF Networks</h3>
<p>Enabling OSPF is not enough to activate it. The OSPF process needs to know the networks that are going to be advertised (i.e. the interfaces on which OSPF will run) and the area they reside in. Therefore the following command is needed to make OSPF operational:</p>
<ul>
<li>Router(config-router)#<strong>network </strong><em>address wildcard-mask</em><strong> area </strong><em>area-number</em></li>
</ul>
<p>The <em>address </em>can be the network address, subnet, or the address of a specific interface. </p>
<p>The <strong>network</strong> command is used to identify the interfaces on the router that are going to participate in the OSPF process. Adjacencies will be created with these interfaces and LSAs will be received and transmitted on these interfaces. </p>
<p>Therefore the wildcard-mask parameter needs to be defined for accurately identifying the necessary interfaces.</p>
<p>The <em>wildcard-mask </em>consists of 4 groups of 8-bits each. Each 0 bit indicates a &#8220;must&#8221; and each 1 bit indicates an &#8220;any&#8221;. This will become clearer in the next section on Defining OSPF Networks Examples.</p>
<p>The <em>area-number</em> specifies the area to be associated with the specific address and consequently the interfaces to be grouped within that area. </p>
<p>By default, <strong>area 0</strong> is used; if more than one area is to be created in a network, <strong>area 0</strong> is the first one that needs to be defined.</p>
<p><br/></p>
<h3>Defining OSPF Networks Examples</h3>
<p>The schematic diagram below illustrates how a single command is able to cover all router interfaces and also how individual interfaces can be specified.</p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/03/Stelios_OSPF/OSPF_image.jpg" alt="OSPF Network Command Example" title="OSPF Network Command Example" align="middle" width="528" height="308" border="0" /></p>
<p>In the diagram above, <strong>RouterA</strong> has 3 interfaces, one in the 192.168.7.0 subnet, one in the 192.168.8.0 subnet and the other in the 172.16.1.0. The following command configures all interfaces to participate in OSPF area 0:</p>
<ul>
<li>Router(config-router)#<strong>network <em>0.0.0.0 255.255.255.255</em> area <em>0</em></strong></li>
</ul>
<p>The following command will force only interfaces addressed from 192.168.0.0 to participate in OSPF:</p>
<ul>
<li>Router(config-router)#<strong>network <em>192.168.0.0 0.0.255.255</em> area 0</strong></li>
</ul>
<p>The following command specifically forces the serial interface to participate in OSPF area 0:</p>
<ul>
<li>Router(config-router)#<strong>network <em>172.16.1.1 0.0.0.0</em> area 0</strong></li>
</ul>
<p><br/></p>
<h3>Configuring Advanced Options</h3>
<p>A few advanced options can be useful in administrating OSPF, though they are not necessary for OSPFs normal operation. These options include:</p>
<ul>
<li>Configuring a loopback interface</li>
<li>Specifying the router ID (RID)</li>
<li>Manipulating the <em><strong>cost </strong></em>command</li>
<li>Changing the routers <strong><em>priority</em></strong></li>
</ul>
<p><br/></p>
<h3>Configuring a Loopback Interface</h3>
<p>The source of Link-state Advertisements in a given area is identified by the RID. This ID has the form of an IP address and can be automatically or manually defined.</p>
<p><br/></p>
<h3>Automatic selection of RID</h3>
<p>If no manual RID is specified, then the RID is taken from the highest IP address assigned to a loopback interface. If no loopback interface is defined, then the highest IP address of an active interface is chosen as the RID. </p>
<p>It is wise to configure a loopback interface on the router because this kind of interface is a virtual one that can never go down; hence the RID will never have to change. The following commands define and configure a loopback interface:</p>
<ul>
<li>Router(config)#<strong>interface loopback </strong><em>interface-number</em></li>
<li>Router(config-if)#<strong>ip address </strong><em>ip-address subnet-mask</em></li>
</ul>
<p><br/></p>
<h3>Manual Configuration of RID</h3>
<p>This is the preferred method of defining the RID. Any unique IP address can be defined as RID and it never changes even if the interface that the router is using for the RID goes down. </p>
<p>Even when a manual configuration change of the RID is performed, this does not take effect until the next router reload or OSPF routing restart. </p>
<p>The following commands show how to manually configure the RID. The <strong>clear ip ospf process</strong> command is used to activate the RID on a router that is already running OSPF:</p>
<ul>
<li>Router(config)#<strong>router ospf </strong><em>process-number</em></li>
<li>Router(config-router)#<strong>router-id </strong><em>ip-address</em></li>
<li>Router#<strong>clear ip ospf process</strong></li>
</ul>
<p><br/></p>
<h3>Configuring the Cost of an Interface</h3>
<p>As already mentioned, the OSPF process assigns cost values to interfaces based on the inverse of the bandwidth parameter assigned to the interface with the <strong>bandwidth</strong> command. </p>
<p>For calculating the SPF to a given destination, the router takes into consideration the costs of the links along various paths. The path with the lower cost is selected as the shortest path. </p>
<p>To force the router to pick up a certain path, manual setting of the cost on a link along the path can be achieved using the following command:</p>
<ul>
<li>Router(config-if)#<strong>ip ospf cost </strong><em>cost</em> </li>
</ul>
<p><br/></p>
<h3>Setting Priority for the Selection of the Designated Router</h3>
<p>In multi-access networks the router with the highest priority value is chosen as the DR which acts as the central point of LSAs exchange. </p>
<p>The priority command is assigned on an interface. Default priority for an OSPF interface is <strong>1</strong>. The range is from 0 to 255. <strong>0</strong> means that the interface does not involve in the DR election. </p>
<p>The following command configures a priority value on an interface.</p>
<ul>
<li>Router(config)#<strong>interface </strong><em>interface-number</em></li>
<li>Router(config-if)#<strong>ip ospf priority </strong><em>priority-value</em></li>
</ul>
<p><br/></p>
<h3>Why Use OSPF?</h3>
<p>As I mentioned at the beginning, OSPF routing protocol is classified among the best dynamic protocols existing in networks today. It has all the necessary features of an interior gateway routing protocol:</p>
<ul>
<li>Scalability</li>
<li>Adaptability to topology changes</li>
<li>Topology awareness within its operation area</li>
</ul>
<p>OSPF uses multicasting so that each router informs all other routers in the area of its neighbors and costs. This information allows each router to build a complete topological tree consisting of routers and omnidirectional links connecting them together. Each of these links carries a cost value. </p>
<p>SPF algorithm runs over this topology tree and computes the shortest path from every router to every other router in the area. The results from SPF algorithm construct the router&#8217;s routing table.</p>
<p><br/></p>
<h3>Master Routing and More with <a href="http://www.trainsignal.com/index.asp?PageAction=Custom&#038;ID=28">Cisco Certification Training!</a></h3>
<p><a href="http://www.trainsignal.com/index.asp?PageAction=Custom&#038;ID=28"><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/ProductImages/cisco_icon_blue_80x80.jpg" alt="Cisco Certification Training" title="Cisco Certification Training" align="left" width="80" height="80" border="0" /></a>Get the training you need to pass your certification exams and be on your way to a successful career in Cisco networking. </p>
<p>We provide the tools you need to succeed! Our training includes comprehensive practice exam questions and real world training that&#8217;s taught by an expert with years of experience.</p>
<p><strong>Find out more about <a href="http://www.trainsignal.com/index.asp?PageAction=Custom&#038;ID=28"><strong>Cisco Certification Training</strong></a> today!</strong><br />
<br/></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Cisco+Routing+Study+Guide%3A+Configuring+OSPF+in+a+Single+Area+-+http://bit.ly/9FLE7V+%28via+%40trainsignal%29&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.trainsignaltraining.com/cisco-ccnp-ospf/2008-03-19/&amp;title=Cisco+Routing+Study+Guide%3A+Configuring+OSPF+in+a+Single+Area" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.trainsignaltraining.com/cisco-ccnp-ospf/2008-03-19/&amp;t=Cisco+Routing+Study+Guide%3A+Configuring+OSPF+in+a+Single+Area" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.trainsignaltraining.com/cisco-ccnp-ospf/2008-03-19/&amp;title=Cisco+Routing+Study+Guide%3A+Configuring+OSPF+in+a+Single+Area" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.trainsignaltraining.com/cisco-ccnp-ospf/2008-03-19/&amp;title=Cisco+Routing+Study+Guide%3A+Configuring+OSPF+in+a+Single+Area" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://www.trainsignaltraining.com/cisco-ccnp-ospf/2008-03-19/&amp;title=Cisco+Routing+Study+Guide%3A+Configuring+OSPF+in+a+Single+Area&amp;summary=OSPF%20stands%20for%20Open%20Shortest%20Path%20First%20and%20it%20represents%20a%20routing%20protocol%20belonging%20to%20the%20group%20of%20link-state%20routing%20protocols.%20%0D%0A%0D%0AOSPF%20routing%20protocol%20is%20classified%20among%20the%20best%20dynamic%20protocols%20that%20exist%20in%20networks%20today.%20It%20is%20also%20considered%20to%20be%20a%20sophisticated%20routing%20protocol%20th&amp;source=Train Signal Training - Free Computer Training Videos" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.trainsignaltraining.com/cisco-ccnp-ospf/2008-03-19/&amp;title=Cisco+Routing+Study+Guide%3A+Configuring+OSPF+in+a+Single+Area" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-friendfeed">
			<a href="http://www.friendfeed.com/share?title=Cisco+Routing+Study+Guide%3A+Configuring+OSPF+in+a+Single+Area&amp;link=http://www.trainsignaltraining.com/cisco-ccnp-ospf/2008-03-19/" rel="nofollow" class="external" title="Share this on FriendFeed">Share this on FriendFeed</a>
		</li>
		<li class="shr-printfriendly">
			<a href="http://www.printfriendly.com/print?url=http://www.trainsignaltraining.com/cisco-ccnp-ospf/2008-03-19/" rel="nofollow" class="external" title="Send this page to Print Friendly">Send this page to Print Friendly</a>
		</li>
		<li class="shr-mail">
			<a href="mailto:?subject=%22Cisco%20Routing%20Study%20Guide%3A%20Configuring%20OSPF%20in%20a%20Single%20Area%22&amp;body=Link: http://www.trainsignaltraining.com/cisco-ccnp-ospf/2008-03-19/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A OSPF%20stands%20for%20Open%20Shortest%20Path%20First%20and%20it%20represents%20a%20routing%20protocol%20belonging%20to%20the%20group%20of%20link-state%20routing%20protocols.%20%0D%0A%0D%0AOSPF%20routing%20protocol%20is%20classified%20among%20the%20best%20dynamic%20protocols%20that%20exist%20in%20networks%20today.%20It%20is%20also%20considered%20to%20be%20a%20sophisticated%20routing%20protocol%20th" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p>Related posts:<ol><li><a href='http://www.trainsignaltraining.com/cisco-bsci-exam-study-guide-on-dynamic-routing-protocols/2007-12-12/' rel='bookmark' title='Permanent Link: Cisco BSCI Exam Study Guide on Dynamic Routing Protocols'>Cisco BSCI Exam Study Guide on Dynamic Routing Protocols</a></li>
<li><a href='http://www.trainsignaltraining.com/ip-addressing-and-routing-part-3-default-and-static-routing-basics/2007-11-15/' rel='bookmark' title='Permanent Link: IP Addressing and Routing Part 3: Default &amp; Static Routing Basics'>IP Addressing and Routing Part 3: Default &amp; Static Routing Basics</a></li>
<li><a href='http://www.trainsignaltraining.com/cisco-how-to-configure-rip-2/2007-12-03/' rel='bookmark' title='Permanent Link: How to Configure RIP (Routing Information Protocol) Part 2'>How to Configure RIP (Routing Information Protocol) Part 2</a></li>
<li><a href='http://www.trainsignaltraining.com/cisco-ccent-wan-protocol/2008-01-16/' rel='bookmark' title='Permanent Link: Cisco CCENT Study Guide: WAN Protocol Basics'>Cisco CCENT Study Guide: WAN Protocol Basics</a></li>
<li><a href='http://www.trainsignaltraining.com/configure-is-is/2010-07-30/' rel='bookmark' title='Permanent Link: Cisco IS-IS Configuration Primer'>Cisco IS-IS Configuration Primer</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.trainsignaltraining.com/cisco-ccnp-ospf/2008-03-19/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Cisco BSCI Exam Study Guide on Dynamic Routing Protocols</title>
		<link>http://www.trainsignaltraining.com/cisco-bsci-exam-study-guide-on-dynamic-routing-protocols/2007-12-12/</link>
		<comments>http://www.trainsignaltraining.com/cisco-bsci-exam-study-guide-on-dynamic-routing-protocols/2007-12-12/#comments</comments>
		<pubDate>Wed, 12 Dec 2007 17:30:49 +0000</pubDate>
		<dc:creator>Stelios Antoniou</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[CCDP]]></category>
		<category><![CDATA[CCIP]]></category>
		<category><![CDATA[CCNP]]></category>
		<category><![CDATA[CCNP BSCI]]></category>
		<category><![CDATA[Certification Exams]]></category>
		<category><![CDATA[Chris Bryant]]></category>
		<category><![CDATA[Cisco Certifications]]></category>
		<category><![CDATA[Cisco Training]]></category>
		<category><![CDATA[Distance Vector]]></category>
		<category><![CDATA[EIGRP]]></category>
		<category><![CDATA[IGRP]]></category>
		<category><![CDATA[Intermediate System-to-Intermediate System]]></category>
		<category><![CDATA[IS-IS]]></category>
		<category><![CDATA[link-state]]></category>
		<category><![CDATA[open-shortest-path-first]]></category>
		<category><![CDATA[OSPF]]></category>
		<category><![CDATA[RIP]]></category>
		<category><![CDATA[Routing-Information-Protocol]]></category>

		<guid isPermaLink="false">http://www.trainsignaltraining.com/cisco-bsci-exam-study-guide-on-dynamic-routing-protocols/2007-12-11/</guid>
		<description><![CDATA[If you&#8217;re working towards your CCNP, CCIP, or CCDP certifications then the BSCI &#8211; Building Scalable Cisco Internetworks exam (642-901) applies to all three of these certifications. 
The BSCI exam is all about advanced IP addressing and routing and it tests your knowledge and skills on implementing scalability for Cisco Integrated Services Routers (ISR) connected [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re working towards your <strong>CCNP, CCIP,</strong> or <strong>CCDP</strong> certifications then the <strong><a href="http://www.trainsignal.com/index.asp?PageAction=VIEWPROD&#038;ProdID=47"target="_blank">BSCI &#8211; Building Scalable Cisco Internetworks exam</a> </strong>(642-901) applies to all three of these certifications. </p>
<p>The BSCI exam is all about advanced IP addressing and routing and it tests your knowledge and skills on implementing scalability for Cisco Integrated Services Routers (ISR) connected to LANs and WANs. </p>
<p>Some of the topics that the <a href="http://www.cisco.com/web/learning/le3/current_exams/642-901.html"target="_blank">BSCI exam</a> covers include:  </p>
<blockquote>
<ul>
<li>Advanced IP addressing</li>
<li>Routing principles</li>
<li>Multicast routing</li>
<li>IPv6</li>
<li>Manipulating routing updates</li>
<li>Configuring basic BGP</li>
<li>Configuring EIGRP, OSPF, and IS-IS</li>
</ul>
</blockquote>
<p>In the past, I covered some of the above mentioned topics, but today I will concentrate on <strong>Dynamic Routing Protocols</strong>. More specifically, I&#8217;ll introduce you to the two major classes of Dynamic Routing Protocols: <strong>Distance Vector</strong> and <strong>Link State.</strong></p>
<p>Before we get started, if you need to refresh your memory on static and default routing concepts, then take a look at <a href="http://www.trainsignaltraining.com/ip-addressing-and-routing-part-3-default-and-static-routing-basics/2007-11-15/"target="_blank"><strong>IP Addressing and Routing Part 3: Default and Static Routing Basics.</strong></a></p>
<p>Now let&#8217;s begin with a description of the operational principles of the two routing classes and afterwards, I&#8217;ll get into the details on their actual operation and design.</p>
<h3>Why Two Dynamic Routing Protocol Classes?</h3>
<p>There are different routing classes available for providing a more spherical solution packet. Different networks have special individual needs and different routing protocols have been designed to meet the individual needs of these networks. </p>
<p><span id="more-378"></span></p>
<p>There is no straightforward answer on the right routing protocol to use. A variety of parameters need to be investigated before deciding on that. Your investigations should include bandwidth prerequisite, reliability, convergence speed, network architecture and much more. </p>
<p>I won&#8217;t concentrate on the details of the best routing decision process, but I will try to illustrate the details behind the operation of the different routing classes so that you can make the appropriate decisions yourself.</p>
<h3>Distance Vector Routing Protocols</h3>
<p>Distance Vector routing protocols base their decisions on the best path to a given destination based on the distance. Distance is usually measured in hops, though the distance metric could be delay, packets lost, or something similar.</p>
<p>If the distance metric is hop, then each time a packet goes through a router, a hop is considered to have traversed. The route with the least number of hops to a given network is concluded to be the best route towards that network.</p>
<p>The vector shows the direction to that specific network. Distance vector protocols send their entire routing table to directly connected neighbors. Examples of distance vector protocols include <strong>RIP &#8211; Routing Information Protocol </strong> and <strong>IGRP &#8211; Interior Gateway Routing Protocol</strong>.</p>
<p>If you&#8217;re interested in finding out more information on RIP, check out: <strong>How to Configure Routing Information Protocol <a href="http://www.trainsignaltraining.com/cisco-ccent-how-to-configure-routing-information-protocol-part-1/2007-11-19/"target="_blank">Part 1 on RIPv1</a></strong> and <strong><a href="http://www.trainsignaltraining.com/cisco-ccent-how-to-configure-routing-information-protocol-part-2/2007-12-03/"target="_blank">Part 2 on RIPv2</a></strong>.</p>
<h3>Link State Routing Protocols</h3>
<p>Link state protocols are also called shortest-path-first protocols. Link state routing protocols have a complete picture of the network topology. Hence they know more about the whole network than any distance vector protocol.</p>
<p>Three separate tables are created on each link state routing enabled router. One table is used to hold details about directly connected neighbors, one is used to hold the topology of the entire internetwork and the last one is used to hold the actual routing table.</p>
<p>Link state protocols send information about directly connected links to all the routers in the network. Examples of Link state routing protocols include <strong>OSPF &#8211; Open Shortest Path First</strong> and <strong>IS-IS &#8211; Intermediate System to Intermediate System.</strong></p>
<p>There are also routing protocols that are considered to be hybrid in the sense that they use aspects of both distance vector and link state protocols. <strong>EIGRP &#8211; Enhanced Interior Gateway Routing Protocol</strong> is one of those hybrid routing protocols.</p>
<h3>Distance Vector Routing Protocols &#8211; Operation</h3>
<p>To illustrate the routing updating process for Distance Vector routing protocols I will use the following subnet diagram:</p>
<p><center><br />
<img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2007/12/BSCI_stelios/1.jpg" alt="Cisco BSCI 1" title="Cisco BSCI 1" align="absmiddle" width="242" height="254" border="0" /><br />
</center></p>
<p>Let&#8217;s say that all routers have been set in service at the same time and all run a distance vector routine protocol. Each router sends its distance vector to its neighbor. Also each router receives distance vectors from each neighbor as well. </p>
<p>Combining the information learned from neighbors with each router&#8217;s own information, the best estimate route to a given destination is inserted into the routing table.</p>
<p>Let&#8217;s take a look at how Router H builds up its routing table after receiving Hop Distance Vectors from its neighbors (Routers A, B, F, G and I). For each neighbor router, a separate vector table is shown:</p>
<p><center><br />
<img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2007/12/BSCI_stelios/2.jpg" alt="Cisco BSCI 2" title="Cisco BSCI 2" align="absmiddle" width="496" height="192" border="0" /><br />
</center></p>
<p>Upon receiving the routing updates from all neighbors, RouterH performs its calculation for estimating the best route to any given destination. The result of this process is the following:</p>
<p><center><br />
<img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2007/12/BSCI_stelios/3.jpg" alt="Cisco BSCI 3" title="Cisco BSCI 3" align="absmiddle" width="418" height="293" border="0" /><br />
</center></p>
<p>To give you an idea of how this calculation process is performed consider the following:</p>
<p>RouterA and RouterG informed RouterH that RouterD is 1 hop away. RouterH knows that both routers (A and G) are neighbor routers; hence it adds 1 to the hop metric and concludes that it can reach RouterD via both RouterA and RouterG with an overall distance of 2 hops. </p>
<h3>Link State Routing Protocols &#8211; Operation</h3>
<p>As already mentioned, Link State routing protocols hold 3 distinctive tables: a neighbor table, a topology table, and an actual routing table. Link state routing operation follows four simple steps; each link state enabled router must perform the following:</p>
<blockquote><p>
<strong>1.</strong> Discover its neighbors and build its neighbor table.<br />
<strong>2.</strong> Measure the cost (delay, bandwidth, etc) to each of its neighbors.<br />
<strong>3.</strong> Construct and send a routing update telling all it has learned to all routers in the network.<br />
<strong>4.</strong> Apply the Dijkstra algorithm to construct the shortest path to all possible destinations.
</p></blockquote>
<p>Below you&#8217;ll find more details on the four step process.</p>
<p><strong>Step 1: Neighbor Discovery</strong></p>
<p>Each Link State enabled router periodically sends a HELLO message on each of its links. Neighbor routers respond to these HELLO messages identifying themselves. Within the replies, network addresses of the routers are attached and are used by the HELLO initiator to build up its neighbor table.</p>
<p><strong>Step 2: Measuring Link Cost</strong></p>
<p>A set of tests is performed on each router to measure the cost to each of its neighbors. The cost could be a measure of the end-to-end delay, throughput, or a combination of these metrics. How these tests are performed is out of the scope of this article. The important thing to know is that each link state enabled router has to somehow possess an estimate of the cost for each of its links. </p>
<p><strong>Step3: Building and Distributing Link State Packets</strong></p>
<p>Each router builds up a packet containing its neighbors and the corresponding link costs to these neighbors. At the beginning of the packet, each router adds its identity along with a sequence number and an age parameter, the latter being used to ensure no packet will wander around for an indefinite period of time. After the construction process, the packet is flooded in the network.</p>
<p>Based on the same subnet diagram presented above the equivalent link state packets for each of the routers are presented below. Random link cost values have been assumed. Also for simplicity, sequence and age values are omitted.</p>
<p><center><br />
<img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2007/12/BSCI_stelios/4.jpg" alt="Cisco BSCI 4" title="Cisco BSCI 4" align="absmiddle" width="323" height="394" border="0" /><br />
</center></p>
<p><center><br />
<img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2007/12/BSCI_stelios/5.jpg" alt="Cisco BSCI 5" title="Cisco BSCI 5" align="absmiddle" width="497" height="96" border="0" /><br />
</center></p>
<p><strong>Step 4: Evaluating Shortest Paths</strong></p>
<p>Using all the details from its link state table, a router is able to compute, using the Dijkstra algorithm, the shortest path to any given destination.</p>
<p>For example, the best path for RouterA to reach RouterI would be the following:</p>
<p><center><br />
<img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2007/12/BSCI_stelios/6.jpg" alt="Cisco BSCI 6" title="Cisco BSCI 6" align="absmiddle" width="300" height="286" border="0" /><br />
</center></p>
<h3>Things to Keep in Mind</h3>
<ul>
<li>Distance vector protocols send their entire routing table to directly connected neighbors.</li>
<p></p>
<li>Link state protocols send information about directly connected links to all the routers in the network.</li>
<p></p>
<li>Distance vector protocols have slow convergence and suffer from the count-to-infinity problem details of which you can find <a href="http://www.trainsignaltraining.com/cisco-ccent-how-to-configure-routing-information-protocol-part-1/2007-11-19/">here</a>.</li>
<p></p>
<li>Link state routing protocols are widely used in large networks due to their fast convergence and high reliability.</li>
</ul>
<p></br></p>
<h3>Prepare for Your BSCI Exam with <a href="http://www.trainsignal.com/index.asp?pageAction=VIEWPROD&#038;ProdID=47"target="_blank">Cisco BSCI Training</a> by Train Signal!</h3>
<p><a href="http://www.trainsignal.com/index.asp?PageAction=VIEWPROD&#038;ProdID=47"target="_blank"><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/ProductImages/ccnp_bsci_training_200x150.jpg" alt="CCNP BSCI Training" title="Cisco BSCI Training" align="left" width="150" height="200" border="0" /></a></p>
<p>This course is taught by an experienced CCIE, <a href="http://www.trainsignal.com/chrisbryant.html"target="_blank">Chris Bryant</a>, and offers:</p>
<ul>
<li>20+ Hours of instructor-led video training</li>
<li>150 Practice exam questions</li>
<li>Complete coverage of the 642-901 BSCI exam objectives</li>
</ul>
<p>And remember, our training is <strong>Absolutely Risk Free!</strong></p>
<p>So try the best computer training on the planet backed by a <a href="http://www.trainsignal.com/guarantee.html"target="_blank"><strong>100% Money Back Guarantee!</strong></a><br />
<br/></p>
<h3>Find out more about <a href="http://www.trainsignal.com/index.asp?PageAction=VIEWPROD&#038;ProdID=47"target="_blank">Cisco BSCI Training</a> and watch the sample video now!</h3>
<p><br/></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Cisco+BSCI+Exam+Study+Guide+on+Dynamic+Routing+Protocols+-+http://bit.ly/cSKXAJ+%28via+%40trainsignal%29&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.trainsignaltraining.com/cisco-bsci-exam-study-guide-on-dynamic-routing-protocols/2007-12-12/&amp;title=Cisco+BSCI+Exam+Study+Guide+on+Dynamic+Routing+Protocols" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.trainsignaltraining.com/cisco-bsci-exam-study-guide-on-dynamic-routing-protocols/2007-12-12/&amp;t=Cisco+BSCI+Exam+Study+Guide+on+Dynamic+Routing+Protocols" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.trainsignaltraining.com/cisco-bsci-exam-study-guide-on-dynamic-routing-protocols/2007-12-12/&amp;title=Cisco+BSCI+Exam+Study+Guide+on+Dynamic+Routing+Protocols" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.trainsignaltraining.com/cisco-bsci-exam-study-guide-on-dynamic-routing-protocols/2007-12-12/&amp;title=Cisco+BSCI+Exam+Study+Guide+on+Dynamic+Routing+Protocols" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://www.trainsignaltraining.com/cisco-bsci-exam-study-guide-on-dynamic-routing-protocols/2007-12-12/&amp;title=Cisco+BSCI+Exam+Study+Guide+on+Dynamic+Routing+Protocols&amp;summary=If%20you%27re%20working%20towards%20your%20CCNP%2C%20CCIP%2C%20or%20CCDP%20certifications%20then%20the%20BSCI%20-%20Building%20Scalable%20Cisco%20Internetworks%20exam%20%28642-901%29%20applies%20to%20all%20three%20of%20these%20certifications.%20%0D%0A%0D%0AThe%20BSCI%20exam%20is%20all%20about%20advanced%20IP%20addressing%20and%20routing%20and%20it%20tests%20your%20knowledge%20and%20skills%20on%20implementin&amp;source=Train Signal Training - Free Computer Training Videos" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.trainsignaltraining.com/cisco-bsci-exam-study-guide-on-dynamic-routing-protocols/2007-12-12/&amp;title=Cisco+BSCI+Exam+Study+Guide+on+Dynamic+Routing+Protocols" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-friendfeed">
			<a href="http://www.friendfeed.com/share?title=Cisco+BSCI+Exam+Study+Guide+on+Dynamic+Routing+Protocols&amp;link=http://www.trainsignaltraining.com/cisco-bsci-exam-study-guide-on-dynamic-routing-protocols/2007-12-12/" rel="nofollow" class="external" title="Share this on FriendFeed">Share this on FriendFeed</a>
		</li>
		<li class="shr-printfriendly">
			<a href="http://www.printfriendly.com/print?url=http://www.trainsignaltraining.com/cisco-bsci-exam-study-guide-on-dynamic-routing-protocols/2007-12-12/" rel="nofollow" class="external" title="Send this page to Print Friendly">Send this page to Print Friendly</a>
		</li>
		<li class="shr-mail">
			<a href="mailto:?subject=%22Cisco%20BSCI%20Exam%20Study%20Guide%20on%20Dynamic%20Routing%20Protocols%22&amp;body=Link: http://www.trainsignaltraining.com/cisco-bsci-exam-study-guide-on-dynamic-routing-protocols/2007-12-12/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A If%20you%27re%20working%20towards%20your%20CCNP%2C%20CCIP%2C%20or%20CCDP%20certifications%20then%20the%20BSCI%20-%20Building%20Scalable%20Cisco%20Internetworks%20exam%20%28642-901%29%20applies%20to%20all%20three%20of%20these%20certifications.%20%0D%0A%0D%0AThe%20BSCI%20exam%20is%20all%20about%20advanced%20IP%20addressing%20and%20routing%20and%20it%20tests%20your%20knowledge%20and%20skills%20on%20implementin" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p>Related posts:<ol><li><a href='http://www.trainsignaltraining.com/cisco-ccnp-ospf/2008-03-19/' rel='bookmark' title='Permanent Link: Cisco Routing Study Guide: Configuring OSPF in a Single Area'>Cisco Routing Study Guide: Configuring OSPF in a Single Area</a></li>
<li><a href='http://www.trainsignaltraining.com/cisco-how-to-configure-rip-1/2007-11-19/' rel='bookmark' title='Permanent Link: How To Configure RIP (Routing Information Protocol) Part 1'>How To Configure RIP (Routing Information Protocol) Part 1</a></li>
<li><a href='http://www.trainsignaltraining.com/eigrp-overview/2010-04-13/' rel='bookmark' title='Permanent Link: Master EIGRP For Your Next Cisco Exam'>Master EIGRP For Your Next Cisco Exam</a></li>
<li><a href='http://www.trainsignaltraining.com/cisco-ccna-igrp/2008-01-03/' rel='bookmark' title='Permanent Link: How to Configure Interior Gateway Routing Protocol (IGRP)'>How to Configure Interior Gateway Routing Protocol (IGRP)</a></li>
<li><a href='http://www.trainsignaltraining.com/ip-addressing-and-routing-part-3-default-and-static-routing-basics/2007-11-15/' rel='bookmark' title='Permanent Link: IP Addressing and Routing Part 3: Default &amp; Static Routing Basics'>IP Addressing and Routing Part 3: Default &amp; Static Routing Basics</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.trainsignaltraining.com/cisco-bsci-exam-study-guide-on-dynamic-routing-protocols/2007-12-12/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
