How to Backup & Restore config in Cisco routers and switches using Hyperterminal

The easiest method to backup Cisco routers and Switches would be when you are logged onto it using a tool like HyperTerminal either via telnet,ssh or via console.

For information on how to backup config on a cisco router or a switch using TFTP click here

The following procedure explains how to backup cisco switches or routers running-config using HyperTerminal.

Hyperterminal is a console / terminal emulator program which has the capability to capture text from the terminal to which it is connected to. This is the feature that allows us to backup the Cisco IOS running-config.

Logon to the privilege Exec mode on the  router or switch using Hyperterminal. Once in, click "Transfer" from the Main menu and select "Capture Text"

hyperterminal capture text

Now, select the location and the filename to which the config needs to be saved and click "start"

select file name

Now, do a show running-config

ciscorouter# sh run

Press Space bar on your pc until you reach the end of the running-config. This should allowed the HyperTerminal console to capture all the text. Clic Transfer again and click "Capture Text" and "Stop"

stop capture

This will stop the capture. Open the file and remove all the lines (like the ones showing the "sh run" command typed) and simply save the file.

Restore the config

Ensure that you have removed all the lines that starts with "AAA" to ensure the security commands doesn't lock you out.

To restore the config, open the saved config file and copy all the text in the file ( in Notepad, Edit – "Select All" & "Copy")

Now, on the console, click Hyperterminal console connected to the router, click Edit and select "Paste to host". This copies the config onto the router and once done, returns you to the prompt. Verify if the running config is updated and simply write to the memory so the running-config is updated to the startup config.

ciscorouter# sh run

ciscorouter# wr mem
Building Configuration
[OK]

Thats it. All back to business. This restore can also be done on another router if you want to replace with a replacement unit.

Comments

8 responses to “How to Backup & Restore config in Cisco routers and switches using Hyperterminal”

  1. Isaac Uban Avatar

    When I “paste to host” it seems to trip over or skip characters.

  2. Ruveni Avatar
    Ruveni

    This is a very detailed infor of what I have been searching for and certainly a very helpful piece of knowledge to teaching oneself.

    Bravo !

  3. Kea Avatar
    Kea

    Does it allow one to backup multiple routers at a time?

  4. admin Avatar
    admin

    Basically it captures everything from the session. You have one session under one terminal. So, I would say one at a time…HopeI understood your question.

  5. admin2 Avatar
    admin2

    i think you’ll have more success by copying the running-config to a TFTP server, down loadable for free, and then downloading the config file to the router. It won’t skip over characters and seemed to work cleaner than copying and pasting.

  6. Sharrif Avatar

    it is very good information for us to know how backup is made

  7. Ajinkya Avatar
    Ajinkya

    This explanation with screenshots is really very helpful..
    Thanks…

Leave a Reply

Your email address will not be published. Required fields are marked *