Hmm not sure if I want to try that, sounds like Gerard's answer - it would work but take forever.
Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373 On Thu, Feb 27, 2014 at 12:31 PM, Sam Tetherow <[email protected]> wrote: > Not sure if it is the find list="list-name" that is killing it or just the > find in general but you could try: > > :foreach i in=[/ip firewall address-list find] do={ > [/ip firewall address-list get $i list] > :if ([/ip firewall address-list get $i list] ="list-name") do={ > /ip firewall address-list remove $i > > } > } > > On 02/27/2014 10:30 AM, Josh Luthman wrote: > >> Could, but I don't like leaving dirt under the rug. >> >> >> Josh Luthman >> Office: 937-552-2340 >> Direct: 937-552-2343 >> 1100 Wayne St >> Suite 1337 >> Troy, OH 45373 >> >> >> On Thu, Feb 27, 2014 at 11:28 AM, Ty Featherling <[email protected] >> >wrote: >> >> Can you create a new address-list and put in it only what you want to the >>> there? then you can change the names of the address-lists to put the old >>> one out and the new one in. >>> >>> -Ty >>> >>> >>> On Thu, Feb 27, 2014 at 9:53 AM, Josh Luthman >>> <[email protected]>wrote: >>> >>> About 3.2 million addresses. I didn't set an expiration... >>>> >>>> Didn't try an export, but how would that help? I can't delete them all >>>> >>> to >>> >>>> import the ones I want if that's what you're shooting for. >>>> >>>> >>>> Josh Luthman >>>> Office: 937-552-2340 >>>> Direct: 937-552-2343 >>>> 1100 Wayne St >>>> Suite 1337 >>>> Troy, OH 45373 >>>> >>>> >>>> On Thu, Feb 27, 2014 at 10:46 AM, Gerard Dupont III < >>>> [email protected] >>>> >>>>> wrote: >>>>> How many entries are we talking here? >>>>> >>>>> Might be able to use the API, but I suspect it will have same issue as >>>>> cli.. >>>>> >>>>> Can you do a '/ip firewall address-list export file=something' or does >>>>> >>>> that >>>> >>>>> crash also? >>>>> >>>>> Gerard >>>>> >>>>> >>>>> On Thu, Feb 27, 2014 at 10:36 AM, Josh Luthman >>>>> <[email protected]>wrote: >>>>> >>>>> Does anyone know a way to do this besides rebooting? I'm on v5. >>>>>> >>>>>> Using SSH and this it crashes: >>>>>> /ip firewall address-list remove [/ip firewall address-list find >>>>>> list="list-name"] >>>>>> >>>>>> Josh Luthman >>>>>> Office: 937-552-2340 >>>>>> Direct: 937-552-2343 >>>>>> 1100 Wayne St >>>>>> Suite 1337 >>>>>> Troy, OH 45373 >>>>>> -------------- next part -------------- >>>>>> An HTML attachment was scrubbed... >>>>>> URL: < >>>>>> >>>>>> http://mail.butchevans.com/pipermail/mikrotik/ >>> attachments/20140227/12f66ae3/attachment.html >>> >>>> _______________________________________________ >>>>>> Mikrotik mailing list >>>>>> [email protected] >>>>>> http://mail.butchevans.com/mailman/listinfo/mikrotik >>>>>> >>>>>> Visit http://blog.butchevans.com/ for tutorials related to Mikrotik >>>>>> RouterOS >>>>>> >>>>>> -------------- next part -------------- >>>>> An HTML attachment was scrubbed... >>>>> URL: < >>>>> >>>>> http://mail.butchevans.com/pipermail/mikrotik/ >>> attachments/20140227/96c37091/attachment.html >>> >>>> _______________________________________________ >>>>> Mikrotik mailing list >>>>> [email protected] >>>>> http://mail.butchevans.com/mailman/listinfo/mikrotik >>>>> >>>>> Visit http://blog.butchevans.com/ for tutorials related to Mikrotik >>>>> RouterOS >>>>> >>>>> -------------- next part -------------- >>>> An HTML attachment was scrubbed... >>>> URL: < >>>> >>>> http://mail.butchevans.com/pipermail/mikrotik/ >>> attachments/20140227/63661f15/attachment.html >>> >>>> _______________________________________________ >>>> Mikrotik mailing list >>>> [email protected] >>>> http://mail.butchevans.com/mailman/listinfo/mikrotik >>>> >>>> Visit http://blog.butchevans.com/ for tutorials related to Mikrotik >>>> RouterOS >>>> >>>> -------------- next part -------------- >>> An HTML attachment was scrubbed... >>> URL: < >>> http://mail.butchevans.com/pipermail/mikrotik/ >>> attachments/20140227/01288e76/attachment.html >>> _______________________________________________ >>> Mikrotik mailing list >>> [email protected] >>> http://mail.butchevans.com/mailman/listinfo/mikrotik >>> >>> Visit http://blog.butchevans.com/ for tutorials related to Mikrotik >>> RouterOS >>> >>> -------------- next part -------------- >> An HTML attachment was scrubbed... >> URL: <http://mail.butchevans.com/pipermail/mikrotik/ >> attachments/20140227/9ab3b352/attachment.html> >> >> _______________________________________________ >> Mikrotik mailing list >> [email protected] >> http://mail.butchevans.com/mailman/listinfo/mikrotik >> >> Visit http://blog.butchevans.com/ for tutorials related to Mikrotik >> RouterOS >> > > _______________________________________________ > Mikrotik mailing list > [email protected] > http://mail.butchevans.com/mailman/listinfo/mikrotik > > Visit http://blog.butchevans.com/ for tutorials related to Mikrotik > RouterOS > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.butchevans.com/pipermail/mikrotik/attachments/20140227/3f0aeb29/attachment.html> _______________________________________________ Mikrotik mailing list [email protected] http://mail.butchevans.com/mailman/listinfo/mikrotik Visit http://blog.butchevans.com/ for tutorials related to Mikrotik RouterOS

