{"id":772,"date":"2021-08-20T03:11:48","date_gmt":"2021-08-20T03:11:48","guid":{"rendered":"http:\/\/feralpacket.org\/?p=772"},"modified":"2021-08-20T03:11:48","modified_gmt":"2021-08-20T03:11:48","slug":"ospf-notes","status":"publish","type":"post","link":"https:\/\/feralpacket.org\/?p=772","title":{"rendered":"OSPF Notes"},"content":{"rendered":"<p><b>OSPF -&gt; Open Shortest Path First<\/b>:<\/p>\n<p>&#8211; Open standard<br \/>\n&#8211; IP protocol 89<br \/>\n&#8211; Multicast addresses<br \/>\n-&gt; 224.0.0.4 &#8211; all routers<br \/>\n-&gt; 224.0.0.5 &#8211; all DR<br \/>\n&#8211; Metric is cost<br \/>\n&#8211; Link state protocol<br \/>\n&#8211; Uses 3 tables<br \/>\n-&gt; Neighbor table<br \/>\n-&gt; Database table<br \/>\n-&gt; Routing table<br \/>\n&#8211; SPF algorithm<br \/>\n&#8211; Uses Designated Router and Backup Designated Router concept on multiaccess networks<br \/>\n-&gt;<br \/>\n&#8211; Uses concept of areas<br \/>\n&#8211; Types of packets<br \/>\n-&gt; Hello<br \/>\n-&gt; Database Descriptors (DBD)<br \/>\n-&gt; Link State Request (LSR)<br \/>\n-&gt; Link State Update (LSU)<br \/>\n-&gt; Link State Acknowledgment (LSAck)<\/p>\n<p><b>Neighbor formation<\/b><br \/>\n&#8211; Hellos are sent to 224.0.0.5<br \/>\n&#8211; Hello packet<br \/>\n-&gt; Router-id (must be unique)<br \/>\n-&gt; Area-id (must match)<br \/>\n-&gt; Timers (must match)<br \/>\n-&gt; hello timer &#8211; 10 sec (LAN) | 30 sec (WAN)<br \/>\n-&gt; dead timer &#8211; 40 sec (LAN) | 120 sec (WAN)<br \/>\n-&gt; Authentication<br \/>\n-&gt; Network \/ subnet mask (must match)<br \/>\n-&gt; MTU (must match)<br \/>\n-&gt; Number of neighbors in the segment (must match)<\/p>\n<p><b>Finite State Machine (FSM)<\/b><br \/>\n1. Down &#8211; no hellos sent<br \/>\n2. Attempt &#8211; frame-relay or non-broadcast networks where multicast hellos will not work<br \/>\n3. INIT &#8211; Hello is sent to 224.0.0.5<br \/>\n4. 2-WAY &#8211; Parameters in hello packets match and both routers list each other as neighbors in hello packets<br \/>\n5. EXSTART &#8211; Master \/ Slave election; router-ids are compared (higher is better)<br \/>\n6. EXCHANGE &#8211; DBDs are exchanged (header information of the database, not the entire database)<br \/>\n7. Loading &#8211; Exchange of database<br \/>\n8. Full &#8211; Both routers are completely synchronized<\/p>\n<p>Steps 1 &#8211; 4, a basic neighborship is formed<br \/>\nStep 8, fully adjacent neighborship<\/p>\n<p><b>Neighborship Control<\/b><br \/>\n&#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<br \/>\n-&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<br \/>\n<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><br \/>\n&#8211; Only allowed on non-broadcast multi-access (NBMA) networks<br \/>\nrouter ospf 1<br \/>\nneighbor &lt;ip address&gt;<\/p>\n<p><b>OSPF Authentication<\/b><br \/>\n&#8211; 3 types<br \/>\n-&gt; type 0 &#8211; NULL<br \/>\n-&gt; type 1 &#8211; plain text<br \/>\n-&gt; type 2 &#8211; MD5<br \/>\n&#8211; Configuration<br \/>\n-&gt; Interface &#8211; connected neighbor must be configured<br \/>\n-&gt; Area-wide &#8211; all routers in the area must be configured<\/p>\n<p>Interface level configuration<br \/>\n&#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><img decoding=\"async\" style=\"height: auto;\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2018\/10\/c9ab21a44b69c57fa7986ff32628567d.jpeg\" width=\"\" height=\"\" \/><\/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<br \/>\n<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><br \/>\n&#8211; One router is elected the DR<br \/>\n-&gt; highest priority<br \/>\n-&gt; highest router-id<br \/>\n-&gt; any manual router-id config<br \/>\n-&gt; highest loopback address<br \/>\n-&gt; highest physical interface address<br \/>\n&#8211; Another router which is second best is elected the BDR<br \/>\n&#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><img decoding=\"async\" style=\"height: auto;\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2018\/10\/aec10302248c3ee316c2d998ea4b7786.jpeg\" width=\"\" height=\"\" \/><\/p>\n<p>SPF is a point-to-point protocol<br \/>\n&#8211; It doesn&#8217;t work on multi-access networks<br \/>\n&#8211; DR becomes a pseudo node to create a logical point-to-point network<\/p>\n<p><img decoding=\"async\" style=\"height: auto;\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2018\/10\/1927ed8e402092beee42c641da796c88.jpeg\" width=\"\" height=\"\" \/><\/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 2-way \/ DROTHERS<br \/>\nR2\u00a0\u00a0\u00a0\u00a0\u00a0 2-way \/ DROTHERS<br \/>\nR4\u00a0\u00a0\u00a0\u00a0\u00a0 Full \/ BDR<br \/>\nR5\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)<br \/>\n-&gt; 0 &#8211; no participation in election<br \/>\n-&gt; 1 &#8211; default priority<\/p>\n<p><b>OSPF Network Types<\/b><br \/>\n&#8211; Depending on the interface OSPF is activated on, it decides some properties to be used<br \/>\n-&gt; Timers<br \/>\n-&gt; DR \/ BDR<br \/>\n-&gt; Type of neighborship<\/p>\n<p>1. Broadcast Multi-access<br \/>\n2. Point-to-point<br \/>\n3. Non-broadcast Multi-access (NBMA)<br \/>\n4. Point-to-multipoint<br \/>\n5. Point-to-multipoint Non-broadcast<\/p>\n<p><img decoding=\"async\" style=\"height: auto;\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2018\/10\/c375d4fafffc8e8d0dcbeb2e95532982.jpeg\" width=\"\" height=\"\" \/><\/p>\n<p>Frame-relay default to NBMA<br \/>\n&#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><br \/>\n&#8211; A set of LSAs (Link State Advertisements)<br \/>\n-&gt; LSA 1 &#8211; Router LSA<br \/>\n-&gt; LSA-ID &#8211; router-id<br \/>\n-&gt; neighbors connected to a router<br \/>\n-&gt; networks connected to a router<br \/>\n-&gt; LSA 2 &#8211; Network LSA<br \/>\n-&gt; LSA-ID &#8211; IP address of DR<br \/>\n-&gt; Information about transit network ( DR \/ BDR \/ DROTHERS )<br \/>\n-&gt; Originated by DR<br \/>\n-&gt; LSA 3 &#8211; Summary LSA<br \/>\n-&gt; LSA-ID &#8211; for every network in the other area<br \/>\n-&gt; Created by ABR<br \/>\n-&gt; Cost to reach network from the ABR<br \/>\n-&gt; LSA 4 &#8211; ASBR Summary<br \/>\n-&gt; LSA-ID &#8211; router-id of ASBR<br \/>\n-&gt; Contains cost of ABR to reach ASBR<br \/>\n-&gt; LSA 5 &#8211; AS-External<br \/>\n-&gt; LSA-ID &#8211; external networks<br \/>\n-&gt; Created by ASBR<br \/>\n-&gt; Cost of ASBR to reach external networks<br \/>\n-&gt; LSA 7 &#8211; Not-so-stubby-area (NSSA)<br \/>\n-&gt; LSA-ID &#8211; external network<br \/>\n-&gt; Created by ASBR<br \/>\n-&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<br \/>\n&#8211; network<br \/>\n&#8211; summary<br \/>\n&#8211; asbr-summary<br \/>\n&#8211; as-external<br \/>\n&#8211; nsaa-external<\/p>\n<p><b>OSPF Cost Calculation<\/b><br \/>\n&#8211; Cumulative cost of all exit interfaces towards destination<\/p>\n<p>Cost of serial ethernet = 100 \/ 1.544 = 64<br \/>\nCost of fast ethernet = 100 \/ 100 = 1<br \/>\nCost 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><img decoding=\"async\" style=\"height: auto;\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2018\/10\/83eb1b95211709d8960253a31b6fc977.jpeg\" width=\"\" height=\"\" \/><\/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<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;\">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><img decoding=\"async\" style=\"height: auto;\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2018\/10\/87f0aecbac80d43e04595476303e4286.jpeg\" width=\"\" height=\"\" \/><\/p>\n<p>R1 to 50.0.0.0<br \/>\n&#8211; Route #1 &#8211; R1 -&gt; R2 -&gt; R4 -&gt; 50.0.0.0 = cost of 66<br \/>\n&#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; <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; <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><br \/>\n&#8211; Can be done on Area Border (ABR)<br \/>\n&#8211; Can be done on Domain Border (ASBR)<br \/>\n-&gt; border between routing protocols<br \/>\n-You cannot summarize within an area<br \/>\n-&gt; That would defeat the point of SPF<\/p>\n<p><img decoding=\"async\" style=\"height: auto;\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2018\/10\/8ec227b9abe0fa5d0c47e35c4462435f.jpeg\" width=\"\" height=\"\" \/><\/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><img decoding=\"async\" style=\"height: auto;\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2018\/10\/9d9080802100ec55e138c69496887541.jpeg\" width=\"\" height=\"\" \/><\/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<br \/>\n-&gt;without this keyword, the local router needs a default route in the routing table<br \/>\n-&gt; with this keyword, the default route is injected regardless of a default route being represent in the local routing table<br \/>\n-&gt; metric &#8211; default is 1<\/p>\n<p><b>OSPF Filtering<\/b><br \/>\n&#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><br \/>\na<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><img decoding=\"async\" style=\"height: auto;\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2018\/10\/f94e450a86794769f8f6e534bce32081.jpeg\" width=\"\" height=\"\" \/><\/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><img decoding=\"async\" style=\"height: auto;\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2018\/10\/488970903e3beb3fbfa6f61e999fe705.jpeg\" width=\"\" height=\"\" \/><\/p>\n<p>It&#8217;s preferable to filter out of an area when multiple areas are present<br \/>\n&#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><img decoding=\"async\" style=\"height: auto;\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2018\/10\/b7c6c578c2c34e45ce1d4c2d378c3e04.jpeg\" width=\"\" height=\"\" \/><\/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 it can cause problems, but will likely come up in the exam<br \/>\n&#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><img decoding=\"async\" style=\"height: auto;\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2018\/10\/e7c8d0a01e56bbb9e5dfde223468c627.jpeg\" width=\"\" height=\"\" \/><\/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<br \/>\n&#8211; 10.0.1.0 \/24<br \/>\n&#8211; 10.0.2.0 \/24<br \/>\n&#8211; 10.0.3.0 \/24<br \/>\n-&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><img decoding=\"async\" style=\"height: auto;\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2018\/10\/3db052c03a6708d26b400b7a245c376a.jpeg\" width=\"\" height=\"\" \/><\/p>\n<p><b>Virtual Links<\/b><br \/>\n&#8211; Used to connect discontiguous areas and broken area 0<br \/>\n&#8211; A virtual link is a point-to-point link in area 0<\/p>\n<p>ABR1 &#8211; ABR between backbone and transit area<br \/>\nABR2 &#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><br \/>\na<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><br \/>\n&#8211; Stub area<br \/>\n&#8211; Totally stubby area<br \/>\n&#8211; Not-so-stubby-area (NSSA)<br \/>\n&#8211; Totally NSSA<\/p>\n<p><img decoding=\"async\" style=\"height: auto;\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2018\/10\/01c41d501a16241b5051d0a3914b8272.jpeg\" width=\"\" height=\"\" \/><\/p>\n<p>Stub area<br \/>\n&#8211; Does not allow type 5 routes into the area<br \/>\n&#8211; All external routes (type 5) are filtered by ABR and replaced with one type 3 default route<\/p>\n<p>Totally stubby area<br \/>\n&#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><img decoding=\"async\" style=\"height: auto;\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2018\/10\/e29711f9f5fc514bb26e8fe77852de92.jpeg\" width=\"\" height=\"\" \/><\/p>\n<p><b>Stub Area Configuration<\/b><br \/>\n&#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><br \/>\n&#8211; lists areas and which ones are stubs<\/p>\n<p><b>Totally Subby Area Configuration<\/b><br \/>\n&#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><img decoding=\"async\" style=\"height: auto;\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2018\/10\/a0df3924df47196ee18074ee6b8f4370.jpeg\" width=\"\" height=\"\" \/><\/p>\n<p>NSSA<br \/>\n&#8211; Stub area with redistribution possible<br \/>\n&#8211; It&#8217;s a stub area with an ASBR<br \/>\n&#8211; External routes created inside the NSSA are type 7<br \/>\n-&gt; Because type 5 LSAs are not allowed in stub areas<br \/>\n&#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;<br \/>\n&#8211; If multiple ABRs are present, there will be a translator election and the one with the highest router-id wins<\/p>\n<p><img decoding=\"async\" style=\"height: auto;\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2018\/10\/c3470fd3c233413fad9b2f5e3ca961d7.jpeg\" width=\"\" height=\"\" \/><\/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<br \/>\nnetwork 50.0.0.0<br \/>\noriginator-id 4.4.4.4<br \/>\nforwarding 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><br \/>\n&#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><br \/>\n&#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><img decoding=\"async\" style=\"height: auto;\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2018\/10\/d8cd2fd2f5fddb22dd1f8a382f02e7d1.jpeg\" width=\"\" height=\"\" \/><\/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>Troubleshooting:<\/b><\/p>\n<p><b>No OSPF Neighborship:\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(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><b>Verification (IOS):<\/b><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0&#8211; sh ip ospf int<\/span><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0&#8211; sh ipv6 ospf int<\/span><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0&#8211; sh ip ospf int bri<\/span><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0&#8211; sh ipv6 ospf int bri<\/span><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0&#8211; sh ip ospf nei<\/span><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0&#8211; sh ipv6 ospf nei<\/span><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0&#8211; sh ip protocols<\/span><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0&#8211; sh ipv6 protocols<\/span><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0&#8211; sh ipv6 ospf\u00a0<\/span><\/p>\n<p>-&gt; To check router-id<\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0&#8211; sh ip ospf database<\/span><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0&#8211; sh ip ospf datebase | be Ex<\/span><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0&#8211; sh ip ospf virtual-link<\/span><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0&#8211; sh ip route ospf<\/span><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0&#8211; sh ipv6 route ospf<\/span><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0&#8211; debug ip ospf hello<\/span><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0&#8211; debug ip routing<\/span><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0&#8211; ping 2.2.0.8 source lo0<\/span><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0&#8211; ping 2002:2:2::8 source lo0<\/span><\/p>\n<p><b>Verification (XR):<\/b><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0&#8211; sh ospf int<\/span><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0&#8211; sh ospf int bri<\/span><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0&#8211; sh ospf nei<\/span><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0&#8211; sh protocols<\/span><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0&#8211; sh ospfv3 int<\/span><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0&#8211; sh ospfv3 int bri<\/span><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0&#8211; sh ospfv3 nei<\/span><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0&#8211; sh protocols ipv6<\/span><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0&#8211; sh route ipv4 ospf<\/span><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0 \u00a0 \u00a0 -&gt; sh route ospf<\/span> (also works)<\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\u00a0&#8211; sh route ipv6 ospf<\/span><\/p>\n<p><span style=\"-evernote-highlight: true; background-color: #fffaa5;\">\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&#8211; pint 2002:2:2::2 source 2002:2:2::8<\/span><\/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","protected":false},"excerpt":{"rendered":"<p>OSPF -&gt; Open Shortest Path First:<\/p>\n","protected":false},"author":1,"featured_media":754,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[24,25,31,10],"class_list":["post-772","post","type-post","status-publish","format-standard","hentry","category-ccie","tag-ospf","tag-ospfv3","tag-published","tag-service-provider"],"_links":{"self":[{"href":"https:\/\/feralpacket.org\/index.php?rest_route=\/wp\/v2\/posts\/772","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=772"}],"version-history":[{"count":1,"href":"https:\/\/feralpacket.org\/index.php?rest_route=\/wp\/v2\/posts\/772\/revisions"}],"predecessor-version":[{"id":984,"href":"https:\/\/feralpacket.org\/index.php?rest_route=\/wp\/v2\/posts\/772\/revisions\/984"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/feralpacket.org\/index.php?rest_route=\/wp\/v2\/media\/754"}],"wp:attachment":[{"href":"https:\/\/feralpacket.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=772"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/feralpacket.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=772"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/feralpacket.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=772"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}