Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Trying to TFTP the running config from a 6506 running CAT)S

I have a 6506 with Supe 2. Trying to copy off the running config to my TFTP server. Used command "copy config tftp all" then responded with the IP address of the TFTP server and confirmed that I wanted the name to be myswitch.cfg

I then got a series of output lines with periods.

After 7 partial screen lines of dots, I go the message that there was no reponse from host. I watched my TFTP server and there was no activity (no attempts to connect, no failures).

Exact messages:

No reponse from host.

TFTP connection fail(-1)

file tftp:myswitch.cfg cannot be opened for write (TFTP write error)

Cannot write buffer to file

Cannot copy from config: to tftp:myswitch.cfg

I confirmed via ping that the CAT 6506 as able to reach the TFTP server

Jeff

21 REPLIES

Re: Trying to TFTP the running config from a 6506 running CAT)S

Jeff,

is your tftp server setup correctly? what tftp server are you using? is the machine the tftp server is running running a firewall? what tftp server are you running - I use a great one 3CDaemon from 3com

http://support.3com.com/software/utilities_for_windows_32_bit.htm

HTH>

New Member

Re: Trying to TFTP the running config from a 6506 running CAT)S

Andrew - I guess I should have added that to my description. Yes, the TFTP server is setup and functioning correctly. I also am using 3CDaeom. I was cpying off the configs of my home lab as I setup to work labs for CCIE voice. I have 16 routers and switches (2600 and 3550s). I was able to copy the configs off every one except the 6506 running CATOS. All were going to the same TFTP server setup the same way. I just went from one box to the next.

Re: Trying to TFTP the running config from a 6506 running CAT)S

From the switch - are you able to ping the tftp server? when you initiate the tftp connection from the switch, in the tftp server do you see the connection attempt?

HTH>

New Member

Re: Trying to TFTP the running config from a 6506 running CAT)S

Yes, I can ping the TFTP server from the switch and no, there is no indication in the TFTP server that the switch is attempting a connection

New Member

Re: Trying to TFTP the running config from a 6506 running CAT)S

Yes, I can ping the TFTP server from the switch and no, there is no indication in the TFTP server that the switch is attempting a connection

New Member

Re: Trying to TFTP the running config from a 6506 running CAT)S

Jeff,

Not sure about CatOS, but in IOS there is a command "ip tftp source-interface (interface)" which we usually set to be a management loopback address. Could it be that your switch is trying to connect from an address which has no route back to your TFTP server? This could explain why ping works but TFTP doesn't.

New Member

Re: Trying to TFTP the running config from a 6506 running CAT)S

Worth a shot, I will give it a try when I get home tonight

New Member

Re: Trying to TFTP the running config from a 6506 running CAT)S

no similar command in CATOS

Re: Trying to TFTP the running config from a 6506 running CAT)S

What is the command you are actually using to try and copy the config off?

New Member

Re: Trying to TFTP the running config from a 6506 running CAT)S

Andrew - its up in my original posting

"copy config tftp all" and then I respond to the queries for IP address and confirm the filename of myswitch.cfg

Re: Trying to TFTP the running config from a 6506 running CAT)S

but is your config name actually myswitch.cfg? can you post the output of "dir" ?

New Member

Re: Trying to TFTP the running config from a 6506 running CAT)S

Andrew, at work now. Will take a look when I get home

New Member

Re: Trying to TFTP the running config from a 6506 running CAT)S

Andrew - the only thing listed when I do a "dir" is one entry. That entry is the bin file of the OS. No entry for any config file

Re: Trying to TFTP the running config from a 6506 running CAT)S

So there is your problem, if you do not have a config file - you can't tftp it!

HTH>

New Member

Re: Trying to TFTP the running config from a 6506 running CAT)S

OK, Im showing my ignorance with CATOS.

I have a config on the switch. I have added IP addresses, VLANs, etc. The normal stuff.

That is what I am trying to TFTP off the switch.

This information must be stored somewhere and I assumed it was called myswitch.cfg (as that was the default name that came up when I issued the TFTP command).

So, please educate me....where is the startup config and running config stored and what are they called?

Re: Trying to TFTP the running config from a 6506 running CAT)S

The commands all depend on the version of CatOS - the below link will help out:-

http://www.cisco.com/en/US/products/hw/switches/ps663/products_installation_and_configuration_guides_list.html

HTH>

New Member

Re: Trying to TFTP the running config from a 6506 running CAT)S

Nothing as simple as:

copy running-config tftp

copy startup-config tftp

then follow the prompts?

Re: Trying to TFTP the running config from a 6506 running CAT)S

Those commands are IOS - not CatOS.

New Member

Re: Trying to TFTP the running config from a 6506 running CAT)S

Andrew - the link that you sent is for Cat 4ks and 4500s.

Below is a cut and paste from the Cat 6500 Series Configuration Guide using CATOS Relase 6.x

Uploading a Configuration File to a TFTP Server

To upload a configuration file from a switch to a TFTP server for storage, perform these steps:

--------------------------------------------------------------------------------

Step 1 Log into the switch through the console port or a Telnet session.

Step 2 Upload the switch configuration to the TFTP server with the copy config tftp command. Specify the IP address or host name of the TFTP server and the destination filename.

The file is uploaded to the TFTP server.

--------------------------------------------------------------------------------

This example shows how to upload the running configuration to a TFTP server for storage:

Console> (enable) copy config tftp

IP address or name of remote host []? 172.20.52.3

Name of file to copy to []? cat6000_config.cfg

Upload configuration to tftp:cat6000_config.cfg, (y/n) [n]? y

.....

..........

.......

..........

...........

..

/

Configuration has been copied successfully.

Console> (enable)

There are only 2 differences between what is above and what I am doing. First, I am using the command copy config tftp all. This will copy both the default and non-defualt configurations. The second is the name of the file to copy to on the tftp server. The examples shows cat6000_config.cfg. I was just using the default filename of myswitch.cfg

Jeff

New Member

Re: Trying to TFTP the running config from a 6506 running CAT)S

Jeff,

Just had one of those thoughts! Now recall seeing similar symptoms before but tftp was from IOS. The problem was that machine with the tftp server had Windows firewall enabled. Worth checking?

Don

New Member

Re: Trying to TFTP the running config from a 6506 running CAT)S

Don -

Thanks, but no joy. Firewall is disabled and confirmed by the fact that I was able to TFTP from the other 18 devices in my lab to the same TFTP server. Thanks for the thought.

Jeff

429
Views
0
Helpful
21
Replies