<?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; link-state-routing-protocols</title>
	<atom:link href="http://www.trainsignaltraining.com/tag/link-state-routing-protocols/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>
	</channel>
</rss>
