cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2983
Views
30
Helpful
14
Replies

Router backup configuration

prince.p
Level 1
Level 1

Hi Friends

I need to backup my cisco 2911 router configuration using tftp server.but it showing  error  %Error opening tftp://10.1.0.100/routerconfig.txt (Timed out)

 

can able to copy the configuration file from switch using same TFTP server. only from router i cant able to backup the files.

R1apps#copy run
R1apps#copy running-config tftp
Address or name of remote host []? 10.1.0.100
Destination filename [tring_apps-confg]? routerconfig.txt
.....
%Error opening tftp://10.1.0.100/routerconfig.txt (Timed out)

i even bypassed the firewall and checked . still i am getting same issue.

 

 

 

3 Accepted Solutions

Accepted Solutions

What are you using as TFTP server ? 

View solution in original post

Hi

Have you tried changing

copy running-config tftp

by 

copy running-config tftp:

or

copy flash: tftp:  <--- you could specify the directory (if it is required). 

 

Otherwise, check windows firewall, antivirus, etc. 

 

Now the easy way to obtain a backup is using putty and enabling the following settings:

 

- Right click on putty at the top (gray/white color)

- Clic on logging (left side)

- Select printable output

- Select where are you going to save the config on your laptop

- Finally execute a show run on your device and everything displayed on the screen will be saved on the new file on your computer.

 

Hope it is useful

:-)

 




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

View solution in original post

Hi

Sure, basically with putty is copy and paste, as you will generate a file with your entire configuration, you can open the file and copy the config, then just right clic on puty and it will paste the configuration to your router.

Then you can compare the old configuration with the new through:

 

https://text-compare.com/




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

View solution in original post

14 Replies 14

What are you using as TFTP server ? 

solid winds tftp server in my laptop.

i can able to backup my switch configuration

As you mentioned, you able to take backup of switch configuration ?

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

yes , i can able to backup from switch to tftp server

 

just for kicks, on the 2911 can you do a:

sho run | incl tftp

 

just to see if there is a tftp source-interface statement? Not very common on the 2911s, in my experience but might be worth checking.

 

are you able to ping your laptop from the router, before you trying copying the config?

 

look at the solarwinds side it should be able to show some activity? like "incomming request" or even a logfile

 

second option: try to create an empty file first

if so the tftp has write access but no create access, existing files may be overwritten but cannot create a new file.

 

Hi

Have you tried changing

copy running-config tftp

by 

copy running-config tftp:

or

copy flash: tftp:  <--- you could specify the directory (if it is required). 

 

Otherwise, check windows firewall, antivirus, etc. 

 

Now the easy way to obtain a backup is using putty and enabling the following settings:

 

- Right click on putty at the top (gray/white color)

- Clic on logging (left side)

- Select printable output

- Select where are you going to save the config on your laptop

- Finally execute a show run on your device and everything displayed on the screen will be saved on the new file on your computer.

 

Hope it is useful

:-)

 




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

thanks for the solution.

i can able to copy from putty what you mentioned and i need to restore back the same backup.so can you explain how to do restore from putty

Hi

Sure, basically with putty is copy and paste, as you will generate a file with your entire configuration, you can open the file and copy the config, then just right clic on puty and it will paste the configuration to your router.

Then you can compare the old configuration with the new through:

 

https://text-compare.com/




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<


@Julio E. Moisa wrote:

Then you can compare the old configuration with the new through:

 


Oh, compare old and new config?  

I just use the command "sh archive config diff <FILE 1> <FILE 2>".

thank you to all.

I just restarted the router now i can able to backup the running configuration using tftp server.

Leo Laohoo
Hall of Fame
Hall of Fame

@prince.p wrote:

%Error opening tftp://10.1.0.100/routerconfig.txt (Timed out)

i even bypassed the firewall and checked . still i am getting same issue. 


What is this machine acting as a TFTP server?  I'd recommend using a different machine.  

i tried with different machine also . it showing same error

going back to basic. you able to ping and reachable TFTP IP from Switch ?

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card