RANCID monitors a router's (or more generally a device's) configuration, including software and hardware (cards, serial numbers, etc) and uses CVS (Concurrent Version System) to maintain history of changes.

RANCID does this by the very simple process summarised as: