<?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: Can we get the routes from R80? in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Can-we-get-the-routes-from-R80/m-p/3396#M329</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK. Thank you. This makes lot sense now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did execute show-task rest-api and I get more details about the task, but still I am missing the Response message output. I need the response message to take it further&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My show-task script&lt;/P&gt;&lt;P&gt;====================&lt;/P&gt;&lt;P&gt;# Ignore SSL cert Exception&lt;/P&gt;&lt;P&gt;[System.Net.ServicePointManager]::ServerCertificateValidationCallback = {$true}&lt;/P&gt;&lt;P&gt;# Login to Management server and obtain sid&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$URL = "&lt;A href="https://xx.xx.xx.xx/web_api"&gt;https://xx.xx.xx.xx/web_api&lt;/A&gt;"&lt;BR /&gt;$Action = "/login"&lt;BR /&gt;$URLAnon = "$URL$Action"&lt;/P&gt;&lt;P&gt;$headers = @{&amp;nbsp;&amp;nbsp;&amp;nbsp; "Content-Type" = "application/json"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;$login = @{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "user" = "myadmin"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "password" = "mypassword"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;$login = $login | ConvertTo-Json&lt;/P&gt;&lt;P&gt;$response = Invoke-RestMethod -Method Post -Headers $headers -Uri $URLAnon -Body $login&lt;/P&gt;&lt;P&gt;$sid = $response.sid&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;# show-task &lt;BR /&gt;$Action = "/show-task"&lt;BR /&gt;$URLAnon = "$URL$Action"&lt;/P&gt;&lt;P&gt;$ShowTaskID =@{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "task-id" = "19a88357-1856-4ce6-9d1a-f3d2a4503903"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "details-level" = "full" &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;$ShowTaskID = $ShowTaskID | ConvertTo-Json&lt;/P&gt;&lt;P&gt;$response = Invoke-RestMethod -Method Post -Headers $headers -Uri $URLAnon -Body $ShowTaskID&lt;/P&gt;&lt;P&gt;Write-Output $response&lt;/P&gt;&lt;P&gt;# Logout of management server&lt;BR /&gt;$EmptyPayload =@{}&lt;BR /&gt;$EmptyPayload = $EmptyPayload | ConvertTo-Json&lt;/P&gt;&lt;P&gt;$Action = "/logout"&lt;BR /&gt;$URLAnon = "$URL$Action"&lt;BR /&gt;$logout&amp;nbsp; = Invoke-RestMethod -Method Post -Headers $headers -Uri $URLAnon -Body $EmptyPayload&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;show-task output&lt;/P&gt;&lt;P&gt;====================&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;"tasks": [&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;"uid": "5e3855cb-36d3-46e6-8476-553bbd594a5a",&lt;/P&gt;&lt;P&gt;"name": "MyINTERNETGW2 - Get-routes",&lt;/P&gt;&lt;P&gt;"type": "CdmTaskNotification",&lt;/P&gt;&lt;P&gt;"domain": "@{uid=41e821a0-3720-11e3-aa6e-0800200c9fde; name=SMC User; domain-type=domain}",&lt;/P&gt;&lt;P&gt;"task-id": "19a88357-1856-4ce6-9d1a-f3d2a4503903",&lt;/P&gt;&lt;P&gt;"task-name": "MyINTERNETGW2 - Get-routes",&lt;/P&gt;&lt;P&gt;"status": "succeeded",&lt;/P&gt;&lt;P&gt;"progress-percentage": 100,&lt;/P&gt;&lt;P&gt;"start-time": "@{posix=1521683386071; iso-8601=2018-03-21T21:49-0400}",&lt;/P&gt;&lt;P&gt;"last-update-time": "@{posix=1521683387988; iso-8601=2018-03-21T21:49-0400}",&lt;/P&gt;&lt;P&gt;"suppressed": false,&lt;/P&gt;&lt;P&gt;"task-details": "",&lt;/P&gt;&lt;P&gt;"comments": "Completed",&lt;/P&gt;&lt;P&gt;"color": "black",&lt;/P&gt;&lt;P&gt;"icon": "General/globalsNa",&lt;/P&gt;&lt;P&gt;"tags": "",&lt;/P&gt;&lt;P&gt;"meta-info": "@{lock=unlocked; validation-state=ok; last-modify-time=; last-modifier=myadmin; creation-t&lt;/P&gt;&lt;P&gt;ime=; creator=myadmin}",&lt;/P&gt;&lt;P&gt;"read-only": false&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;]&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Mar 2018 02:10:47 GMT</pubDate>
    <dc:creator>Chandhrasekar_S</dc:creator>
    <dc:date>2018-03-22T02:10:47Z</dc:date>
    <item>
      <title>Can we get the routes from R80?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Can-we-get-the-routes-from-R80/m-p/3382#M315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would like to check if it is possible to find out the routing table in each of the firewall through R80. This includes both static and dynamic routes that can be found in the firewall. Please advise me as I look through the API reference and could not find something that lead me to get the routing table. Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jun Liang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 May 2017 06:10:39 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Can-we-get-the-routes-from-R80/m-p/3382#M315</guid>
      <dc:creator>Jun_Liang_Seow</dc:creator>
      <dc:date>2017-05-15T06:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: Can we get the routes from R80?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Can-we-get-the-routes-from-R80/m-p/3383#M316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use run-script API to do this :&amp;nbsp;&lt;A class="link-titled" href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#gui-cli/run-script~v1.1" title="https://sc1.checkpoint.com/documents/latest/APIs/index.html#gui-cli/run-script~v1.1"&gt;Check Point - Management API reference&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Send a "show route" command to single/multiple gateway with one API command and retreive result via task content&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2017 10:57:24 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Can-we-get-the-routes-from-R80/m-p/3383#M316</guid>
      <dc:creator>Marc_Guyard</dc:creator>
      <dc:date>2017-06-01T10:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: Can we get the routes from R80?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Can-we-get-the-routes-from-R80/m-p/3384#M317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This isn't via the API, but if you have the monitoring blade enabled, you can view both the static and dynamic routes in SmartConsole...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Go to the Gateways and Servers tab&lt;/P&gt;&lt;P&gt;2. Select the device you want to view the routes on&lt;/P&gt;&lt;P&gt;3. Click on Device &amp;amp; License Information...&lt;/P&gt;&lt;P&gt;4. Click on Network Activity&lt;/P&gt;&lt;P&gt;5. Scroll all the way to the bottom and click Routing Table&lt;/P&gt;&lt;P&gt;6. Enjoy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2017 04:01:37 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Can-we-get-the-routes-from-R80/m-p/3384#M317</guid>
      <dc:creator>Brian_Deutmeyer</dc:creator>
      <dc:date>2017-06-09T04:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: Can we get the routes from R80?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Can-we-get-the-routes-from-R80/m-p/3385#M318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marc,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply. I was just testing this recently and I got this error from Postman API. Any idea what this could mean? Thanks. I verified that the target is correct as I have tried to put in a wrong target and it give me a separate set of error. By the way, the response status code is 500 Server Error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I put the following into the body:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt; "script-name" : "Script to get routes",&lt;BR /&gt; "script" : "show route",&lt;BR /&gt; "targets": "gateway-dummy",&lt;BR /&gt; "set-session-id" : true&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got this results:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt; "code": "generic_error",&lt;BR /&gt; "message": "Null Pointer exception: null"&lt;BR /&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Aug 2017 04:03:42 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Can-we-get-the-routes-from-R80/m-p/3385#M318</guid>
      <dc:creator>Jun_Liang_Seow</dc:creator>
      <dc:date>2017-08-02T04:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: Can we get the routes from R80?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Can-we-get-the-routes-from-R80/m-p/3386#M319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This command will run in "BASH" mode&amp;nbsp;&lt;/P&gt;&lt;P&gt;for clish mode is needed to run clish command .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. &lt;SPAN style="text-decoration: underline;"&gt;login&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;2. &lt;SPAN style="text-decoration: underline;"&gt;run-script&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt; "script-name" : "show routes",&lt;BR /&gt; &lt;STRONG&gt;"script" : "netstat -nr",&lt;/STRONG&gt;&lt;BR /&gt; "targets" : [ "mgmt" ]&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Results:&lt;/STRONG&gt;&lt;BR /&gt;{&lt;BR /&gt; "tasks": [&lt;BR /&gt; {&lt;BR /&gt; "target": "mgmt",&lt;BR /&gt; "task-id": "b3ee3851-8c50-47e7-96a5-5b897538bab9"&lt;BR /&gt; }&lt;BR /&gt; ]&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. &lt;SPAN style="text-decoration: underline;"&gt;show-task&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt; "task-id" : "b3ee3851-8c50-47e7-96a5-5b897538bab9" , &lt;BR /&gt; "details-level" : "full"&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Results:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt; "tasks": [&lt;BR /&gt; {&lt;BR /&gt; "uid": "690c8f82-d1d1-4060-96ea-86a99950cfe0",&lt;BR /&gt; "name": "mgmt - show routes",&lt;BR /&gt; "type": "CdmTaskNotification",&lt;BR /&gt; "domain": {&lt;BR /&gt; "uid": "41e821a0-3720-11e3-aa6e-0800200c9fde",&lt;BR /&gt; "name": "SMC User",&lt;BR /&gt; "domain-type": "domain"&lt;BR /&gt; },&lt;BR /&gt; "task-id": "b3ee3851-8c50-47e7-96a5-5b897538bab9",&lt;BR /&gt; "task-name": "mgmt - show routes",&lt;BR /&gt; "status": "succeeded",&lt;BR /&gt; "progress-percentage": 100,&lt;BR /&gt; "start-time": {&lt;BR /&gt; "posix": 1501670168404,&lt;BR /&gt; "iso-8601": "2017-08-02T13:36+0300"&lt;BR /&gt; },&lt;BR /&gt; "last-update-time": {&lt;BR /&gt; "posix": 1501670170686,&lt;BR /&gt; "iso-8601": "2017-08-02T13:36+0300"&lt;BR /&gt; },&lt;BR /&gt; "suppressed": false,&lt;BR /&gt; "task-details": [&lt;BR /&gt; {&lt;BR /&gt; "uid": "aa1e472e-9a7c-47e1-891a-a060e3b4262a",&lt;BR /&gt; "name": null,&lt;BR /&gt; "domain": {&lt;BR /&gt; "uid": "41e821a0-3720-11e3-aa6e-0800200c9fde",&lt;BR /&gt; "name": "SMC User",&lt;BR /&gt; "domain-type": "domain"&lt;BR /&gt; },&lt;BR /&gt; "color": "black",&lt;BR /&gt; "statusCode": "succeeded",&lt;BR /&gt; "statusDescription": "Kernel IP routing table, Destination Gateway Genmask Flags MSS Window irtt Iface, 1.1.1.0 0.0.0.0 255.255.255.254 U 0 0 0 eth0.3, 10.0.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0, 0.0....",&lt;BR /&gt; "taskNotification": "690c8f82-d1d1-4060-96ea-86a99950cfe0",&lt;BR /&gt; "gatewayId": "37308a02-7395-0a43-9765-562fabbd76c2",&lt;BR /&gt; "gatewayName": "",&lt;BR /&gt; "transactionId": 235893072,&lt;BR /&gt; "responseMessage": "S2VybmVsIElQIHJvdXRpbmcgdGFibGUKRGVzdGluYXRpb24gICAgIEdhdGV3YXkgICAgICAgICBHZW5tYXNrICAgICAgICAgRmxhZ3MgICBNU1MgV2luZG93ICBpcnR0IElmYWNlCjEuMS4xLjAgICAgICAgICAwLjAuMC4wICAgICAgICAgMjU1LjI1NS4yNTUuMjU0IFUgICAgICAgICAwIDAgICAgICAgICAgMCBldGgwLjMKMTAuMC4wLjAgICAgICAgIDAuMC4wLjAgICAgICAgICAyNTUuMjU1LjAuMCAgICAgVSAgICAgICAgIDAgMCAgICAgICAgICAwIGV0aDAKMC4wLjAuMCAgICAgICAgIDEwLjAuMC4xICAgICAgICAwLjAuMC4wICAgICAgICAgVUcgICAgICAgIDAgMCAgICAgICAgICAwIGV0aDAK",&lt;BR /&gt; "responseError": "",&lt;BR /&gt; "meta-info": {&lt;BR /&gt; "validation-state": "ok",&lt;BR /&gt; "last-modify-time": {&lt;BR /&gt; "posix": 1501670170723,&lt;BR /&gt; "iso-8601": "2017-08-02T13:36+0300"&lt;BR /&gt; },&lt;BR /&gt; "last-modifier": "admin",&lt;BR /&gt; "creation-time": {&lt;BR /&gt; "posix": 1501670168688,&lt;BR /&gt; "iso-8601": "2017-08-02T13:36+0300"&lt;BR /&gt; },&lt;BR /&gt; "creator": "admin"&lt;BR /&gt; },&lt;BR /&gt; "tags": [],&lt;BR /&gt; "icon": "General/globalsNa",&lt;BR /&gt; "comments": "",&lt;BR /&gt; "display-name": "",&lt;BR /&gt; "customFields": null&lt;BR /&gt; }&lt;BR /&gt; ],&lt;BR /&gt; "comments": "Completed",&lt;BR /&gt; "color": "black",&lt;BR /&gt; "icon": "General/globalsNa",&lt;BR /&gt; "tags": [],&lt;BR /&gt; "meta-info": {&lt;BR /&gt; "lock": "unlocked",&lt;BR /&gt; "validation-state": "ok",&lt;BR /&gt; "last-modify-time": {&lt;BR /&gt; "posix": 1501670170705,&lt;BR /&gt; "iso-8601": "2017-08-02T13:36+0300"&lt;BR /&gt; },&lt;BR /&gt; "last-modifier": "admin",&lt;BR /&gt; "creation-time": {&lt;BR /&gt; "posix": 1501670168440,&lt;BR /&gt; "iso-8601": "2017-08-02T13:36+0300"&lt;BR /&gt; },&lt;BR /&gt; "creator": "admin"&lt;BR /&gt; },&lt;BR /&gt; "read-only": false&lt;BR /&gt; }&lt;BR /&gt; ]&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;4. &lt;SPAN style="text-decoration: underline;"&gt;base64 for "responseMessage"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.base64decode.org/"&gt;https://www.base64decode.org/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;Results:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kernel IP routing table&lt;BR /&gt;Destination Gateway Genmask Flags MSS Window irtt Iface&lt;BR /&gt;1.1.1.0 0.0.0.0 255.255.255.254 U 0 0 0 eth0.3&lt;BR /&gt;10.0.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0&lt;BR /&gt;0.0.0.0 10.0.0.1 0.0.0.0 UG 0 0 0 eth0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Aug 2017 10:41:20 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Can-we-get-the-routes-from-R80/m-p/3386#M319</guid>
      <dc:creator>Ofir_Shikolski</dc:creator>
      <dc:date>2017-08-02T10:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: Can we get the routes from R80?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Can-we-get-the-routes-from-R80/m-p/3387#M320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This might not be related but it seems like I'm facing the issue still despite me issuing simple commands like "ls -lh".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using a VSX (77.3) for my gateway - using R80 (not R80.10).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #333333; background-color: #ffffff; border: 0px;"&gt;I put the following into the body:&lt;/P&gt;&lt;P style="color: #333333; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #333333; background-color: #ffffff; border: 0px;"&gt;{&lt;BR /&gt;"script-name" : "show route",&lt;BR /&gt;"script" : "ls -lh",&lt;BR /&gt;"targets": "gateway-dummy",&lt;BR /&gt;"set-session-id" : true&lt;BR /&gt;}&lt;/P&gt;&lt;P style="color: #333333; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #333333; background-color: #ffffff; border: 0px;"&gt;I got this results:&lt;/P&gt;&lt;P style="color: #333333; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #333333; background-color: #ffffff; border: 0px;"&gt;{&lt;BR /&gt;"code": "generic_error",&lt;BR /&gt;"message": "Null Pointer exception: null"&lt;BR /&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Aug 2017 06:22:28 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Can-we-get-the-routes-from-R80/m-p/3387#M320</guid>
      <dc:creator>Jun_Liang_Seow</dc:creator>
      <dc:date>2017-08-03T06:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: Can we get the routes from R80?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Can-we-get-the-routes-from-R80/m-p/3388#M321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In case you are using VSX , you will need to use the &lt;A href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk100645"&gt;vsx_provisioning&amp;nbsp;&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;You will need to run the run-script command for the management server as the target .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see page 15 "show vd name"&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Showing Virtual Device Data&lt;BR /&gt;show vd name &amp;lt;vd name&amp;gt;&lt;BR /&gt;Parameter :&amp;nbsp;vd name&lt;BR /&gt;Value :&amp;nbsp;Name of the Virtual Device&lt;BR /&gt;Notes :&amp;nbsp;Required&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Comments:&lt;BR /&gt;• Only non-automatic routes are displayed. Routes which are automatically created with route propagation are not displayed.&lt;BR /&gt;• For Virtual Router and Virtual Switch: automatically created wrpj interfaces which connect to a Virtual System are not displayed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Aug 2017 07:34:18 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Can-we-get-the-routes-from-R80/m-p/3388#M321</guid>
      <dc:creator>Ofir_Shikolski</dc:creator>
      <dc:date>2017-08-03T07:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: Can we get the routes from R80?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Can-we-get-the-routes-from-R80/m-p/3389#M322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would recommend to get the routing table with:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;ip route show&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;netstat -nr&lt;/SPAN&gt; output will only show 1 default route. And if you had another default route still in place from the initial configuratation you will fail to find it with &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;netstat -nr&lt;/SPAN&gt;. The &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;ip route show&lt;/SPAN&gt; command however will show you both.&lt;/P&gt;&lt;P&gt;(Finding this at 04:45 after a long night with some failed patch installations was not the best moment I can tell from personal experience.)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2017 09:34:10 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Can-we-get-the-routes-from-R80/m-p/3389#M322</guid>
      <dc:creator>Hugo_vd_Kooij</dc:creator>
      <dc:date>2017-08-07T09:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: Can we get the routes from R80?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Can-we-get-the-routes-from-R80/m-p/3390#M323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How would we specify domain in run-script in case of environment with MDM? Is there a mechanism that the script run on all the servers being managed under that domain?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2017 03:57:32 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Can-we-get-the-routes-from-R80/m-p/3390#M323</guid>
      <dc:creator>Mikesh_Khanal</dc:creator>
      <dc:date>2017-08-24T03:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: Can we get the routes from R80?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Can-we-get-the-routes-from-R80/m-p/3391#M324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My RestAPI executes fine but my output only gives the following&lt;/P&gt;&lt;P&gt;{"tasks": [{"target": "mgmt","task-id": "b3ee3851-8c50-47e7-96a5-5b897538bab9"}]}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how do I get to show the entire Results in REST API. Is there a specific method I need to call in power shell to display the entire result&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 02:01:11 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Can-we-get-the-routes-from-R80/m-p/3391#M324</guid>
      <dc:creator>Chandhrasekar_S</dc:creator>
      <dc:date>2018-03-21T02:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: Can we get the routes from R80?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Can-we-get-the-routes-from-R80/m-p/3392#M325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is your&amp;nbsp;REST API request,&amp;nbsp;request body?&lt;/P&gt;&lt;P&gt;Please post here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 08:34:03 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Can-we-get-the-routes-from-R80/m-p/3392#M325</guid>
      <dc:creator>Robert_Decker</dc:creator>
      <dc:date>2018-03-21T08:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: Can we get the routes from R80?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Can-we-get-the-routes-from-R80/m-p/3393#M326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My PowerShell Code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;==========================================================================&lt;/P&gt;&lt;P&gt;# Ignore SSL cert Exception&lt;/P&gt;&lt;P&gt;[System.Net.ServicePointManager]::ServerCertificateValidationCallback = {$true}&lt;/P&gt;&lt;P&gt;# Login to Management server and obtain sid&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;$URL = "&lt;A href="https://xx.xx.xx.xx/web_api"&gt;https://xx.xx.xx.xx/web_api&lt;/A&gt;"&lt;BR /&gt;$Action = "/login"&lt;BR /&gt;$URLAnon = "$URL$Action"&lt;/P&gt;&lt;P&gt;$headers = @{&amp;nbsp;&amp;nbsp;&amp;nbsp; "Content-Type" = "application/json"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;$login = @{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "user" = "myadmin"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "password" = "mypassword"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;$login = $login | ConvertTo-Json&lt;/P&gt;&lt;P&gt;$response = Invoke-RestMethod -Method Post -Headers $headers -Uri $URLAnon -Body $login&lt;/P&gt;&lt;P&gt;$sid = $response.sid&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;# run-as script&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;$Action = "/run-script"&lt;BR /&gt;$URLAnon = "$URL$Action"&lt;/P&gt;&lt;P&gt;$headers = @{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Content-Type" = "application/json"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "X-chkp-sid" = $sid&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;$ScriptDetails =@{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "script-name" = "GetRoutes"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "script" = "clish -c 'show route destination 10.0.0.5'"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "targets" = "MyINTERNETGW1","MyINTERNETGW2" &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;$ScriptDetails = $ScriptDetails | ConvertTo-Json&lt;/P&gt;&lt;P&gt;#Write-Host $ScriptDetails&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;$response = Invoke-RestMethod -Method Post -Headers $headers -Uri $URLAnon -Body $ScriptDetails&lt;/P&gt;&lt;P&gt;#Write-Output $response | ConvertTo-Json -Depth 10&lt;/P&gt;&lt;P&gt;Write-Output $response&lt;/P&gt;&lt;P&gt;# PUBLISH to Management Server&lt;/P&gt;&lt;P&gt;$EmptyPayload =@{}&lt;BR /&gt;$EmptyPayload = $EmptyPayload | ConvertTo-Json&lt;/P&gt;&lt;P&gt;$Action = "/publish"&lt;/P&gt;&lt;P&gt;$URLAnon = "$URL$Action"&lt;/P&gt;&lt;P&gt;$publish&amp;nbsp; = Invoke-RestMethod -Method Post -Headers $headers -Uri $URLAnon -Body $EmptyPayload&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;# Logout of management server&lt;BR /&gt;$Action = "/logout"&lt;BR /&gt;$URLAnon = "$URL$Action"&lt;BR /&gt;$logout&amp;nbsp; = Invoke-RestMethod -Method Post -Headers $headers -Uri $URLAnon -Body $EmptyPayload&lt;/P&gt;&lt;P&gt;==========================================================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #f5f5f5; font-family: Lucida Console; font-size: xx-small;"&gt;tasks &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;-----&lt;/P&gt;&lt;P&gt;&lt;A href="mailto:{@{target=MyINTERNETGW1"&gt;{@{target=MyINTERNETGW1&lt;/A&gt;; task-id=0c403efc-c4e6-4cea-bee1-40d35a9c3992}, @{target=MyINTERNETGW2; task-id=8...}}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;============================&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I wanted to get the entire output result stream and not just the task-id&lt;/STRONG&gt; as result&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 19:52:48 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Can-we-get-the-routes-from-R80/m-p/3393#M326</guid>
      <dc:creator>Chandhrasekar_S</dc:creator>
      <dc:date>2018-03-21T19:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: Can we get the routes from R80?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Can-we-get-the-routes-from-R80/m-p/3394#M327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;by the way, the script I have executes fine. I added commands like 'set radius server' and they are getting executed properly on the gateway. I just don't know, why I am unable to view the entire output stream as my result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 19:54:31 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Can-we-get-the-routes-from-R80/m-p/3394#M327</guid>
      <dc:creator>Chandhrasekar_S</dc:creator>
      <dc:date>2018-03-21T19:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: Can we get the routes from R80?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Can-we-get-the-routes-from-R80/m-p/3395#M328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The response of run-script API command is a list of async tasks -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#web/run-script~v1.1"&gt;https://sc1.checkpoint.com/documents/latest/APIs/index.html#web/run-script~v1.1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You should monitor these tasks using show-task API command -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#web/show-task~v1.1"&gt;https://sc1.checkpoint.com/documents/latest/APIs/index.html#web/show-task~v1.1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Take a look at this thread -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.checkpoint.com/message/8439-re-r80-api-set-static-route?commentID=8439#comment-8439"&gt;https://community.checkpoint.com/message/8439-re-r80-api-set-static-route?commentID=8439#comment-8439&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Robert.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 21:35:51 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Can-we-get-the-routes-from-R80/m-p/3395#M328</guid>
      <dc:creator>Robert_Decker</dc:creator>
      <dc:date>2018-03-21T21:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: Can we get the routes from R80?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Can-we-get-the-routes-from-R80/m-p/3396#M329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK. Thank you. This makes lot sense now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did execute show-task rest-api and I get more details about the task, but still I am missing the Response message output. I need the response message to take it further&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My show-task script&lt;/P&gt;&lt;P&gt;====================&lt;/P&gt;&lt;P&gt;# Ignore SSL cert Exception&lt;/P&gt;&lt;P&gt;[System.Net.ServicePointManager]::ServerCertificateValidationCallback = {$true}&lt;/P&gt;&lt;P&gt;# Login to Management server and obtain sid&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$URL = "&lt;A href="https://xx.xx.xx.xx/web_api"&gt;https://xx.xx.xx.xx/web_api&lt;/A&gt;"&lt;BR /&gt;$Action = "/login"&lt;BR /&gt;$URLAnon = "$URL$Action"&lt;/P&gt;&lt;P&gt;$headers = @{&amp;nbsp;&amp;nbsp;&amp;nbsp; "Content-Type" = "application/json"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;$login = @{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "user" = "myadmin"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "password" = "mypassword"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;$login = $login | ConvertTo-Json&lt;/P&gt;&lt;P&gt;$response = Invoke-RestMethod -Method Post -Headers $headers -Uri $URLAnon -Body $login&lt;/P&gt;&lt;P&gt;$sid = $response.sid&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;# show-task &lt;BR /&gt;$Action = "/show-task"&lt;BR /&gt;$URLAnon = "$URL$Action"&lt;/P&gt;&lt;P&gt;$ShowTaskID =@{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "task-id" = "19a88357-1856-4ce6-9d1a-f3d2a4503903"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "details-level" = "full" &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;$ShowTaskID = $ShowTaskID | ConvertTo-Json&lt;/P&gt;&lt;P&gt;$response = Invoke-RestMethod -Method Post -Headers $headers -Uri $URLAnon -Body $ShowTaskID&lt;/P&gt;&lt;P&gt;Write-Output $response&lt;/P&gt;&lt;P&gt;# Logout of management server&lt;BR /&gt;$EmptyPayload =@{}&lt;BR /&gt;$EmptyPayload = $EmptyPayload | ConvertTo-Json&lt;/P&gt;&lt;P&gt;$Action = "/logout"&lt;BR /&gt;$URLAnon = "$URL$Action"&lt;BR /&gt;$logout&amp;nbsp; = Invoke-RestMethod -Method Post -Headers $headers -Uri $URLAnon -Body $EmptyPayload&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;show-task output&lt;/P&gt;&lt;P&gt;====================&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;"tasks": [&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;"uid": "5e3855cb-36d3-46e6-8476-553bbd594a5a",&lt;/P&gt;&lt;P&gt;"name": "MyINTERNETGW2 - Get-routes",&lt;/P&gt;&lt;P&gt;"type": "CdmTaskNotification",&lt;/P&gt;&lt;P&gt;"domain": "@{uid=41e821a0-3720-11e3-aa6e-0800200c9fde; name=SMC User; domain-type=domain}",&lt;/P&gt;&lt;P&gt;"task-id": "19a88357-1856-4ce6-9d1a-f3d2a4503903",&lt;/P&gt;&lt;P&gt;"task-name": "MyINTERNETGW2 - Get-routes",&lt;/P&gt;&lt;P&gt;"status": "succeeded",&lt;/P&gt;&lt;P&gt;"progress-percentage": 100,&lt;/P&gt;&lt;P&gt;"start-time": "@{posix=1521683386071; iso-8601=2018-03-21T21:49-0400}",&lt;/P&gt;&lt;P&gt;"last-update-time": "@{posix=1521683387988; iso-8601=2018-03-21T21:49-0400}",&lt;/P&gt;&lt;P&gt;"suppressed": false,&lt;/P&gt;&lt;P&gt;"task-details": "",&lt;/P&gt;&lt;P&gt;"comments": "Completed",&lt;/P&gt;&lt;P&gt;"color": "black",&lt;/P&gt;&lt;P&gt;"icon": "General/globalsNa",&lt;/P&gt;&lt;P&gt;"tags": "",&lt;/P&gt;&lt;P&gt;"meta-info": "@{lock=unlocked; validation-state=ok; last-modify-time=; last-modifier=myadmin; creation-t&lt;/P&gt;&lt;P&gt;ime=; creator=myadmin}",&lt;/P&gt;&lt;P&gt;"read-only": false&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;]&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 02:10:47 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Can-we-get-the-routes-from-R80/m-p/3396#M329</guid>
      <dc:creator>Chandhrasekar_S</dc:creator>
      <dc:date>2018-03-22T02:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: Can we get the routes from R80?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Can-we-get-the-routes-from-R80/m-p/3397#M330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I saw that the "task-details" field in you response is empty.&lt;/P&gt;&lt;P&gt;Try to execute the same script in SmartConsole GUI as follows, and see what happens -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.checkpoint.com/legacyfs/online/checkpoint/64001_run-script.png" style="width: 620px; height: 520px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-2 jive-image j-img-original" src="https://community.checkpoint.com/legacyfs/online/checkpoint/64002_run-script-res.png" style="width: 620px; height: 389px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Robert.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 09:26:52 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Can-we-get-the-routes-from-R80/m-p/3397#M330</guid>
      <dc:creator>Robert_Decker</dc:creator>
      <dc:date>2018-03-22T09:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: Can we get the routes from R80?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Can-we-get-the-routes-from-R80/m-p/3398#M331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BTW, I also used mgmt_cli tool on my management server to run your script on my gateway, and works fine and returns results as expected...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second thoughts: try to set only &lt;STRONG&gt;one gateway&lt;/STRONG&gt; as a terget for the script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 09:32:18 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Can-we-get-the-routes-from-R80/m-p/3398#M331</guid>
      <dc:creator>Robert_Decker</dc:creator>
      <dc:date>2018-03-22T09:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: Can we get the routes from R80?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Can-we-get-the-routes-from-R80/m-p/3399#M332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.checkpoint.com/migrated-users/49591"&gt;Chandhrasekar Saravanan&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;did you finally got what expected? I would like to get CPU, RAM, Disk and perhaps a few "services or deamon" information via REST (PowerShell).&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Could you paste the complete script? Any hints or suggestions?&lt;BR /&gt;&lt;BR /&gt;Many thanks in advance&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Ruben&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Apr 2018 07:38:11 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Can-we-get-the-routes-from-R80/m-p/3399#M332</guid>
      <dc:creator>Ruben_Zimmerman</dc:creator>
      <dc:date>2018-04-28T07:38:11Z</dc:date>
    </item>
  </channel>
</rss>

