Thanks Sam! That worked! -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Sam Tetherow Sent: Tuesday, May 20, 2014 10:37 AM To: Mikrotik discussions Subject: Re: [Mikrotik] Use of FIND "function" to change queue paramaters
You will need to include the /32 in the target-addresses line. /queue simple set [find target-addresses=198.172.211.207/32] name="Bubba Gump" On 05/20/2014 08:44 AM, Paul McCall wrote: > Hey guys, > > We are new to using the FIND command for the purposes of replacing > values in ROS > > What we want to do is search for an IP address (all of them are /32s) in our > existing queues, and then change the name, max-limit and comment fields for > each IP. We are writing an export from our Azotel CRM in PERL that will > produce individual /simple queue commands for each existing queue. > > We have tried many variations. This seems to be what we are looking for but > it doesn't change anything. > /queue simple find target-addresses=198.172.211.207 name="Bubba Gump" > > If we try and use a command to show us a match, we get output as :put > [/queue simple find target-addresses=198.172.211.207/32] > *10c > > We have looked at lots of examples online, but not seeing what we need. > > Can you steer us in the right direction > > Paul McCall, Pres. > PDMNet / Florida Broadband > 658 Old Dixie Highway > Vero Beach, FL 32962 > 772-564-6800 office > 772-473-0352 cell > www.pdmnet.com<http://www.pdmnet.com/> > [email protected]<mailto:[email protected]> > > -------------- next part -------------- An HTML attachment was > scrubbed... > URL: > <http://mail.butchevans.com/pipermail/mikrotik/attachments/20140520/77 > a26543/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 _______________________________________________ Mikrotik mailing list [email protected] http://mail.butchevans.com/mailman/listinfo/mikrotik Visit http://blog.butchevans.com/ for tutorials related to Mikrotik RouterOS

