Router Backup - Router Forums
 
LinkBack Thread Tools Display Modes
post #1 of 7 (permalink) Old 01-21-2014, 04:47 AM Thread Starter
Registered User
 
Join Date: Jan 2014
Country: India
First Name: yuva_cisco
Posts: 1
 
Smile Router Backup

HI

How to make router backup in cisco router , while there isn't any HSRP or any Dynamic routing protocol is configured on that router , assume some default config is loaded .


Thanks
Yuvaraj
yuva is offline  
Sponsored Links
Advertisement
 
post #2 of 7 (permalink) Old 01-21-2014, 05:01 AM
Official Greeter
 
jw2170's Avatar
 
Join Date: Jan 2008
Country: Australia
First Name: James
Posts: 18,343
 
Send a message via Skype™ to jw2170
Default

HI Yuva-Cisco,

I am beginning to doubt that India is the IT capital of the world.

The number of requests we get from India regarding Router solutions makes me wonder.

This is a forum for woodworking routers.

James
Sydney, Australia
.

I don't mind if other members disagree with my comments.
I don't profess to know everything, and I may learn something new.

"Never attribute to malice that which is adequately explained by stupidity."




jw2170 is online now  
post #3 of 7 (permalink) Old 01-21-2014, 06:15 AM
Registered User
 
neville9999's Avatar
 
Join Date: Jan 2012
Country: Australia
First Name: Neville
Posts: 1,841
 
Send a message via Yahoo to neville9999
Default

James I do love them when they turn up, it's a hoot. N
neville9999 is offline  
Sponsored Links
Advertisement
 
post #4 of 7 (permalink) Old 01-21-2014, 07:25 AM
Registered User
 
Iceman567's Avatar
 
Join Date: Apr 2012
Country: United States
First Name: Ted
Posts: 242
 
Default Hope this helps

Prerequisites
Requirements

Before you use the information in this document, make sure that you meet these requirements:

Access to a Trivial File Transfer Protocol (TFTP) or File Transfer Protocol (FTP) server.

Connectivity - Routers must be able to access the FTP or TFTP server. Use the ping command to verify connectivity.

Components Used

This document is not restricted to specific software and hardware versions.

The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command.
Conventions

Refer to Cisco Technical Tips Conventions for more information on document conventions.
Make a Backup of the Configuration

There are several methods to choose from in order to back up and restore a configuration:

Use a TFTP server

Use an FTP server

Use a Terminal Emulation Program

Automatic Backup of Configuration using the Kron Method

Backup Configuration to a TFTP Server

Use a TFTP Server to Backup and Restore a Configuration

This is a step-by-step approach to copy a configuration from a router to a TFTP server, and back to another router. Before you proceed with this method, make sure you have a TFTP server on the network to which you have IP connectivity.

At the Router> prompt, issue the enable command, and provide the required password when prompted.

The prompt changes to Router#, which indicates that the router is now in privileged mode.

Copy the running configuration file to the TFTP server:

CE_2#copy running-config tftp:
Address or name of remote host []? 64.104.207.171
Destination filename [ce_2-confg]? backup_cfg_for_my_router
!!
1030 bytes copied in 2.489 secs (395 bytes/sec)
CE_2#

Open the configuration file with a text editor. Search for and remove any line that starts with "AAA".

Note: This step is to remove any security commands that can lock you out of the router.

Copy the configuration file from the TFTP server to a new router in privileged (enable) mode which has a basic configuration.

Router#copy tftp: running-config
Address or name of remote host []? 64.104.207.171
Source filename []? backup_cfg_for_my_router
Destination filename [running-config]?
Accessing tftp://10.66.64.10/backup_cfg_for_my_router...
Loading backup_cfg_for_router from 64.104.207.171 (via FastEthernet0/0): !
[OK - 1030 bytes]

1030 bytes copied in 9.612 secs (107 bytes/sec)
CE_2#

Use an FTP Server to Backup and Restore a Configuration

In this procedure, an FTP server can be used in place of a TFTP server.

At the Router> prompt, issue the enable command, and provide the required password when prompted.

The prompt changes to Router#, which indicates that the router is now in privileged mode.

Configure the FTP username and password.

CE_2#config terminal
CE_2(config)#ip ftp username cisco
CE_2(config)#ip ftp password cisco123
CE_2(config)#end
CE_2#

Copy the configuration to the FTP server.

CE_2#copy running-config ftp:
Address or name of remote host []? 10.66.64.10
Destination filename [ce_2-confg]? backup_cfg_for_router
Writing backup_cfg_for_router !
1030 bytes copied in 3.341 secs (308 bytes/sec)
CE_2#

Open the configuration file with a text editor. Search for and remove any line that starts with "AAA".

Note: This step is to remove any security commands that can lock you out of the router.

Copy the configuration file from the FTP server to a router in privileged (enable) mode which has a basic configuration.

Router#copy ftp: running-config
Address or name of remote host [10.66.64.10]?
Source filename [backup_cfg_for_router]?
Destination filename [running-config]?
Accessing ftp://10.66.64.10/backup_cfg_for_router...
Loading backup_cfg_for_router !
[OK - 1030/4096 bytes]
1030 bytes copied in 13.213 secs (78 bytes/sec)
CE_2#

Use a Terminal Emulation Program to Backup and Restore a Configuration

A terminal emualation program can be used to back up and restore a configuration. This is a description of the procedure using Microsoft Hyperterminal Terminal Emulation software:

If the configuration needs to be copied from another router, connect to that router through the console or Telnet.

At the Router> prompt, issue the enable command, and provide the required password when prompted.

The prompt changes to Router#, which indicates that the router is now in privileged mode.

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.

This allows you to capture the configuration without extraneous --more-- prompts generated when the router responds one screen at a time.

On the HyperTerminal menu, choose Transfer > Capture Text.

The Capture Text window appears.

Name this file "config.txt."

Click Start in order to dismiss the Capture Text window and begin the capture.

Issue the show running-config command, and allow time for the router to complete its response. You will see:

Building configuration...

followed by the configuration.

On the HyperTerminal menu, choose Transfer > Capture Text > Stop in order to end the screen capture.

Open the config.txt file you created in any text editor, such as Notepad or Wordpad.

Search for and remove any line that starts with "AAA".

Note: This step is to remove any security commands that could lock you out of the router.

Save the file.

Connect to the router that needs the configuration.

Open the config.txt file.

Highlight the entire contents of the config.txt file.

You can do this by dragging the cursor from before the first character to after the last character in the file while holding down the left mouse button. Alternatively, if you use Notepad, you can choose Edit > Select All from the menu.

Copy the selected text to the Windows clipboard.

You can either choose Edit > Copy from the text editor menu, or hold down the CTRL key and simultaneously press the C key in order to perform the copy.

Switch to the HyperTerminal window, and issue the configure terminal command at the Router# prompt. Then press Enter.

Paste the configuration file into the router by selecting Edit > Paste to Host on the HyperTerminal menu.

After the configuration has finished pasting and the router brings you back to the configuration prompt, issue the copy running-config startup-config command in order to write the configuration into memory.

Issue the exit command in order to return to the Router# prompt.

Automatic Backup of Configuration using the Kron Method

In order to get a router to copy the running-config to startup-config, for example every Sunday at 23:00, complete these steps:

Create a kron policy list—This is the script that lists what commands the router should run at the scheduled time.

Router(config)#kron policy-list SaveConfig

Router(config-kron-policy)#cli write
Router(config-kron-policy)#exit

cli—Specifies EXEC CLI commands within a Command Scheduler policy list.

Policy-list—Specifies the policy list associated with a Command Scheduler occurrence.

Note: The reason why write was used rather than copy running-config startup-config is because kron does not support interactive prompts and the copy running-config startup-config command requires interaction. It is important to remember this when you create commands. Also, note that kron does not support configuration commands.

Create a kron occurrence—This informs the router when and how often the policy should run.

Router(config)#kron occurrence SaveConfigSchedule
at 23:00 Sun recurring
Router(config-kron-occurrence)#policy-list SaveConfig

SaveConfigSchedule—This is the name of occurrence. Length of occurrence-name is from 1 to 31 characters. If the occurrence-name is new, an occurrence structure will be created. If the occurrence-name is not new, the existing occurrence will be edited.

at—Identifies that the occurrence is to run at a specified calendar date and time.

recurring—Identifies that the occurrence is to run on a recurring basis.

Verify the kron configuration by using the show command.

Router#sh kron schedule
Kron Occurrence Schedule
SaveConfigSchedule inactive, will run again in 1 days 12:37:47 at 23:00 on Sun

inactive—Means that kron is not running the command(s) at present.

Active—Means that kron is running the current command(s).

Router#show running-configuration
kron occurrence SaveConfigSchedule at 23:00 Sun recurring
policy-list SaveConfig
kron policy-list SaveConfig
cli write

B

The trouble with quotes on the internet is that you never know if they are genuine. - Abraham Lincoln

Last edited by Iceman567; 01-21-2014 at 07:26 AM. Reason: L.O.L.
Iceman567 is offline  
post #5 of 7 (permalink) Old 01-21-2014, 07:30 AM
Marine Engineer
 
kp91's Avatar
 
Join Date: Sep 2004
Country: United States
First Name: Doug
Posts: 4,553
 
Default

As much as I use my 3 PC 890 routers, I still keep my old 693 router as a backup.

Doug
1 John 1:9
Fredericksburg, VA




http://disasterreliefeffort.org/
kp91 is offline  
post #6 of 7 (permalink) Old 01-21-2014, 10:58 AM
Registered User
 
david_de's Avatar
 
Join Date: Jun 2013
Country: United States
First Name: Dave
Posts: 252
 
Default

My routers are really not worth the time it would take to back them up. I am just going to replace them when they fail. The data is not really worth keeping but I should be able to reuse the bits. Or is that bytes?
david_de is offline  
post #7 of 7 (permalink) Old 01-21-2014, 09:33 PM
Official Greeter
 
old55's Avatar
 
Join Date: Aug 2013
Country: Australia
First Name: Ross
Posts: 6,631
 
Default

What James said.

Ross,
Rockhampton, Queensland, Australia


Enjoy the knowledge of others that can be found within.

‘Members are requested to add a first name in their profile as we are a very friendly bunch here'.
old55 is offline  
Reply

Quick Reply
Message:
Options

Register Now



In order to be able to post messages on the Router Forums forums, you must first register.
Please enter your desired user name, your email address and other required details in the form below.

User Name:
Password
Please enter a password for your user account. Note that passwords are case-sensitive.

Password:


Confirm Password:
Email Address
Please enter a valid email address for yourself.

Email Address:
OR

Log-in











Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page
Display Modes
Linear Mode Linear Mode



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sort Members by City or Zip RJM60 Site Help and Suggestions 56 03-13-2014 06:40 PM
The use of a Router table as a Profile Copier neville9999 Jigs and Fixtures 4 12-06-2012 12:44 PM
Help on mounting triton guides (TGA001) on a router table dex2008 Table-mounted Routing 9 08-23-2012 07:38 PM
RouterForums.com and Oak-Park.com - September 2006 Contest!! Mark Contests Archive 72 10-01-2006 01:02 PM

Posting Rules  
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On

 
For the best viewing experience please update your browser to Google Chrome