Solved

Backing up Cisco Switch to a TFTP server, SW1#copy running-config tftp ..... %Error opening tftp://199.209.225.4/Mini19SW1 (Undefined error)

Posted on 2006-11-18
9
4,830 Views
Last Modified: 2008-01-09
I want to back up a Cisco Switch, I try to back it up to a tftp server and I get the following error message ..... %Error opening tftp://192.215.36.4/SW1 (Undefined error), I know its the correct IP and I've tried two different computers as TFTP servers and get the same message.

The command I'm using on the Switch is:
SW1#copy running-config tftp .....

I get this erro message:
%Error opening tftp://192.215.36.4/SW1 (Undefined error)

Does anyone know a fix?

Thank you,
DSterling
0
Comment
Question by:dsterling
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
  • +2
9 Comments
 
LVL 9

Expert Comment

by:crawfordits
ID: 17971231
Double check the syntax (ex copy running-config tftp ?)
Try copy running-config tftp (enter)
192.215.36.4 (enter)
filename (enter)
It will place the config file where every your tftp program is located
Make sure your tftp program is running on 192.215.36.4
0
 
LVL 79

Expert Comment

by:lrmoore
ID: 17971507
also make sure the tftp server is set to take or receive all files as well as give or send all files (security settings on most tftp servers)

The correct syntax to send the config to tftp server is not "copy" but rather "write"

switch#write net
IP address of tftp server:
destination file name:
0
 
LVL 57

Expert Comment

by:giltjr
ID: 17971732
copy does work on some switches, but not all.  write should work on all switches.

Is SW1 the file name or the directory that the file should be put in?  If it is the directory, make sure that it exists on the tftp sever under the root directory of the tftp sever.  If it is the file name, then make sure the tftp sever has write access to it root directory.
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

Author Comment

by:dsterling
ID: 17971778
Irmore, how do I make sure that the tftp server is set to take or receive the file?

I was using the directions that my Boson CCNP NetSim uses, but I'll try the write when I get a chance.

thank you,
DSterling
0
 
LVL 79

Expert Comment

by:lrmoore
ID: 17971868
What tftp server are you using? Each one has different settings.
For example, if using Pumpkin, Options - Server tab, * Give all files,  * take all files
If using TFTPDesktop - File | Properties | Security | [x] No security
0
 
LVL 5

Expert Comment

by:jeffkell
ID: 17972265
For a typical linux tftp server, the file must already exist in the tftp directory.  On the server 'touch <filename>' for the name you wish to save the config under, then go back to the switch and use the write net.  This is a security restriction of the default linux tftp configuration.
0
 

Author Comment

by:dsterling
ID: 17973861
I didn't realize that I need to install software on a computer to enable it to allow copying of a Cisco Switch config to it as a TFTP server. I was using a XP Pro laptop computer and trying to copy the Switch config to it. What is a program I could use to enable it as a TFTP server?

DSterling
0
 
LVL 79

Accepted Solution

by:
lrmoore earned 250 total points
ID: 17974202
I use Pumpkin from http://www.klever.net
Or TFTPd32
http://www.snapfiles.com/get/Tftpd32.html
Or TFTP Desktop
http://www.weird-solutions.com/
Products | Desktop software | TFTP

All of the above are free.


0
 
LVL 57

Expert Comment

by:giltjr
ID: 17974512
I use TFTPd32.  We have also recenlty setup a RANCID (http://www.shrubbery.net/rancid/) sever to automatically pull config files and keep track of changes.  Having RANCID or something like it is great when you have more than a couple switches.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

736 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question