Secure Network Best Practices Library · Manage, monitor and recover
Network configuration backup and firmware guide
Two routines keep network equipment recoverable and safe to run: saving every configuration somewhere other than the device, and keeping software on supported, fixed releases. Neither is difficult. Both are usually missing until the day they are needed. This guide covers what to keep, how to automate it, how to upgrade without drama and how to test a restore.
Prefer to have it done for you? IT Perfection provides router, switch and VLAN management for companies in Irvine, Orange County and Los Angeles County.
Written by Ali Hassani, CISSP and C|CISO · 25+ years designing, securing and supporting business networks · Updated November 2026



Secure Network Best Practices Library › Manage, monitor and recover › Configuration backup and firmware
Why it matters
A saved configuration turns a long outage into a short swap
Network hardware fails rarely, and usually at a bad moment. The replacement device is the easy part: a spare from the shelf or a next-day shipment. What turns it back into your switch is the configuration: VLANs, trunks, port settings, security features, addresses, routing.
If that configuration exists only on the device that just failed, it has to be recreated from memory, from old notes and by tracing cables. With a recent copy, the job is to load it and move the cables across.
Software is the other half. Vendors fix security flaws and faults in new releases. A device left on the release it shipped with accumulates known, published weaknesses. Planned upgrades a few times a year are far less disruptive than an emergency upgrade after an advisory names your version.
What to keep
What to keep for each network device
| Item | Why | Notes |
|---|---|---|
| Running and startup configuration | Everything that was configured | They should match; a difference means an unsaved change |
| Several previous versions | To undo a change found later | Dated; a few months back |
| The software image in use | A restore needs matching software | Vendors remove old images |
| Licence and registration details | To activate features on a replacement | Serials, account, keys |
| Stack or pair details | Member numbers, priorities, cabling | So the stack is rebuilt the same way |
| The restore procedure | So it does not depend on one person | Written and tested |
| A port map and photo of the rack | To move cables port for port | See network documentation |
The standard
Six areas of backup and firmware practice
| Area | Standard | Why |
|---|---|---|
| Device inventory | Every device with model, serial, software version and backup status | You cannot back up what is not listed. |
| Automated backups | A copy on every saved change and on a schedule, without anyone remembering | Manual backups stop happening. |
| Secure storage | Off the device, access-limited, with a second copy; transferred over SCP or SFTP | Configurations contain secrets. |
| Restore testing | A restore to spare or lab equipment at least yearly | Proves the set is complete. |
| Firmware lifecycle | Supported releases; advisories followed; upgrades in planned windows | Flaws are fixed. |
| End of life | Devices replaced before fixes stop | See end-of-life replacement |
The NSA guide recommends verifying the integrity of software and configuration files by comparing hashes with vendor-published values, saving configuration changes so they survive a restart, upgrading to the latest stable vendor-supported software, and staying on vendor-supported hardware.
Source: NSA, Network Infrastructure Security Guide, sections 3.1 to 3.4. Read Nov 22, 2026.
Before you start
What to have ready
- The inventory. From the devices or the management platform.
- A backup destination. A server reachable from the management network, with access limited.
- A backup account on that server. Used only for this, with write access to one folder.
- The vendor support portal accounts. To download software and read advisories.
- A maintenance window policy. When upgrades may happen and who is told.
- Spare hardware or a replacement contract for critical devices. Decides how long an outage lasts.
Step by step
Set up backup and firmware routines in six steps
Build the inventory
Model, serial, software, role, and whether a backup exists today.
Automate backups
Use the archive feature of the device, the management platform, or a scheduled script on the backup server. Check the first run arrived.
Write the restore procedure
For each device type: software to load, how to load the configuration, what to verify.
Check firmware and advisories
Compare each running release with the vendor recommended release and its security advisories. List the devices that are behind.
Update in planned windows
Back up first. Verify the image hash. Upgrade one device of each type first. Keep the previous image on the device so you can boot back to it.
Track end of life and test a restore
Add support dates to the inventory. Restore one device type per year to a spare.
! Save after every change copy running-config startup-config ! ! Automatic versioned copy to a server every time the configuration is saved archive path scp://backup@10.10.50.20/$h-$t write-memory time-period 1440 ! ! Before an upgrade: check the image, keep the old one, set the boot order verify /sha512 flash:new-image.bin show boot ! Compare what is running with what was saved show archive config differences nvram:startup-config system:running-config
- Configuration is held by the platform, so a replacement device adopts it. Back up the controller itself where it is self-hosted, as with a UniFi console.
- Set a firmware upgrade window, and let stable releases install in it. Review the release notes before the window.
- Keep your own record of the design, and review the change log of the platform.
- Export the configuration after every change and on a schedule, encrypted, to a location off the device.
- Keep the firmware image that matches each backup.
- See the firewall backup and restore guide in this library for the full procedure.
Example values. Replace names, ports, addresses and VLAN numbers with your own. Commands and menu names change between software versions; confirm them against the current documentation of the vendor before you apply them.
Never upgrade without a way back. Before the upgrade, take a fresh backup, confirm the previous image is still on the device and know the command or button that boots it. Upgrade one device, check it carries traffic, then continue.
Recommended values
The settings at a glance
| Setting | Recommended value | Why |
|---|---|---|
| Backup trigger | On every save, plus daily or weekly | Nothing is missed. |
| Destination | Off the device; second copy elsewhere | Survives the failure. |
| Transfer | SCP or SFTP; not TFTP or FTP | Secrets are not sent in clear text. |
| Versions kept | Several months | Covers changes found late. |
| Access to backups | Few named people | They reveal the network. |
| Software | Vendor recommended, supported release | Fixes applied. |
| Image check | Hash verified against the vendor value | NSA section 3.1. |
| Upgrade order | One device of each type first; access before core | Limits the effect of a bad release. |
| Restore test | Yearly per device type | Proof. |
| Running versus saved | Compared regularly | Finds unsaved or unexpected changes. |
Check that it works
Confirm the routines, and common gaps
- Every device has a backup from the last week. Check the dates on the server.
- A change made today appears as a new version. Make a harmless change and look.
- The running and saved configurations match on every device. No unsaved changes.
- Every device runs a supported release. Compare with the vendor list.
- A restore was completed in the last year. Date and duration recorded.
- Two people know where the backups and the procedure are. Ask the second one.
| Gap | What happens | Fix |
|---|---|---|
| No backup at all | A failure means a rebuild from memory | Automate today. |
| Backups never tested | The file turns out to be incomplete | Restore yearly. |
| Backups on one laptop | Lost with the laptop, or with its owner | A server, with a second copy. |
| Firmware years behind | Published flaws stay open | Planned upgrades. |
| Unsupported hardware | No fixes exist | Replace on a plan. |
| Updates without a rollback | A bad release becomes an outage | Keep the old image; upgrade one first. |
Sources read Nov 22, 2026: NSA, Network Infrastructure Security Guide; Cisco, Back Up and Restore Configuration Files.
Have us do it
Prefer to hand this off?
Backups and firmware upkeep are part of our router, switch and VLAN management service. We build the inventory, automate configuration backups, write and test the restore procedure, bring software to supported releases in planned windows and track end-of-life dates. You receive a written scope and a written quote before any work starts.
Next in the library
Related guides
This guide is for education and planning. Test in a maintenance window. IT Perfection is not affiliated with the vendors or agencies named on this page.

Who does the work
Written by Ali Hassani, CISSP, C|CISO
Ali Hassani has 25+ years of hands-on experience in IT operations, cybersecurity, Microsoft infrastructure, network security and Azure, and works with businesses in Irvine, Orange County and Los Angeles County. Design, implementation and troubleshooting work is planned and reviewed by Ali personally.
This guide is for education and planning. It does not replace a professional audit, compliance assessment or vendor engineering review. Updated November 2026.








FAQ
Configuration backup and firmware: common questions
How do I back up a switch or router configuration?
Copy the configuration to a server over SCP or SFTP, or use the archive feature or a management platform to do it automatically on every change. Store it off the device.
How often should network device firmware be updated?
Stay on a release the vendor supports and recommends, review security advisories as they appear, and plan upgrades a few times a year, sooner for a serious flaw.
What is the difference between running and startup configuration?
The running configuration is what the device is using now. The startup configuration is what it loads after a restart. A change that was not saved exists only in the running configuration.
Should configuration backups be encrypted?
They should be transferred over an encrypted protocol and stored with limited access, encrypted where the platform offers it, because they contain password hashes, keys and the layout of the network.
How do I test a network device restore?
Load the saved configuration and matching software onto a spare or lab device of the same type, then check VLANs, ports, links and management access. Record how long it took.
Can IT Perfection do this for us?
Yes. It is part of our router, switch and VLAN management for companies in Irvine, Orange County and Los Angeles County. Call 949-777-5567 or use the contact page to request a quote.
Need this done for your business?
IT Perfection plans, installs and supports this for companies in Irvine and Orange County
The guides explain the steps. If you would rather have it done, planned and documented by an experienced engineer, these are the services that cover it. Design, implementation and troubleshooting work is planned and reviewed by Ali Hassani personally.
Network design and installation
Firewall, switches, VLANs and Wi-Fi planned, installed and documented.
View serviceNetwork troubleshooting
Slow network, drops, Wi-Fi, VPN, DNS and DHCP problems traced and fixed.
View service