More Rancid: (do this as the rancid user: su -s /bin/bash rancid) 1. Note the IP addresses for all the routers and switches: 192.168.1.221 192.168.1.222 192.168.1.223 192.168.2.125 192.168.2.253 2. Update /var/lib/rancid/.cloginrc Change the file to look like this: > vi /var/lib/rancid/.cloginrc add user 192.168.* inst add password 192.168.* pacn0g2k9 pacn0g2k9 (This tells RANCID that all hosts called "192.168.*" use the same password and user -- no need to add every router by hand!) 3. Update the router.db > vi /var/lib/rancid/all/router.db Add all the routers above: 192.168.1.221:cisco:up 192.168.1.222:cisco:up 192.168.1.223:cisco:up 192.168.2.125:cisco:up 192.168.2.253:cisco:up 4. Run rancid again: > /usr/lib/rancid/bin/rancid-run (Should take a few seconds) 11. Check out the logs: > cd /var/lib/rancid/logs > ls -l ... View the contents of the file: > more all.* 12. Look at the configs > cd /var/lib/rancid/all/configs > more 192.168.X.X - If all went well, you can see the configs of ALL routers 13. Change the configuration on the router (change the description on an interface, for example) 14. Run rancid again > /usr/lib/rancid/bin/rancid-run 15. Play with clogin: > /usr/lib/rancid/bin/clogin -c "show clock" 192.168.1.221 192.168.1.222 192.168.1.223 192.168... (add as many routers as you want on the line). - What do you notice ?