Answer the question
In order to leave comments, you need to log in
Mikrotik edit/set how to remove/reset a parameter?
Good day forum users. It was required to edit the firewall rules. Adding a rule through the console or changing the parameters of the problem did not arise in it. But I can't remove/reset the set parameter. For example, I scored dst-address=xxx.xxx.xxx.xxx and now I want it to be gone. Entered and set dst-address="" and space and just equal and disable. I still don't understand how to reset this value. On forums it is written to edit to change edit'om. no detail.
Answer the question
In order to leave comments, you need to log in
In the current version of the RouterOS
firmware , the unset command is used to delete an element property :
Commands for the MikroTik console:
# Переходим в разде IP/Firewall/NAT
/ip firewall nat
# Удаляем параметр "dst-address" для первого элемента в списке (номер 0):
unset 0 dst-address
/ip firewall nat unset 0 dst-address
?
print
dst-address
for the first element (number 0) while in section /ip firewall nat
:set 0 dst-address=192.168.88.32
dst-address
for the first element (number 0) while in any section:/ip firewall nat unset 0 dst-address
/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question