Thursday, December 15, 2011

Internal Function for Backup Configuration


This is function to backup configuration without any tools, just prepare FTP server as destination configuration. System archive will be copy current configuration every time you do command commit sync for redundancy RE or commit for single RE. You can use serveral protocol for copy config from Junos to Server: ftp, http, scp.


archive-sites {
file:///;
ftp://username@host:url-path password password;
http://username@host:url-path password password;
scp://username@host:url-path password password;
}


example:
set system archival configuration archive-sites "ftp://user:password@1.2.3.4/config/node"


For advanced archieve you can use free third software 'rancid' http://www.shrubbery.net/rancid/

No comments: