- Products
- Learn
- Local User Groups
- Partners
- More
Policy Insights and Policy Auditor in Action
19 November @ 5pm CET / 11am ET
Access Control and Threat Prevention Best Practices
Watch HereOverlap in Security Validation
Help us to understand your needs better
CheckMates Go:
Maestro Madness
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.
Can you please elaborate the solution
What exactly you did to resolve this
Thanks in advance
Checked on 81.10
Example:
name,ip-address,color,comments
1.1.1.1,1.1.1.1,blue,test
UTF-8-BOM
cd /tmp
cat > test.csv
CTRL+C
vi test.csv
Press I
Copy your list of hosts and press ESC, then :wq
Checking the file cat test.csv
If everything is ok, publish
mgmt_cli add host --batch test.csv
P.S. Requires UTF-8-BOM encoding (at least on 81.10)
and do not use name/host in the file name.
P.S.S. if you need to add a network, then the subnet and mask-length columns and the publish command mgmt_cli add network --batch test.csv are added
In your example you use 1.1.1.1 as the name, you're not allowed to use numbers to start the name with. Minor detail.
Logged in just to say thank you for this!
Leaderboard
Epsum factorial non deposit quid pro quo hic escorol.
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
Tue 11 Nov 2025 @ 10:00 AM (CET)
Your First Response: Immediate Actions for Cyber Incident Containment- EMEATue 11 Nov 2025 @ 06:00 PM (COT)
San Pedro Sula: Risk Management al Horno: ERM, TEM & Pizza NightTue 11 Nov 2025 @ 06:00 PM (COT)
San Pedro Sula: Risk Management al Horno: ERM, TEM & Pizza NightTue 11 Nov 2025 @ 10:00 AM (CET)
Your First Response: Immediate Actions for Cyber Incident Containment- EMEAThu 13 Nov 2025 @ 10:00 AM (CET)
Cloud Architect Series - Guarding Generative AI: Next-Gen Application Security with CloudGuard WAFFri 14 Nov 2025 @ 10:00 AM (CET)
CheckMates Live Netherlands - Veriti, Threat Exposure ManagementWed 19 Nov 2025 @ 11:00 AM (EST)
TechTalk: Improve Your Security Posture with Threat Prevention and Policy InsightsTue 11 Nov 2025 @ 06:00 PM (COT)
San Pedro Sula: Risk Management al Horno: ERM, TEM & Pizza NightTue 11 Nov 2025 @ 06:00 PM (COT)
San Pedro Sula: Risk Management al Horno: ERM, TEM & Pizza NightAbout CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY