<?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 routemaps and match statements in General Topics</title>
    <link>https://community.checkpoint.com/t5/General-Topics/BGP-routemaps-and-match-statements/m-p/72116#M14630</link>
    <description>Thanks Sundeep.&lt;BR /&gt;&lt;BR /&gt;That answers my question. I will have to change my SRX routemaps.</description>
    <pubDate>Sun, 12 Jan 2020 19:58:32 GMT</pubDate>
    <dc:creator>H2-F1</dc:creator>
    <dc:date>2020-01-12T19:58:32Z</dc:date>
    <item>
      <title>BGP routemaps and match statements</title>
      <link>https://community.checkpoint.com/t5/General-Topics/BGP-routemaps-and-match-statements/m-p/71398#M14465</link>
      <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been working on a small project and have come across an issue with I thought I'd share with the community to get some assistance.&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;I have attached a simplified topology of the setup&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Essentially, I have 2 sites, each with an ISP connection to a CP VSX cluster running in VSX mode, one VS at Site 2 (BFW) is has a BGP Peering with a Juniper SRX appliance. There is also a connection between the 2 sites VSs through a L2 MPLS link.&lt;/P&gt;&lt;P&gt;I have BGP established where I receive a default route from the ISP at each site, I also have local networks connected on the Checkpoint firewalls. I am currently learning the local subnets connected to the SRX and I am sending it a default route as well as specific subnets connected to BFW.&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;BGP state&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BGP.JPG" style="width: 462px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/3880i4DDF7B22AF5AE1C4/image-size/large?v=v2&amp;amp;px=999" role="button" title="BGP.JPG" alt="BGP.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BGP Config&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BGP-Conf.JPG" style="width: 398px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/3881i6274CBD9AC7C640E/image-size/large?v=v2&amp;amp;px=999" role="button" title="BGP-Conf.JPG" alt="BGP-Conf.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Routemap Config&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Routemap-config.jpg" style="width: 554px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/3882iEBB0DA6CA1FA1A1A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Routemap-config.jpg" alt="Routemap-config.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Import/Export routemap&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="import-export-routemap.png" style="width: 607px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/3883i1B4607637FCEE623/image-size/large?v=v2&amp;amp;px=999" role="button" title="import-export-routemap.png" alt="import-export-routemap.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While setting up BGP between the 2 vs, and configuring routemaps, I on&lt;SPAN&gt;ly want to advertise one local subnet from each vs,&amp;nbsp; to do this I specifically used the match neighbor statement.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BFW should advertise subnet 10.254.132.160/27 only to AFW&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;AFW should advertise subnet 10.255.132.160/27 only to BFW&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The idea is that the designated neighbor will receive the route, and all other neighbors will not. However, looking at the advertised routes sent from BFW to AFW it appears that it is applying the routemap destined for the SRX.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="advertised route.png" style="width: 474px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/3876i133567309855E152/image-size/large?v=v2&amp;amp;px=999" role="button" title="advertised route.png" alt="advertised route.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The below is the route learnt on AFW (not imported yet, hence the i)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;B H i 10.254.131.128/26 via 10.255.132.198,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can anyone please shed some light if this is expected behaviour, or point out if I've missed something?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Dec 2019 12:01:54 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/BGP-routemaps-and-match-statements/m-p/71398#M14465</guid>
      <dc:creator>H2-F1</dc:creator>
      <dc:date>2019-12-31T12:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: BGP routemaps and match statements</title>
      <link>https://community.checkpoint.com/t5/General-Topics/BGP-routemaps-and-match-statements/m-p/71702#M14530</link>
      <description>&lt;P&gt;sk110477 specifies how to configure routemaps per peer. Export routemap per IBGP peer is not supported. You will need to configure routemaps on SRX to not accept routes that are not relevant. Would it be possible to use EBGP instead and configure routemaps as per sk110477? &lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2020 22:53:56 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/BGP-routemaps-and-match-statements/m-p/71702#M14530</guid>
      <dc:creator>Sundeep_Mudgal</dc:creator>
      <dc:date>2020-01-06T22:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: BGP routemaps and match statements</title>
      <link>https://community.checkpoint.com/t5/General-Topics/BGP-routemaps-and-match-statements/m-p/72116#M14630</link>
      <description>Thanks Sundeep.&lt;BR /&gt;&lt;BR /&gt;That answers my question. I will have to change my SRX routemaps.</description>
      <pubDate>Sun, 12 Jan 2020 19:58:32 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/BGP-routemaps-and-match-statements/m-p/72116#M14630</guid>
      <dc:creator>H2-F1</dc:creator>
      <dc:date>2020-01-12T19:58:32Z</dc:date>
    </item>
  </channel>
</rss>

