Community discussions

MikroTik App
 
Zapnologica
Long time Member
Long time Member
Topic Author
Posts: 594
Joined: Fri Sep 25, 2009 8:15 pm
Location: South frica

How to export dhcp static entires

Tue May 13, 2014 8:54 pm

I am migrating my client to a new mikrotik for thier main router,

Currently they have quite a few static entries on the dhcp server,

How can I export these and then import them on the new server.
The same with the firewall nat rules, if i had to retype them it would take quite some time

Thanks
 
tlamik
Frequent Visitor
Frequent Visitor
Posts: 57
Joined: Fri Mar 21, 2014 11:54 am

Re: How to export dhcp static entires

Tue May 13, 2014 9:26 pm

Maybe I not understand good, but :

/ip dhcp-server lease export file=dhcp
/ip firewall nat export file=nat

then

/import file-name=dhcp
/import file-name=nat
 
LaZyLion
newbie
Posts: 32
Joined: Fri May 09, 2014 10:27 am

Re: How to export dhcp static entires

Wed May 14, 2014 5:07 am

Is their old router also a Mikrotik or RouterOS?

If so, Log in via SSH using putty. (You can also use serial or telnet.)

At the comment prompt type: /export file=settings

You can then use ftp, or scp, or Webfig/Files to a file called "settings.rsc".

You can edit this file in notepad.

Hope that helps.


LL

Who is online

Users browsing this forum: No registered users and 16 guests