09-26-2018 03:38 AM - edited 03-08-2019 04:15 PM
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)
i 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.
Solved! Go to Solution.
09-26-2018 03:47 AM
What are you using as TFTP server ?
09-26-2018 04:27 AM - edited 09-26-2018 05:05 AM
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
:-)
09-27-2018 05:38 AM - edited 09-27-2018 06:44 AM
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:
09-26-2018 03:47 AM
What are you using as TFTP server ?
09-26-2018 04:02 AM
solid winds tftp server in my laptop.
i can able to backup my switch configuration
09-26-2018 04:57 AM
09-27-2018 05:35 AM
yes , i can able to backup from switch to tftp server
09-26-2018 05:01 AM
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?
09-27-2018 01:57 AM
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.
09-26-2018 04:27 AM - edited 09-26-2018 05:05 AM
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
:-)
09-27-2018 05:10 AM
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
09-27-2018 05:38 AM - edited 09-27-2018 06:44 AM
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:
09-27-2018 02:57 PM
@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>".
09-27-2018 06:33 AM
thank you to all.
I just restarted the router now i can able to backup the running configuration using tftp server.
09-26-2018 03:17 PM
@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.
09-27-2018 05:11 AM
i tried with different machine also . it showing same error
09-27-2018 05:13 AM
going back to basic. you able to ping and reachable TFTP IP from Switch ?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide