- Products
- Learn
- Local User Groups
- Partners
-
More
Celebrate the New Year
With CheckMates!
Value of Security
Vendor Self-Awareness
Join Us for CPX 360
23-24 February 2021
Important certificate update to CloudGuard Controller, CME,
and Azure HA Security Gateways
How to Remediate Endpoint & VPN
Issues (in versions E81.10 or earlier)
Mobile Security
Buyer's Guide Out Now
Important! R80 and R80.10
End Of Support around the corner (May 2021)
Hi all,
I want to fetch/export configuration and rule file from Management server, if possible please suggest the Cli command or Restful API commands.
In Sonicwall firewall, i used below command to fetch configuration and rule file:
For Configuration:
For Rule:
Please share the equivalent commands for Checkpoint device.
It depends on your actual needs / purpose - why are you trying to execute these.
For backup just use CLI and it will save both mgmt Gaia config and actual rulebase
backup scp ip 1.1.1.1 path / username <username> password <password>
But if you simply want to see Gaia configuration run "show configuration" from CLISH
As for exporting rules to text using API - just search this forum, there are number of tools already written for many options HTML, CSV, etc
really depends what you are trying to achieve
We have several examples in Developers (Code Hub)
The API/CLI docs are here: Check Point - Management API reference
The command you're looking for is show access-rulebase which requires, as a parameter, the name/UID of the access layer in question.
You can see all the rulebases/layers using the command show access-layers.
About CheckMates
Learn Check Point
Advanced Learning
WELCOME TO THE FUTURE OF CYBER SECURITY