Hi all.
I have a problem with removing huge number of user from hotspot. about 8k users
I find command that can help me to resolve this problem, then I thought that I need a test stand where I can test this command.
Command looks as:
ip hotspot user { :foreach r in=[find where] do={ remove $r }}
On stand with one or two user that command work good.
But when I use that command in device with 8k user in ip hotspot user I got a error:
no such item (4)
I find many topics with the same problem, and in one of them said: need before command do - print - ip hotspot user print , and then command to remove.
I print all of 8k lines with user information and then do the remove command, but I still get same problem
no such item (4)
To confirm information about print, I did next things:
[host@admin]ip hotspot user print
Flags: X - disabled, D - dynamic
# SERVER NAME ADDRESS PROFILE UPTIME
0 xx:xx:xx:xx:xx:xx default 2m4s
[host@admin] > ip hotspot user remove numbers=1,2,3,4,5
[host@admin] > ip hotspot user remove numbers=1,2,3,4,5
no such item (4)
[host@admin] > ip hotspot user remove numbers=1,2,3,4,5
no such item (4)
[host@admin] > ip hotspot user remove numbers=1,2,3,4,5
no such item (4)
[host@admin] > ip hotspot user print
[host@admin]ip hotspot user print
Flags: X - disabled, D - dynamic
# SERVER NAME ADDRESS PROFILE UPTIME
0 xx:xx:xx:xx:xx:xx default 5m44s
[host@admin] > ip hotspot user remove numbers=1,2,3,4,5
[host@admin] >
But ip hotspot user print doesn’t help with more difficult command.
Can somebody help with that problem? Thk