<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to filter routes being exported to BGP neighbor? in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-filter-routes-being-exported-to-bgp-neighbor/m-p/578873#M116077</link>
    <description>&lt;P&gt;&lt;SPAN&gt;We are currently redistributing all OSPF routes to our BGP neighbor without any filtering.&amp;nbsp; We wish to exclude certain prefixes from BGP advertisement. I need an assistance in configuring the filter for this purpose.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Q1. Is it going to be working if I create redistribution profile and apply noRedist_To_BGP profile to BGP--&amp;gt;Redist Rules?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Q2. &lt;SPAN&gt;If a new distribution profile is added, there will be two distribution profiles: one for distributing all OSPF routes to BGP, and the other for a no-redistribution policy. Would the priority number of the distribution profiles matter in this scenario?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;1. Create redistribution profile (with No Redist option and priority value 1)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JasonKu_0-1709226190520.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/57951i89F9808DD1BFC786/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="JasonKu_0-1709226190520.png" alt="JasonKu_0-1709226190520.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;2.&amp;nbsp; Add&amp;nbsp;&lt;SPAN&gt;noRedist_To_BGP profile to BGP--&amp;gt;Redist Rules&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JasonKu_2-1709226301733.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/57953i7033CBFC54178DF0/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="JasonKu_2-1709226301733.png" alt="JasonKu_2-1709226301733.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is the current OSPF-2-BGP redistribution that applied to BGP and functioning (Currently this policy has priority value 2).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JasonKu_3-1709226491336.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/57954i3E7B67A0FEC2866C/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="JasonKu_3-1709226491336.png" alt="JasonKu_3-1709226491336.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you in advance&lt;/P&gt;</description>
    <pubDate>Thu, 29 Feb 2024 17:16:01 GMT</pubDate>
    <dc:creator>Jason.Ku</dc:creator>
    <dc:date>2024-02-29T17:16:01Z</dc:date>
    <item>
      <title>How to filter routes being exported to BGP neighbor?</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-filter-routes-being-exported-to-bgp-neighbor/m-p/578873#M116077</link>
      <description>&lt;P&gt;&lt;SPAN&gt;We are currently redistributing all OSPF routes to our BGP neighbor without any filtering.&amp;nbsp; We wish to exclude certain prefixes from BGP advertisement. I need an assistance in configuring the filter for this purpose.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Q1. Is it going to be working if I create redistribution profile and apply noRedist_To_BGP profile to BGP--&amp;gt;Redist Rules?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Q2. &lt;SPAN&gt;If a new distribution profile is added, there will be two distribution profiles: one for distributing all OSPF routes to BGP, and the other for a no-redistribution policy. Would the priority number of the distribution profiles matter in this scenario?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;1. Create redistribution profile (with No Redist option and priority value 1)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JasonKu_0-1709226190520.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/57951i89F9808DD1BFC786/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="JasonKu_0-1709226190520.png" alt="JasonKu_0-1709226190520.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;2.&amp;nbsp; Add&amp;nbsp;&lt;SPAN&gt;noRedist_To_BGP profile to BGP--&amp;gt;Redist Rules&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JasonKu_2-1709226301733.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/57953i7033CBFC54178DF0/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="JasonKu_2-1709226301733.png" alt="JasonKu_2-1709226301733.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is the current OSPF-2-BGP redistribution that applied to BGP and functioning (Currently this policy has priority value 2).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JasonKu_3-1709226491336.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/57954i3E7B67A0FEC2866C/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="JasonKu_3-1709226491336.png" alt="JasonKu_3-1709226491336.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you in advance&lt;/P&gt;</description>
      <pubDate>Thu, 29 Feb 2024 17:16:01 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/how-to-filter-routes-being-exported-to-bgp-neighbor/m-p/578873#M116077</guid>
      <dc:creator>Jason.Ku</dc:creator>
      <dc:date>2024-02-29T17:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter routes being exported to BGP neighbor?</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-filter-routes-being-exported-to-bgp-neighbor/m-p/579194#M116110</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/47652"&gt;@Jason.Ku&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you'd like to filter BGP advertisements, I would recommend creating export policies for your peers. You can configure different export policies based on what each peer needs to be aware of or not. This way you can redistribute all OSPF routes into the BGP local RIB for later use. Here is an example of &lt;A href="https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000CltiCAC" target="_self"&gt;BGP exports rules&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If not, the no redis method you mention works as well. Just as you have it, a&lt;SPAN&gt;&amp;nbsp;profile to exclude prefixes and then a general redistribution profile with a lower priority (higher priority value) after it.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hope this helps!&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2024 21:43:45 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/how-to-filter-routes-being-exported-to-bgp-neighbor/m-p/579194#M116110</guid>
      <dc:creator>JayGolf</dc:creator>
      <dc:date>2024-03-04T21:43:45Z</dc:date>
    </item>
  </channel>
</rss>

