Community discussions

MikroTik App
 
tomislav91
Member
Member
Topic Author
Posts: 303
Joined: Fri May 26, 2017 12:47 pm

no such item when disable/enable peer from terminal

Mon Sep 24, 2018 3:06 pm

Hi, i want to enable one and disable another policy.
Can you check it why give me error no such item?
ip ipsec policy set disabled=no numbers=2
no such item
I have policies
#1 and #2 in IPsec policy tab...
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11619
Joined: Thu Mar 03, 2016 10:23 pm

Re: no such item when disable/enable peer from terminal

Mon Sep 24, 2018 4:22 pm

Numbers to which various set commands refer don't exist per-se. You have to "create" them before using them, e.g. by executing command /ip ipsec policy print ... probably you'll have policies #0 and #1.

Who is online

Users browsing this forum: No registered users and 76 guests