Note: This step is to remove any security commands that could lock you out of the router.Ĭonnect to the router that needs the configuration. Search for and remove any line that starts with "AAA". Open the config.txt file you created in any text editor, such as Notepad or Wordpad. On the HyperTerminal menu, choose Transfer > Capture Text > Stop in order to end the screen capture. Issue the show running-config command, and allow time for the router to complete its response. On the HyperTerminal menu, choose Transfer > Capture Text.Ĭlick Start in order to dismiss the Capture Text window and begin the capture. This allows you to capture the configuration without extraneous -more- prompts generated when the router responds one screen at a time. Issue the terminal length 0 command in order to force the router to return the entire response at once, rather than one screen at a time. If the configuration needs to be copied from another router, connect to that router through the console or Telnet. This is a description of the procedure using Microsoft Hyperterminal Terminal Emulation software: Use a Terminal Emulation Program to Backup and Restore a ConfigurationĪ terminal emualation program can be used to back up and restore a configuration.
Router# copy ftp: running-configĪddress or name of remote host ?ġ030 bytes copied in 13.213 secs (78 bytes/sec) CE_2# copy running-config ftp:Īddress or name of remote host ? 10.66.64.10ĭestination filename ? backup_cfg_for_routerġ030 bytes copied in 3.341 secs (308 bytes/sec)Ĭopy the configuration file from the FTP server to a router in privileged (enable) mode which has a basic configuration. CE_2# config terminalĬopy the configuration to the FTP server. In this procedure, an FTP server can be used in place of a TFTP server.Ĭonfigure the FTP username and password.
Use an FTP Server to Backup and Restore a Configuration Source filename ? backup_cfg_for_my_router Note: This step is to remove any security commands that can lock you out of the router.Ĭopy the configuration file from the TFTP server to a new router in privileged (enable) mode which has a basic configuration. Open the configuration file with a text editor. The prompt changes to Router#, which indicates that the router is now in privileged mode.Ĭopy the running configuration file to the TFTP server: CE_2# copy running-config tftp:Īddress or name of remote host ? 64.104.207.171ĭestination filename ? backup_cfg_for_my_routerġ030 bytes copied in 2.489 secs (395 bytes/sec)
#Mikrotik backup config txt password#
Before you proceed with this method, make sure you have a TFTP server on the network to which you have IP connectivity.Īt the Router> prompt, issue the enable command, and provide the required password when prompted. This is a step-by-step approach to copy a configuration from a router to a TFTP server, and back to another router.
Use a TFTP Server to Backup and Restore a Configuration There are several methods to choose from in order to back up and restore a configuration:Īutomatic Backup of Configuration using the Kron Method Refer to Cisco Technical Tips Conventions for more information on document conventions. If your network is live, make sure that you understand the potential impact of any command. All of the devices used in this document started with a cleared (default) configuration. The information in this document was created from the devices in a specific lab environment.
#Mikrotik backup config txt software#
This document is not restricted to specific software and hardware versions. Use the ping command to verify connectivity. Prerequisites Requirementsīefore you use the information in this document, make sure that you meet these requirements:Īccess to a Trivial File Transfer Protocol (TFTP) or File Transfer Protocol (FTP) server.Ĭonnectivity - Routers must be able to access the FTP or TFTP server. This document provides the user with some basic steps to migrate the configuration from an existing router to a new router. Routers often get upgraded or swapped out for a number of reasons.