Remove "unknown" interface

How to remove “unknown” interface in wireless access-list without removing all lines ?

Give me some more information please,
like the output of your Access List, clearly showing which one you want to remove?

-K

When i remove interface from mikrotik i have situation:
mac-address=00:4F:62:03:25:5C interface=(unknown) signal-range=-120.120
authentication=yes forwarding=no ap-tx-limit=0 client-tx-limit=0
private-algo=none private-key=“” private-pre-shared-key=“”


/interface wireless access-list remove [/interface wireless access-list find interface=“unknown”]
input does not match any value of interface

See how this works for you:

:local name

/ip hotspot

:foreach i in=[/interface wireless access-list find authentication=yes] do={
    :set name [/interface wireless access-list get $i interface];
    :if ($name = "(unknown)") do={
            /ip hotspot remove $i;
            :log info "Wireless Access List Interface # $i Removed";
            };
}

Edit: This will only work for interfaces that use Authentication, which I chose as a ‘common denominator’. You can change this to whatever common denominator you wish, but I’m sure that one will do fine.

Enjoy!
-Krige

Hello dear friends
Can anyone help me please
I have a CCR1009-8G-1S-PC Mikrotik router
I have configured ether1 as WAN, ether2 LAN this IP address (192.168.1.1) DHCP Server is enabled and ether3 as a Hotspot (172.16.1.1)
After configuring of Hotspot my ether2 interface (LAN) which I configured automatically gets IP address of ether3 interface (Hotspot) 172.16.1.1 this IP address then i can not change it.
I did not create any bridge at all here

/interface wireless access-list remove numbers=[find where !interface]

try it
may help you