Hi i
cant get policy number with command
:foreach i in=[ /ip ipsec policy find where comment="IPsec MAIN"] do [
/ip ipsec policy enable numbers=$i]
when I :put $i for every correct result i get answer like this:
*1000000
*1000001
Can you help me to resolve this problem.
I use it for WAN failover and I have to disable some IPsec Policies and kill remote peers when WAN is changing.
Right now i do this by
/ip ipsec policy disable numbers=1 ,
but when someone change order in Policies, script will not worked correct