Configuration management

3 minuti

Configuration management is the formal process for tracking every change to network devices — switch and router configs, firewall rules, operating system patches, and application deployments. A well-maintained baseline lets you revert from a broken change, rebuild a device after a disaster, and verify that production matches the approved configuration. These notes follow Prof. Messer’s Network+ N10-009 video “Configuration Management” (3.1).

⏱ Video — Configuration Management (5:10): 0:02 change is inevitable · 0:28 a formal change process · 1:11 the production configuration · 2:00 test before you deploy · 2:14 plan to revert · 2:42 back up before any change · 3:14 vm snapshots · 3:51 the golden configuration · 4:36 integrity checks against the baseline

Production configurations and baselines

  • When a switch, router, or firewall is first installed and configured, the result is the production configuration — the standard for that device type going forward. It covers software versions, firmware versions, device drivers, and every setting needed for normal operation.
  • Before deploying a configuration into production, do extensive testing off-line (in a lab) to verify it works. Not every scenario can be tested, so have a plan to revert if something fails in production.
  • A baseline (or “golden configuration”) is a fully documented, tested, and approved configuration for a specific application or device type. It covers every component — workstations, firewall rules, application server settings — that must be in place for the application to work correctly.

Backups and snapshots

  • The standard operating procedure before any change is: back up the current configuration first. This can be as simple as copying the configuration file(s) that will be modified. If the change causes a problem, copy the old file back.
  • For virtual machines, create a snapshot — a point-in-time copy of the VM’s files, configuration, and state. If the change fails, revert to the snapshot. Snapshots also preserve old configurations for future rollback if needed.

Integrity checks

  • Compare the running configuration in production against the baseline or golden configuration using integrity checks.
  • If the two differ, either correct the production device to match the golden config, or update the baseline to reflect an approved change. A new version of the baseline is then used as the reference going forward.

Where attacks live — mental map (beyond the video)

Not from the video — why configuration management matters for security.

  • An attacker who modifies a production configuration to open a backdoor will be caught by an integrity check that flags a drift from the baseline.
  • Without backups, a bad patch or a compromised config cannot be quickly reverted — the recovery window grows from minutes to hours or days.
  • Golden configurations enforce consistent security settings (password policies, locked-down ports) across every device — drift from the golden config is often the first sign of unauthorised access.
  • A VM snapshot is a forensic goldmine: snap the VM before an incident and you preserve the attacker’s exact state for analysis.