<?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 4-Byte AS in aspath-prepend-count in Firewall and Security Management</title>
    <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/BGP-4-Byte-AS-in-aspath-prepend-count/m-p/147239#M23490</link>
    <description>&lt;P&gt;It works and is supported. Here is the output from R&amp;amp;D setup:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;On my R80.30 machine, that ultimately receives the routes, “show route bgp aspath” gives:&lt;/P&gt;
&lt;P&gt;Prefix&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Nexthop&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AsPath&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1.0.0.0/8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10.1.1.14&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (4194368),917518,917518,917518,851981,IGP.(Id-6)&lt;/P&gt;
&lt;P&gt;2.0.0.0/8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10.1.1.14&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (4194368),917518,917518,917518,851981,IGP.(Id-6)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Configuration on&amp;nbsp; machine, which sends the routes:&lt;/P&gt;
&lt;P&gt;set as 14.14&lt;/P&gt;
&lt;P&gt;set bgp external remote-as 1 on&lt;/P&gt;
&lt;P&gt;set bgp external remote-as 1 export-routemap "eb" preference 1 on&lt;/P&gt;
&lt;P&gt;set bgp external remote-as 1 peer 10.1.1.1 on&lt;/P&gt;
&lt;P&gt;set bgp external remote-as 1 peer 10.1.1.1 aspath-prepend-count 5&lt;/P&gt;
&lt;P&gt;set bgp external remote-as 13.13 on&lt;/P&gt;
&lt;P&gt;set bgp external remote-as 13.13 import-routemap "ia" preference 1 on&lt;/P&gt;
&lt;P&gt;set bgp external remote-as 13.13 peer 10.1.1.13 on&lt;/P&gt;
&lt;P&gt;set bgp external remote-as 64.64 on&lt;/P&gt;
&lt;P&gt;set bgp external remote-as 64.64 export-routemap "eb" preference 1 on&lt;/P&gt;
&lt;P&gt;set bgp external remote-as 64.64 peer 10.1.1.64 on&lt;/P&gt;
&lt;P&gt;set routemap eb id 1 on&lt;/P&gt;
&lt;P&gt;set routemap eb id 1 allow&lt;/P&gt;
&lt;P&gt;set routemap eb id 1 match protocol bgp&lt;/P&gt;
&lt;P&gt;set routemap eb id 1 action aspath-prepend-count 3&lt;/P&gt;
&lt;P&gt;set routemap ia id 1 on&lt;/P&gt;
&lt;P&gt;set routemap ia id 1 allow&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We tried both of the following ways to configure aspath-prepend-count, with peers that do and do not support 4-byte AS numbers, and the result was right in each:&lt;/P&gt;
&lt;P&gt;set bgp external remote-as VALUE peer VALUE aspath-prepend-count VALUE&lt;/P&gt;
&lt;P&gt;set routemap VALUE id VALUE action aspath-prepend-count VALUE&lt;/P&gt;</description>
    <pubDate>Wed, 27 Apr 2022 18:12:02 GMT</pubDate>
    <dc:creator>Sundeep_Mudgal</dc:creator>
    <dc:date>2022-04-27T18:12:02Z</dc:date>
    <item>
      <title>BGP 4-Byte AS in aspath-prepend-count</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/BGP-4-Byte-AS-in-aspath-prepend-count/m-p/147118#M23438</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are trying to configure BGP 4-Byte AS with "aspath-prepend-count" parameter, but it does not seem to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have read another BGP-4-Byte-AS post (&lt;A href="https://community.checkpoint.com/t5/Security-Gateways/BGP-4-Byte-AS-in-routemap-community/m-p/129804#M19038" target="_self"&gt;BGP 4-Byte AS in routemap community&lt;/A&gt;), looks like CheckPoint also do not support&lt;SPAN&gt;&amp;nbsp;4-Byte-AS in AS-Prepend configuration.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can someone please comment on this? Thank you!&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 02:30:27 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/BGP-4-Byte-AS-in-aspath-prepend-count/m-p/147118#M23438</guid>
      <dc:creator>n3tw0rkn3rd</dc:creator>
      <dc:date>2022-04-27T02:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: BGP 4-Byte AS in aspath-prepend-count</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/BGP-4-Byte-AS-in-aspath-prepend-count/m-p/147123#M23441</link>
      <description>&lt;P&gt;Check this. Will get back to you soon.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 02:56:25 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/BGP-4-Byte-AS-in-aspath-prepend-count/m-p/147123#M23441</guid>
      <dc:creator>Sundeep_Mudgal</dc:creator>
      <dc:date>2022-04-27T02:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: BGP 4-Byte AS in aspath-prepend-count</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/BGP-4-Byte-AS-in-aspath-prepend-count/m-p/147239#M23490</link>
      <description>&lt;P&gt;It works and is supported. Here is the output from R&amp;amp;D setup:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;On my R80.30 machine, that ultimately receives the routes, “show route bgp aspath” gives:&lt;/P&gt;
&lt;P&gt;Prefix&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Nexthop&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AsPath&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1.0.0.0/8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10.1.1.14&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (4194368),917518,917518,917518,851981,IGP.(Id-6)&lt;/P&gt;
&lt;P&gt;2.0.0.0/8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10.1.1.14&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (4194368),917518,917518,917518,851981,IGP.(Id-6)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Configuration on&amp;nbsp; machine, which sends the routes:&lt;/P&gt;
&lt;P&gt;set as 14.14&lt;/P&gt;
&lt;P&gt;set bgp external remote-as 1 on&lt;/P&gt;
&lt;P&gt;set bgp external remote-as 1 export-routemap "eb" preference 1 on&lt;/P&gt;
&lt;P&gt;set bgp external remote-as 1 peer 10.1.1.1 on&lt;/P&gt;
&lt;P&gt;set bgp external remote-as 1 peer 10.1.1.1 aspath-prepend-count 5&lt;/P&gt;
&lt;P&gt;set bgp external remote-as 13.13 on&lt;/P&gt;
&lt;P&gt;set bgp external remote-as 13.13 import-routemap "ia" preference 1 on&lt;/P&gt;
&lt;P&gt;set bgp external remote-as 13.13 peer 10.1.1.13 on&lt;/P&gt;
&lt;P&gt;set bgp external remote-as 64.64 on&lt;/P&gt;
&lt;P&gt;set bgp external remote-as 64.64 export-routemap "eb" preference 1 on&lt;/P&gt;
&lt;P&gt;set bgp external remote-as 64.64 peer 10.1.1.64 on&lt;/P&gt;
&lt;P&gt;set routemap eb id 1 on&lt;/P&gt;
&lt;P&gt;set routemap eb id 1 allow&lt;/P&gt;
&lt;P&gt;set routemap eb id 1 match protocol bgp&lt;/P&gt;
&lt;P&gt;set routemap eb id 1 action aspath-prepend-count 3&lt;/P&gt;
&lt;P&gt;set routemap ia id 1 on&lt;/P&gt;
&lt;P&gt;set routemap ia id 1 allow&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We tried both of the following ways to configure aspath-prepend-count, with peers that do and do not support 4-byte AS numbers, and the result was right in each:&lt;/P&gt;
&lt;P&gt;set bgp external remote-as VALUE peer VALUE aspath-prepend-count VALUE&lt;/P&gt;
&lt;P&gt;set routemap VALUE id VALUE action aspath-prepend-count VALUE&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 18:12:02 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/BGP-4-Byte-AS-in-aspath-prepend-count/m-p/147239#M23490</guid>
      <dc:creator>Sundeep_Mudgal</dc:creator>
      <dc:date>2022-04-27T18:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: BGP 4-Byte AS in aspath-prepend-count</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/BGP-4-Byte-AS-in-aspath-prepend-count/m-p/147245#M23492</link>
      <description>&lt;P&gt;Thanks Sundeep!&lt;/P&gt;&lt;P&gt;Would you please try if this works with &lt;SPAN&gt;a long BGP 4-Byte AS number like&amp;nbsp;4200001201 (private BGP 4-Byte AS number)&lt;/SPAN&gt;&lt;SPAN&gt;?&lt;BR /&gt;&lt;BR /&gt;And if possible can you please also check the configuration on R80.30 and before-R80.30 machine?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 19:29:05 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/BGP-4-Byte-AS-in-aspath-prepend-count/m-p/147245#M23492</guid>
      <dc:creator>n3tw0rkn3rd</dc:creator>
      <dc:date>2022-04-27T19:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: BGP 4-Byte AS in aspath-prepend-count</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/BGP-4-Byte-AS-in-aspath-prepend-count/m-p/147252#M23495</link>
      <description>&lt;P&gt;Hi Sundeep,&lt;/P&gt;&lt;P&gt;Thanks for your reply!&lt;/P&gt;&lt;P&gt;Can you please also try with private BGP 4-Byte AS number (the long one) like&amp;nbsp;&lt;SPAN&gt;4200001201 to see if AS-Prepend really works?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And can you confirm if this would work with earlier version (before R80.30) machine as well?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 22:20:27 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/BGP-4-Byte-AS-in-aspath-prepend-count/m-p/147252#M23495</guid>
      <dc:creator>n3tw0rkn3rd</dc:creator>
      <dc:date>2022-04-27T22:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: BGP 4-Byte AS in aspath-prepend-count</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/BGP-4-Byte-AS-in-aspath-prepend-count/m-p/147253#M23496</link>
      <description>&lt;P&gt;Tried a number of experiments:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Working fine: R81.20 (AS 4111222333), sending routes to R81.20 (AS 4200001201), sending routes (with aspath-prepend-count) to R80.30 (AS 4000999000):&lt;BR /&gt;1.0.0.0/8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10.1.1.14&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (4000999000),4200001201,4200001201,4200001201,4111222333,IGP.(Id-6)&lt;/LI&gt;
&lt;LI&gt;Working fine: R80.30 (AS 4111222333), sending routes to R80.20 (AS 4200001201), sending routes (with aspath-prepend-count) to R80.10 (AS 4000999000):&lt;BR /&gt;1/8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10.1.1.63&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (4000999000),4200001201,4200001201,4200001201,4111222333,IGP.(Id-4)&lt;/LI&gt;
&lt;LI&gt;Not working: If the last link is IBGP instead of EBGP, then the AS number isn’t prepended and the aspath-prepend-count does not apply:&lt;BR /&gt;1/8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10.1.1.64&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (4200001201),4111222333,IGP.(Id-5)&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Please open a task if you still cannot get it to work. It will&amp;nbsp; just be easier and faster to resolve it through the task.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 22:37:43 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/BGP-4-Byte-AS-in-aspath-prepend-count/m-p/147253#M23496</guid>
      <dc:creator>Sundeep_Mudgal</dc:creator>
      <dc:date>2022-04-27T22:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: BGP 4-Byte AS in aspath-prepend-count</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/BGP-4-Byte-AS-in-aspath-prepend-count/m-p/147254#M23497</link>
      <description>&lt;P&gt;We introduced 4-byte AS support starting in R80.10 from memory.&lt;/P&gt;
&lt;P&gt;Though versions earlier than R80.30 will be End of Support in September hence requiring an upgrade.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 22:38:09 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/BGP-4-Byte-AS-in-aspath-prepend-count/m-p/147254#M23497</guid>
      <dc:creator>Chris_Atkinson</dc:creator>
      <dc:date>2022-04-27T22:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: BGP 4-Byte AS in aspath-prepend-count</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/BGP-4-Byte-AS-in-aspath-prepend-count/m-p/147255#M23498</link>
      <description>&lt;P&gt;Thanks Sundeep for your prompt help, I will contact Support Team for this!&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 22:43:28 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/BGP-4-Byte-AS-in-aspath-prepend-count/m-p/147255#M23498</guid>
      <dc:creator>n3tw0rkn3rd</dc:creator>
      <dc:date>2022-04-27T22:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: BGP 4-Byte AS in aspath-prepend-count</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/BGP-4-Byte-AS-in-aspath-prepend-count/m-p/147256#M23499</link>
      <description>&lt;P&gt;Thanks Chris!&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 22:41:53 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/BGP-4-Byte-AS-in-aspath-prepend-count/m-p/147256#M23499</guid>
      <dc:creator>n3tw0rkn3rd</dc:creator>
      <dc:date>2022-04-27T22:41:53Z</dc:date>
    </item>
  </channel>
</rss>

