<?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 Re: BGP Route imports, Route filter vs Route maps? in Firewall and Security Management</title>
    <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/BGP-Route-imports-Route-filter-vs-Route-maps/m-p/258896#M50781</link>
    <description>&lt;P&gt;Here are answers to your Qs.&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;
&lt;P&gt;***************************************&lt;/P&gt;
&lt;P data-start="970" data-end="1448"&gt;&lt;STRONG data-start="970" data-end="1088"&gt;1. Can you add a route-map for an AS that has route filtering, then remove filtering, keeping the imported routes?&lt;/STRONG&gt;&lt;BR data-start="1088" data-end="1091" /&gt;Yes.&lt;BR data-start="1095" data-end="1098" /&gt;You can attach a route-map to the neighbor, then remove the old filter (prefix-list, distribute-list, etc.). The route-map can replicate the filtering logic by just having &lt;CODE data-start="1270" data-end="1299"&gt;match ip prefix-list &amp;lt;name&amp;gt;&lt;/CODE&gt; and &lt;CODE data-start="1304" data-end="1312"&gt;permit&lt;/CODE&gt;.&lt;BR data-start="1313" data-end="1316" /&gt;→ This is effectively “converting” filtering to route-maps. Nothing bad happens, as long as your route-map enforces the same policy.&lt;/P&gt;
&lt;HR data-start="1450" data-end="1453" /&gt;
&lt;P data-start="1455" data-end="1605"&gt;&lt;STRONG data-start="1455" data-end="1524"&gt;2. Will that restart the routed daemon, or reset the BGP session?&lt;/STRONG&gt;&lt;BR data-start="1524" data-end="1527" /&gt;It depends on your platform (Cisco, Juniper, Fortigate, Check Point, etc.), but generally:&lt;/P&gt;
&lt;UL data-start="1607" data-end="1982"&gt;
&lt;LI data-start="1607" data-end="1682"&gt;
&lt;P data-start="1609" data-end="1682"&gt;Changing a route-map or prefix-list &lt;STRONG data-start="1645" data-end="1679"&gt;does not reset the BGP session&lt;/STRONG&gt;.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI data-start="1683" data-end="1770"&gt;
&lt;P data-start="1685" data-end="1770"&gt;The routes will just be re-evaluated against the new policy (soft reconfiguration).&lt;/P&gt;
&lt;/LI&gt;
&lt;LI data-start="1771" data-end="1982"&gt;
&lt;P data-start="1773" data-end="1982"&gt;If your platform doesn’t support automatic re-eval, you might need a manual &lt;CODE data-start="1849" data-end="1886"&gt;clear ip bgp &amp;lt;neighbor&amp;gt; soft in/out&lt;/CODE&gt;. But still, this is not a hard reset — the TCP session stays up, only routes are reprocessed.&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P data-start="1984" data-end="2046"&gt;So no daemon restart, and not usually a full BGP session flap.&lt;/P&gt;
&lt;HR data-start="2048" data-end="2051" /&gt;
&lt;P data-start="2053" data-end="2107"&gt;&lt;STRONG data-start="2053" data-end="2105"&gt;3. They both do the same thing? Which is better?&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL data-start="2108" data-end="2415"&gt;
&lt;LI data-start="2108" data-end="2245"&gt;
&lt;P data-start="2110" data-end="2245"&gt;&lt;STRONG data-start="2110" data-end="2155"&gt;Filtering (prefix-lists/distribute-lists)&lt;/STRONG&gt; = simple, binary, quick. Use it if all you need is “import/export only these prefixes.”&lt;/P&gt;
&lt;/LI&gt;
&lt;LI data-start="2246" data-end="2415"&gt;
&lt;P data-start="2248" data-end="2415"&gt;&lt;STRONG data-start="2248" data-end="2262"&gt;Route-maps&lt;/STRONG&gt; = flexible, industry standard, future-proof. Use them if you need to filter &lt;STRONG data-start="2339" data-end="2349"&gt;and/or&lt;/STRONG&gt; manipulate attributes (local-pref, prepend, communities, etc.).&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P data-start="2417" data-end="2509"&gt;In practice, most operators standardize on &lt;STRONG data-start="2460" data-end="2474"&gt;routemaps&lt;/STRONG&gt;, even for simple filters, because:&lt;/P&gt;
&lt;UL data-start="2510" data-end="2677"&gt;
&lt;LI data-start="2510" data-end="2572"&gt;
&lt;P data-start="2512" data-end="2572"&gt;They consolidate filtering + attribute control in one place.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI data-start="2573" data-end="2631"&gt;
&lt;P data-start="2575" data-end="2631"&gt;They’re more readable if your policy gets complex later.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI data-start="2632" data-end="2677"&gt;
&lt;P data-start="2634" data-end="2677"&gt;They give you consistency across neighbors.&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P data-start="2679" data-end="2772"&gt;The only “advantage” of plain filters is simplicity — one line instead of a route-map stanza.&lt;/P&gt;</description>
    <pubDate>Fri, 03 Oct 2025 12:53:03 GMT</pubDate>
    <dc:creator>the_rock</dc:creator>
    <dc:date>2025-10-03T12:53:03Z</dc:date>
    <item>
      <title>BGP Route imports, Route filter vs Route maps?</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/BGP-Route-imports-Route-filter-vs-Route-maps/m-p/258870#M50775</link>
      <description>&lt;P&gt;Helloes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could I get som enlightenment on the differences between these two?&lt;/P&gt;&lt;P&gt;We set up peering with one AS about 2 years ago, and then we used route filtering to handle route imports. I don't really remember why we chose filtering and I don't have that much knowledge about BGP.&lt;/P&gt;&lt;P&gt;This week we set up peering with a different AS, but I felt that it was easier to use route maps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That led me to 3 questions.&lt;/P&gt;&lt;P&gt;It says in the documentation that you cannot use both at the same, time because route maps will "win".&lt;/P&gt;&lt;P&gt;1. Can you add a route map for an AS that have route filtering and then remove the filtering, keeping the imported routes? (converting filtering to routemap)&lt;/P&gt;&lt;P&gt;2. Will that restat the routed daemon, or reset the BGP session?&lt;/P&gt;&lt;P&gt;3. They both do the same thing from what I can tell? Which is the better one to use?&lt;/P&gt;</description>
      <pubDate>Fri, 03 Oct 2025 06:31:57 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/BGP-Route-imports-Route-filter-vs-Route-maps/m-p/258870#M50775</guid>
      <dc:creator>Albin_Petersson</dc:creator>
      <dc:date>2025-10-03T06:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: BGP Route imports, Route filter vs Route maps?</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/BGP-Route-imports-Route-filter-vs-Route-maps/m-p/258871#M50776</link>
      <description>&lt;P&gt;If your routemaps accomplish the same as the filters, then you can apply the routemap and then remove the filters and it shouldn't break anything. I don't believe it would break the peering, but restarting the BGP session would be good to do in your maintenance window to make sure the routemap config is applied and is working properly.&lt;/P&gt;
&lt;P&gt;As for which one is better to use, it's mostly around what will work for what you want to do and what you're comfortable with. Routemaps offer more options and granularity so it's not unusual for them to be the only choice available, which often leads to them being peoples' default way of going about things. It's also generally a good idea to keep things consistent rather than doing filtering/redist for some peers and routemaps for others. That way lies confusion.. hence another good reason to just always do routemaps.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Oct 2025 06:51:22 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/BGP-Route-imports-Route-filter-vs-Route-maps/m-p/258871#M50776</guid>
      <dc:creator>emmap</dc:creator>
      <dc:date>2025-10-03T06:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: BGP Route imports, Route filter vs Route maps?</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/BGP-Route-imports-Route-filter-vs-Route-maps/m-p/258890#M50780</link>
      <description>&lt;P&gt;hey&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/13101"&gt;@Albin_Petersson&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just remember that routemaps would ALWAYS take precedence, something to keep in mind.&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Fri, 03 Oct 2025 11:15:04 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/BGP-Route-imports-Route-filter-vs-Route-maps/m-p/258890#M50780</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2025-10-03T11:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: BGP Route imports, Route filter vs Route maps?</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/BGP-Route-imports-Route-filter-vs-Route-maps/m-p/258896#M50781</link>
      <description>&lt;P&gt;Here are answers to your Qs.&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;
&lt;P&gt;***************************************&lt;/P&gt;
&lt;P data-start="970" data-end="1448"&gt;&lt;STRONG data-start="970" data-end="1088"&gt;1. Can you add a route-map for an AS that has route filtering, then remove filtering, keeping the imported routes?&lt;/STRONG&gt;&lt;BR data-start="1088" data-end="1091" /&gt;Yes.&lt;BR data-start="1095" data-end="1098" /&gt;You can attach a route-map to the neighbor, then remove the old filter (prefix-list, distribute-list, etc.). The route-map can replicate the filtering logic by just having &lt;CODE data-start="1270" data-end="1299"&gt;match ip prefix-list &amp;lt;name&amp;gt;&lt;/CODE&gt; and &lt;CODE data-start="1304" data-end="1312"&gt;permit&lt;/CODE&gt;.&lt;BR data-start="1313" data-end="1316" /&gt;→ This is effectively “converting” filtering to route-maps. Nothing bad happens, as long as your route-map enforces the same policy.&lt;/P&gt;
&lt;HR data-start="1450" data-end="1453" /&gt;
&lt;P data-start="1455" data-end="1605"&gt;&lt;STRONG data-start="1455" data-end="1524"&gt;2. Will that restart the routed daemon, or reset the BGP session?&lt;/STRONG&gt;&lt;BR data-start="1524" data-end="1527" /&gt;It depends on your platform (Cisco, Juniper, Fortigate, Check Point, etc.), but generally:&lt;/P&gt;
&lt;UL data-start="1607" data-end="1982"&gt;
&lt;LI data-start="1607" data-end="1682"&gt;
&lt;P data-start="1609" data-end="1682"&gt;Changing a route-map or prefix-list &lt;STRONG data-start="1645" data-end="1679"&gt;does not reset the BGP session&lt;/STRONG&gt;.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI data-start="1683" data-end="1770"&gt;
&lt;P data-start="1685" data-end="1770"&gt;The routes will just be re-evaluated against the new policy (soft reconfiguration).&lt;/P&gt;
&lt;/LI&gt;
&lt;LI data-start="1771" data-end="1982"&gt;
&lt;P data-start="1773" data-end="1982"&gt;If your platform doesn’t support automatic re-eval, you might need a manual &lt;CODE data-start="1849" data-end="1886"&gt;clear ip bgp &amp;lt;neighbor&amp;gt; soft in/out&lt;/CODE&gt;. But still, this is not a hard reset — the TCP session stays up, only routes are reprocessed.&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P data-start="1984" data-end="2046"&gt;So no daemon restart, and not usually a full BGP session flap.&lt;/P&gt;
&lt;HR data-start="2048" data-end="2051" /&gt;
&lt;P data-start="2053" data-end="2107"&gt;&lt;STRONG data-start="2053" data-end="2105"&gt;3. They both do the same thing? Which is better?&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL data-start="2108" data-end="2415"&gt;
&lt;LI data-start="2108" data-end="2245"&gt;
&lt;P data-start="2110" data-end="2245"&gt;&lt;STRONG data-start="2110" data-end="2155"&gt;Filtering (prefix-lists/distribute-lists)&lt;/STRONG&gt; = simple, binary, quick. Use it if all you need is “import/export only these prefixes.”&lt;/P&gt;
&lt;/LI&gt;
&lt;LI data-start="2246" data-end="2415"&gt;
&lt;P data-start="2248" data-end="2415"&gt;&lt;STRONG data-start="2248" data-end="2262"&gt;Route-maps&lt;/STRONG&gt; = flexible, industry standard, future-proof. Use them if you need to filter &lt;STRONG data-start="2339" data-end="2349"&gt;and/or&lt;/STRONG&gt; manipulate attributes (local-pref, prepend, communities, etc.).&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P data-start="2417" data-end="2509"&gt;In practice, most operators standardize on &lt;STRONG data-start="2460" data-end="2474"&gt;routemaps&lt;/STRONG&gt;, even for simple filters, because:&lt;/P&gt;
&lt;UL data-start="2510" data-end="2677"&gt;
&lt;LI data-start="2510" data-end="2572"&gt;
&lt;P data-start="2512" data-end="2572"&gt;They consolidate filtering + attribute control in one place.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI data-start="2573" data-end="2631"&gt;
&lt;P data-start="2575" data-end="2631"&gt;They’re more readable if your policy gets complex later.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI data-start="2632" data-end="2677"&gt;
&lt;P data-start="2634" data-end="2677"&gt;They give you consistency across neighbors.&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P data-start="2679" data-end="2772"&gt;The only “advantage” of plain filters is simplicity — one line instead of a route-map stanza.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Oct 2025 12:53:03 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/BGP-Route-imports-Route-filter-vs-Route-maps/m-p/258896#M50781</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2025-10-03T12:53:03Z</dc:date>
    </item>
  </channel>
</rss>

