10-03-2020 04:00 PM
Hello,
I managed to back up the running config on a Cisco 2911 using tftp, the file is sitting on a Linux server.
I can copy the file using tftp, from my workstation. So both writing to and reading from the tftp server is working.
However, when I try to copy the file to the Cisco 2951 I get this:
Charon#copy tftp: running-config
Address or name of remote host []? 192.168.x.y
Source filename []? backups/2951/charon-confg
Destination filename [running-config]?
Accessing tftp://192.168.x.y/backups/2951/charon-confg...
%Error opening tftp://192.168.x.y/backups/2951/charon-confg (Timed out)
is there something on the Cisco 2951 that I have to set/configure for it to read the file from a tftp server?
thanks,
Ron
10-03-2020 07:58 PM
Ron
Why do you try to hide IP addresses that are in the reserved private address range? 192.168.x.y? It just makes it more challenging for us to understand your environment and more difficult to give you good advice.
Without knowing more about your environment we can not be sure if there is anything that you would need to configure on the 2951 to get tftp to work. We can say that in general there is not any special configuration to enable tftp to work. I do have some comments and questions:
- is there IP connectivity between the 2951 and the tftp server?
- can you confirm that the tftp server is looking in the correct directory for the file?
- can you check the logs on the tftp server and see if it is receiving the request? are there any log messages that might explain why it is not sending the file?
10-04-2020 04:37 PM
Hello Richard,
the "hiding IP addresses" is just a work habit, we always do, so I tend to do that at home too.
as I mentioned to others here, just now, I think I figured it out. I connected that 2951 to the network and thought I could just connect to it, which did work when in the same subnet, however the tftp server isn't. So I had to create another interface on the 2951 to see that subnet too.. I didn't realize that.
thanks,
Ron
10-04-2020 12:43 AM
I will follow below steps :
1. Make sure router able to ping the TFTP IP address ? YES - proceed below - if not investigate routing issue.
2. either i will set the TFTP root where the file residing(make simple) or copy config file in to TFTP root folder.
3. For testing, Copy from Router running config to TFTP Server and see if that work (if that work it work other way around too)
10-04-2020 04:35 PM
Hello BB
connectivity was indeed the issue.
I think I figured it out. I connected that 2951 to the network and thought I could just connect to it, which did work when in the same subnet, however the tftp server isn't. So I had to create another interface on the 2951 to see that subnet too.. I didn't realize that.
thanks,
Ron
10-04-2020 04:23 AM
Hello
Did you enable the Ciso2911 ios file for a tftp server?
tftp-server flash:xxxxxx.bin
10-04-2020 04:34 PM
Hello Paul,
Yes, I was able to save the config using tftp, I also load the static address files that way.
I think I figured it out. I connected that 2951 to the network and thought I could just connect to it, which did work when in the same subnet, however the tftp server isn't. So I had to create another interface on the 2951 to see that subnet too.. I didn't realize that.
thanks,
Ron
10-05-2020 12:23 PM
Hello,
the tftp part is working, it was indeed the case that I needed to create a sub interface in he same subnet as where the tftp server lives.
when I put the config file (from the 2911) on the 2951 it complain about the line "cts logging verbose" not being recognized, and basically every line after that is an error. (is cts something that is available on some models, but not others?)
Also, I probably have to get rid of the "license udi ..." line, since that is from the 2911 ?
thanks,
Ron
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