I have a long list of assigned IP address in dhcp server.
I only want to export and import in another router a part of them.
How to do this?
It seems the ‘exp’ command just prints (or creates a file) with all settings withing that sub-menu?
I am looking for something like:
ip dhcp-server lease
exp find [addresses=172.25.33.0/27]
Anybody any clues?
Caci99
2
try this
/ip dhcp-server lease
print file=test where address>172.25.33.0 and address<172.25.34.0
I need an export command, so I can import it in a new router.
and something with a network range, like 192.168.1.0/28
How can I use the print output that is dumped in a file? I can’t use that file to import.
Anybody has other ideas?