NetSight Setup Guide — Part 23: Network device config backups

· The NetSight Team · 3 min read

This is Part 23. Back to the network side. Every switch and router holds a running configuration — the VLANs, ACLs, port settings, and routing that make your network work. If a device fails, or someone makes a change that breaks something, the fastest recovery is last night's known-good config. NetSight captures that automatically. Open Config Backups from the left menu — the subtitle says it: automatic nightly SSH backups of switch configurations, with full version history and compare.

How it works

NetSight logs into each device over SSH, runs the "show running config" command, and stores the result as a version. It's smart about storage: it compares a content hash (SHA-256) each time and only saves a new version when the config actually changed. So a device that's untouched for a month has one version, while a device that's edited often has a clean, dated history of every change.

Step 1 — Set SSH credentials on a device

For each switch or router you want backed up, open its SSH settings and enter:

  • Username and Password — a login on the device (read access is enough to run a show command).
  • Enable secret — if the device needs enable/privileged mode to show its config.
  • Port — 22 by default.
  • Driver — how NetSight talks to it (below).
  • Enabled — the toggle that includes this device in nightly backups.

Use a read-only account where the platform supports one — NetSight only needs to read the config, never change it.

Step 2 — Choose the driver

The driver tells NetSight the device's command dialect:

  • cisco_ios — Cisco and Cisco-like devices; uses show running-config.
  • hp_comware — HP/H3C Comware switches; uses display current-configuration.
  • auto — let NetSight guess from the device's vendor.

If you're unsure, start with auto; if a backup comes back empty, set the driver explicitly to match the hardware.

Step 3 — Test with a manual backup

Don't wait for the nightly run to find out if the credentials work. Use Backup now on the device to pull its config immediately. If it succeeds, you'll see the version count tick up; if it fails, the error tells you why — usually wrong credentials, the enable secret missing, SSH not enabled on the device, or a firewall blocking port 22 between NetSight and the switch.

Step 4 — Let the nightly job run

Once a device is enabled and its credentials work, NetSight backs it up every night automatically. The device list shows, per device: its driver, whether backup is enabled, how many versions exist, when the config last changed, and when it last ran. A healthy row is one that runs nightly and only gains a version when you actually change something.

Step 5 — The payoff: version history and diffs

This is where config backups earn their keep. Open a device's history to see every stored version by date. Pick any two and compare them — NetSight shows a colour-coded diff: green lines added, red lines removed. That answers the questions that cause the most network firefighting:

  • "What changed on this switch between Friday and Monday?"
  • "Someone says they didn't touch it — did they?"
  • "The network broke after a change — what exactly was different?"

You can also download any version to restore it onto the device or keep as an offline record.

Why this matters

Config backups are cheap insurance against expensive problems. A dead switch can be replaced and reconfigured from its last backup in minutes instead of rebuilt from memory over hours. An accidental misconfiguration can be spotted by diffing against yesterday. And for audits, you have a dated, tamper-evident record of exactly how every device was configured over time. For a hospital network that can't afford long outages, that recovery speed is the whole point.

A good routine

  1. Add SSH credentials and enable backups on every managed switch and router.
  2. Run Backup now once on each to confirm it works.
  3. Let the nightly job build history.
  4. When troubleshooting a network change, diff the latest two versions first — the answer is often right there.

Next up — Part 24: CCTV & camera monitoring, where NetSight extends beyond IT gear to watch your physical security cameras and NVRs — their online status, live streams, and recordings.

(This continues from Part 22: Remediation & auto-patching.)

More articles

← All articles