Community discussions

MikroTik App
 
verb
just joined
Topic Author
Posts: 1
Joined: Thu Dec 09, 2021 5:52 pm

How to restore static dhcp leases from file

Thu Dec 09, 2021 5:59 pm

Hello everyone,
First time here and very happy to join the community. Could you please help to restore my static dhcp leases from my old mikrotik routeros v6 to new one routeros v7. I have exported the config using following command : ip dhcp-server lease print terse file=dhcp_leases after that i have upload the file via web interface but now is where i am stuck and have no idea how to restore. I have also tried to
export via: ip dhcp-server export file=filename .

Thank you
 
Sob
Forum Guru
Forum Guru
Posts: 9121
Joined: Mon Apr 20, 2009 9:11 pm

Re: How to restore static dhcp leases from file

Fri Dec 10, 2021 10:02 pm

First one is useless, but export is commands you can simply copy and paste in terminal.

Who is online

Users browsing this forum: ShindigNZ and 76 guests