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,696 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
 

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
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.

 
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 Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Some time ago I was asked to set up a web portal PC to put at our entrance. When customers arrive, they could see a webpage 'promoting' our company. So I tried to set up a windows 7 PC as a kiosk PC.......... I will spare you all the annoyances I…
Let’s list some of the technologies that enable smooth teleworking. 
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
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…

757 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now