I am trying to create network objects in a checkpoint due to a migration. As in ASA we could have created objects with the same network range(duplicated objects), I am having several problems to migrate it succesfully.
I am using a csv file in which I have included the objects with the syntax that Checkpoint allows. I use the following command:
mgmt_cli add network -r true --batch prueba.csv -d IBDL_CALES
I have also added the ignore-warnings field, ignore-errors and set-if-exists fields but none of them let me create the object that has the same IP or IP range than the ones that are created in the Checkpoint. The output I get is the following:
Line 2: code: "err_validation_failed"
message: "Validation failed with 1 warning"
- message: "More than one network have the same IP x.x.x.x/y.y.y.y"
Does Any of you know how to supress that warnings and create that duplicated objects?
It's important to me creating them because they are a lot of objects(I have the same problem ith the hosts) and then We want to migrate the policies too and we must have the same objects than in the ASA.