Hello,
I need your help to write script for copying in access-list all hotspot clients which are waste time on server without login after connected more than 30 mn for disabling their “authentication” and “forwarding”.
I know that at first time I must to search in registration table all connected after 30 mn:
{
/interface wireless registration-table {
:local delai 1800
:foreach i in [ find where uptime > $delai ] do={
:local mac [ get $i mac-address ]
:local card [ get $i interface ]
[ /interface wireless access-list ] {
add mac-address=$mac interface=$card authentication=no forwading=no
}
}
}
}
If I solved it I think I can do the second part of located mac address of active host. ![]()