Community discussions

MUM Europe 2020
 
oscarBravo
newbie
Topic Author
Posts: 33
Joined: Wed Aug 29, 2007 8:31 pm

Limitation of the "find" command

Wed Nov 05, 2008 4:34 pm

Hi - it would be useful for me to be able to search the wireless registration table for a specific "last-ip" value, like this:
[admin@farn10] /interface wireless registration-table>print from=[find last-ip=1.2.3.4]
It doesn't seem to work. The "last-ip" value is only shown when I run "print stats"; is it possible that "find" isn't matching on that value for that reason?
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 5955
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: Limitation of the "find" command

Thu Nov 06, 2008 8:45 am

Works for me:
[admin@gw-loc] /interface wireless registration-table> :put [ find last-ip="172.16.99.254" ]
*e

 
oscarBravo
newbie
Topic Author
Posts: 33
Joined: Wed Aug 29, 2007 8:31 pm

Re: Limitation of the "find" command

Thu Nov 06, 2008 2:04 pm

Nope, still not happening here. I'm on 3.13 - what version is working for you?
 
oscarBravo
newbie
Topic Author
Posts: 33
Joined: Wed Aug 29, 2007 8:31 pm

Re: Limitation of the "find" command

Thu Nov 06, 2008 2:14 pm

[admin@farn10] /interface wireless registration-table> print stats                        
0 interface=wlan1 radio-name="000B6B816E42" mac-address=00:0B:6B:81:6E:42 ap=no 
   wds=no rx-rate="54Mbps" tx-rate="54Mbps" packets=26833234,13487843 
   bytes=705988837,2653490026 frames=26833234,13487843 
   frame-bytes=544989505,2572562968 hw-frames=27949787,13487864 
   hw-frame-bytes=2485843485,2896271889 tx-frames-timed-out=0 
   uptime=1w1d18h31m47s last-activity=510ms signal-strength=-72dBm@54Mbps 
   signal-to-noise=26dB 
   strength-at-rates=-66dBm@6Mbps 14s450ms,-66dBm@9Mbps 5d19h1m36s950ms,-
                     66dBm@12Mbps 5d19h1m36s940ms,-66dBm@18Mbps 5d19h1s240ms,-
                     67dBm@24Mbps 1d18h12m47s610ms,-68dBm@36Mbps 
                     1d17h41m30s200ms,-70dBm@48Mbps 3m32s480ms,-72dBm@54Mbps 
                     510ms 
   tx-signal-strength=-64dBm tx-ccq=99% rx-ccq=100% p-throughput=30383 
   ack-timeout=66 nstreme=no framing-mode=none routeros-version="3.13" 
   last-ip=10.30.206.6 802.1x-port-enabled=yes compression=no wmm-enabled=no 

[admin@farn10] /interface wireless registration-table> :put [ find last-ip="10.30.206.6" ]          

[admin@farn10] /interface wireless registration-table> 
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 5955
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: Limitation of the "find" command

Thu Nov 06, 2008 2:28 pm

latest version v3.16
 
oscarBravo
newbie
Topic Author
Posts: 33
Joined: Wed Aug 29, 2007 8:31 pm

Re: Limitation of the "find" command

Mon Nov 10, 2008 1:13 pm

Upgraded to 3.16 and it works now - thanks.
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6283
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: Limitation of the "find" command

Wed Nov 12, 2008 3:12 pm

you had to use quotation for find to work correctly, in 3.16 you can use with or without quotation.

Who is online

Users browsing this forum: No registered users and 10 guests