Community discussions

MikroTik App
 
lampstand
just joined
Topic Author
Posts: 3
Joined: Fri Oct 20, 2023 3:31 pm

user-manager session Removal

Fri Oct 20, 2023 3:39 pm

after a long usage of the router, there has been a lot of session used by users and i will like to be removing using script, I have succeeded in printing all the sessions using this script, but i have been unable to remove, can someone help me out.
/tool user-manager session print where terminate-cause="lost-service"
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 12031
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: user-manager session Removal

Fri Oct 20, 2023 9:10 pm

/tool user-manager session print remove [find where terminate-cause="lost-service"]
 
lampstand
just joined
Topic Author
Posts: 3
Joined: Fri Oct 20, 2023 3:31 pm

Re: user-manager session Removal

Mon Oct 23, 2023 9:05 pm

/tool user-manager session print remove [find where terminate-cause="lost-service"]
This did not run, can you look for another solution

Who is online

Users browsing this forum: No registered users and 4 guests