RANCID (Really Awesome New Cisco confIg Differ) is a free tool which helps to monitor network devices configurations, changes and backups. It allows storing the configurations in a version control system and alerts network administrators on configuration changes. In this tutorial, we will install RANCID on OpenSUSE.
Before starting the installation, ensure that your OpenSUSE system is up-to-date.
sudo zypper update
sudo zypper install rancid
rancid
under /opt
.sudo mkdir /opt/rancid
sudo chown rancid:rancid /opt/rancid
sudo chmod 775 /opt/rancid
cloginrc
file with login credentials for the devices. Replace username
and password
with the actual credentials.sudo vi /opt/rancid/.cloginrc
add user * username
add password * password
add method * ssh
rancid.types.conf
file with the list of devices to monitor. Replace device1, device2
etc. with the actual device names and IP addresses.sudo vi /opt/rancid/etc/rancid.types.conf
# List of devices to monitor
router;script;rancid -t router;login;router1
router;script;rancid -t router;login;router2
switch;script;rancid -t switch;login;switch1
switch;script;rancid -t switch;login;switch2
sudo systemctl enable rancid
sudo systemctl start rancid
sudo rancid-run
This command initiates the backup process for all the devices listed in the rancid.types.conf
file.
In this tutorial, we have successfully installed RANCID on OpenSUSE and initiated the backup process for the devices. RANCID is a robust and powerful tool that can help to monitor and manage network devices efficiently.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!