03-14-2019 09:32 AM
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
!
03-14-2019 10:05 AM
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/
03-14-2019 11:12 AM
Hello @Jeremy Dubrulle ,
try it under archive configuration
path ftp://user:password@server/folder/$h_
03-14-2019 05:23 PM - edited 03-14-2019 05:24 PM
Hello
@Jeremy Dubrulle wrote:
Hi,
ip ftp username configbackup
ip ftp password 7 XXXXXXXXXXXXXXXXXXarchive
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>
03-15-2019 02:03 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide