AnsweredAssumed Answered

Changing NAT settings via API

Question asked by Neil ZInk on Oct 19, 2017
Latest reply on Oct 20, 2017 by Neil ZInk

Dear CheckMates


I am trying to batch out large number of NAT changes on existing objects.  CLI command looks like:


set host name "NatTest" "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.ip-address ,nat-settings.method ,nat-settings.install-on


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



Line 2: code: "generic_err_invalid_parameter"

message: "Parameter [auto-rule] value is not valid (full path:"


Can you make these kinds of changes via batch mode?  If not, is there another method?