- Products
- Learn
- Local User Groups
- Partners
- More
Introduction to Lakera:
Securing the AI Frontier!
Quantum Spark Management Unleashed!
Check Point Named Leader
2025 Gartner® Magic Quadrant™ for Hybrid Mesh Firewall
HTTPS Inspection
Help us to understand your needs better
CheckMates Go:
SharePoint CVEs and More!
Hello,
Is there a way to "find" the Cluster object name through the CLI, either from the SMS or one of the ClusterXL HA members?
I want to send to Install policies, from the SMS CLI, using the "mgmt_cli...." but the syntax asks me to declare the name of the OBJECT of my CLUSTER, and currently, I don't have yet a license to access through the SmartConsole.
I don't remember the name that the Cluster has in the SmartConsole, so I want to know, if there is a way to find out what name this object has (when we enter the SmartConsole)....
I hope you can clarify the doubt.
Greetings.
That is correct: without a license, you cannot use the API.
On the management server:
mgmt_cli -f json -r true show gateways-and-servers | jq -c '.objects[]|[.type,.name]'
Hello,
I have tried to use the shared option, but I get unfavorable results.
I have tried using other syntaxes of the "mgmt_cli..." that I found on the internet, but I still get bad results.
Maybe I am misapplying the syntax?
[Expert@Smartcenter:0]# mgmt_cli -f json -r true show gateways-and-servers | jq -c '.objects[]|[.type,.name]'
Error: Failed to login to the management server
[Expert@Smartcenter:0]#
[Expert@Smartcenter:0]#
[Expert@Smartcenter:0]# mgmt_cli show host name "CP_GW01" -r true --format json | jq '."ipv4-address"'
Error: Failed to login to the management server
[Expert@Smartcenter:0]# ^C
[Expert@Smartcenter:0]#
For that to fail, something must be very wrong with your management server. What do these three commands return?
fwm ver
api status
cpwd_admin list
Hello,
I have an R81 version.
My processes look good. I have the impression that it is a MGMT LICENSE issue (Actually my MGMT is not licensed yet), maybe that is why the command is not working.
I have tested the command on another MGMT that does have a license, and it does work.
Anyway I share the result of the suggested commands.
In addition to this query, is the "mgmt_cli..." able to show us the POLICY PACKETS that the SMS has created?
Greetings.
In that case what does cplic print show?
Hello,
It shows that the license we had already expired on 29Oct.
I have the impression that this is why, on this computer (Open Server), the suggested command does not work.
It seems that for the use of "mgmt_cli..." it is mandatory to have a license on the device.
That is correct: without a license, you cannot use the API.
Thank you for the clarification.
Even so, I would like to know, if there is a syntax with the "mgmt_cli..." that shows me, how many "Policy Packages" have been created in my SMS.
Is this possible?
I want to validate it in a SMS that has a license.
Thank you.
Sure, it’s possible.
mgmt_cli -f json -r true show packages
I dont believe thats accurate. I just tested api commands on the box without valid license and worked fine.
Andy
You already left me with the doubt 😂😑
Leaderboard
Epsum factorial non deposit quid pro quo hic escorol.
User | Count |
---|---|
12 | |
12 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
5 |
Tue 30 Sep 2025 @ 08:00 AM (EDT)
Tips and Tricks 2025 #13: Strategic Cyber Assessments: How to Strengthen Your Security PostureTue 07 Oct 2025 @ 10:00 AM (CEST)
Cloud Architect Series: AI-Powered API Security with CloudGuard WAFTue 30 Sep 2025 @ 08:00 AM (EDT)
Tips and Tricks 2025 #13: Strategic Cyber Assessments: How to Strengthen Your Security PostureThu 09 Oct 2025 @ 10:00 AM (CEST)
CheckMates Live BeLux: Discover How to Stop Data Leaks in GenAI Tools: Live Demo You Can’t Miss!Wed 22 Oct 2025 @ 11:00 AM (EDT)
Firewall Uptime, Reimagined: How AIOps Simplifies Operations and Prevents OutagesAbout CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY