Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do I backup the configuration of a Cisco switch and ASA to an SMB Windows share? I have full enabled admin through SSH. what would be the full command to save it to an SMB share? Is it "show run, save as smb://user:pass@

share|improve this question
up vote 3 down vote accepted

This isn't a direct answer to your question, but I use Kiwi CatTools to create regularly occurring jobs to back up all of my switches and routers to a Windows file share.

share|improve this answer

show run and save it to a text file.

share|improve this answer
In addition, look into Rancid ( if you want to automate this. – EEAA Feb 28 '11 at 20:43
what would be the full command to save it to an SMB share? Is it "save as smb://user:pass@ – IT_Fixr Feb 28 '11 at 20:56
@IT_Fixr, that command will dump the configuration on your screen. If your SSH Client logs the session, you can refer to that file, otherwise Copy & Paste tends to work well. – Chris S Feb 28 '11 at 21:23

OP does not say whether there is a Linux or Unix box available, but the phrase "SMB Windows share" suggests there is. As ErikA notes rancid deserves a plug. Of course, rancid will not in itself push the config to an SMB share, but it will do version management and mail changes to concerned parties. A quick cron hack should take care of pushing the file to SMB.

Just remember not to have any cleartext passwords in your configs before you start mailing them around.

share|improve this answer
Just because the OP used the word "SMB" for Server Message Block does not imply anything about SaMBa being used. – Corey S. Feb 28 '11 at 21:06

you can used cisco built in command 'archive' to backup router and switch configuration but you can only save the archived files to FTP, HTTP, HTTPS, RCP, SCP, TFTP locations. I configured a FTP site for my setup and you can configured it to create backup file after certain time interval or when Write Memory command is issued.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.