From MikroTik Wiki
Revision as of 13:35, 18 March 2016 by Nest (talk | contribs) (small clarifications and correct minor spelling / grammar errors)
Jump to: navigation, search

Applies to RouterOS: v4


Flashfig is an application for mass router configuration. It can be used by MikroTik distributors, ISPs or any other companies who need to apply RouterOS configuration to many routers in the shortest possible time.

Flashfig applies MikroTik RouterOS configuration to any RouterBOARD within 3 seconds. You can "flashfig" a batch of routers, the only thing you need is to connect RouterBOARD to network running Netinstall and to power it up.

Flashfig only runs on a Windows computer, Flashfig is available from downloads page.

Flashfig is supported by all RouterBOARDs. It works between a Windows computer with Flashfig and a RouterBOARD in the same broadcast domain (direct Layer 2 Ethernet network connection is required).

Flashfig support is enabled on every new RouterBOARD manufactured since March 2010 by default from the factory. For older models, Flashfig can be enabled via RouterBOOT or from MikroTik RouterOS console.

After Flashfig is used once on a brand new RouterBOARD, it is disabled to avoid unwanted reconfiguration at a later time. To use Flashfig a second time on the same router, you need to enable it in Bootloader settings.

If RouterOS reset-configuration command is used later, Flashfig configuration is not loaded, but the RouterOS default configuration. (To permanently overwrite factory default configuration, use Netinstall process not FlashFig).

Flashfig diagram shows the procedure of Flashfig, Flashfigdiagramm.png

Flashfig Example

This is a step by step example of how to use the Flashfig process to set a MikroTik RouterOS configuration to a 'factory fresh' RouterBOARD.


Flashfig is available from within the Netinstall program,



The Windows computer must be equipped with the following ports and contain the following files:

  • A working Ethernet port;
  • Valid .rsc file(s) with MikroTik RouterOS configuration similar to an export/import file. (Be aware of the text editor's treatment of CR/LF characters!);
  • Always use the latest NetInstall/Flashfig program available from the downloads page;

The RouterBOARD:

  • Flashfig is supported by the first time boot of RouterBOARD;


Windows Computer
  • Run Flashfig;
  • Prepare .rsc file, .rsc file is regular/import file, it accepts valid MikroTik RouterOS CLI commands. You can create .rsc file with any text-editor program (Notepad, Texteditor, TextEdit, Microsoft Word, OpenOffice Writer);


  • Assign Boot Client Address, which should be an address within the same subnet as that configured on the computer's Ethernet interface,


  • Browse for .rsc MikroTik RouterOS configuration file to apply to the RouterBOARD, highlight the file and Select to approve it,


  • Activate Flashfig server, now it is ready to Flashfig. Note, any RouterBOARD will be flashfig'ed within the network, when they are powered on with boot-device configured to flash-boot or flash-boot-once-then-nand,


  • Flashfig mode is enabled on every RouterBOARD from factory by default, which means no configuration is required on RouterBOARD.
  • If Flashfig is not enabled on your router, access the RouterBOARD with Winbox/Console and set the configuration,
/system routerboard settings set boot-device=flash-boot

or use more preferable option,

/system routerboard settigs set boot-device=flash-boot-once-then-nand

Your router is now ready for Flashfig.


Connect Ether1 of RouterBOARD and Flashfig computer to the same Local Area Network.

Run Flashfig

  • Plug in power for RouterBOARD
  • Check the status on Flashfig program,


Log shows "RouterBOARD Flashfigged" and RouterBOARD should make a sound and flash LED - it is now safe to unplug the router.

  • Flashfig configuration was applied to the RouterBOARD and it is ready to be used in production with this new config.