Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Rajath__S_N
Employee Alumnus
Employee Alumnus

What would be the correct syntax for the below api?

 

Can anyone help me with the correct syntax with adding this via Mgmt_cli?

Set access-rule.PNG

Regards

0 Kudos
6 Replies
Francesco-P
Contributor

did you try with the dot (.)?

set access-rule ... vpn.add.directional.0.from "something" vpn.add.directional.0.to "something"

0 Kudos
Rajath__S_N
Employee Alumnus
Employee Alumnus

Doesnt work. What is the 0 for?

 

0 Kudos
Art_Zalenekas
Employee
Employee

The 0 (zero) is the instance number based on the index.

0 Kudos
Rajath__S_N
Employee Alumnus
Employee Alumnus

Thank you for that. Do you have an example of this working syntax ?  Maybe with a screenshot?

0 Kudos
Francesco-P
Contributor

Indeed the syntax is wrong 😁

mgmt_cli_vpn.PNG

and the "add" actully override the cell value

mgmt_cli_vpn_3.PNG

Obviously this feature must be enabled

mgmt_cli_vpn_2.PNG

0 Kudos
Rajath__S_N
Employee Alumnus
Employee Alumnus

Thanks for that;). I'll try it out.

 

 

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events