X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How To Back Up and Restore Configuration on CISCO Devices

    Configuration backup is a very important process. Here is a quick guide for backing up Routers configuration.
    (This example is for Cisco 800 Series router but the process is the same for other Cisco devices).


    Cisco 800 series Backup-Restore Config



    We create a new connection with Windows HyperTerminal (or any other terminal emulation tool)

    We must select the COM port that Router is connected and the rest settings like this:

    bits per second:9600
    data bits:8
    parity:none
    stop bits:1
    flow control:none
    Click image for larger version

Name:	terminal-settings.gif
Views:	2
Size:	36.5 KB
ID:	3690


    ROUTER1 (BACKUP PROCESS):
    Commands:
    >enable
    -Here we enter routers password-
    after entering pass, we will see the '#' after routers name.
    then we type:
    router# show running-config
    (this will show the routers configuration)
    we must copy the configuration from the terminal window to a text file. Or else, we can click on Terminal menu “Transfer>Capture text” and we save that text file.

    Passwords from that text file must be decrypted! We can decrypt passwords in some websites (Like:
    http://www.firewall.cx/modules.php?name=Cisco_Decrypter)
    We must decrypt password and replace encrypted password in the text file with the decrypted one and remove the encryption number (7).

    Eg. the : username user123 password 7 03003E2E05077C4F4007
    Will be : username user123 password dEch=cnn

    Passwords that have not 7 encryption method (like login password which usually has encryption 5) cannot be decrypted.
    We must know or change them.



    ROUTER2 (RESTORE METHOD):
    Commands:
    >enable
    -enter routers password (default: Cisco or cisco or admin or default )-
    router# config terminal
    -enter config from text file (backup) line per line (copy, paste, enter) not whole text once-
    then type:
    router-config terminal# end
    router# write mem
    (this saves settings)

    router# show ip interface brief
    -If an interface (atm , vlan 1, bri0, is Administratively Down on status, then following command ire requied to enable it-
    router# config terminal, interface vlan 1 (vlan 1 as example)
    no shut
    end
    router# write mem
    (this saves settings)

    -restart router-


    Remove routers password (this will clear NVRAM):
    If router asks for Username and Password then we must erase NVram:
    Router# erase st[TAB] (erase startup-config)
    Router# reload
    Save? : NO
    Enter intial setup?: NO
    Last edited by Rafail; 30-12-2014, 07:16 PM.
    This is your life and it's ending one minute at a time.
    Tyler Durden
    ---------------------------------------------------------------------------

  • #2
    very nice and helpful post, thanks for the post.it will help me a lot.

    Comment

    Working...
    X