Hi experts,
R82 vm management server with JHF Take 60
I would like to know the easiest method to add newly added gateway object to Install On of more than 1000 rules of access control policy.
Adding them to each rule in front of our customers is nightmare 😞
What I tried is:
1. create csv file which looks like
command,layer,position,install-on.add
set access-rule,testpolicy.1.newly_added_gateway
set access-rule,testpolicy.2.newly_added_gateway ... and so on.
2. import, and move it to /home/admin/
3. mgmt_cli login
#mgmt_cli login -u admin -p > id.txt
pass password prompt
4. try mgmt_cli set access-rule --batch
but it says:
# mgmt_cli set access-rule --batch /home/admin/installon_add.csv -s id.txtLine 2: code: "generic_err_invalid_parameter_name"message: "Unrecognized parameter [command]"Line 3: code: "generic_err_invalid_parameter_name"message: "Unrecognized parameter [command]"
...
also tried mgmt_cli --batch, but
# mgmt_cli --batch /home/admin/installon_add.csv -s id.txt
Error: No command name was specified!
No idea what to try next.
Any comments would be highly appreciated!
Saitoh
sliver bullet: casting repero or tossing it into the harbor