{"id":255,"date":"2015-01-04T05:52:58","date_gmt":"2015-01-04T05:52:58","guid":{"rendered":"http:\/\/feralpacket.org\/?p=255"},"modified":"2021-08-31T21:34:20","modified_gmt":"2021-08-31T21:34:20","slug":"ospf-notes-2","status":"publish","type":"post","link":"https:\/\/feralpacket.org\/?p=255","title":{"rendered":"OSPF and OSPFv3 Notes"},"content":{"rendered":"<p><!--?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?--><\/p>\n<p><b>OSPF -&gt; Open Shortest Path First<\/b><\/p>\n<p>&#8211; Open standard<\/p>\n<p>&#8211; IP protocol 89<\/p>\n<p>&#8211; Multicast addresses<br \/>\n-&gt; 224.0.0.4 &#8211; all routers<\/p>\n<p>-&gt; 224.0.0.5 &#8211; all DR<\/p>\n<p>&#8211; Metric is cost<\/p>\n<p>&#8211; Link state protocol<\/p>\n<p>&#8211; Uses 3 tables<br \/>\n-&gt; Neighbor table<\/p>\n<p>-&gt; Database table<\/p>\n<p>-&gt; Routing table<\/p>\n<p>&#8211; SPF algorithm<\/p>\n<p>&#8211; Uses Designated Router and Backup Designated Router concept on multiaccess networks<br \/>\n-&gt;<\/p>\n<p>&#8211; Uses concept of areas<\/p>\n<p>&#8211; Types of packets<br \/>\n-&gt; Hello<\/p>\n<p>-&gt; Database Descriptors (DBD)<\/p>\n<p>-&gt; Link State Request (LSR)<\/p>\n<p>-&gt; Link State Update (LSU)<\/p>\n<p>-&gt; Link State Acknowledgment (LSAck)<\/p>\n<p><b>Neighbor formation<\/b><\/p>\n<p>&#8211; Hellos are sent to 224.0.0.5<\/p>\n<p>&#8211; Hello packet<br \/>\n-&gt; Router-id (must be unique)<\/p>\n<p>-&gt; Area-id (must match)<\/p>\n<p>-&gt; Timers (must match)<\/p>\n<p>-&gt; hello timer &#8211; 10 sec (LAN) | 30 sec (WAN)<\/p>\n<p>-&gt; dead timer &#8211; 40 sec (LAN) | 120 sec (WAN)<\/p>\n<p>-&gt; Authentication<\/p>\n<p>-&gt; Network \/ subnet mask (must match)<\/p>\n<p>-&gt; MTU (must match)<\/p>\n<p>-&gt; Number of neighbors in the segment (must match)<\/p>\n<p><b>Finite State Machine (FSM)<\/b><\/p>\n<p>1. Down &#8211; no hellos sent<\/p>\n<p>2. Attempt &#8211; frame-relay or non-broadcast networks where multicast hellos will not work<\/p>\n<p>3. INIT &#8211; Hello is sent to 224.0.0.5<\/p>\n<p>4. 2-WAY &#8211; Parameters in hello packets match and both routers list each other as neighbors in hello packets<\/p>\n<p>5. EXSTART &#8211; Master \/ Slave election; router-ids are compared (higher is better)<\/p>\n<p>6. EXCHANGE &#8211; DBDs are exchanged (header information of the database, not the entire database)<\/p>\n<p>7. Loading &#8211; Exchange of database<\/p>\n<p>8. Full &#8211; Both routers are completely synchronized<\/p>\n<p>Steps 1 &#8211; 4, a basic neighborship is formed<\/p>\n<p>Step 8, fully adjacent neighborship<\/p>\n<p><b>Neighborship Control<\/b><\/p>\n<p>&#8211; Timers -&gt; 10 \/ 40<br \/>\n<span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">int fa0\/0<\/span><\/span><\/span><br \/>\n<span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">ip ospf hello-interval &lt;sec&gt;<\/span><\/span><\/span><br \/>\n<span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">ip ospf dead-interval &lt;sec&gt;<\/span><\/span><\/span><\/p>\n<p><span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">sh ip ospf interface<\/span><\/span><\/span><\/p>\n<p><span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">int fa0\/0<\/span><\/span><\/span><br \/>\n<span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">ip ospf dead-interval minimal hello-multiplier &lt;number of hellos&gt;<\/span><\/span><\/span><br \/>\n-&gt; dead interval set to 1 sec<\/p>\n<p>-&gt; Hello -&gt; e.g. &#8211; 4 times a second, every 250 ms<\/p>\n<p>&#8211; Passive interface<br \/>\n-&gt; multicast hello processing is disabled<\/p>\n<p><span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">router ospf 1<\/span><\/span><\/span><br \/>\n<span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">passive-interface { default | &lt;int&gt; }<\/span><\/span><\/span><\/p>\n<p><span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">sh ip protocols<\/span><\/span><\/span><\/p>\n<p><b>Manual Neighborship<\/b><\/p>\n<p>&#8211; Only allowed on non-broadcast multi-access (NBMA) networks<br \/>\nrouter ospf 1<\/p>\n<p>neighbor<\/p>\n<p><b>OSPF Authentication<\/b><\/p>\n<p>&#8211; 3 types<br \/>\n-&gt; type 0 &#8211; NULL<\/p>\n<p>-&gt; type 1 &#8211; plain text<\/p>\n<p>-&gt; type 2 &#8211; MD5<\/p>\n<p>&#8211; Configuration<br \/>\n-&gt; Interface &#8211; connected neighbor must be configured<\/p>\n<p>-&gt; Area-wide &#8211; all routers in the area must be configured<\/p>\n<p>Interface level configuration<\/p>\n<p>&#8211; Plain text (type 1)<br \/>\n<span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">int s0\/0<\/span><\/span><\/span><br \/>\n<span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">ip ospf authentication<\/span><\/span><\/span><br \/>\n<span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">ip ospf authentication-key &lt;password&gt;<\/span><\/span><\/span><\/p>\n<p>&#8211; MD5 (type 2)<br \/>\n<span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">int s0\/0<\/span><\/span><\/span><br \/>\n<span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">ip ospf authentication<\/span><\/span><\/span><br \/>\n<span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">ip ospf message-digest-key &lt;id&gt; md5 &lt;password&gt;<\/span><\/span><\/span><\/p>\n<p>Area Wide Authentication<\/p>\n<p><a href=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140929_194106.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-250\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140929_194106-300x168.jpeg\" alt=\"20140929_194106\" width=\"300\" height=\"168\" srcset=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140929_194106-300x168.jpeg 300w, https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140929_194106.jpeg 700w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Scenario -&gt; Configure area wide authentication on R1 for area 0, but R2 is not configured for authentication, so skip s0\/0 of R1.<\/p>\n<p>R1(config)# <span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">router ospf 1<\/span><\/span><\/span><br \/>\n<span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">area 0 authentication<\/span><\/span><\/span><br \/>\n-&gt; all interfaces must now use authentication<\/p>\n<p><span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">int s0\/1<\/span><\/span><\/span><br \/>\n<span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">ip ospf authentication-key &lt;password&gt;<\/span><\/span><\/span><br \/>\n<span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">int s0\/2<\/span><\/span><\/span><br \/>\n<span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">ip ospf authentication-key &lt;password&gt;<\/span><\/span><\/span><br \/>\n<span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">int s0\/0<\/span><\/span><\/span><br \/>\n<span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">ip ospf authentication NULL<\/span><\/span><\/span><\/p>\n<p>Interface configuration is preferred over area wide authentication<\/p>\n<p>Virtual-links are a special case with authentication and commonly comes up in the lab<\/p>\n<p><b>DR \/ BDR Election on multi-access networks<\/b><\/p>\n<p>&#8211; One router is elected the DR<br \/>\n-&gt; highest priority<\/p>\n<p>-&gt; highest router-id<\/p>\n<p>-&gt; any manual router-id config<\/p>\n<p>-&gt; highest loopback address<\/p>\n<p>-&gt; highest physical interface address<\/p>\n<p>&#8211; Another router which is second best is elected the BDR<\/p>\n<p>&#8211; All routers for a fully adjacent neighborship with the DR and BDR<br \/>\n-&gt; 2-WAY neighborship is formed with all other routers<\/p>\n<p><a href=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140929_195348.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-251\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140929_195348-300x168.jpeg\" alt=\"20140929_195348\" width=\"300\" height=\"168\" srcset=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140929_195348-300x168.jpeg 300w, https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140929_195348.jpeg 700w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>SPF is a point-to-point protocol<\/p>\n<p>&#8211; It doesn&#8217;t work on multi-access networks<\/p>\n<p>&#8211; DR becomes a pseudo node to create a logical point-to-point network<\/p>\n<p><a href=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140929_195750.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-252\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140929_195750-300x168.jpeg\" alt=\"20140929_195750\" width=\"300\" height=\"168\" srcset=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140929_195750-300x168.jpeg 300w, https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140929_195750.jpeg 700w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Transit network means you have to go through the pseudo node<\/p>\n<p>R3# <span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">sh ip ospf ne<\/span><\/span><\/span>i<br \/>\nR1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 2-way \/ DROTHERS<\/p>\n<p>R2\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 2-way \/ DROTHERS<\/p>\n<p>R4\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Full \/ BDR<\/p>\n<p>R5\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Full \/ DR<\/p>\n<p>Changing Priority<\/p>\n<p><span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">int fa0\/0<\/span><\/span><\/span><br \/>\n<span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">ip ospf priority &lt;number&gt;<\/span><\/span><\/span><br \/>\n-&gt; 0 &#8211; 255 (higher is better)<\/p>\n<p>-&gt; 0 &#8211; no participation in election<\/p>\n<p>-&gt; 1 &#8211; default priority<\/p>\n<p><b>OSPF Network Types<\/b><\/p>\n<p>&#8211; Depending on the interface OSPF is activated on, it decides some properties to be used<br \/>\n-&gt; Timers<\/p>\n<p>-&gt; DR \/ BDR<\/p>\n<p>-&gt; Type of neighborship<\/p>\n<p>1. Broadcast Multi-access<\/p>\n<p>2. Point-to-point<\/p>\n<p>3. Non-broadcast Multi-access (NBMA)<\/p>\n<p>4. Point-to-multipoint<\/p>\n<p>5. Point-to-multipoint Non-broadcast<\/p>\n<p><a href=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_005439-1.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-253\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_005439-1-288x300.jpeg\" alt=\"20140930_005439-1\" width=\"288\" height=\"300\" srcset=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_005439-1-288x300.jpeg 288w, https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_005439-1.jpeg 673w\" sizes=\"auto, (max-width: 288px) 100vw, 288px\" \/><\/a><\/p>\n<p>Frame-relay default to NBMA<\/p>\n<p>&#8211; When it is setup as a hub and spoke<br \/>\n-&gt; If a spoke is elected DR, the other spokes will not be able to communicate with the DR<\/p>\n<p><span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">int s0\/0<\/span><\/span><\/span><br \/>\n<span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">ip ospf network &lt;options&gt;<\/span><\/span><\/span><\/p>\n<p><span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">sh ip ospf database<\/span><\/span><\/span><br \/>\n-&gt; shows database header information<\/p>\n<p><b>Link State Update (LSU)<\/b><\/p>\n<p>&#8211; A set of LSAs (Link State Advertisements)<br \/>\n-&gt; LSA 1 &#8211; Router LSA<\/p>\n<p>-&gt; LSA-ID &#8211; router-id<\/p>\n<p>-&gt; neighbors connected to a router<\/p>\n<p>-&gt; networks connected to a router<\/p>\n<p>-&gt; LSA 2 &#8211; Network LSA<\/p>\n<p>-&gt; LSA-ID &#8211; IP address of DR<\/p>\n<p>-&gt; Information about transit network ( DR \/ BDR \/ DROTHERS )<\/p>\n<p>-&gt; Originated by DR<\/p>\n<p>-&gt; LSA 3 &#8211; Summary LSA<\/p>\n<p>-&gt; LSA-ID &#8211; for every network in the other area<\/p>\n<p>-&gt; Created by ABR<\/p>\n<p>-&gt; Cost to reach network from the ABR<\/p>\n<p>-&gt; LSA 4 &#8211; ASBR Summary<\/p>\n<p>-&gt; LSA-ID &#8211; router-id of ASBR<\/p>\n<p>-&gt; Contains cost of ABR to reach ASBR<\/p>\n<p>-&gt; LSA 5 &#8211; AS-External<\/p>\n<p>-&gt; LSA-ID &#8211; external networks<\/p>\n<p>-&gt; Created by ASBR<\/p>\n<p>-&gt; Cost of ASBR to reach external networks<\/p>\n<p>-&gt; LSA 7 &#8211; Not-so-stubby-area (NSSA)<\/p>\n<p>-&gt; LSA-ID &#8211; external network<\/p>\n<p>-&gt; Created by ASBR<\/p>\n<p>-&gt; Cost of ASBR to reach external networks<\/p>\n<p><span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">sh ip ospf database &lt;LSA type&gt;<\/span><\/span><\/span><br \/>\n&#8211; router<\/p>\n<p>&#8211; network<\/p>\n<p>&#8211; summary<\/p>\n<p>&#8211; asbr-summary<\/p>\n<p>&#8211; as-external<\/p>\n<p>&#8211; nsaa-external<\/p>\n<p><b>OSPF Cost Calculation<\/b><\/p>\n<p>&#8211; Cumulative cost of all exit interfaces towards destination<\/p>\n<p>Cost of serial ethernet = 100 \/ 1.544 = 64<\/p>\n<p>Cost of fast ethernet = 100 \/ 100 = 1<\/p>\n<p>Cost of gigabit ethernet = 100 \/ 1000 = 1<\/p>\n<p>Fast ethernet and Gigabit ethernet having the same cost is not a good thing<\/p>\n<p>On the exam, if you see Gigabit ethernet interfaces, you may need to change the formula<\/p>\n<p><span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">router ospf 1<\/span><\/span><\/span><br \/>\n<span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">auto-cost reference-bandwidth &lt;Mbps&gt;<\/span><\/span><\/span><\/p>\n<p><a href=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_012001-1.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-236\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_012001-1-300x133.jpeg\" alt=\"20140930_012001-1\" width=\"300\" height=\"133\" srcset=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_012001-1-300x133.jpeg 300w, https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_012001-1.jpeg 700w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>R3# <span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">sh ip ospf database route 4.4.4.4<\/span><\/span><\/span><br \/>\n-&gt; shows the cost to R4&#8217;s connected network from R4&#8217;s point of view<\/p>\n<p>The change cost<br \/>\n-&gt; bandwidth manipulation<\/p>\n<p><span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">int s0\/0<\/span><\/span><\/span><br \/>\n<span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">bandwidth 2000<\/span><\/span><\/span><\/p>\n<p><span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">int s0\/0<\/span><\/span><\/span><br \/>\n<span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">ip ospf cost &lt; 1 &#8211; 65535 &gt;<\/span><\/span><\/span><\/p>\n<p><a href=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_032236-1.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-237\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_032236-1-300x163.jpeg\" alt=\"20140930_032236-1\" width=\"300\" height=\"163\" srcset=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_032236-1-300x163.jpeg 300w, https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_032236-1.jpeg 700w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>R1 to 50.0.0.0<\/p>\n<p>&#8211; Route #1 &#8211; R1 -&gt; R2 -&gt; R4 -&gt; 50.0.0.0 = cost of 66<\/p>\n<p>&#8211; Route #2 &#8211; R1 -&gt; R3 -&gt; R5 -&gt; 50.0.0.0 = cost of 66<\/p>\n<p>Scenario -&gt; Change the cost in this diagram in such a way that R1 goes to 50.0.0.0 by following the route R1 -&gt; R2 -&gt; R3 -&gt; R5 -&gt; 50.0.0.0<\/p>\n<p>When asked a question about traffic engineering, always start at the end<br \/>\n-&gt; R2&#8217;s link to R4 &#8211;<br \/>\n<span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">ip ospf cost 3<\/span><\/span><\/span><br \/>\n-&gt; R1&#8217;s link to R3 &#8211;<br \/>\n<span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">ip ospf cost 67<\/span><\/span><\/span><\/p>\n<p><b>OSPF Summarization<\/b><\/p>\n<p>&#8211; Can be done on Area Border (ABR)<\/p>\n<p>&#8211; Can be done on Domain Border (ASBR)<br \/>\n-&gt; border between routing protocols<\/p>\n<p>-You cannot summarize within an area<br \/>\n-&gt; That would defeat the point of SPF<\/p>\n<p><a href=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_104047-1.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-238\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_104047-1-300x120.jpeg\" alt=\"20140930_104047-1\" width=\"300\" height=\"120\" srcset=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_104047-1-300x120.jpeg 300w, https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_104047-1.jpeg 700w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>R2(config)# r<span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">outer ospf 1<\/span><\/span><\/span><br \/>\n<span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">area &lt;source area&gt; range &lt;network&gt; &lt;subnet&gt;<\/span><\/span><\/span><\/p>\n<p><span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">router ospf 1<\/span><\/span><\/span><br \/>\n<span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">area 0 range 10.0.0.0 255.255.252.0<\/span><\/span><\/span><\/p>\n<p><a href=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_104328-1.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-239\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_104328-1-300x126.jpeg\" alt=\"20140930_104328-1\" width=\"300\" height=\"126\" srcset=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_104328-1-300x126.jpeg 300w, https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_104328-1.jpeg 700w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>R3(config)# <span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">router ospf 1<\/span><\/span><\/span><br \/>\n<span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">redistribute eigrp 1 subnets<\/span><\/span><\/span><br \/>\n<span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">summary-address 192.168.0.0 255.255.254.0<\/span><\/span><\/span><\/p>\n<p><b>Default Route<\/b><\/p>\n<p><span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">router ospf 1<\/span><\/span><\/span><br \/>\n<span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">default-information originate [always] [router-map &lt;name&gt;] [metric &lt;value&gt;] [metric-type [1|2]]<\/span><\/span><\/span><br \/>\n-&gt; always<\/p>\n<p>-&gt;without this keyword, the local router needs a default route in the routing table<\/p>\n<p>-&gt; with this keyword, the default route is injected regardless of a default route being represent in the local routing table<\/p>\n<p>-&gt; metric &#8211; default is 1<\/p>\n<p><b>OSPF Filtering<\/b><\/p>\n<p>&#8211; Filtering is only possible on Area Borders<\/p>\n<p><span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">router ospf 1<\/span><\/span><\/span><\/p>\n<p>a<span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">rea &lt;number&gt; filter-list prefix &lt;name&gt; in | out<\/span><\/span><\/span><\/p>\n<p><a href=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_111110-1.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-240\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_111110-1-300x94.jpeg\" alt=\"20140930_111110-1\" width=\"300\" height=\"94\" srcset=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_111110-1-300x94.jpeg 300w, https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_111110-1.jpeg 700w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Scenario -&gt; Filter lo0 of R3 from Area 0<\/p>\n<p>R2(config)# <span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">ip prefix-list ABC deny 3.3.3.3 255.255.255.255<\/span><\/span><\/span><br \/>\n<span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">ip prefix-list ABC permit 0.0.0.0 0.0.0.0 le 32<\/span><\/span><\/span><\/p>\n<p><span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">router ospf 1<\/span><\/span><\/span><br \/>\n<span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">area 0 filter-list prefix ABC in<\/span><\/span><\/span><\/p>\n<p><a href=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_112143-1-1.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-241\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_112143-1-1-300x152.jpeg\" alt=\"20140930_112143-1-1\" width=\"300\" height=\"152\" srcset=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_112143-1-1-300x152.jpeg 300w, https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_112143-1-1.jpeg 700w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>It&#8217;s preferable to filter out of an area when multiple areas are present<\/p>\n<p>&#8211; Filtering coming into an area does not stop the router from entering the database table<br \/>\n-&gt; it can be filtered and prevented from entering the routing table<\/p>\n<p><a href=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_112803-1.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-242\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_112803-1-300x118.jpeg\" alt=\"20140930_112803-1\" width=\"300\" height=\"118\" srcset=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_112803-1-300x118.jpeg 300w, https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_112803-1.jpeg 700w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>R1(config)# <span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">access-list 1 deny 3.3.3.3<\/span><\/span><\/span><br \/>\n<span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">access-list 1 permit any<\/span><\/span><\/span><\/p>\n<p><span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">router ospf 1<\/span><\/span><\/span><br \/>\n<span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">distribute-list 1 in<\/span><\/span><\/span><\/p>\n<p>Not a good method;\u00a0\u00a0 it can cause problems, but will likely come up in the exam<\/p>\n<p>&#8211; A static route pointing to NULL0 is much better, but static routes are heavily frowned upon in the exam<\/p>\n<p><b>Filtering by Distance<\/b><\/p>\n<p><span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">router ospf 1<\/span><\/span><\/span><br \/>\n<span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\"><span style=\"-evernote-highlight: true;\">distance 255 &lt;source&gt; &lt;wildcard&gt; &lt;acl&gt;<\/span><\/span><\/span><\/p>\n<p><a href=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_113554-1.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-243\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_113554-1-300x103.jpeg\" alt=\"20140930_113554-1\" width=\"300\" height=\"103\" srcset=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_113554-1-300x103.jpeg 300w, https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_113554-1.jpeg 700w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><b>Filtering External Routes<\/b><\/p>\n<p>Scenario -&gt; R3 is redistributing the following routes from EIGRP<br \/>\n&#8211; 10.0.0.0 \/24<\/p>\n<p>&#8211; 10.0.1.0 \/24<\/p>\n<p>&#8211; 10.0.2.0 \/24<\/p>\n<p>&#8211; 10.0.3.0 \/24<\/p>\n<p>-&gt; Filer 10.0.0.0 and 10.0.1.0 when redistributing<\/p>\n<p>R3(config)# <span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">router ospf 1<\/span><\/span><br \/>\n<span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">redistribute eigrp 1 subnets<\/span><\/span><br \/>\n<span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">summary-address 10.0.0.0 255.255.254.0 not-advertise<\/span><\/span><\/p>\n<p><a href=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_113611-1.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-244\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_113611-1-300x131.jpeg\" alt=\"20140930_113611-1\" width=\"300\" height=\"131\" srcset=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_113611-1-300x131.jpeg 300w, https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_113611-1.jpeg 700w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><b>Virtual Links<\/b><\/p>\n<p>&#8211; Used to connect discontiguous areas and broken area 0<\/p>\n<p>&#8211; A virtual link is a point-to-point link in area 0<\/p>\n<p>ABR1 &#8211; ABR between backbone and transit area<\/p>\n<p>ABR2 &#8211; ABR between transit area and discontiguous area<\/p>\n<p>ABR1 | ABR2<\/p>\n<p><span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">router ospf 1<\/span><\/span><br \/>\n<span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">area &lt;transit area&gt; virtual-link &lt;router-id of other ABR&gt;<\/span><\/span><\/p>\n<p>R1(config)# <span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">router ospf 1<\/span><\/span><\/p>\n<p>a<span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">rea 1 virtual-link 2.2.2.2<\/span><\/span><\/p>\n<p>R2(config)# <span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">rotuer ospf 1<\/span><\/span><br \/>\n<span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">area 1 virtual-link 1.1.1.1<\/span><\/span><\/p>\n<p><span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">sh ip ospf interface<\/span><\/span><\/p>\n<p><b>Stub Areas<\/b><\/p>\n<p>&#8211; Stub area<\/p>\n<p>&#8211; Totally stubby area<\/p>\n<p>&#8211; Not-so-stubby-area (NSSA)<\/p>\n<p>&#8211; Totally NSSA<\/p>\n<p><a href=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_115509-1.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-245\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_115509-1-300x196.jpeg\" alt=\"20140930_115509-1\" width=\"300\" height=\"196\" srcset=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_115509-1-300x196.jpeg 300w, https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_115509-1.jpeg 700w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Stub area<\/p>\n<p>&#8211; Does not allow type 5 routes into the area<\/p>\n<p>&#8211; All external routes (type 5) are filtered by ABR and replaced with one type 3 default route<\/p>\n<p>Totally stubby area<\/p>\n<p>&#8211; Do not allow type 3 or type 5 routes into the area<\/p>\n<p>&#8211; Replaced with a type 3 default route<\/p>\n<p><a href=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_115520-1.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-246\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_115520-1-300x57.jpeg\" alt=\"20140930_115520-1\" width=\"300\" height=\"57\" srcset=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_115520-1-300x57.jpeg 300w, https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_115520-1.jpeg 700w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><b>Stub Area Configuration<\/b><\/p>\n<p>&#8211; On all routers in area 1, including the ABR<\/p>\n<p><span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">router ospf 1<\/span><\/span><br \/>\n<span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">area 1 stub<\/span><\/span><\/p>\n<p><span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">sh ip ospf<\/span><\/span><\/p>\n<p>&#8211; lists areas and which ones are stubs<\/p>\n<p><b>Totally Subby Area Configuration<\/b><\/p>\n<p>&#8211; On all routers in the area except the ABR<\/p>\n<p><span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">router ospf 1<\/span><\/span><br \/>\n<span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">area 1 stub<\/span><\/span><\/p>\n<p>&#8211; On ABR<\/p>\n<p><span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">router ospf 1<\/span><\/span><br \/>\n<span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">area 1 stub no-summary<\/span><\/span><\/p>\n<p><a href=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_120737-1.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-247\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_120737-1-300x125.jpeg\" alt=\"20140930_120737-1\" width=\"300\" height=\"125\" srcset=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_120737-1-300x125.jpeg 300w, https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_120737-1.jpeg 700w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>NSSA<\/p>\n<p>&#8211; Stub area with redistribution possible<\/p>\n<p>&#8211; It&#8217;s a stub area with an ASBR<\/p>\n<p>&#8211; External routes created inside the NSSA are type 7<br \/>\n-&gt; Because type 5 LSAs are not allowed in stub areas<\/p>\n<p>&#8211; When type 7 LSAs reach an ABR between the NSSA and area 0, the LSAs are translated to type 5 LSAs by a &#8220;translator ABR&#8221;<\/p>\n<p>&#8211; If multiple ABRs are present, there will be a translator election and the one with the highest router-id wins<\/p>\n<p><a href=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_120750-1.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-248\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_120750-1-300x87.jpeg\" alt=\"20140930_120750-1\" width=\"300\" height=\"87\" srcset=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_120750-1-300x87.jpeg 300w, https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_120750-1.jpeg 700w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>If area 2 is filtering R6&#8217;s address from area 0, then after translation from type 7 to type 5, area 0 routes would not be able to reach the external routers from the NSSA<\/p>\n<p>type 5<\/p>\n<p>network 50.0.0.0<\/p>\n<p>originator-id 4.4.4.4<\/p>\n<p>forwarding address 6.6.6.6 -&gt; 0.0.0.0<br \/>\n-&gt; forwarding address would need to be suppressed when translated from type 7 to type 5<\/p>\n<p><b>NSSA Configuration<\/b><\/p>\n<p>&#8211; On all routers in the area, including the ABR<\/p>\n<p><span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">router ospf 1<\/span><\/span><br \/>\n<span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">area 2 nssa<\/span><\/span><\/p>\n<p><b>Totally NSSA Configuration<\/b><\/p>\n<p>&#8211; On all routers in the area, except the ABR<\/p>\n<p><span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">router ospf 1<\/span><\/span><br \/>\n<span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">area 2 nssa<\/span><\/span><\/p>\n<p>&#8211; On the ABR<\/p>\n<p><span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">router ospf 1<\/span><\/span><br \/>\n<span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">area 2 nssa no-summary<\/span><\/span><\/p>\n<p>To suppress forwarding address on translator ABR<\/p>\n<p><span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">router ospf 1<\/span><\/span><br \/>\n<span style=\"-evernote-highlight: true;\"><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">area 2 nssa translate type 7 supress-fa<\/span><\/span><\/p>\n<p><a href=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_122555-1.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-249\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_122555-1-300x180.jpeg\" alt=\"20140930_122555-1\" width=\"300\" height=\"180\" srcset=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_122555-1-300x180.jpeg 300w, https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20140930_122555-1.jpeg 700w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>no-redistribution<\/p>\n<p>&#8211; When no-redistribution is done, it will normally create type 5 and type 7 LSAs<\/p>\n<p>&#8211; By using the keyword &#8220;no-redistribution&#8221;, the ABR is instructed not to generate type 7 LSAs<\/p>\n<p>R4(config)# <span style=\"background-color: #fffaa5; -evernote-highlight: true;\">router ospf 1<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">area 2 nssa no-redistribution<\/span><\/p>\n<p>-&gt; Stub area &#8211; injects a default router type 3 LSA<\/p>\n<p>-&gt; Totally stubby area &#8211; injects a default route type 3 LSA<\/p>\n<p>-&gt; NSSA &#8211; no default route is injected<\/p>\n<p>-&gt; Totally NSSA &#8211; default router type 3 LSA<\/p>\n<p>To inject a default router in a NSSA<\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">router ospf 1<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">area 2 nssa default-information-originate<\/span><\/p>\n<p>-&gt; This will create a type 7 default route be injected into the NSSA<\/p>\n<p><b>IPV6 OSPFv3<\/b><\/p>\n<p>&#8211; Multicast FF02::5 &#8211; all routers<\/p>\n<p>&#8211; Multicast FF02::6 &#8211; all DR routers<\/p>\n<p>R1(config)# <span style=\"background-color: #fffaa5; -evernote-highlight: true;\">int s0\/0<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">ipv6 ospf 1 area 0<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">ipv6 router ospf 1<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">ospf router-id 1.1.1.1<\/span><\/p>\n<p><b>Summarization<\/b><\/p>\n<p>&#8211; Inside routing mode<\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">ipv6 router ospf 1<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">area 0 range &lt;summary address\/nm&gt;<\/span><\/p>\n<p><b>Default Routing<\/b><\/p>\n<p>&#8211; Inside routing mode<\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">ipv6 router ospf 1<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">default-information originate [ always | route-map &lt;name&gt; ]<\/span><\/p>\n<p><b>Filtering<\/b><\/p>\n<p>&#8211; Only distribute-list is supported<\/p>\n<p>&#8211; Inter-area filtering is not supported<\/p>\n<p>&#8211; Filtering is done on the local router between the database and the routing table<\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">ipv6 router ospf<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">distribute-list prefix &lt;name&gt; in<\/span><\/p>\n<p><b>Authentication<\/b><\/p>\n<p>&#8211; OSPFv3 supports IPsec authentication<\/p>\n<p>-&gt; Authentication<\/p>\n<p>-&gt; MD5<\/p>\n<p>-&gt; SHA1 (Secure Hash Algorithm)<\/p>\n<p>-&gt; Encryption<\/p>\n<p>-&gt; DES<\/p>\n<p>-&gt;3DES<\/p>\n<p>-&gt; AES<\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">int s0\/0<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">ipv6 ospf authentication ipsec spi 500 { md5 | sha1 } &lt;password&gt;<\/span><\/p>\n<p>-&gt; For MD5, password is 32 characters long<\/p>\n<p>-&gt; For SHA1, password is 40 characters long<\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">ipv6 ospf encryption ipsec spi 500 { des | 3des | aes }<\/span><\/p>\n<p><b>New LSAs and Changes<\/b><\/p>\n<p>&#8211; LSA 8<\/p>\n<p>-&gt; Intra Area Prefixes<\/p>\n<p>-&gt; All connected networks of all routers within the area<\/p>\n<p>&#8211; LSA 1<\/p>\n<p>-&gt; Only lists the neighbors \/ routers in the area<\/p>\n<p>&#8211; LSA 9<\/p>\n<p>-&gt; Link LSA<\/p>\n<p>-&gt; It consists of the link-local address<\/p>\n<p>-&gt; Scope is link-local<\/p>\n<p><strong>Potential Problems<\/strong><\/p>\n<p><b>No OSPF Neighborship:\u00a0\u00a0<\/b><\/p>\n<p>&#8211; Interface not participating<\/p>\n<p>-&gt; Check passive interface configuration<\/p>\n<p>-&gt; <span style=\"-evernote-highlight: true; background-color: #fffaa5;\">show ip ospf int bri<\/span> (IOS)<\/p>\n<p>-&gt; <span style=\"-evernote-highlight: true; background-color: #fffaa5;\">show ipv6 ospf int br<\/span>i (IOS)<\/p>\n<p>-&gt; <span style=\"-evernote-highlight: true; background-color: #fffaa5;\">show o<\/span><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">spf int bri<\/span>\u00a0\u00a0(XR)<\/p>\n<p>-&gt; <span style=\"-evernote-highlight: true; background-color: #fffaa5;\">show ospfv3 int bri<\/span> (XR)<\/p>\n<p>&#8211; Hello interval mismatch<\/p>\n<p>&#8211; MTU mismatch<\/p>\n<p>&#8211; Area mismatch<\/p>\n<p>&#8211; IP address \/ mask wrong<\/p>\n<p>&#8211; Authentication error<\/p>\n<p><b>OSPF Neighborship up:<\/b><\/p>\n<p>&#8211; mismatch network types<\/p>\n<p>-&gt; broadcast and point-to-point<\/p>\n<p>-&gt; <span style=\"-evernote-highlight: true; background-color: #fffaa5;\">show ip ospf nei<\/span> (IOS)<\/p>\n<p>-&gt; <span style=\"-evernote-highlight: true; background-color: #fffaa5;\">show ipv6 ospf nei<\/span> (IOS)<\/p>\n<p>-&gt; one side shows &#8220;DR or BDR&#8221;, otherside shows &#8220;-&#8221;<\/p>\n<p>-&gt; <span style=\"-evernote-highlight: true; background-color: #fffaa5;\">show ospf nei<\/span> (XR)<\/p>\n<p>-&gt; <span style=\"-evernote-highlight: true; background-color: #fffaa5;\">show ospfv3 nei<\/span> (XR)<\/p>\n<p>&#8211; no database exchange<\/p>\n<p>-&gt; <span style=\"-evernote-highlight: true; background-color: #fffaa5;\">show ip route ospf<\/span><\/p>\n<p>-&gt; <span style=\"-evernote-highlight: true; background-color: #fffaa5;\">show ipv6 route ospf<\/span><\/p>\n<p>-&gt; loopback of neighbor router comes from a different router<\/p>\n<p>&#8211; Wrong router-id<\/p>\n<p><strong>Verification (IOS):<\/strong><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0\u00a0&#8211; sh ip ospf int<\/span><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0\u00a0&#8211; sh ipv6 ospf int<\/span><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0\u00a0&#8211; sh ip ospf int bri<\/span><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0\u00a0&#8211; sh ipv6 ospf int bri<\/span><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0\u00a0&#8211; sh ip ospf nei<\/span><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0\u00a0&#8211; sh ipv6 ospf nei<\/span><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0\u00a0&#8211; sh ip protocols<\/span><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0\u00a0&#8211; sh ipv6 protocols<\/span><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0\u00a0&#8211; sh ipv6 ospf\u00a0\u00a0<\/span><\/p>\n<p>-&gt; To check router-id<\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0\u00a0&#8211; sh ip ospf database<\/span><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0\u00a0&#8211; sh ip ospf datebase | be Ex<\/span><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0\u00a0&#8211; sh ip ospf virtual-link<\/span><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0\u00a0&#8211; sh ip route ospf<\/span><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0\u00a0&#8211; sh ipv6 route ospf<\/span><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0\u00a0&#8211; debug ip ospf hello<\/span><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0\u00a0&#8211; debug ip routing<\/span><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0<\/span><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0\u00a0&#8211; ping 2.2.0.8 source lo0<\/span><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0\u00a0&#8211; ping 2002:2:2::8 source lo0<\/span><\/p>\n<p><strong>Verification (XR):<\/strong><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0\u00a0&#8211; sh ospf int<\/span><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0\u00a0&#8211; sh ospf int bri<\/span><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0\u00a0&#8211; sh ospf nei<\/span><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0\u00a0&#8211; sh protocols<\/span><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0\u00a0&#8211; sh ospfv3 int<\/span><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0\u00a0&#8211; sh ospfv3 int bri<\/span><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0\u00a0&#8211; sh ospfv3 nei<\/span><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0\u00a0&#8211; sh protocols ipv6<\/span><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0\u00a0&#8211; sh route ipv4 ospf<\/span><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 -&gt; sh route ospf <\/span> (also works)<\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0\u00a0&#8211; sh route ipv6 ospf<\/span><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0<\/span><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0\u00a0&#8211; ping 2.2.0.2 source 2.2.0.8<\/span><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0\u00a0&#8211; pint 2002:2:2::2 source 2002:2:2::8<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>OSPF -&gt; Open Shortest Path First &#8211; Open standard &#8211; IP protocol 89 &#8211; Multicast addresses -&gt; 224.0.0.4 &#8211; all routers -&gt; 224.0.0.5 &#8211; all DR &#8211; Metric is cost &#8211; Link state protocol &#8211; Uses 3 tables -&gt; Neighbor table -&gt; Database table -&gt; Routing table &#8211; SPF algorithm &#8211; Uses Designated Router and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[30,24,25,10],"class_list":["post-255","post","type-post","status-publish","format-standard","hentry","category-ccie","tag-ccie","tag-ospf","tag-ospfv3","tag-service-provider"],"_links":{"self":[{"href":"https:\/\/feralpacket.org\/index.php?rest_route=\/wp\/v2\/posts\/255","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/feralpacket.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/feralpacket.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/feralpacket.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/feralpacket.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=255"}],"version-history":[{"count":11,"href":"https:\/\/feralpacket.org\/index.php?rest_route=\/wp\/v2\/posts\/255\/revisions"}],"predecessor-version":[{"id":989,"href":"https:\/\/feralpacket.org\/index.php?rest_route=\/wp\/v2\/posts\/255\/revisions\/989"}],"wp:attachment":[{"href":"https:\/\/feralpacket.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=255"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/feralpacket.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=255"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/feralpacket.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=255"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}