Remove interface from console

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).

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)

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