{"id":416,"date":"2018-10-26T21:43:02","date_gmt":"2018-10-26T21:43:02","guid":{"rendered":"http:\/\/feralpacket.org\/?p=416"},"modified":"2018-10-26T22:54:18","modified_gmt":"2018-10-26T22:54:18","slug":"l3vpn-loop-prevention-features-notes","status":"publish","type":"post","link":"https:\/\/feralpacket.org\/?p=416","title":{"rendered":"L3VPN Loop Prevention Features Notes"},"content":{"rendered":"<p><span style=\"font-weight: bold;\">L3VPN Loop Prevention Featurees<\/span><\/p>\n<p><span style=\"font-weight: bold;\">OSPF<\/span><\/p>\n<p>\n&#8211; Uses DOWN-BIT<\/p>\n<p>\n\u00a0\u00a0\u00a0\u00a0 -&gt; When a PE router receives an update on a VRF interface, it performs a DOWN-BIT operation<\/p>\n<p>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 -&gt; If the down-bit is not set in the update packet, it is set by the PE router<\/p>\n<p>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 -&gt; If the down-bit is set, the PE router drops the packet<\/p>\n<p>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 -&gt; Down-bit checking is only done on type 3 LSAs (Inter-Area)<\/p>\n<p>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 -&gt; Doesn&#8217;t work for type 1 LSAs used by sham-links<\/p>\n<p>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 -&gt; No configuration required\n<\/p>\n<p><span style=\"font-weight: bold;\">BGP<\/span><\/p>\n<p>\n&#8211; Can use extended community called &#8220;site-of-origin&#8221;<\/p>\n<p>\n\u00a0\u00a0\u00a0\u00a0 -&gt; Can be set on incoming VRF interface<\/p>\n<p>\n\u00a0\u00a0\u00a0\u00a0 -&gt; SoO = 64 bit value represented at <a href=\"file:\/\/\/X:Y%5D\">X:Y<\/a><\/p>\n<p>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 -&gt; Must be different on each PE router\n<\/p>\n<p>\nR1(config)# <span style=\"background-color:rgb(255, 250, 165);-evernote-highlight:true;\">router bgp 100<\/span><\/p>\n<p><span style=\"background-color:rgb(255, 250, 165);-evernote-highlight:true;\">address-family ipv4 vrf c1b1<\/span><\/p>\n<p>\n\u00a0 <span style=\"background-color:rgb(255, 250, 165);-evernote-highlight:true;\">neighbor 14.0.0.4 soo 100:100<\/span><\/p>\n<p>\nR3(config)# <span style=\"background-color:rgb(255, 250, 165);-evernote-highlight:true;\">router bgp 100<\/span><\/p>\n<p><span style=\"background-color:rgb(255, 250, 165);-evernote-highlight:true;\">address-family ipv4 vrf c1b2<\/span><\/p>\n<p>\n\u00a0 <span style=\"background-color:rgb(255, 250, 165);-evernote-highlight:true;\">neighbor 35.0.0.5 soo 200:200<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2018\/10\/18c2cf9fd2e157080f2ab7c0d58c2d12.jpeg\" style=\"cursor: default;cursor: default;cursor: default;\" width=\"500\" height=\"\"\/><\/p>\n<p>SoO value should be the same on PE routers connected to the same branch.<\/p>\n<p><span style=\"font-weight: bold;\">EIGRP<\/span><\/p>\n<p>\u00a0&#8211; Can use &#8220;site-of-origin&#8221; to prevent loops<\/p>\n<p>R1(config)# <span style=\"background-color:rgb(255, 250, 165);-evernote-highlight:true;\">router-map SOO<\/span><\/p>\n<p>\u00a0<span style=\"background-color:rgb(255, 250, 165);-evernote-highlight:true;\">set ext-community soo 100:100<\/span><\/p>\n<p><span style=\"background-color:rgb(255, 250, 165);-evernote-highlight:true;\">int s0\/0<\/span><\/p>\n<p>\u00a0<span style=\"background-color:rgb(255, 250, 165);-evernote-highlight:true;\">ip vrf sitemap SOO<\/span><\/p>\n<p>Sitemap<\/p>\n<p>\u00a0&#8211; If SoO is not set, then set<\/p>\n<p>\u00a0&#8211; If SoO is set, then drop<\/p>\n","protected":false},"excerpt":{"rendered":"<p>L3VPN Loop Prevention Featurees<\/p>\n","protected":false},"author":1,"featured_media":415,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[33,32],"class_list":["post-416","post","type-post","status-publish","format-standard","hentry","category-ccie","tag-l3vpn","tag-mpls"],"_links":{"self":[{"href":"https:\/\/feralpacket.org\/index.php?rest_route=\/wp\/v2\/posts\/416","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=416"}],"version-history":[{"count":3,"href":"https:\/\/feralpacket.org\/index.php?rest_route=\/wp\/v2\/posts\/416\/revisions"}],"predecessor-version":[{"id":420,"href":"https:\/\/feralpacket.org\/index.php?rest_route=\/wp\/v2\/posts\/416\/revisions\/420"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/feralpacket.org\/index.php?rest_route=\/wp\/v2\/media\/415"}],"wp:attachment":[{"href":"https:\/\/feralpacket.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=416"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/feralpacket.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=416"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/feralpacket.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=416"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}