Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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@192.168.1.3/folder???

share|improve this question

4 Answers 4

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.

http://www.kiwisyslog.com/kiwi-cattools-overview/

share|improve this answer

show run and save it to a text file.

share|improve this answer
1  
In addition, look into Rancid (shrubbery.net/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@192.168.1.3/folder??? –  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

 
discard

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.