cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1380
Views
0
Helpful
4
Replies

FTP archive doesn't work for telnet only switch

Jeremy Dubrulle
Level 1
Level 1

Hi,

 

I'm configuring archive with write-memory and ftp path on several switches.

 

It's working for almost all of them, I have my conf on my server.

 

The only 3 switches where it doesn't work are switches where ssh isn't available. I mean it's not even in the IOS.

That seems weird but that's the only thing that is different from the other switches.

 

Do you know why is it happening ?

 

When I do a show archive, it's like it's working ! But nothing on the server. Nothing in show logging.

 

My conf:

 

ip ftp username configbackup
ip ftp password 7 XXXXXXXXXXXXXXXXXX

archive

path ftp://X.X.X.X/mypath/$h-$t
write
!

 

4 Replies 4

balaji.bandi
Hall of Fame
Hall of Fame

here is for reference : (make sure on the destination you have write access and file exists to write)

 

https://www.ciscozine.com/how-to-use-archive-command-to-save-configuration/

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Jaderson Pessoa
VIP Alumni
VIP Alumni

Hello @Jeremy Dubrulle ,

 

try it under archive configuration

 

path ftp://user:password@server/folder/$h_

Jaderson Pessoa
*** Rate All Helpful Responses ***

Hello


@Jeremy Dubrulle wrote:

Hi,

ip ftp username configbackup
ip ftp password 7 XXXXXXXXXXXXXXXXXX

archive

path ftp://X.X.X.X/mypath/$h-$t
write


Example:
ip ftp username configbackup
ip ftp password xxxxxxxxxx
ip ftp password passive

ip ftp source-interface  xxxxxxxxxx

exception core-file FTPdump compress
exception protocol ftp
exception dump <path X.X.X.X>


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Thanks for all the replies but it seems like I was not clear because my commands are working for 90% of my switches.

I'm doing a path ftp... and write under archive mode. That's only for the telnet-only switches that the file isn't copied under the server.

 

However I'll check the commands you gave me Paul. Thanks