<?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>OSPF &#8211; www.expertcisco.fr</title>
	<atom:link href="https://www.expertcisco.fr/category/ospf/feed" rel="self" type="application/rss+xml" />
	<link>https://www.expertcisco.fr</link>
	<description>CCIE Routing and Switching Lab Exam</description>
	<lastBuildDate>Wed, 30 Jan 2013 08:28:42 +0000</lastBuildDate>
	<language>fr-FR</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.4</generator>
	<item>
		<title>OSPFv3 &#8211; LSA Type</title>
		<link>https://www.expertcisco.fr/ipv6/ospfv3-lsa-type</link>
		
		<dc:creator><![CDATA[Fred J.]]></dc:creator>
		<pubDate>Sun, 20 Jan 2013 08:20:37 +0000</pubDate>
				<category><![CDATA[IPv6]]></category>
		<category><![CDATA[OSPF]]></category>
		<guid isPermaLink="false">http://www.expertcisco.fr/?p=613</guid>

					<description><![CDATA[U- indicates how a router should handle unknown LSA.  0= treat the LSA as if it had link-local flooding scope 1= Store and flood the LSA S2 and S1- indicate flooding scope of the LSA S2  S1  Description  0  0  Link-local flooding  0  1 &#8230; <a href="https://www.expertcisco.fr/ipv6/ospfv3-lsa-type">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p><a href="https://sites.google.com/site/amitsciscozone/home/important-tips/ipv6/ospf/OSPFv3%20LS%20Type.JPG?attredirects=0"><img class="aligncenter" alt="" src="https://sites.google.com/site/amitsciscozone/_/rsrc/1255053586559/home/important-tips/ipv6/ospf/OSPFv3%20LS%20Type.JPG" title="" rel="lightbox613" border="0" /></a></p>
<ul>
<li><b>U-</b><span style="font-family: Arial, Verdana, sans-serif; font-size: 14px; line-height: 1.5;"> indicates how a router should handle unknown LSA. </span></li>
<li><b>0=</b><span style="font-family: Arial, Verdana, sans-serif; font-size: 14px; line-height: 1.5;"> treat the LSA as if it had link-local flooding scope</span></li>
<li><b>1=</b><span style="font-family: Arial, Verdana, sans-serif; font-size: 14px; line-height: 1.5;"> Store and flood the LSA</span></li>
<li><b>S2 and S1-</b><span style="font-family: Arial, Verdana, sans-serif; font-size: 14px; line-height: 1.5;"> indicate flooding scope of the LSA</span></li>
</ul>
<table border="1" cellspacing="0">
<tbody>
<tr>
<td style="text-align: center;"><b>S2</b></td>
<td style="text-align: center;"> <b>S1</b></td>
<td> <b>Description</b></td>
</tr>
<tr>
<td style="text-align: center;"> 0</td>
<td style="text-align: center;"> 0</td>
<td> Link-local flooding</td>
</tr>
<tr>
<td style="text-align: center;"> 0</td>
<td style="text-align: center;"> 1</td>
<td> Area scope flooding</td>
</tr>
<tr>
<td style="text-align: center;"> 1</td>
<td style="text-align: center;"> 0</td>
<td> AS scope flooding</td>
</tr>
<tr>
<td style="text-align: center;"> 1</td>
<td style="text-align: center;"> 1</td>
<td> Reserved</td>
</tr>
</tbody>
</table>
<h3><b>LSA Function Code</b>&#8211;<b> </b>defines LSA&rsquo;s specific functionality.</h3>
<table border="1" cellspacing="0">
<tbody>
<tr>
<td style="text-align: center;"> <b>LSA Function Code</b></td>
<td style="text-align: center;"> <b>LS Type<br />
</b></td>
<td> <b>Description</b></td>
</tr>
<tr>
<td style="text-align: center;"> 1</td>
<td style="text-align: center;"> 0x2001</td>
<td> Router LSA</td>
</tr>
<tr>
<td style="text-align: center;"> 2</td>
<td style="text-align: center;"> 0x2002</td>
<td> Network LSA</td>
</tr>
<tr>
<td style="text-align: center;"> 3</td>
<td style="text-align: center;"> 0x2003</td>
<td> Inter-Area Prefix LSA</td>
</tr>
<tr>
<td style="text-align: center;"> 4</td>
<td style="text-align: center;"> 0x2004</td>
<td> Inter-Area Router LSA</td>
</tr>
<tr>
<td style="text-align: center;"> 5</td>
<td style="text-align: center;"> 0x4005</td>
<td> AS-external LSA</td>
</tr>
<tr>
<td style="text-align: center;"> 6</td>
<td style="text-align: center;"> 0x2006</td>
<td> Group Membership LSA</td>
</tr>
<tr>
<td style="text-align: center;"> 7</td>
<td style="text-align: center;"> 0x2007</td>
<td> Type-7 (NSSA) LSA</td>
</tr>
<tr>
<td style="text-align: center;"> 8</td>
<td style="text-align: center;"> 0x0008</td>
<td> Link LSA</td>
</tr>
<tr>
<td style="text-align: center;"> 9</td>
<td style="text-align: center;"> 0x2009</td>
<td> Intra-Area Prefix LSA</td>
</tr>
</tbody>
</table>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>OSPF Point-to-Point Networks</title>
		<link>https://www.expertcisco.fr/ospf/ospf-point-to-point-networks</link>
		
		<dc:creator><![CDATA[Fred J.]]></dc:creator>
		<pubDate>Thu, 13 Dec 2012 13:59:40 +0000</pubDate>
				<category><![CDATA[OSPF]]></category>
		<guid isPermaLink="false">http://www.expertcisco.fr/?p=442</guid>

					<description><![CDATA[OSPF &#8211; Hub and spoke Topology Dans une architecture « Hub and spoke » Frame relay, les interfaces peuvent être configurées dans 4 modes de communication OSPF : R1(config)#int s0/0 R1(config-if)#ip ospf network ? broadcast Specify OSPF broadcast multi-access network non-broadcast Specify &#8230; <a href="https://www.expertcisco.fr/ospf/ospf-point-to-point-networks">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<h3>OSPF &#8211; Hub and spoke Topology</h3>
<p><img class="aligncenter" alt="" src="/images/OSPF-Lab14.png" width="335" height="202" /></p>
<p>Dans une architecture « <a title="OSPF – Hub &amp; Spoke Topology" href="http://www.expertcisco.fr/ospf/ospf-hub-spoke-topology">Hub and spoke</a> » Frame relay, les interfaces peuvent être configurées dans 4 modes de communication OSPF :</p>
<pre>R1(config)#int s0/0
R1(config-if)#<span style="color: #ff0000;">ip ospf network ?</span>
<span style="color: #00ffff;">broadcast      </span> Specify OSPF broadcast multi-access network
<span style="color: #00ffff;">non-broadcast</span>       Specify OSPF NBMA network
<span style="color: #00ffff;">point-to-multipoint</span> Specify  OSPF point-to-multipoint network
<span style="color: #00ffff;">point-to-point</span>      Specify OSPF point-to-point network</pre>
<p>&nbsp;</p>
<h3>Configuration d&rsquo;une sous interface point à point sur chaque routeur</h3>
<p style="padding-left: 30px;"><span style="text-decoration: underline;"><strong>Configuration de R1 :</strong></span></p>
<pre>interface Serial0/0
 no ip address
 encapsulation frame-relay
!
interface Serial0/0.12 point-to-point
 ip address 10.1.12.1 255.255.255.0
 frame-relay interface-dlci 102
!
interface Serial0/0.13 point-to-point
 ip address 10.1.13.1 255.255.255.0
 frame-relay interface-dlci 103
!
interface Serial0/0.14 point-to-point
 ip address 10.1.14.1 255.255.255.0
 frame-relay interface-dlci 104
!
router ospf 1
 log-adjacency-changes
 network 1.1.1.1 0.0.0.0 area 0
 network 10.1.12.1 0.0.0.0 area 0
 network 10.1.13.1 0.0.0.0 area 0
 network 10.1.14.1 0.0.0.0 area 0
!</pre>
<p style="padding-left: 30px;"><span style="text-decoration: underline;"><strong>Vérifications :</strong></span></p>
<pre><span style="color: #ff0000;">R1</span>#<span style="color: #ff0000;">show ip ospf int s0/0</span>
%OSPF: OSPF not enabled on Serial0/0</pre>
<pre><span style="color: #ff0000;">R1</span>#<span style="color: #ff0000;">show ip ospf int s0/0.12</span>
Serial0/0.12 is up, line protocol is up
  Internet Address 10.1.12.1/24, Area 0
  Process ID 1, Router ID 1.1.1.1, Network Type <span style="color: #ff0000;">POINT_TO_POINT</span>, Cost: 64
  Transmit Delay is 1 sec, State POINT_TO_POINT,
  Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
    oob-resync timeout 40
    Hello due in 00:00:09
  Supports Link-local Signaling (LLS)
  Index 2/2, flood queue length 0
  Next 0x0(0)/0x0(0)
  Last flood scan length is 1, maximum is 1
  Last flood scan time is 0 msec, maximum is 0 msec
  Neighbor Count is 1, Adjacent neighbor count is 1
    Adjacent with neighbor 2.2.2.2
  Suppress hello for 0 neighbor(s)</pre>
<pre><span style="color: #ff0000;">R1</span>#<span style="color: #ff0000;">show ip ospf neighbor</span>

Neighbor ID     Pri   State           Dead Time   Address         Interface
4.4.4.4           0   FULL/  -        00:00:36    10.1.14.4       Serial0/0.14
3.3.3.3           0   FULL/  -        00:00:31    10.1.13.3       Serial0/0.13
2.2.2.2           0   FULL/  -        00:00:34    10.1.12.2       Serial0/0.12</pre>
<pre><span style="color: #ff0000;">  
R1</span>#<span style="color: #ff0000;">show ip route ospf</span>
O    2.0.0.0/8 [110/65] via 10.1.12.2, 00:05:20, Serial0/0.12
O    3.0.0.0/8 [110/65] via 10.1.13.3, 00:05:20, Serial0/0.13
O    4.0.0.0/8 [110/65] via 10.1.14.4, 00:05:20, Serial0/0.14</pre>
<pre><span style="color: #ff0000;">R4</span>#<span style="color: #ff0000;">show ip ospf neighbor</span>

Neighbor ID     Pri   State           Dead Time   Address         Interface
1.1.1.1           0   FULL/  -        00:00:30    10.1.14.1       Serial0/0.41</pre>
<p>Dans cette configuration, le routage des routeurs « spoke » converge vers le routeur « hub » :</p>
<pre><span style="color: #ff0000;">R4</span>#<span style="color: #ff0000;">show ip route ospf</span>
O    1.0.0.0/8 [110/65] via 10.1.14.1, 00:02:44, Serial0/0.41
O    2.0.0.0/8 [110/129] via 10.1.14.1, 00:02:44, Serial0/0.41
O    3.0.0.0/8 [110/129] via 10.1.14.1, 00:02:44, Serial0/0.41
     10.0.0.0/24 is subnetted, 3 subnets
O       10.1.13.0 [110/128] via 10.1.14.1, 00:02:44, Serial0/0.41
O       10.1.12.0 [110/128] via 10.1.14.1, 00:02:44, Serial0/0.41</pre>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Priority OSPF</title>
		<link>https://www.expertcisco.fr/ospf/priority-ospf</link>
		
		<dc:creator><![CDATA[Fred J.]]></dc:creator>
		<pubDate>Fri, 20 Apr 2012 14:04:48 +0000</pubDate>
				<category><![CDATA[OSPF]]></category>
		<guid isPermaLink="false">http://www.expertcisco.fr/?p=448</guid>

					<description><![CDATA[Une priorité peut être configurée pour facilité l’élection du « Designated Router » (DR) Dans une architecture « hub and spoke » en mode broadcast le routeur « hub » doit être élue DR en lui assignant la plus forte priorité(255), les routeur « spoke » doivent être &#8230; <a href="https://www.expertcisco.fr/ospf/priority-ospf">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p><img style="float: right;" alt="" src="/images/OSPF-Lab12.png" width="335" height="202" />Une priorité peut être configurée pour facilité l’élection du « Designated Router » (DR)</p>
<p>Dans une architecture « <a title="OSPF – Hub &amp; Spoke Topology" href="http://www.expertcisco.fr/frame-relay/ospf-hub-spoke-topology">hub and spoke</a> » en mode <a title="OSPF Broadcast Networks" href="http://www.expertcisco.fr/frame-relay/ospf-broadcast-networks">broadcast </a>le routeur « hub » doit être élue DR en lui assignant la plus forte priorité(255), les routeur « spoke » doivent être configuré avec un priorité de 0</p>
<h3>Configuration du routeur « hub » (R1)</h3>
<pre>R1(config)#int s0/0
R1(config-if)#<span style="color: #ff0000;">ip ospf priority 255
</span></pre>
<h3>Configuration des routeurs spoke (R2 à R4)</h3>
<pre>R4(config)#int s0/0
R4(config-if)#<span style="color: #ff0000;">ip ospf priority 0
</span></pre>
<p style="padding-left: 30px;"><span style="text-decoration: underline;"><strong>Vérifications:</strong></span></p>
<pre><span style="color: #ff0000;">R1</span>#<span style="color: #ff0000;">show ip ospf int s0/0</span>
Serial0/0 is up, line protocol is up
  Internet Address 10.1.1.1/24, Area 0
  Process ID 1, Router ID 1.1.1.1, Network Type BROADCAST, Cost: 64
  Transmit Delay is 1 sec, <span style="color: #00ffff;">State DR, Priority 255</span>
  Designated Router (ID) 1.1.1.1, Interface address 10.1.1.1
  No backup designated router on this network
  Old designated Router (ID) 4.4.4.4, Interface address 10.1.1.4
  Timer intervals configured, Hello 5, Dead 20, Wait 20, Retransmit 5
    oob-resync timeout 40
    Hello due in 00:00:04
  Supports Link-local Signaling (LLS)
  Index 2/2, flood queue length 0
  Next 0x0(0)/0x0(0)
  Last flood scan length is 1, maximum is 1
  Last flood scan time is 0 msec, maximum is 4 msec
  Neighbor Count is 3, Adjacent neighbor count is 3
    Adjacent with neighbor 2.2.2.2
    Adjacent with neighbor 3.3.3.3
    Adjacent with neighbor 4.4.4.4
  Suppress hello for 0 neighbor(s)</pre>
<pre><span style="color: #ff0000;"> 
R4</span>#<span style="color: #ff0000;">show ip ospf int s0/0</span>
Serial0/0 is up, line protocol is up
  Internet Address 10.1.1.4/24, Area 0
  Process ID 1, Router ID 4.4.4.4, Network Type BROADCAST, Cost: 64
  Transmit Delay is 1 sec, <span style="color: #00ffff;">State DROTHER, Priority 0</span>
  Designated Router (ID) 1.1.1.1, Interface address 10.1.1.1
  No backup designated router on this network
  Old designated Router (ID) 4.4.4.4, Interface address 10.1.1.4
  Flush timer for old DR LSA due in 00:00:36
  Timer intervals configured, Hello 5, Dead 20, Wait 20, Retransmit 5
    oob-resync timeout 40
    Hello due in 00:00:03
  Supports Link-local Signaling (LLS)
  Index 2/2, flood queue length 0
  Next 0x0(0)/0x0(0)
  Last flood scan length is 1, maximum is 1
  Last flood scan time is 0 msec, maximum is 0 msec
  Neighbor Count is 1, Adjacent neighbor count is 1
    Adjacent with neighbor 1.1.1.1  (Designated Router)
  Suppress hello for 0 neighbor(s)</pre>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>OSPF Point-to-Multipoint Networks</title>
		<link>https://www.expertcisco.fr/frame-relay/ospf-point-to-multipoint-networks</link>
		
		<dc:creator><![CDATA[Fred J.]]></dc:creator>
		<pubDate>Fri, 20 Apr 2012 14:03:12 +0000</pubDate>
				<category><![CDATA[Frame Relay]]></category>
		<category><![CDATA[OSPF]]></category>
		<guid isPermaLink="false">http://www.expertcisco.fr/?p=445</guid>

					<description><![CDATA[OSPF &#8211; Hub and spoke Topology Dans une architecture « Hub and spoke » Frame relay, les interfaces peuvent être configurées dans 4 modes de communication OSPF : R1(config)#int s0/0 R1(config-if)#ip ospf network ? broadcast Specify OSPF broadcast multi-access network non-broadcast Specify &#8230; <a href="https://www.expertcisco.fr/frame-relay/ospf-point-to-multipoint-networks">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<h3>OSPF &#8211; Hub and spoke Topology</h3>
<p><img class="aligncenter" alt="" src="/images/OSPF-Lab12.png" width="335" height="202" /></p>
<p>Dans une architecture « <a title="OSPF – Hub &amp; Spoke Topology" href="http://www.expertcisco.fr/ospf/ospf-hub-spoke-topology">Hub and spoke</a> » Frame relay, les interfaces peuvent être configurées dans 4 modes de communication OSPF :</p>
<pre>R1(config)#int s0/0
R1(config-if)#<span style="color: #ff0000;">ip ospf network ?</span>
<span style="color: #00ffff;">broadcast      </span> Specify OSPF broadcast multi-access network
<span style="color: #00ffff;">non-broadcast</span>       Specify OSPF NBMA network
<span style="color: #00ffff;">point-to-multipoint</span> Specify  OSPF point-to-multipoint network
<span style="color: #00ffff;">point-to-point</span>      Specify OSPF point-to-point network</pre>
<p>&nbsp;</p>
<h3>Configuration de tous les routeurs en mode « point-to-mulitipoint »</h3>
<pre>R1#configure t
R1(config)#int s0/0
R1(config-if)#<span style="color: #ff0000;">ip ospf network point-to-multipoint
</span></pre>
<p style="padding-left: 30px;"><span style="text-decoration: underline;"><strong>Vérifications</strong></span></p>
<pre><span style="color: #ff0000;">R1</span>#<span style="color: #ff0000;">show ip ospf interface s0/0</span>
Serial0/0 is up, line protocol is up
  Internet Address 10.1.1.1/24, Area 0
  Process ID 1, Router ID 1.1.1.1, Network Type POINT_TO_MULTIPOINT, Cost: 64
  Transmit Delay is 1 sec, State POINT_TO_MULTIPOINT,
  Timer intervals configured, Hello 5, Dead 20, Wait 20, Retransmit 5
    oob-resync timeout 40
    Hello due in 00:00:03
  Supports Link-local Signaling (LLS)
  Index 2/2, flood queue length 0
  Next 0x0(0)/0x0(0)
  Last flood scan length is 2, maximum is 2
  Last flood scan time is 0 msec, maximum is 4 msec
  Neighbor Count is 3, Adjacent neighbor count is 3
    Adjacent with neighbor 4.4.4.4
    Adjacent with neighbor 3.3.3.3
    Adjacent with neighbor 2.2.2.2
  Suppress hello for 0 neighbor(s)</pre>
<p>Dans cette configuration, le routage des routeurs « spoke » converge vers le routeur « hub » , une route host (/32) est également ajoutée :</p>
<pre><span style="color: #ff0000;">R1</span>#<span style="color: #ff0000;">show ip route ospf</span>
O    2.0.0.0/8 [110/65] via 10.1.1.2, 00:01:47, Serial0/0
O    3.0.0.0/8 [110/65] via 10.1.1.3, 00:01:47, Serial0/0
O    4.0.0.0/8 [110/65] via 10.1.1.4, 00:01:47, Serial0/0
     10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks
O       10.1.1.2/32 [110/64] via 10.1.1.2, 00:01:47, Serial0/0
O       10.1.1.3/32 [110/64] via 10.1.1.3, 00:01:47, Serial0/0
O       10.1.1.4/32 [110/64] via 10.1.1.4, 00:01:47, Serial0/0

<span style="color: #ff0000;">R2</span>#<span style="color: #ff0000;">show ip route ospf</span>
O    1.0.0.0/8 [110/65] via 10.1.1.1, 00:02:15, Serial0/0
O    3.0.0.0/8 [110/129] via 10.1.1.1, 00:02:15, Serial0/0
O    4.0.0.0/8 [110/129] via 10.1.1.1, 00:02:15, Serial0/0
     10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks
O       10.1.1.3/32 [110/128] via 10.1.1.1, 00:02:15, Serial0/0
O       10.1.1.1/32 [110/64] via 10.1.1.1, 00:02:15, Serial0/0
O       10.1.1.4/32 [110/128] via 10.1.1.1, 00:02:15, Serial0/0

<span style="color: #ff0000;">R3</span>#<span style="color: #ff0000;">show ip route ospf</span>
O    1.0.0.0/8 [110/782] via 10.1.1.1, 00:02:32, Serial1/0
O    2.0.0.0/8 [110/846] via 10.1.1.1, 00:02:32, Serial1/0
O    4.0.0.0/8 [110/846] via 10.1.1.1, 00:02:32, Serial1/0
     10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks
O       10.1.1.2/32 [110/845] via 10.1.1.1, 00:02:32, Serial1/0
O       10.1.1.1/32 [110/781] via 10.1.1.1, 00:02:32, Serial1/0
O       10.1.1.4/32 [110/845] via 10.1.1.1, 00:02:32, Serial1/0

<span style="color: #ff0000;">R4</span>#<span style="color: #ff0000;">show ip route ospf</span>
O    1.0.0.0/8 [110/65] via 10.1.1.1, 00:02:50, Serial0/0
O    2.0.0.0/8 [110/129] via 10.1.1.1, 00:02:50, Serial0/0
O    3.0.0.0/8 [110/129] via 10.1.1.1, 00:02:50, Serial0/0
     10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks
O       10.1.1.2/32 [110/128] via 10.1.1.1, 00:02:50, Serial0/0
O       10.1.1.3/32 [110/128] via 10.1.1.1, 00:02:50, Serial0/0
O       10.1.1.1/32 [110/64] via 10.1.1.1, 00:02:50, Serial0/0</pre>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>OSPF Broadcast Networks</title>
		<link>https://www.expertcisco.fr/frame-relay/ospf-broadcast-networks</link>
		
		<dc:creator><![CDATA[Fred J.]]></dc:creator>
		<pubDate>Fri, 20 Apr 2012 13:50:39 +0000</pubDate>
				<category><![CDATA[Frame Relay]]></category>
		<category><![CDATA[OSPF]]></category>
		<guid isPermaLink="false">http://www.expertcisco.fr/?p=440</guid>

					<description><![CDATA[OSPF &#8211; Hub and spoke Topology Dans une architecture « Hub and spoke » Frame relay, les interfaces peuvent être configurées dans 4 modes de communication OSPF : R1(config)#int s0/0 R1(config-if)#ip ospf network ? broadcast Specify OSPF broadcast multi-access network non-broadcast Specify &#8230; <a href="https://www.expertcisco.fr/frame-relay/ospf-broadcast-networks">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<h3>OSPF &#8211; Hub and spoke Topology</h3>
<p><img class="aligncenter" alt="" src="/images/OSPF-Lab12.png" width="335" height="202" /></p>
<p>Dans une architecture « <a title="OSPF – Hub &amp; Spoke Topology" href="http://www.expertcisco.fr/ospf/ospf-hub-spoke-topology">Hub and spoke</a> » Frame relay, les interfaces peuvent être configurées dans 4 modes de communication OSPF :</p>
<pre>R1(config)#int s0/0
R1(config-if)#<span style="color: #ff0000;">ip ospf network ?</span>
<span style="color: #00ffff;">broadcast      </span> Specify OSPF broadcast multi-access network
<span style="color: #00ffff;">non-broadcast</span>       Specify OSPF NBMA network
<span style="color: #00ffff;">point-to-multipoint</span> Specify  OSPF point-to-multipoint network
<span style="color: #00ffff;">point-to-point</span>      Specify OSPF point-to-point network</pre>
<p>&nbsp;</p>
<p>Configuration des interaces de  tous les routeurs en mode broadcast</p>
<pre>R1#conf t
R1(config)#int s0/0
R1(config-if)#<span style="color: #ff0000;">ip ospf network broadcast
</span></pre>
<p>Dans cette configuration, la découverte de voisins OSPF est automatique</p>
<p style="padding-left: 30px;"><span style="text-decoration: underline;"><strong>Vérifications:</strong></span></p>
<pre><span style="color: #ff0000;">R1</span>#<span style="color: #ff0000;">show ip ospf interface s0/0</span>
Serial0/0 is up, line protocol is up
  Internet Address 10.1.1.1/24, Area 0
  Process ID 1, Router ID 1.1.1.1, Network Type <span style="color: #ff0000;">BROADCAST</span>, Cost: 64
  Transmit Delay is 1 sec, State DR, Priority 255
  Designated Router (ID) 1.1.1.1, Interface address 10.1.1.1
  No backup designated router on this network
  Timer intervals configured, Hello 5, Dead 20, Wait 20, Retransmit 5
    oob-resync timeout 40
    Hello due in 00:00:03
  Supports Link-local Signaling (LLS)
  Index 2/2, flood queue length 0
  Next 0x0(0)/0x0(0)
  Last flood scan length is 1, maximum is 2
  Last flood scan time is 0 msec, maximum is 4 msec
  Neighbor Count is 3, Adjacent neighbor count is 3
    Adjacent with neighbor 2.2.2.2
    Adjacent with neighbor 3.3.3.3
    Adjacent with neighbor 4.4.4.4   
  Suppress hello for 0 neighbor(s)</pre>
<pre>R1#<span style="color: #ff0000;">show ip ospf neighbor</span>

Neighbor ID     Pri   State           Dead Time   Address         Interface
2.2.2.2           0   FULL/DROTHER    00:00:19    10.1.1.2        Serial0/0
3.3.3.3           0   FULL/DROTHER    00:00:15    10.1.1.3        Serial0/0
4.4.4.4           0   FULL/DROTHER    00:00:16    10.1.1.4        Serial0/0</pre>
<p>Dans ce mode, les routeurs « spoke » obtiennent les IP des autres « spoke » comme next hop, la configuration frame relay doit permettre d&rsquo;atteindre tous les next hop</p>
<pre><span style="color: #ff0000;">R1</span>#<span style="color: #ff0000;">show ip route ospf</span>
O    2.0.0.0/8 [110/65] via 10.1.1.2, 00:03:59, Serial0/0
O    3.0.0.0/8 [110/65] via 10.1.1.3, 00:03:59, Serial0/0
O    4.0.0.0/8 [110/65] via 10.1.1.4, 00:03:59, Serial0/0

<span style="color: #ff0000;">R2</span>#<span style="color: #ff0000;">show ip  route ospf</span>
O    1.0.0.0/8 [110/65] via 10.1.1.1, 00:07:11, Serial0/0
O    3.0.0.0/8 [110/65] via 10.1.1.3, 00:07:11, Serial0/0
O    4.0.0.0/8 [110/65] via 10.1.1.4, 00:07:11, Serial0/0

<span style="color: #ff0000;">R3</span>#<span style="color: #ff0000;">show ip route ospf</span>
O    1.0.0.0/8 [110/782] via 10.1.1.1, 00:07:29, Serial1/0
O    2.0.0.0/8 [110/782] via 10.1.1.2, 00:07:29, Serial1/0
O    4.0.0.0/8 [110/782] via 10.1.1.4, 00:07:29, Serial1/0

<span style="color: #ff0000;">R4</span>#<span style="color: #ff0000;">show ip route ospf</span>
O    1.0.0.0/8 [110/65] via 10.1.1.1, 00:07:46, Serial0/0
O    2.0.0.0/8 [110/65] via 10.1.1.2, 00:07:46, Serial0/0
O    3.0.0.0/8 [110/65] via 10.1.1.3, 00:07:46, Serial0/0</pre>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>OSPF Non-Broadcast Networks</title>
		<link>https://www.expertcisco.fr/frame-relay/ospf-non-broadcast-networks</link>
		
		<dc:creator><![CDATA[Fred J.]]></dc:creator>
		<pubDate>Fri, 20 Apr 2012 11:02:57 +0000</pubDate>
				<category><![CDATA[Frame Relay]]></category>
		<category><![CDATA[OSPF]]></category>
		<guid isPermaLink="false">http://www.expertcisco.fr/?p=427</guid>

					<description><![CDATA[OSPF &#8211; Hub and spoke Topology Dans une architecture « Hub and spoke » Frame relay, les interfaces peuvent être configurées dans 4 modes de communication OSPF : R1(config)#int s0/0 R1(config-if)#ip ospf network ? broadcast Specify OSPF broadcast multi-access network non-broadcast Specify &#8230; <a href="https://www.expertcisco.fr/frame-relay/ospf-non-broadcast-networks">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<h3>OSPF &#8211; Hub and spoke Topology</h3>
<p><img class="aligncenter" alt="" src="/images/OSPF-Lab12.png" width="335" height="202" /></p>
<p>Dans une architecture « <a title="OSPF – Hub &amp; Spoke Topology" href="http://www.expertcisco.fr/ospf/ospf-hub-spoke-topology">Hub and spoke</a> » Frame relay, les interfaces peuvent être configurées dans 4 modes de communication OSPF :</p>
<pre>R1(config)#int s0/0
R1(config-if)#<span style="color: #ff0000;">ip ospf network ?</span>
<span style="color: #00ffff;">broadcast      </span> Specify OSPF broadcast multi-access network
<span style="color: #00ffff;">non-broadcast</span>       Specify OSPF NBMA network
<span style="color: #00ffff;">point-to-multipoint</span> Specify  OSPF point-to-multipoint network
<span style="color: #00ffff;">point-to-point</span>      Specify OSPF point-to-point network</pre>
<p>&nbsp;</p>
<h3>Par défaut, les interfaces sérial sont en mode « Non-Broadcast »</h3>
<p style="padding-left: 30px;">Configuration basique de R1 (et des autres routeurs)</p>
<pre>router ospf 1
 log-adjacency-changes
 network 1.1.1.1 0.0.0.0 area 0
 network 10.1.1.1 0.0.0.0 area 0</pre>
<pre>R1#<span style="color: #ff0000;">show ip ospf interface s0/0</span>
Serial0/0 is up, line protocol is up
  Internet Address 10.1.1.1/24, Area 0
  Process ID 1, Router ID 1.1.1.1, Network Type <span style="color: #ff0000;">NON_BROADCAST</span>, Cost: 64
  Transmit Delay is 1 sec, State WAITING, Priority 1
  No designated router on this network
  No backup designated router on this network
  Timer intervals configured, Hello 30, Dead 120, Wait 120, Retransmit 5
    oob-resync timeout 120
    Hello due in 00:00:12
    Wait time before Designated router selection 00:01:12
  Supports Link-local Signaling (LLS)
  Index 2/2, flood queue length 0
  Next 0x0(0)/0x0(0)
  Last flood scan length is 0, maximum is 0
  Last flood scan time is 0 msec, maximum is 0 msec
  Neighbor Count is 0, Adjacent neighbor count is 0
  Suppress hello for 0 neighbor(s)</pre>
<p>&nbsp;</p>
<p><span style="text-decoration: underline;"><strong>Dans cette configuration, les voisins OSPF doivent être spécifiés sur le routeur hub :</strong></span></p>
<pre><span style="color: #ff0000;">R1</span>#conf t
R1(config)#router ospf 1
R1(config-router)#
R1(config-router)#<span style="color: #ff0000;">neighbor</span> 10.1.1.2
R1(config-router)#neighbor 10.1.1.3
R1(config-router)#neighbor 10.1.1.4</pre>
<p style="padding-left: 30px;"><span style="text-decoration: underline;"><strong>Vérifications:</strong></span></p>
<pre><span style="color: #ff0000;">R1</span>#<span style="color: #ff0000;">show ip ospf neighbor</span>

Neighbor ID     Pri   State           Dead Time   Address         Interface
4.4.4.4           0   FULL/DROTHER    968 msec    10.1.1.4        Serial0/0
3.3.3.3           0   FULL/DROTHER    932 msec    10.1.1.3        Serial0/0
2.2.2.2           0   FULL/DROTHER    944 msec    10.1.1.2        Serial0/0</pre>
<pre>  
R1#show ip route ospf
O    2.0.0.0/8 [110/65] via 10.1.1.2, 00:00:45, Serial0/0
O    3.0.0.0/8 [110/65] via 10.1.1.3, 00:00:45, Serial0/0
O    4.0.0.0/8 [110/65] via 10.1.1.4, 00:00:45, Serial0/0</pre>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>OSPF &#8211; Hub &#038; Spoke Topology</title>
		<link>https://www.expertcisco.fr/frame-relay/ospf-hub-spoke-topology</link>
		
		<dc:creator><![CDATA[Fred J.]]></dc:creator>
		<pubDate>Fri, 20 Apr 2012 09:08:53 +0000</pubDate>
				<category><![CDATA[Frame Relay]]></category>
		<category><![CDATA[OSPF]]></category>
		<guid isPermaLink="false">http://www.expertcisco.fr/?p=420</guid>

					<description><![CDATA[Dans une architecture « Hub and spoke » Frame relay, les interfaces peuvent être configurées dans 4 modes de communication OSPF : Non-Broadcast Networks Broadcast Networks Priority Point-to-Point Networks Point-to-Multipoint Networks R1(config)#int s0/0 R1(config-if)#ip ospf network ? broadcast Specify OSPF broadcast multi-access &#8230; <a href="https://www.expertcisco.fr/frame-relay/ospf-hub-spoke-topology">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>Dans une architecture « Hub and spoke » Frame relay, les interfaces peuvent être configurées dans 4 modes de communication OSPF :</p>
<blockquote>
<ul>
<li><a title="OSPF Non-Broadcast Networks" href="http://www.expertcisco.fr/frame-relay/ospf-non-broadcast-networks">Non-Broadcast Networks</a></li>
<li><a title="OSPF Broadcast Networks" href="http://www.expertcisco.fr/frame-relay/ospf-broadcast-networks">Broadcast Networks</a><a title="Priority OSPF" href="http://www.expertcisco.fr/ospf/priority-ospf">
<ul>
<li>Priority</li>
</ul>
<p></a></li>
<li><a title="OSPF Point-to-Point Networks" href="http://www.expertcisco.fr/non-classe/ospf-point-to-point-networks">Point-to-Point Networks</a></li>
<li><a title="OSPF Point-to-Multipoint Networks" href="http://www.expertcisco.fr/frame-relay/ospf-point-to-multipoint-networks">Point-to-Multipoint Networks</a></li>
</ul>
</blockquote>
<pre>R1(config)#int s0/0
R1(config-if)#<span style="color: #ff0000;">ip ospf network ?</span>
  <span style="color: #00ffff;">broadcast      </span> Specify OSPF broadcast multi-access network
  <span style="color: #00ffff;">non-broadcast</span>       Specify OSPF NBMA network
  <span style="color: #00ffff;">point-to-multipoint</span> Specify  OSPF point-to-multipoint network
  <span style="color: #00ffff;">point-to-point</span>      Specify OSPF point-to-point network</pre>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>OSPF &#8211; max-metric</title>
		<link>https://www.expertcisco.fr/ospf/ospf-max-metric</link>
		
		<dc:creator><![CDATA[Fred J.]]></dc:creator>
		<pubDate>Fri, 13 Apr 2012 09:03:15 +0000</pubDate>
				<category><![CDATA[OSPF]]></category>
		<guid isPermaLink="false">http://www.expertcisco.fr/?p=416</guid>

					<description><![CDATA[Dans notre exemple, le routeur R4 peut atteindre le réseau 66.6.6.0/24 (R6) via R5 et R6 : &#160; R4#show ip ospf database summary 66.6.6.0 OSPF Router with ID (10.11.11.1) (Process ID 1) Summary Net Link States (Area 0) Routing Bit &#8230; <a href="https://www.expertcisco.fr/ospf/ospf-max-metric">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p><a href="http://www.expertcisco.fr/images/OSPF-Lab9.png" title="" rel="lightbox416"><img class="alignright" alt="" src="/images/OSPF-Lab9.png" width="281" height="225" /></a></p>
<p>Dans notre exemple, le routeur R4 peut atteindre le réseau 66.6.6.0/24 (R6) via R5 et R6 :</p>
<p>&nbsp;</p>
<pre><span style="color: #ff0000;">R4</span>#<span style="color: #ff0000;">show ip ospf database summary 66.6.6.0</span>

            OSPF Router with ID (10.11.11.1) (Process ID 1)

                Summary Net Link States (Area 0)

  Routing Bit Set on this LSA
  LS age: 175
  Options: (No TOS-capability, DC, Upward)
  LS Type: Summary Links(Network)
  Link State ID: 66.6.6.0 (summary Network Number)
  Advertising Router: 10.2.2.3
  LS Seq Number: 80000011
  Checksum: 0xBC0
  Length: 28
  Network Mask: /24
        TOS: 0  <span style="color: #ff0000;">Metric: 2</span>

  Routing Bit Set on this LSA
  LS age: 215
  Options: (No TOS-capability, DC, Upward)
  LS Type: Summary Links(Network)
  Link State ID: 66.6.6.0 (summary Network Number)
  Advertising Router: 10.2.2.5
  LS Seq Number: 80000003
  Checksum: 0x1BBC
  Length: 28
  Network Mask: /24
        TOS: 0 <span style="color: #ff0000;"> Metric: 2
</span></pre>
<pre><span style="color: #ff0000;">  
R4</span>#<span style="color: #ff0000;">show ip route 66.6.6.0</span>
Routing entry for 66.6.6.0/24
  Known via "ospf 1", distance 110, metric 3, type inter area
  Last update from 10.1.1.3 on FastEthernet0/0, 00:02:36 ago
  Routing Descriptor Blocks:
  * 10.1.1.5, from 10.2.2.5, 00:02:36 ago, via FastEthernet0/0
      Route metric is 3, traffic share count is 1
    10.1.1.3, from 10.2.2.3, 00:02:36 ago, via FastEthernet0/0
      Route metric is 3, traffic share count is 1</pre>
<h3></h3>
<h3>« max-metric router-lsa » permet au routeur R5 de faire ses annonces OSPF avec un metric maximum</h3>
<p style="padding-left: 30px;"><span style="text-decoration: underline;"><strong> Configuration</strong></span></p>
<pre><span style="color: #ff0000;">R5</span>(config)#router ospf 1
R5(config-router)#<span style="color: #ff0000;">max-metric router-lsa
</span></pre>
<p style="padding-left: 30px;"><span style="text-decoration: underline;"><strong>Vérifications:</strong></span></p>
<pre><span style="color: #ff0000;">R4</span>#<span style="color: #ff0000;">show ip ospf database summary 66.6.6.0</span>

            OSPF Router with ID (10.11.11.1) (Process ID 1)

                Summary Net Link States (Area 0)

  Routing Bit Set on this LSA
  LS age: 241
  Options: (No TOS-capability, DC, Upward)
  LS Type: Summary Links(Network)
  Link State ID: 66.6.6.0 (summary Network Number)
  Advertising Router: 10.2.2.3
  LS Seq Number: 80000011
  Checksum: 0xBC0
  Length: 28
  Network Mask: /24
        TOS: 0  <span style="color: #ff0000;">Metric: 2</span>

  Routing Bit Set on this LSA
  LS age: 16
  Options: (No TOS-capability, DC, Upward)
  LS Type: Summary Links(Network)
  Link State ID: 66.6.6.0 (summary Network Number)
  Advertising Router: 10.2.2.5
  LS Seq Number: 80000004
  Checksum: 0xDCA
  Length: 28
  Network Mask: /24
        TOS: 0  <span style="color: #ff0000;">Metric: 65536
</span></pre>
<pre><span style="color: #ff0000;">  
R4</span>#<span style="color: #ff0000;">show ip route 66.6.6.0</span>
Routing entry for 66.6.6.0/24
  Known via "ospf 1", distance 110, metric 3, type inter area
  Last update from 10.1.1.3 on FastEthernet0/0, 00:00:12 ago
  Routing Descriptor Blocks:
  * 10.1.1.3, from 10.2.2.3, 00:00:12 ago, via FastEthernet0/0
      Route metric is 3, traffic share count is 1</pre>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>OSPF Filtering</title>
		<link>https://www.expertcisco.fr/ospf/ospf-filtering</link>
		
		<dc:creator><![CDATA[Fred J.]]></dc:creator>
		<pubDate>Fri, 13 Apr 2012 08:45:59 +0000</pubDate>
				<category><![CDATA[OSPF]]></category>
		<guid isPermaLink="false">http://www.expertcisco.fr/?p=412</guid>

					<description><![CDATA[Plusieurs type de filtre en OSPF distribute-list x in area x filter-list prefix x in area x filter-list prefix x out distribute-list x out area x.x.x.x x.x.x.x not-advertise summary-address x.x.x.x x.x.x.x not-advertise distribute-list x in Permet de filtrer les routes &#8230; <a href="https://www.expertcisco.fr/ospf/ospf-filtering">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<h3>Plusieurs type de filtre en OSPF<img class="alignright" alt="" src="/images/OSPF-Lab8.png" width="401" height="321" /></h3>
<ul>
<li>distribute-list x in</li>
<li>area x filter-list prefix x in</li>
<li>area x filter-list prefix x out</li>
<li>distribute-list x out</li>
</ul>
<ul>
<li>area x.x.x.x x.x.x.x not-advertise</li>
<li>summary-address x.x.x.x x.x.x.x not-advertise</li>
</ul>
<h3>distribute-list x in</h3>
<p>Permet de filtrer les routes OSPF (tout type) qui seront injectés (ou pas) dans la table routage locale du routeur<br />
« distribute-list x in » n&rsquo;a aucun impact sur la réception et l&rsquo;annonce OSPF</p>
<p style="padding-left: 30px;"><span style="text-decoration: underline;"><strong>Exemple:</strong></span></p>
<pre><span style="color: #ff0000;">R3</span>#<span style="color: #ff0000;">show ip route 1.1.1.0</span>
Routing entry for 1.1.1.0/24
  Known via "ospf 1", distance 110, metric 782, type intra area
  Last update from 10.1.13.1 on Serial1/2, 00:00:04 ago
  Routing Descriptor Blocks:
  * 10.1.13.1, from 1.1.1.1, 00:00:04 ago, via Serial1/2
      Route metric is 782, traffic share count is 1</pre>
<p style="padding-left: 30px;"><span style="text-decoration: underline;"><strong>Filtre le sous réseau 1.1.1.0 /24</strong></span></p>
<pre><span style="color: #ff0000;">R3</span>#conf t
R3(config)#<span style="color: #ff0000;">access-list 1</span> deny 1.1.1.0 0.0.0.255
R3(config)#<span style="color: #ff0000;">access-list 1</span> permit any

R3(config)#router ospf 1
R3(config-router)#<span style="color: #ff0000;">distribute-list 1 in
</span></pre>
<p style="padding-left: 30px;"><span style="text-decoration: underline;"><strong>Vérification:</strong></span></p>
<pre><span style="color: #ff0000;">R3</span>#<span style="color: #ff0000;">show ip route 1.1.1.0</span>
% Network not in table
</pre>
<p style="padding-left: 30px;"><span style="text-decoration: underline;"><strong>« distribute-list » peut être utilisé avec route-map et ainsi filtrer les types de routes (E1, E2), les tag &#8230; ou autres</strong></span></p>
<pre><span style="color: #00ffff;">route-map DROP-E2 deny 10
 match route-type external type-2
!
route-map DROP-E2 permit 20
!</span>
<span style="color: #cc99ff;">route-map DROP-TAG-111 deny 10
 match tag 111
!
route-map DROP-TAG-111 permit 20
!</span>
router ospf 1
 log-adjacency-changes
 network 10.1.1.4 0.0.0.0 area 0
 network 10.11.11.1 0.0.0.0 area 0
 distribute-list route-map <span style="color: #ff0000;"><strong>DROP-E2</strong></span> in
!</pre>
<h3></h3>
<h3>area x filter-list prefix x in</h3>
<p>« area x filter-list prefix x in » permet de filtrer les LSA de type 3 sur un ABR<br />
le sous réseau 11.1.1.0/24 est présent dans l&rsquo;area 0 et est diffusé dans l&rsquo;area 2 par l&rsquo;ABR R4 (schéma plus haut)</p>
<p style="padding-left: 30px;"><span style="text-decoration: underline;"><strong>le sous réseau 11.1.1.0/24 est donc présent dans R5 :</strong></span></p>
<pre><span style="color: #ff0000;">R5</span>#<span style="color: #ff0000;">show ip route 11.1.1.1</span>
Routing entry for 11.1.1.0/24
  Known via "ospf 1", distance 110, metric 896, type inter area
  Last update from 10.1.45.4 on Serial0/0.54, 00:05:36 ago
  Routing Descriptor Blocks:
  * 10.1.45.4, from 4.4.4.4, 00:05:36 ago, via Serial0/0.54
      Route metric is 896, traffic share count is 1</pre>
<p style="padding-left: 30px;"><span style="text-decoration: underline;"><strong>11.1.1.0/24 est présent dans la database OSPF de l&rsquo;ABR R4</strong></span></p>
<pre><span style="color: #ff0000;">R4</span>#<span style="color: #ff0000;">show ip ospf database summary 11.1.1.0</span>

            OSPF Router with ID (4.4.4.4) (Process ID 1)

                Summary Net Link States (<span style="color: #ff0000;">Area 0</span>)

  Routing Bit Set on this LSA
  LS age: 758
  Options: (No TOS-capability, DC, Upward)
  LS Type: Summary Links(Network)
  Link State ID: 11.1.1.0 (summary Network Number)
  Advertising Router: 3.3.3.3
  LS Seq Number: 80000001
  Checksum: 0x30E2
  Length: 28
  Network Mask: /24
        TOS: 0  Metric: 782

                Summary Net Link States (<span style="color: #ff0000;">Area 2</span>)

  LS age: 14
  Options: (No TOS-capability, DC, Upward)
  LS Type: Summary Links(Network)
  Link State ID: 11.1.1.0 (summary Network Number)
  Advertising Router: 4.4.4.4
  LS Seq Number: 80000001
  Checksum: 0x8D4
  Length: 28
  Network Mask: /24
        TOS: 0  Metric: 832</pre>
<p style="padding-left: 30px;"><span style="text-decoration: underline;"><strong>Filtre du sous réseau 11.1.1.0/24</strong></span></p>
<pre>R4(config)#<span style="color: #ff0000;">ip prefix-list</span> TEST deny 11.1.1.0/24
R4(config)#ip prefix-list TEST permit 0.0.0.0/0 le 32

R4(config)#router ospf 1
R4(config-router)#<span style="color: #ff0000;">area 2 filter-list prefix TEST in
</span></pre>
<p style="padding-left: 30px;"><span style="text-decoration: underline;"><strong>Vérification:</strong></span></p>
<pre><span style="color: #ff0000;">R5</span>#<span style="color: #ff0000;">show ip route 11.1.1.1</span>
% Network not in table

R4#show ip ospf database summary 11.1.1.0

            OSPF Router with ID (4.4.4.4) (Process ID 1)

                Summary Net Link States (Area 0)

  Routing Bit Set on this LSA
  LS age: 807
  Options: (No TOS-capability, DC, Upward)
  LS Type: Summary Links(Network)
  Link State ID: 11.1.1.0 (summary Network Number)
  Advertising Router: 3.3.3.3
  LS Seq Number: 80000001
  Checksum: 0x30E2
  Length: 28
  Network Mask: /24
        TOS: 0  Metric: 782</pre>
<h3></h3>
<h3>area x filter-list prefix x out</h3>
<p>« area x filter-list prefix x out » permet de filtrer les annonces LSA de type 3 sur un ABR<br />
le sous réseau 55.5.5.0/24 est présent dans l&rsquo;area 2 et est diffusé dans l&rsquo;area 0 par l&rsquo;ABR R4 (schéma plus haut)</p>
<p style="padding-left: 30px;">
<span style="text-decoration: underline;"><strong>Table de routage de R1</strong></span></p>
<pre><span style="color: #ff0000;">R1</span>#<span style="color: #ff0000;">show ip route | inc IA</span>
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
O IA    50.5.5.0 [110/203] via 10.1.12.2, 00:16:36, Serial0/0.12
O IA    55.5.5.0 [110/203] via 10.1.12.2, 00:16:36, Serial0/0.12
O IA    5.5.0.0 [110/203] via 10.1.12.2, 00:16:36, Serial0/0.12
O IA    10.1.45.0 [110/202] via 10.1.12.2, 00:16:36, Serial0/0.12
O IA    10.1.34.0 [110/138] via 10.1.12.2, 00:18:47, Serial0/0.12</pre>
<p style="padding-left: 30px;"><span style="text-decoration: underline;"><strong>Filtre du sous réseau 50.5.5.5.0/24</strong></span></p>
<pre><span style="color: #ff0000;">R4</span>(config)#ip prefix-list TEST-50 deny 50.5.5.0/24
R4(config)#ip prefix-list TEST-50 permit 0.0.0.0/0 le 32

R4(config)#router ospf 1
R4(config)#<span style="color: #ff0000;">area 2 filter-list prefix TEST-50 out
</span></pre>
<p style="padding-left: 30px;"><span style="text-decoration: underline;"><strong>Vérification</strong></span></p>
<pre><span style="color: #ff0000;">R1</span>#<span style="color: #ff0000;">show ip route | inc IA</span>
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
O IA    55.5.5.0 [110/203] via 10.1.12.2, 00:27:21, Serial0/0.12
O IA    5.5.5.0 [110/203] via 10.1.12.2, 00:07:52, Serial0/0.12
O IA    10.1.45.0 [110/202] via 10.1.12.2, 00:27:21, Serial0/0.12
O IA    10.1.34.0 [110/138] via 10.1.12.2, 00:29:32, Serial0/0.12</pre>
<p style="padding-left: 30px;"><span style="text-decoration: underline;"><strong><span style="color: #ff0000; text-decoration: underline;">Autre solution,</span> plus simple, pour ne pas annoncer un réseau :</strong></span></p>
<pre><span style="color: #ff0000;">R4</span>(config)#router ospf 1
R4(config-router)#<span style="color: #ff0000;">area 2 range 55.5.5.0 255.255.255.0 not-advertise


</span></pre>
<h3></h3>
<h3>distribute-list x out</h3>
<p>« distribute-list x out » est utilisé pour filtrer les LAS de type 5 ou 7 (external) sur un ABR<br />
La commande « area x filter-list prefix » n&rsquo;a aucun effet sur les routes ospf de type external</p>
<p style="padding-left: 30px;"><span style="text-decoration: underline;"><strong>Les routeurs de de l&rsquo;area 0, R3 et R4, des routes externes provenant des annonces OSPF de R5</strong></span></p>
<pre><span style="color: #ff0000;">R4</span>#<span style="color: #ff0000;">show ip route | inc E2</span>
O E2    50.5.5.0 [110/20] via 10.1.45.5, 00:01:55, Serial0/0.45
O E2    55.5.5.0 [110/20] via 10.1.45.5, 00:01:55, Serial0/0.45
O E2    5.5.5.0 [110/20] via 10.1.45.5, 00:01:55, Serial0/0.45

<span style="color: #ff0000;">R3</span>#<span style="color: #ff0000;">show ip route ospf | inc E2</span>
O E2    50.5.5.0 [110/20] via 10.1.34.4, 00:02:16, Serial1/0.34
O E2    55.5.5.0 [110/20] via 10.1.34.4, 00:02:16, Serial1/0.34
O E2    5.5.5.0 [110/20] via 10.1.34.4, 00:02:16, Serial1/0.34</pre>
<p>Dans le cas des routes externes, le fitre doit être placé sur le routeur en charge de la redistribution avec la commande « distribute-list x out »</p>
<p style="padding-left: 30px;"><span style="text-decoration: underline;"><strong>Filtre du réseau externe 50.5.5.0 /24</strong></span></p>
<pre><span style="color: #ff0000;">R5</span>(config)#access-list 1 deny 50.5.5.0 0.0.0.255
R5(config)#router ospf 1
R5(config-router)#<span style="color: #ff0000;">distribute-list 1 out
</span></pre>
<p style="padding-left: 30px;"><span style="text-decoration: underline;"><strong>Vérification</strong></span></p>
<pre>R3#show ip route ospf | inc E2
O E2    55.5.5.0 [110/20] via 10.1.34.4, 00:08:26, Serial1/0.34
O E2    5.5.5.0 [110/20] via 10.1.34.4, 00:08:26, Serial1/0.34</pre>
<p style="padding-left: 30px;"><span style="text-decoration: underline;"><strong><span style="color: #ff0000; text-decoration: underline;">Autre solution</span>, plus simple, « summary-address »</strong></span></p>
<pre><span style="color: #ff0000;">R5</span>(config-router)#<span style="color: #ff0000;">summary-address 50.5.5.5 255.255.255.0 not-advertise</span>
</pre>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>OSPF Area Type</title>
		<link>https://www.expertcisco.fr/ospf/ospf-area-type</link>
		
		<dc:creator><![CDATA[Fred J.]]></dc:creator>
		<pubDate>Fri, 13 Apr 2012 08:33:29 +0000</pubDate>
				<category><![CDATA[OSPF]]></category>
		<guid isPermaLink="false">http://www.expertcisco.fr/?p=407</guid>

					<description><![CDATA[OSPF Area Type &#160; Stub Totally Stubby NSSA &#160; &#160; Dans notre exemple : &#160; Le routeur R5 annonce en OSPF 10 sous réseaux 5.5.0.0 /24 à 5.5.9.0 /24 Le routeur R1 annonce en OSPF 10 sous réseaux 1.1.0.0 /24 &#8230; <a href="https://www.expertcisco.fr/ospf/ospf-area-type">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<h3>OSPF Area Type<img class="alignright" alt="" src="/images/OSPF-Lab7.png" width="401" height="241" /></h3>
<p>&nbsp;</p>
<ul>
<li>Stub</li>
<li>Totally Stubby</li>
<li>NSSA</li>
</ul>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><span style="text-decoration: underline;"><strong>Dans notre exemple :</strong></span></p>
<p>&nbsp;</p>
<p>Le routeur <strong>R5</strong> annonce en OSPF 10 sous réseaux 5.5.0.0 /24 à 5.5.9.0 /24<br />
Le routeur <strong>R1</strong> annonce en OSPF 10 sous réseaux 1.1.0.0 /24 à 1.1.9.0 /24<br />
Le routeur <strong>R1</strong> redistribue dans OSPF 5 sous réseaux 10.1.0.0 à 10.1.4.0/24</p>
<p><strong><span style="text-decoration: underline;">Table routage de R5 (Area 2) :</span></strong></p>
<pre><span style="color: #ff0000;">R5</span>#<span style="color: #ff0000;">show ip route</span>
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

     1.0.0.0/24 is subnetted, 10 subnets
O IA    1.1.0.0 [110/117] via 10.1.45.4, 00:00:04, FastEthernet0/0
O IA    1.1.1.0 [110/117] via 10.1.45.4, 00:00:04, FastEthernet0/0
O IA    1.1.2.0 [110/117] via 10.1.45.4, 00:00:04, FastEthernet0/0
O IA    1.1.3.0 [110/117] via 10.1.45.4, 00:00:04, FastEthernet0/0
O IA    1.1.4.0 [110/117] via 10.1.45.4, 00:00:04, FastEthernet0/0
O IA    1.1.5.0 [110/117] via 10.1.45.4, 00:00:04, FastEthernet0/0
O IA    1.1.6.0 [110/117] via 10.1.45.4, 00:00:04, FastEthernet0/0
O IA    1.1.7.0 [110/117] via 10.1.45.4, 00:00:05, FastEthernet0/0
O IA    1.1.8.0 [110/117] via 10.1.45.4, 00:00:05, FastEthernet0/0
O IA    1.1.9.0 [110/117] via 10.1.45.4, 00:00:05, FastEthernet0/0
     2.0.0.0/24 is subnetted, 1 subnets
O IA    2.2.2.0 [110/53] via 10.1.45.4, 00:00:05, FastEthernet0/0
     3.0.0.0/24 is subnetted, 1 subnets
O IA    3.3.3.0 [110/52] via 10.1.45.4, 00:00:05, FastEthernet0/0
     4.0.0.0/24 is subnetted, 1 subnets
O IA    4.4.4.0 [110/2] via 10.1.45.4, 00:00:05, FastEthernet0/0
     5.0.0.0/24 is subnetted, 10 subnets
C       5.5.0.0 is directly connected, Loopback0
C       5.5.1.0 is directly connected, Loopback1
C       5.5.2.0 is directly connected, Loopback2
C       5.5.3.0 is directly connected, Loopback3
C       5.5.4.0 is directly connected, Loopback4
C       5.5.5.0 is directly connected, Loopback5
C       5.5.6.0 is directly connected, Loopback6
C       5.5.7.0 is directly connected, Loopback7
C       5.5.8.0 is directly connected, Loopback8
C       5.5.9.0 is directly connected, Loopback9
     22.0.0.0/24 is subnetted, 1 subnets
O IA    22.2.2.0 [110/53] via 10.1.45.4, 00:00:06, FastEthernet0/0
     10.0.0.0/24 is subnetted, 9 subnets
O IA    10.1.12.0 [110/116] via 10.1.45.4, 00:00:06, FastEthernet0/0
O E2    10.1.3.0 [110/20] via 10.1.45.4, 00:00:06, FastEthernet0/0
O E2    10.1.2.0 [110/20] via 10.1.45.4, 00:00:06, FastEthernet0/0
O E2    10.1.1.0 [110/20] via 10.1.45.4, 00:00:06, FastEthernet0/0
O E2    10.1.0.0 [110/20] via 10.1.45.4, 00:00:06, FastEthernet0/0
O E2    10.1.4.0 [110/20] via 10.1.45.4, 00:00:06, FastEthernet0/0
O IA    10.1.23.0 [110/52] via 10.1.45.4, 00:00:06, FastEthernet0/0
C       10.1.45.0 is directly connected, FastEthernet0/0
O IA    10.1.34.0 [110/51] via 10.1.45.4, 00:00:06, FastEthernet0/0
     44.0.0.0/24 is subnetted, 1 subnets
O       44.4.4.0 [110/2] via 10.1.45.4, 00:00:06, FastEthernet0/0</pre>
<h3></h3>
<h3>Configuration de l&rsquo;AREA 2 en STUB</h3>
<ul>
<li>Tous les routers de l&rsquo;Area doivent être configurés avec la commande « area x stub »</li>
<li>Les LSA de type 4 et 5 (E1 et E2) ne sont plus reçus</li>
<li>Une route par défaut est injecté par l&rsquo;ABR</li>
</ul>
<pre><span style="color: #ff0000;">R4</span>#conf t
R4(config)#router ospf 1
R4(config-router)#<span style="color: #ff0000;">area 2 stub
</span></pre>
<pre><span style="color: #ff0000;">R5</span>#conf t
R5(config)#router ospf 1
R5(config-router)#<span style="color: #ff0000;">area 2 stub
</span></pre>
<p style="padding-left: 30px;"><span style="text-decoration: underline;"><strong>Vérification :</strong></span></p>
<pre><span style="color: #ff0000;">R5</span>#<span style="color: #ff0000;">show ip route ospf</span>
     1.0.0.0/24 is subnetted, 10 subnets
O IA    1.1.0.0 [110/117] via 10.1.45.4, 00:00:13, FastEthernet0/0
O IA    1.1.1.0 [110/117] via 10.1.45.4, 00:00:13, FastEthernet0/0
O IA    1.1.2.0 [110/117] via 10.1.45.4, 00:00:13, FastEthernet0/0
O IA    1.1.3.0 [110/117] via 10.1.45.4, 00:00:13, FastEthernet0/0
O IA    1.1.4.0 [110/117] via 10.1.45.4, 00:00:13, FastEthernet0/0
O IA    1.1.5.0 [110/117] via 10.1.45.4, 00:00:13, FastEthernet0/0
O IA    1.1.6.0 [110/117] via 10.1.45.4, 00:00:13, FastEthernet0/0
O IA    1.1.7.0 [110/117] via 10.1.45.4, 00:00:13, FastEthernet0/0
O IA    1.1.8.0 [110/117] via 10.1.45.4, 00:00:13, FastEthernet0/0
O IA    1.1.9.0 [110/117] via 10.1.45.4, 00:00:13, FastEthernet0/0
     2.0.0.0/24 is subnetted, 1 subnets
O IA    2.2.2.0 [110/53] via 10.1.45.4, 00:00:13, FastEthernet0/0
     3.0.0.0/24 is subnetted, 1 subnets
O IA    3.3.3.0 [110/52] via 10.1.45.4, 00:00:13, FastEthernet0/0
     4.0.0.0/24 is subnetted, 1 subnets
O IA    4.4.4.0 [110/2] via 10.1.45.4, 00:00:13, FastEthernet0/0
     22.0.0.0/24 is subnetted, 1 subnets
O IA    22.2.2.0 [110/53] via 10.1.45.4, 00:00:14, FastEthernet0/0
     10.0.0.0/24 is subnetted, 4 subnets
O IA    10.1.12.0 [110/116] via 10.1.45.4, 00:00:14, FastEthernet0/0
O IA    10.1.23.0 [110/52] via 10.1.45.4, 00:00:14, FastEthernet0/0
O IA    10.1.34.0 [110/51] via 10.1.45.4, 00:00:14, FastEthernet0/0
     44.0.0.0/24 is subnetted, 1 subnets
O       44.4.4.0 [110/2] via 10.1.45.4, 00:00:14, FastEthernet0/0
<span style="color: #ff0000;">O*IA 0.0.0.0/0</span> [110/2] via 10.1.45.4, 00:00:14, FastEthernet0/0</pre>
<h3></h3>
<h3>Configuration de l&rsquo;AREA 2 en « Totally Stubby »</h3>
<ul>
<li>L&rsquo;ABR doit être configuré avec la commande « area x stub no-summary »</li>
<li>Les autres routeurs de l&rsquo;Area doivent être configurés avec la commande « area x stub »</li>
<li>Les LSA de type 3, 4 et 5 ne sont plus reçus</li>
<li>Une route par défaut est injecté par l&rsquo;ABR</li>
</ul>
<pre><span style="color: #ff0000;">R4</span>#conf t
R4(config)#router ospf 1
R4(config-router)#<span style="color: #ff0000;">area 2 stub no-summary
</span></pre>
<p style="padding-left: 30px;"><span style="text-decoration: underline;"><strong>Vérification</strong></span></p>
<pre><span style="color: #ff0000;">R5</span>#<span style="color: #ff0000;">show ip route ospf</span>
     44.0.0.0/24 is subnetted, 1 subnets
O       44.4.4.0 [110/2] via 10.1.45.4, 00:00:49, FastEthernet0/0
O*IA 0.0.0.0/0 [110/2] via 10.1.45.4, 00:00:04, FastEthernet0/0</pre>
<h3></h3>
<h3>Configuration de l&rsquo;AREA 2 en « NSSA »</h3>
<ul>
<li>Tous les routers de l&rsquo;Area doivent être configurés avec la commande « area x nssa »</li>
<li>Seuls les LSA de type 1,2,3 et 7 sont traités</li>
<li>Par défaut, en mode NSSA, aucunne route par défaut n&rsquo;est injectée</li>
</ul>
<pre><span style="color: #ff0000;">R4</span>#conf t
R4(config)#router ospf 1
R4(config-router)#<span style="color: #ff0000;">area 2 nssa</span>

<span style="color: #ff0000;">R5</span>#conf t
R5(config)#router ospf 1
R5(config-router)#<span style="color: #ff0000;">area 2 nssa
</span></pre>
<p style="padding-left: 30px;"><span style="text-decoration: underline;"><strong>Vérification</strong></span></p>
<pre><span style="color: #ff0000;">R5</span>#<span style="color: #ff0000;">show ip route ospf</span>
     1.0.0.0/24 is subnetted, 10 subnets
O IA    1.1.0.0 [110/117] via 10.1.45.4, 00:01:12, FastEthernet0/0
O IA    1.1.1.0 [110/117] via 10.1.45.4, 00:01:12, FastEthernet0/0
O IA    1.1.2.0 [110/117] via 10.1.45.4, 00:01:12, FastEthernet0/0
O IA    1.1.3.0 [110/117] via 10.1.45.4, 00:01:12, FastEthernet0/0
O IA    1.1.4.0 [110/117] via 10.1.45.4, 00:01:12, FastEthernet0/0
O IA    1.1.5.0 [110/117] via 10.1.45.4, 00:01:12, FastEthernet0/0
O IA    1.1.6.0 [110/117] via 10.1.45.4, 00:01:12, FastEthernet0/0
O IA    1.1.7.0 [110/117] via 10.1.45.4, 00:01:12, FastEthernet0/0
O IA    1.1.8.0 [110/117] via 10.1.45.4, 00:01:12, FastEthernet0/0
O IA    1.1.9.0 [110/117] via 10.1.45.4, 00:01:12, FastEthernet0/0
     2.0.0.0/24 is subnetted, 1 subnets
O IA    2.2.2.0 [110/53] via 10.1.45.4, 00:01:12, FastEthernet0/0
     3.0.0.0/24 is subnetted, 1 subnets
O IA    3.3.3.0 [110/52] via 10.1.45.4, 00:01:12, FastEthernet0/0
     4.0.0.0/24 is subnetted, 1 subnets
O IA    4.4.4.0 [110/2] via 10.1.45.4, 00:01:12, FastEthernet0/0
     22.0.0.0/24 is subnetted, 1 subnets
O IA    22.2.2.0 [110/53] via 10.1.45.4, 00:01:13, FastEthernet0/0
     10.0.0.0/24 is subnetted, 4 subnets
O IA    10.1.12.0 [110/116] via 10.1.45.4, 00:01:13, FastEthernet0/0
O IA    10.1.23.0 [110/52] via 10.1.45.4, 00:01:13, FastEthernet0/0
O IA    10.1.34.0 [110/51] via 10.1.45.4, 00:01:13, FastEthernet0/0
     44.0.0.0/24 is subnetted, 1 subnets
O       44.4.4.0 [110/2] via 10.1.45.4, 00:01:13, FastEthernet0/0</pre>
<h3></h3>
<h3>NSSA: Injection d&rsquo;une route par défaut</h3>
<pre><span style="color: #ff0000;">R4</span>(config)#router ospf 1
R4(config-router)#<span style="color: #ff0000;">area 1 nssa default-information-originate</span>

<span style="color: #ff0000;">R5</span>#<span style="color: #ff0000;">show ip route ospf | inc 0.0.0.0/0</span>
O*N2 0.0.0.0/0 [110/1] via 10.1.45.4, 00:01:25, FastEthernet0/0</pre>
<h3></h3>
<h3>NSSA: Filtrer les LSA de type 3</h3>
<pre><span style="color: #ff0000;">R4</span>(config)#router ospf 1
R4(config-router)#<span style="color: #ff0000;">area 2 nssa no-summary</span>

<span style="color: #ff0000;">R5</span>#<span style="color: #ff0000;">show ip route ospf</span>
     44.0.0.0/24 is subnetted, 1 subnets
O       44.4.4.0 [110/2] via 10.1.45.4, 00:13:18, FastEthernet0/0
O*IA 0.0.0.0/0 [110/2] via 10.1.45.4, 00:00:02, FastEthernet0/0</pre>
<h3></h3>
<h3>Modification du cout OSPF de la route par défaut</h3>
<pre><span style="color: #ff0000;">R4</span>(config)#router ospf 1
R4(config-router)#<span style="color: #ff0000;">area 2 default-cost 50
</span></pre>
<pre><span style="color: #ff0000;">R5</span>#<span style="color: #ff0000;">show ip route ospf</span>
     44.0.0.0/24 is subnetted, 1 subnets
O       44.4.4.0 [110/2] via 10.1.45.4, 00:17:21, FastEthernet0/0
O*IA 0.0.0.0/0 [110/<span style="color: #ff0000;">51</span>] via 10.1.45.4, 00:00:05, FastEthernet0/0</pre>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
