<?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 Will the &amp;quot;mgmt_cli&amp;quot; command to list rules work on the firewall/gateway directly in Firewall and Security Management</title>
    <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Will-the-quot-mgmt-cli-quot-command-to-list-rules-work-on-the/m-p/163899#M29269</link>
    <description>&lt;P&gt;Dear Team,&lt;/P&gt;&lt;P&gt;We are trying to automate rule validation by pulling the rulesets, related address and service objects (&amp;amp;groups) out of the security gateways through mgmt_cli. Therefore, we ran the "mgmt_cli show Rulebase" to gateway it failed with below error; however, the same command ran successfully on the management device.&lt;/P&gt;&lt;P&gt;"message: "The Management API service is not available. Please check that the Management API server is up and running."&lt;BR /&gt;code: "generic_error"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So does that indicate, this mgmt_cli will only work in the management and not on the gateway firewall ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Dec 2022 17:08:14 GMT</pubDate>
    <dc:creator>Dany6195</dc:creator>
    <dc:date>2022-12-01T17:08:14Z</dc:date>
    <item>
      <title>Will the "mgmt_cli" command to list rules work on the firewall/gateway directly</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Will-the-quot-mgmt-cli-quot-command-to-list-rules-work-on-the/m-p/163899#M29269</link>
      <description>&lt;P&gt;Dear Team,&lt;/P&gt;&lt;P&gt;We are trying to automate rule validation by pulling the rulesets, related address and service objects (&amp;amp;groups) out of the security gateways through mgmt_cli. Therefore, we ran the "mgmt_cli show Rulebase" to gateway it failed with below error; however, the same command ran successfully on the management device.&lt;/P&gt;&lt;P&gt;"message: "The Management API service is not available. Please check that the Management API server is up and running."&lt;BR /&gt;code: "generic_error"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So does that indicate, this mgmt_cli will only work in the management and not on the gateway firewall ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 17:08:14 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Will-the-quot-mgmt-cli-quot-command-to-list-rules-work-on-the/m-p/163899#M29269</guid>
      <dc:creator>Dany6195</dc:creator>
      <dc:date>2022-12-01T17:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: Will the "mgmt_cli" command to list rules work on the firewall/gateway directly</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Will-the-quot-mgmt-cli-quot-command-to-list-rules-work-on-the/m-p/163913#M29277</link>
      <description>&lt;P&gt;mgmt_cli can be run on the gateways, but queries to the management API don’t work against a gateway since it does not run the Management API server.&lt;BR /&gt;You need to either run the command on the management server or specify the destination (using -m flag).&lt;/P&gt;
&lt;P&gt;You can query what’s installed on the gateway using a procedure similar to:&amp;nbsp;&lt;A href="https://community.checkpoint.com/t5/General-Topics/Show-Ruleset-and-Objects-on-the-Gateway-Emergency-Recovery/m-p/155533" target="_blank"&gt;https://community.checkpoint.com/t5/General-Topics/Show-Ruleset-and-Objects-on-the-Gateway-Emergency-Recovery/m-p/155533&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 20:25:25 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Will-the-quot-mgmt-cli-quot-command-to-list-rules-work-on-the/m-p/163913#M29277</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2022-12-01T20:25:25Z</dc:date>
    </item>
  </channel>
</rss>

