Community discussions

MikroTik App
 
FHM
just joined
Topic Author
Posts: 11
Joined: Sat Jan 05, 2013 6:38 pm

Script to disconnect and remove from active connection pppoe user

Sun Aug 19, 2018 5:32 pm

Hi All

I want Script to disconnect and remove user from active connection pppoe user in profile

I have Script it for hotspot user like this
============
/ip hotspot user disable [find \
profile="profile"]
delay 5
:foreach i in=[/ip hotspot user find disabled=yes] do={/ip hotspot active remove [find user=[/ip hotspot user get $i name]]}
============

Can anyone modify it to be compatible with PPPOE user

Thanks for all

Who is online

Users browsing this forum: No registered users and 32 guests