Community discussions

MikroTik App
 
SirThomas
just joined
Topic Author
Posts: 2
Joined: Thu May 17, 2018 2:08 pm

Remove interface from console

Tue Apr 16, 2019 12:25 pm

Hello everybody!

Does anyone know, how to remove dynamic interface from console? "Interface remove" not work. I get interface name with dynamic flag, but cannot remove them from console(from winbox-without problems).
 
User avatar
vecernik87
Forum Veteran
Forum Veteran
Posts: 882
Joined: Fri Nov 10, 2017 8:19 am

Re: Remove interface from console  [SOLVED]

Thu Apr 18, 2019 6:54 am

remove all dynamic interfaces:
/interface sstp-server remove [/interface find dynamic]


remove particular interface (in this case connected SSTP client):
/interface sstp-server remove [/interface find name="<sstp-vecernik>"]


As far as I know, you can't issue command "remove" for all interfaces in
/interface
menu, because that menu contains all interfaces, including non-removable (e.g. ethernet/wlan)
Due to that, you need to go to some sub-menu.
Funny thing is, that the sub-menu does not need to be relevant to your interface. (for example I can delete my SSTP interface from PPTP sub-menu)
Last edited by vecernik87 on Thu Apr 18, 2019 3:51 pm, edited 1 time in total.
 
SirThomas
just joined
Topic Author
Posts: 2
Joined: Thu May 17, 2018 2:08 pm

Re: Remove interface from console

Thu Apr 18, 2019 2:12 pm

vecernik87, thank you! It works also with ovpn-server.

Who is online

Users browsing this forum: Google [Bot] and 54 guests