- Products
- Learn
- Local User Groups
- Partners
- More
MVP 2026: Submissions
Are Now Open!
What's New in R82.10?
Watch NowOverlap in Security Validation
Help us to understand your needs better
CheckMates Go:
Maestro Madness
Dear CheckMates
I am trying to batch out large number of NAT changes on existing objects. CLI command looks like:
set host name "NatTest" nat-settings.auto-rule "true" nat-settings.ip-address "X.X.X.X" nat-settings.method "hide" nat-settings.install-on "checkPointCluster"
I tried using Batch method with following CSV.
name,nat-settings.auto-rule ,nat-settings.ip-address ,nat-settings.method ,nat-settings.install-on
NatTest,TRUE,x.x.x.x,hide,checkPointCluster
The Batch method did not like NAT settings:
C:\Program Files (x86)\CheckPoint\SmartConsole\R80.10\PROGRAM>mgmt_cli.exe -m x.x.x.x -d x.x.x.x set host --batch \scripts\nattest.csv --ignore-errors false --debug on
Username:
Password:
Line 2: code: "generic_err_invalid_parameter"
message: "Parameter [auto-rule] value is not valid (full path: nat-settings.auto-rule)"
Can you make these kinds of changes via batch mode? If not, is there another method?
Thanks
Try changing the "TRUE" in your CSV to lowercase.
I was able to replicate the issue and switching to lowercase seems to have fixed it.
-Andrew
Is it possible, that the reason for failure is that these rules are automatically created? If this is the case, then you'll have to change the object properties, rather than Nat rules.
This CLI command works:
set host name "NatTest" nat-settings.auto-rule "true" nat-settings.ip-address "X.X.X.X" nat-settings.method "hide" nat-settings.install-on "checkPointCluster"
the batch process does not.
Try changing the "TRUE" in your CSV to lowercase.
I was able to replicate the issue and switching to lowercase seems to have fixed it.
-Andrew
it was two things
1. TRUE to lower case (thanks Andrew)
2. my header columns in CSV had an extra space.
thanks for all the responses
Leaderboard
Epsum factorial non deposit quid pro quo hic escorol.
| User | Count |
|---|---|
| 4 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
Tue 16 Dec 2025 @ 05:00 PM (CET)
Under the Hood: CloudGuard Network Security for Oracle Cloud - Config and Autoscaling!Thu 18 Dec 2025 @ 10:00 AM (CET)
Cloud Architect Series - Building a Hybrid Mesh Security Strategy across cloudsTue 16 Dec 2025 @ 05:00 PM (CET)
Under the Hood: CloudGuard Network Security for Oracle Cloud - Config and Autoscaling!Thu 18 Dec 2025 @ 10:00 AM (CET)
Cloud Architect Series - Building a Hybrid Mesh Security Strategy across cloudsAbout CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY