Hi.
I'm trying to get all the active DHCP leases using this command and I get no result even though there are currently 2 active leases sent by the DHCP server (and I can see them in WinBox).
[admin@rb2011] > ip dhcp-server lease print where status=bound
Flags: X - disabled, R - radius, D - dynamic, B - blocked
ADDRESS MAC-ADDRESS HOST-NAME SERVER RATE-LIMIT STATUS
[admin@rb2011] >
However, if I run the command like below, I get the results I was expecting on the first command.
[admin@rb2011] > ip dhcp-server lease print where status!=bound
Flags: X - disabled, R - radius, D - dynamic, B - blocked
ADDRESS MAC-ADDRESS HOST-NAME SERVER RATE-LIMIT STATUS
0 ;;; NAS
10.1.1.13 AA:BB:CC:DD:EE:FF NAS default bound
1 ;;; [MOB]-LG-E460
10.1.1.21 FF:EE:DD:CC:BB:AA android-2bf5ee4d... default bound
Am I using it wrong or the operators are just screwed up?
Thanks a lot.
Sorin
System-Info
board-name: RB2011UiAS-2HnD
platform: MikroTik
architecture-name: mipsbe
version: 6.7
build-time: Nov/29/2013 13:37:20