Knowledge · Term

What is configuration drift?

Definition

Configuration drift is the gap between the configuration a network device should have according to your agreed standard and the configuration that actually runs on it. It builds up gradually, through manual fixes, outages and many hands, and usually goes unnoticed until it causes an outage or shows up in an audit.

Updated 8 November 2026

Where drift comes from

Drift and an ordinary change

A change is deliberate: someone planned, approved and pushed it. Drift is a state in which the device differs from the standard, however that came about. An approved change that never made it into the standard also becomes drift, so the standard has to be updated together with the changes.

What it risks

How to detect drift

  1. Store every configuration version of every device, automatically and after every change.
  2. Describe the standard: shared rules (NTP, syslog, AAA, hardening) and the expected configuration per device type.
  3. Compare the running config against the standard on every collection, not once a quarter.
  4. For each deviation, decide: fix the device, update the standard, or knowingly accept an exception.

How to organise the collection and versioning itself is covered in Switch and router config backup.

How Gravity does it

Common questions

Is configuration drift always a mistake?

Not always. Some deviations are deliberate, such as a different config at a site with an unusual link. What matters is that every deviation is known and knowingly accepted as an exception, not discovered by chance during an outage.

How often should you check for drift?

On every config collection, so at least daily and after every change. A quarterly check shows the state of one day, while drift grows every day.

How is a golden config different from a backup?

A backup is a copy of what is on the device. A golden config describes what should be on it. Drift is the difference between the two.

See Gravity at the 2027 premiere

Join the list and we will send the premiere date and early access to the free Lab edition for testing.

See also