<?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: cpstat confusion about the documentation in General Topics</title>
    <link>https://community.checkpoint.com/t5/General-Topics/cpstat-confusion-about-the-documentation/m-p/135332#M24215</link>
    <description>&lt;P&gt;[Expert@R81-standalone:0]# cpstat blades&lt;/P&gt;&lt;P&gt;Packets accepted : 923861&lt;BR /&gt;Packets dropped : 9471&lt;BR /&gt;Peak number of connections: 537&lt;BR /&gt;Number of connections: 19&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Top Rule Hits&lt;BR /&gt;-----------------------&lt;BR /&gt;|rule index|rule count|&lt;BR /&gt;-----------------------&lt;BR /&gt;-----------------------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: This is a lab setup, not production gateway so not much rules/hits seen above.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 01 Dec 2021 11:43:19 GMT</pubDate>
    <dc:creator>Yuri_Slobodyany</dc:creator>
    <dc:date>2021-12-01T11:43:19Z</dc:date>
    <item>
      <title>cpstat confusion about the documentation</title>
      <link>https://community.checkpoint.com/t5/General-Topics/cpstat-confusion-about-the-documentation/m-p/135322#M24210</link>
      <description>&lt;P&gt;Good day everyone,&lt;/P&gt;&lt;P&gt;I am trying to get to know&amp;nbsp;&lt;FONT color="#0000FF"&gt;cpstat&amp;nbsp;&lt;FONT color="#000000"&gt;command better and find that flags/flavors listed in the CLI Reference (R80.40/R81) do not work quite a lot. Is there something missing on the gateways/SMS I am trying this command out (installed-wise) or is it by intention (documented but not implemented)?&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;FONT color="#000000"&gt;E.g.:&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;[Expert@R81-standalone:0]# cpstat -f default ips
No product has flag 'ips'

[Expert@R81-standalone:0]# cpstat blades -f av
Invalid flavour 'av' for product 'blades'. Use 'cpstat' without any arguments to see supported products and flavours.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;FONT color="#000000"&gt;Of course, all those flags/flavors appear as valid in the documentation and I have all blades enabled on this standalone open server.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;FONT color="#000000"&gt;Thanks&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;FONT color="#000000"&gt;Reference:&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;FONT color="#000000"&gt;-&amp;nbsp;&amp;nbsp;&lt;A href="https://sc1.checkpoint.com/documents/R80.40/WebAdminGuides/EN/CP_R80.40_CLI_ReferenceGuide/Topics-CLIG/SECMG/cpstat.htm" target="_blank" rel="noopener"&gt;https://sc1.checkpoint.com/documents/R80.40/WebAdminGuides/EN/CP_R80.40_CLI_ReferenceGuide/Topics-CLIG/SECMG/cpstat.htm&lt;/A&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;FONT color="#000000"&gt;- SK: Tried quite hard to find an SK for this tool to no avail, would be great if someone could point me to one.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 10:38:23 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/cpstat-confusion-about-the-documentation/m-p/135322#M24210</guid>
      <dc:creator>Yuri_Slobodyany</dc:creator>
      <dc:date>2021-12-01T10:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: cpstat confusion about the documentation</title>
      <link>https://community.checkpoint.com/t5/General-Topics/cpstat-confusion-about-the-documentation/m-p/135328#M24211</link>
      <description>&lt;P&gt;The reference is not exactly matching your version, use&amp;nbsp;&lt;A href="https://sc1.checkpoint.com/documents/R81/WebAdminGuides/EN/CP_R81_CLI_ReferenceGuide/Topics-CLIG/SECMG/cpstat.htm?Highlight=cpstat" target="_blank"&gt;https://sc1.checkpoint.com/documents/R81/WebAdminGuides/EN/CP_R81_CLI_ReferenceGuide/Topics-CLIG/SECMG/cpstat.htm?Highlight=cpstat&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, flavors are not required to see IPS. Did you try without "-f default"?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 11:33:26 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/cpstat-confusion-about-the-documentation/m-p/135328#M24211</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2021-12-01T11:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: cpstat confusion about the documentation</title>
      <link>https://community.checkpoint.com/t5/General-Topics/cpstat-confusion-about-the-documentation/m-p/135329#M24212</link>
      <description>&lt;P&gt;Nope:&amp;nbsp;&lt;/P&gt;&lt;P&gt;[Expert@R81-standalone:0]# cpstat ips&lt;BR /&gt;No product has flag 'ips'&lt;/P&gt;&lt;P&gt;And those are enabled blades:&lt;/P&gt;&lt;P&gt;[Expert@R81-standalone:0]# enabled_blades&lt;BR /&gt;fw vpn cvpn urlf av appi ips anti_bot qos mon&lt;BR /&gt;[Expert@R81-standalone:0]#&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, I meant R81 has the same flags as R80.40 with the same errors when trying to use them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 11:41:24 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/cpstat-confusion-about-the-documentation/m-p/135329#M24212</guid>
      <dc:creator>Yuri_Slobodyany</dc:creator>
      <dc:date>2021-12-01T11:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: cpstat confusion about the documentation</title>
      <link>https://community.checkpoint.com/t5/General-Topics/cpstat-confusion-about-the-documentation/m-p/135330#M24213</link>
      <description>&lt;P&gt;Please run "cpstat blades" and show the output&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 11:40:34 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/cpstat-confusion-about-the-documentation/m-p/135330#M24213</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2021-12-01T11:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: cpstat confusion about the documentation</title>
      <link>https://community.checkpoint.com/t5/General-Topics/cpstat-confusion-about-the-documentation/m-p/135331#M24214</link>
      <description>&lt;P&gt;Also, just "cpstat" without anything else&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 11:42:17 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/cpstat-confusion-about-the-documentation/m-p/135331#M24214</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2021-12-01T11:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: cpstat confusion about the documentation</title>
      <link>https://community.checkpoint.com/t5/General-Topics/cpstat-confusion-about-the-documentation/m-p/135332#M24215</link>
      <description>&lt;P&gt;[Expert@R81-standalone:0]# cpstat blades&lt;/P&gt;&lt;P&gt;Packets accepted : 923861&lt;BR /&gt;Packets dropped : 9471&lt;BR /&gt;Peak number of connections: 537&lt;BR /&gt;Number of connections: 19&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Top Rule Hits&lt;BR /&gt;-----------------------&lt;BR /&gt;|rule index|rule count|&lt;BR /&gt;-----------------------&lt;BR /&gt;-----------------------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: This is a lab setup, not production gateway so not much rules/hits seen above.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 11:43:19 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/cpstat-confusion-about-the-documentation/m-p/135332#M24215</guid>
      <dc:creator>Yuri_Slobodyany</dc:creator>
      <dc:date>2021-12-01T11:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: cpstat confusion about the documentation</title>
      <link>https://community.checkpoint.com/t5/General-Topics/cpstat-confusion-about-the-documentation/m-p/135333#M24216</link>
      <description>&lt;P&gt;Okay, I believe it should be "cpstat -f ips blades"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 11:45:50 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/cpstat-confusion-about-the-documentation/m-p/135333#M24216</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2021-12-01T11:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: cpstat confusion about the documentation</title>
      <link>https://community.checkpoint.com/t5/General-Topics/cpstat-confusion-about-the-documentation/m-p/135334#M24217</link>
      <description>&lt;P&gt;As I mentioned already, it should be:&lt;BR /&gt;&lt;BR /&gt;cpstat -f ips blades&lt;/P&gt;
&lt;P&gt;cpstat -f av blades&lt;/P&gt;
&lt;P&gt;Does it work for you this way?&lt;BR /&gt;&lt;BR /&gt;cpstat without any input should show you all options&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 11:56:57 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/cpstat-confusion-about-the-documentation/m-p/135334#M24217</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2021-12-01T11:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: cpstat confusion about the documentation</title>
      <link>https://community.checkpoint.com/t5/General-Topics/cpstat-confusion-about-the-documentation/m-p/135335#M24218</link>
      <description>&lt;P&gt;Got it now - thanks. Each gateway differs in output of&amp;nbsp;cpstat ,&amp;nbsp;not sure how - even on production servers with the same blades enabled the options differ. The reference about this -&amp;nbsp; "Note&amp;nbsp;- The available flags depend on the enabled&amp;nbsp;Software Blades. Some flags are supported only by a&amp;nbsp;Security Gateway, and some flags are supported only by a&amp;nbsp;Management Server."&amp;nbsp; Even though, gateways where e.g. cpstat ips does work, do not accept&amp;nbsp;-f default to it (as per reference should). So the bottom line is NOT to reference the documentation (I guess it is just a dump of ALL possible options on ALL possible gateways, including SMB/VSX/Crossbeam/etc), but reference output of the&amp;nbsp;cpstat on a particular server, then move on from there.&lt;/P&gt;
&lt;P&gt;Thanks again,&lt;BR /&gt;case closed.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 12:31:39 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/cpstat-confusion-about-the-documentation/m-p/135335#M24218</guid>
      <dc:creator>Yuri_Slobodyany</dc:creator>
      <dc:date>2021-12-01T12:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: cpstat confusion about the documentation</title>
      <link>https://community.checkpoint.com/t5/General-Topics/cpstat-confusion-about-the-documentation/m-p/135338#M24219</link>
      <description>&lt;P&gt;You are welcome. &lt;BR /&gt;&lt;BR /&gt;I do agree that the notion of flags and flavours is a bit odd here, especially considering flavors depend on flags but are called before those in the CLI command &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; But this is not a documentation issue, and with a minimal effort, it all clicks into place.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 12:31:16 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/cpstat-confusion-about-the-documentation/m-p/135338#M24219</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2021-12-01T12:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: cpstat confusion about the documentation</title>
      <link>https://community.checkpoint.com/t5/General-Topics/cpstat-confusion-about-the-documentation/m-p/135339#M24220</link>
      <description>&lt;P&gt;I agree with&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/181"&gt;@_Val_&lt;/a&gt;&amp;nbsp;. I always just run cpstat without any flags and it will show you all available options, for sure.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is what I see on R81.10 gateway:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Available application_flags:&lt;/P&gt;
&lt;P&gt;--------------------------------------------------------------&lt;BR /&gt;|Flag |Flavours |&lt;BR /&gt;--------------------------------------------------------------&lt;BR /&gt;|os |default, ifconfig, routing, routing6, |&lt;BR /&gt;| |memory, old_memory, cpu, disk, perf, |&lt;BR /&gt;| |multi_cpu, multi_disk, raidInfo, sensors, |&lt;BR /&gt;| |power_supply, hw_info, all, average_cpu, |&lt;BR /&gt;| |average_memory, statistics, updates, |&lt;BR /&gt;| |licensing, connectivity, vsx |&lt;BR /&gt;--------------------------------------------------------------&lt;BR /&gt;|persistency |product, TableConfig, SourceConfig |&lt;BR /&gt;--------------------------------------------------------------&lt;BR /&gt;|thresholds |default, active_thresholds, destinations, |&lt;BR /&gt;| |error |&lt;BR /&gt;--------------------------------------------------------------&lt;BR /&gt;|ci |default |&lt;BR /&gt;--------------------------------------------------------------&lt;BR /&gt;|https_inspection |default, hsm_status, all |&lt;BR /&gt;--------------------------------------------------------------&lt;BR /&gt;|polsrv |default, all |&lt;BR /&gt;--------------------------------------------------------------&lt;BR /&gt;|cvpn |cvpnd, sysinfo, products, overall |&lt;BR /&gt;--------------------------------------------------------------&lt;BR /&gt;|fw |default, interfaces, policy, perf, hmem, |&lt;BR /&gt;| |kmem, inspect, cookies, chains, |&lt;BR /&gt;| |fragments, totals, totals64, ufp, http, |&lt;BR /&gt;| |ftp, telnet, rlogin, smtp, pop3, sync, |&lt;BR /&gt;| |log_connection, all |&lt;BR /&gt;--------------------------------------------------------------&lt;BR /&gt;|vsx |default, stat, traffic, conns, cpu, all, |&lt;BR /&gt;| |memory, cpu_usage_per_core |&lt;BR /&gt;--------------------------------------------------------------&lt;BR /&gt;|vpn |default, product, IKE, ipsec, traffic, |&lt;BR /&gt;| |compression, accelerator, nic, |&lt;BR /&gt;| |statistics, watermarks, all |&lt;BR /&gt;--------------------------------------------------------------&lt;BR /&gt;|blades |fw, ips, av, urlf, vpn, cvpn, aspm, dlp, |&lt;BR /&gt;| |appi, anti_bot, default, |&lt;BR /&gt;| |content_awareness, threat-emulation, |&lt;BR /&gt;| |default |&lt;BR /&gt;--------------------------------------------------------------&lt;BR /&gt;|ha |default, all |&lt;BR /&gt;--------------------------------------------------------------&lt;BR /&gt;|identityServer |default, authentication, logins, ldap, |&lt;BR /&gt;| |components, adquery, idc, muh |&lt;BR /&gt;--------------------------------------------------------------&lt;BR /&gt;|appi |default, subscription_status, |&lt;BR /&gt;| |update_status, RAD_status, top_last_hour, |&lt;BR /&gt;| |top_last_day, top_last_week, |&lt;BR /&gt;| |top_last_month |&lt;BR /&gt;--------------------------------------------------------------&lt;BR /&gt;|urlf |default, subscription_status, |&lt;BR /&gt;| |update_status, RAD_status, top_last_hour, |&lt;BR /&gt;| |top_last_day, top_last_week, |&lt;BR /&gt;| |top_last_month |&lt;BR /&gt;--------------------------------------------------------------&lt;BR /&gt;|dlp |default, dlp, exchange_agents, fingerprint|&lt;BR /&gt;--------------------------------------------------------------&lt;BR /&gt;|ctnt |default |&lt;BR /&gt;--------------------------------------------------------------&lt;BR /&gt;|antimalware |default, scanned_hosts, scanned_mails, |&lt;BR /&gt;| |subscription_status, update_status, |&lt;BR /&gt;| |ab_prm_contracts, av_prm_contracts, |&lt;BR /&gt;| |ab_prm_contracts, av_prm_contracts |&lt;BR /&gt;--------------------------------------------------------------&lt;BR /&gt;|threat-emulation |default, general_statuses, update_status, |&lt;BR /&gt;| |scanned_files, malware_detected, |&lt;BR /&gt;| |scanned_on_cloud, malware_on_cloud, |&lt;BR /&gt;| |average_process_time, emulated_file_size, |&lt;BR /&gt;| |queue_size, peak_size, |&lt;BR /&gt;| |file_type_stat_file_scanned, |&lt;BR /&gt;| |file_type_stat_malware_detected, |&lt;BR /&gt;| |file_type_stat_cloud_scanned, |&lt;BR /&gt;| |file_type_stat_cloud_malware_scanned, |&lt;BR /&gt;| |file_type_stat_filter_by_analysis, |&lt;BR /&gt;| |file_type_stat_cache_hit_rate, |&lt;BR /&gt;| |file_type_stat_error_count, |&lt;BR /&gt;| |file_type_stat_no_resource_count, |&lt;BR /&gt;| |contract, downloads_information_current, |&lt;BR /&gt;| |downloading_file_information, |&lt;BR /&gt;| |queue_table, history_te_incidents, |&lt;BR /&gt;| |history_te_comp_hosts |&lt;BR /&gt;--------------------------------------------------------------&lt;BR /&gt;|scrub |default, subscription_status, |&lt;BR /&gt;| |threat_extraction_statistics |&lt;BR /&gt;--------------------------------------------------------------&lt;BR /&gt;|fg |all |&lt;BR /&gt;--------------------------------------------------------------&lt;BR /&gt;|PA |default |&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then I ran cpstat blades -f ips and got below:&lt;/P&gt;
&lt;P&gt;cpstat blades -f ips&lt;BR /&gt;Invalid flavour 'ips' for product 'blades'. Use 'cpstat' without any arguments to see supported products and flavours.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also tried what Val suggested cpstat -f ips blades, but same issue.&lt;/P&gt;
&lt;P&gt;Its possible that certain flags dont work right, not sure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 13:01:39 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/cpstat-confusion-about-the-documentation/m-p/135339#M24220</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2021-12-01T13:01:39Z</dc:date>
    </item>
  </channel>
</rss>

