{"id":653,"date":"2018-10-29T21:04:37","date_gmt":"2018-10-29T21:04:37","guid":{"rendered":"http:\/\/feralpacket.org\/?p=653"},"modified":"2018-10-29T21:04:37","modified_gmt":"2018-10-29T21:04:37","slug":"ospf-as-the-pe-ce-protocol-notes","status":"publish","type":"post","link":"https:\/\/feralpacket.org\/?p=653","title":{"rendered":"OSPF as the PE &#8211; CE Protocol Notes"},"content":{"rendered":"<p><span style=\"font-weight: bold;\">OSPF as the PE &#8211; CE Protocol<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2018\/10\/c4a69aa6e1ece66f2a43c91c5596d50b.jpeg\" style=\"\" width=\"600\" height=\"\"\/><\/p>\n<p>Configuration assumes IGP + LDP is complete, MP-BGP is\u00a0complete, and CE IGP is complete<\/p>\n<p>R1(config)# <span style=\"background-color: rgb(255, 250, 165);-evernote-highlight:true;\">router ospf 10 vrf c1b1<\/span><\/p>\n<p>\u00a0<span style=\"background-color: rgb(255, 250, 165);-evernote-highlight:true;\">network 14.0.0.1 0.0.0.0 area 0<\/span><\/p>\n<p>\u00a0<span style=\"background-color: rgb(255, 250, 165);-evernote-highlight:true;\">redistribute bgp 100 subnets<\/span><\/p>\n<p>R3(config)# <span style=\"background-color: rgb(255, 250, 165);-evernote-highlight:true;\">router ospf 10 vrf c1b2<\/span><\/p>\n<p>\u00a0<span style=\"background-color: rgb(255, 250, 165);-evernote-highlight:true;\">network 35.0.0.3 0.0.0.0 area 0<\/span><\/p>\n<p>\u00a0<span style=\"background-color: rgb(255, 250, 165);-evernote-highlight:true;\">redistribute bgp 100 subnets<\/span><\/p>\n<p>R1(config)# <span style=\"background-color: rgb(255, 250, 165);-evernote-highlight:true;\">router bgp 100<\/span><\/p>\n<p>\u00a0<span style=\"background-color: rgb(255, 250, 165);-evernote-highlight:true;\">address-family ipv4 vrf c1b1<\/span><\/p>\n<p>\u00a0 <span style=\"background-color: rgb(255, 250, 165);-evernote-highlight:true;\">redistribute ospf 100 match internal external 1 external 2<\/span><\/p>\n<p>R3(config)# <span style=\"background-color: rgb(255, 250, 165);-evernote-highlight:true;\">router bgp 100<\/span><\/p>\n<p>\u00a0<span style=\"background-color: rgb(255, 250, 165);-evernote-highlight:true;\">address-familty ipv4 vrf c1b2<\/span><\/p>\n<p>\u00a0 <span style=\"background-color: rgb(255, 250, 165);-evernote-highlight:true;\">redistribute ospf 10 match internal external 1 external 2<\/span><\/p>\n<p>sh ip route<\/p>\n<p>\u00a0On R4 -&gt; O IA 5.5.5.5<\/p>\n<p>\u00a0On R5 -&gt; O IA 4.4.4.4<\/p>\n<p>If the OSPF process number on the CE routers do not match, the routes will be external.<\/p>\n<p>\u00a0&#8211; The PE router&#8217;s OSPF process-id is carried into BGP as the &#8220;domain-id&#8221; extended community to the other PE router<\/p>\n<p>\u00a0&#8211; The domain-id is compared with the local process-id<\/p>\n<p>\u00a0 \u00a0 \u00a0-&gt; If they match, the OSPF routes will be Inter-Area<\/p>\n<p>\u00a0 \u00a0 \u00a0-&gt; If the do not match, the OSPF routes will be external (E2)<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2018\/10\/9a440ae9e0f2ad51d4626904000bfa16.jpeg\" style=\"\" width=\"600\" height=\"\"\/><\/p>\n<p>The PE network acts as a super backbone area for the customer&#8217;s OSPF.<\/p>\n<p>Instructor comment, &#8220;The super backbone is like a higher, more intellignt area 0.&#8221;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2018\/10\/44872df805fe35dafb6f02c0e604ea49.jpeg\" style=\"\" width=\"600\" height=\"\"\/><\/p>\n<p>If the customer has area 0 anywhere on the network, it has to be directly connected with the super backbone<\/p>\n<p>\u00a0 \u00a0 \u00a0-&gt; If area 0 is not directly connected with the super backbone, virtual-links are required<\/p>\n","protected":false},"excerpt":{"rendered":"<p>OSPF as the PE &#8211; CE Protocol<\/p>\n","protected":false},"author":1,"featured_media":650,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[33,32,24,31],"class_list":["post-653","post","type-post","status-publish","format-standard","hentry","category-ccie","tag-l3vpn","tag-mpls","tag-ospf","tag-published"],"_links":{"self":[{"href":"https:\/\/feralpacket.org\/index.php?rest_route=\/wp\/v2\/posts\/653","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=653"}],"version-history":[{"count":2,"href":"https:\/\/feralpacket.org\/index.php?rest_route=\/wp\/v2\/posts\/653\/revisions"}],"predecessor-version":[{"id":737,"href":"https:\/\/feralpacket.org\/index.php?rest_route=\/wp\/v2\/posts\/653\/revisions\/737"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/feralpacket.org\/index.php?rest_route=\/wp\/v2\/media\/650"}],"wp:attachment":[{"href":"https:\/\/feralpacket.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=653"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/feralpacket.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=653"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/feralpacket.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=653"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}