- Products
- Learn
- Local User Groups
- Partners
- More
Check Point Jump-Start Online Training
Now Available on CheckMates for Beginners!
Welcome to Maestro Masters!
Talk to Masters, Engage with Masters, Be a Maestro Master!
ZTNA Buyer’s Guide
Zero Trust essentials for your most valuable assets
The SMB Cyber Master
Boost your knowledge on Quantum Spark SMB gateways!
Check Point's Cyber Park is Now Open
Let the Games Begin!
As YOU DESERVE THE BEST SECURITY
Upgrade to our latest GA Jumbo
CheckFlix!
All Videos In One Space
i try to add number of network object with cli tool but i received an error.
i followed sk113078 and did exactly the same and received the error:
Line 2: code: "generic_err_invalid_parameter_name"
message: "Unrecognized parameter [name]"
Line 3: code: "generic_err_invalid_parameter_name"
message: "Unrecognized parameter [name]"
Line 4: code: "generic_err_invalid_parameter_name"
message: "Unrecognized parameter [name]"
Executed command failed. Changes are discarded.
the csv is:
name,subnet,subnet-mask
network1,10.10.10.0,255.255.255.0
network2,20.20.20.0,255.255.255.0
network3,30.30.30.0,255.255.255.0
i have R80.20 take: 103
mgmt_cli add network --batch network.csv
i tried with "--version 1.1", same error.
manually adding with "mgmt_cli", works fine.
I had the same issue on R80.10 with --version 1.1 and on R80.30 with --version 1.1, 1.5, 1.6
Constructing the command and "eval"ing it solved it:
<code>
#!/bin/bash
(...)
COMMAND="mgmt_cli add network (...)"
eval $COMMAND
</code>
I think, you create the file on a windows OS. I have the same issue when i create a file on a windows os and then put the file on the management server. To bypass this problem i copy the text on a clippoard and then i create a file by utility vi on the management server then i do a paste in the file (by vi). Maybe you can use the utility dos2unix on the server management to convert the windows file ?
I just used WinSCP and changed the file encoding.
It fixed the problem for me.
About CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY