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,761 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
  • 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
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

This is an article about my experiences with remote access to my clients (so that I may serve them) and eventually to my home office system via Radmin Remote Control. I have been using remote access for over 10 years and have been improving my metho…
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

776 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