This document outlines how to build RANCID from Scratch, using the name of switch1 and ip of 192.168.3.10 , and rostring of community1 1. Install Ubuntu 16.04 2. sudo apt-get install rancid cvs 3. sudo su 4. nano /etc/rancid/rancid.conf Append: LIST_OF_GROUPS="switches" 5. sudo su -c /var/lib/rancid/bin/rancid-cvs -s /bin/bash -l rancid 6. nano /var/lib/rancid/switches/router.db Append : switch1;cisco;up 7. Modify /etc/hosts Append: 192.168.3.10 switch1 8. Create .cloginrc file @ /var/lib/rancid/switches add method {ssh} add cypertype {3des} add user {useracc} add password {enable-password} {enable-password} add autoenable 9. Modify permissions on the following files: /var/lib/rancid# chmod a-r .cloginrc /var/lib/rancid# chmod u+r .cloginrc /var/lib/rancid# chown rancid .cloginrc /var/lib/rancid# chgrp rancid .cloginrc 10. This will run the actual rancid command sudo su -c /var/lib/rancid/bin/rancid-run -s /bin/bash -l ranci...
A Technical Blog for End Users, Technicians, and every one else in between...