<?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: Collecting routes from the Management station in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Collecting-routes-from-the-Management-station/m-p/154366#M7035</link>
    <description>&lt;P&gt;The script is a task that runs against each gateway (basically just netstat -rnv). We haven't used the GAIA API yet we have been using the MGMT API. I will have to see how we can incorporate the GAIA API into our processes and if it will truly do what we are needing it to do.&lt;/P&gt;</description>
    <pubDate>Tue, 02 Aug 2022 14:37:04 GMT</pubDate>
    <dc:creator>fly1ng_circus</dc:creator>
    <dc:date>2022-08-02T14:37:04Z</dc:date>
    <item>
      <title>Collecting routes from the Management station</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Collecting-routes-from-the-Management-station/m-p/154356#M7029</link>
      <description>&lt;P&gt;This is probably the wrong place to put this but not sure what was the best place.&lt;/P&gt;&lt;P&gt;Since there is not a route collection API, we have been using a script that we could run through the API to collect routes from all of the gateways. However in instances where a management station has a large number of gateways with a large number of routes, it can take hours to churn through all of the gateways. I have looked through the database and it seems that routes are there, however I am having an issue determining which gateway each of these routes is associated with. Is there a way to extract routes from the database as opposed to hitting each gateway?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As an example, It seems like this route is in the database enough times to match each gateway (which would be correct) just not sure how to associate it with the specific gateway.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;property name="osRoutingInfo" type="owned object"&amp;gt;&amp;lt;object name="" fw1GUID="{A7096AD6-779B-EA4B-A207-3F3F6025B51D}"&amp;gt;
&amp;lt;property name="class" type="string"&amp;gt;os_routing_table&amp;lt;/property&amp;gt;
&amp;lt;property name="LastModifier" type="string"&amp;gt;&amp;lt;/property&amp;gt;
&amp;lt;property name="LastModifierHost" type="string"&amp;gt;&amp;lt;/property&amp;gt;
&amp;lt;property name="LastModificationTime" type="string"&amp;gt;1659037406&amp;lt;/property&amp;gt;
&amp;lt;property name="osRoutingEntry" type="ordered container"&amp;gt;&amp;lt;property name="" type="owned object"&amp;gt;&amp;lt;object name="" fw1GUID="{D9E31279-F802-8C42-B3B8-A26D18055594}"&amp;gt;
&amp;lt;property name="class" type="string"&amp;gt;os_routing_entry&amp;lt;/property&amp;gt;
&amp;lt;property name="LastModifier" type="string"&amp;gt;&amp;lt;/property&amp;gt;
&amp;lt;property name="LastModifierHost" type="string"&amp;gt;&amp;lt;/property&amp;gt;
&amp;lt;property name="LastModificationTime" type="string"&amp;gt;&amp;lt;/property&amp;gt;
&amp;lt;property name="osRoutingDest" type="string"&amp;gt;0.0.0.0&amp;lt;/property&amp;gt;
&amp;lt;property name="osRoutingGateWay" type="string"&amp;gt;192.168.200.1&amp;lt;/property&amp;gt;
&amp;lt;property name="osRoutingIndex" type="unsigned number"&amp;gt;1&amp;lt;/property&amp;gt;
&amp;lt;property name="osRoutingIntrf" type="string"&amp;gt;eth0&amp;lt;/property&amp;gt;
&amp;lt;property name="osRoutingMask" type="string"&amp;gt;0.0.0.0&amp;lt;/property&amp;gt;
&amp;lt;/object&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2022 13:48:28 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Collecting-routes-from-the-Management-station/m-p/154356#M7029</guid>
      <dc:creator>fly1ng_circus</dc:creator>
      <dc:date>2022-08-02T13:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: Collecting routes from the Management station</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Collecting-routes-from-the-Management-station/m-p/154360#M7032</link>
      <description>&lt;P&gt;How does your script work and are you aware of the following API?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://sc1.checkpoint.com/documents/latest/GaiaAPIs/?#web/show-routes~v1.6%20" target="_blank" rel="noopener"&gt;https://sc1.checkpoint.com/documents/latest/GaiaAPIs/?#web/show-routes~v1.6%20&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2022 14:04:26 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Collecting-routes-from-the-Management-station/m-p/154360#M7032</guid>
      <dc:creator>Chris_Atkinson</dc:creator>
      <dc:date>2022-08-02T14:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: Collecting routes from the Management station</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Collecting-routes-from-the-Management-station/m-p/154366#M7035</link>
      <description>&lt;P&gt;The script is a task that runs against each gateway (basically just netstat -rnv). We haven't used the GAIA API yet we have been using the MGMT API. I will have to see how we can incorporate the GAIA API into our processes and if it will truly do what we are needing it to do.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2022 14:37:04 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Collecting-routes-from-the-Management-station/m-p/154366#M7035</guid>
      <dc:creator>fly1ng_circus</dc:creator>
      <dc:date>2022-08-02T14:37:04Z</dc:date>
    </item>
  </channel>
</rss>

