To roll back a bad network configuration change, first identify the change that coincides with the outage. Compare the current configuration with the last known-good version, then restore the previous configuration or revert only the faulty changes. Finally, verify network connectivity and save the restored configuration.
A bad network configuration change can bring down a critical link, disrupt communication between sites, or make business applications inaccessible. During an outage, the priority is to restore connectivity without introducing further changes or losing access to affected devices.
Having automated configuration backups, approved baselines, and alternative device access makes recovery faster and more predictable.
What should you decide before rolling back during an outage?
A rollback is also a configuration change, made under pressure on a network that is already failing. A few minutes spent on these decisions, including whether to roll back at all or fix forward, keeps the recovery from turning into a second incident.
- Confirm the change correlates with the outage window: The change should have landed shortly before the first symptoms appeared. If it was made after the outage began, it is unlikely to be the cause, and rolling it back adds another change without fixing anything. The next section explains how to identify the change.
- Establish the blast radius: Find out whether the outage affects one device, one site, or every device that received the same template or policy. The answer decides whether you are rolling back a single device or coordinating a rollback across several.
- Decide whether to fix forward: If the fault is a single wrong line, such as a mistyped ACL entry or an incorrect route, correcting that line is often faster and less disruptive than restoring a full configuration. Roll back instead when the change touched many lines or you cannot tell which one is wrong.
- Check whether the change was saved to startup: On platforms with separate running and startup configurations, an unsaved change disappears on reload, which leaves you a last-resort option. A saved change survives a reboot, so the rollback must restore the startup configuration as well.
- Check whether management access still works: If the change broke SSH, the management interface, or authentication, a configuration management tool cannot push the rollback. Switch to console or out-of-band access before you start, as described in the section on lockouts below.
- Freeze other changes: Stop all other configuration work on the affected devices until service is restored. Concurrent changes make it harder to tell whether the rollback worked, and a full restore can silently undo them.
- Capture the faulty configuration first: Save a copy before you change anything, as step 2 below describes. It is the evidence you need for root cause analysis.
- Set a time limit: Agree on how long the rollback has to restore service, such as 15 or 30 minutes. If the rollback is not verified within that window, escalate rather than attempting another change.
How do you identify the configuration change that caused the outage?
Rolling back the wrong configuration can introduce another problem or undo changes that were working correctly. Before restoring an earlier version, establish which change caused the outage and which devices are affected.
Start with these checks:
- Check when the outage started: Compare the incident start time with recent configuration changes made to the affected routers, switches, and firewalls. Identify changes that occurred immediately before connectivity was lost.
- Identify who made the change: Review administrator activity, change tickets, and device logs to understand who modified the configuration and what the intended change was.
- Compare configuration versions: Compare the current configuration with the last known-good version. Look for added, modified, or removed settings involving routing, interfaces, access control lists (ACLs), VLANs, or firewall policies.
- Determine the scope: Check whether the same configuration change was applied to other devices. A faulty configuration template or policy update might affect multiple switches, routers, or sites simultaneously.
For example, if users at a branch office suddenly lose access to applications after a routing update, compare the affected router's current configuration with its previous version. Look for changes to routing policies, next-hop addresses, or route maps before initiating a rollback.
How do you roll back a bad network configuration change?
Once you identify the problematic change, follow a controlled rollback process to restore the affected device without disturbing unrelated configurations.
1. Establish reliable access to the device
Before initiating a rollback, make sure you can access the affected device. If the configuration change has disrupted remote management access, use an alternative management path.
You can use a physical console connection, a console server, or an out-of-band management network that operates independently of the affected production network.
Avoid relying exclusively on the same network path that the faulty configuration has disrupted. Without an alternative access method, you could lose the ability to complete the rollback.
2. Save the current configuration
Before restoring an earlier version, take a copy of the affected device's current configuration.
Although the configuration is faulty, it contains useful information about the changes that caused the outage. Keeping this copy also helps with root cause analysis and troubleshooting if the initial rollback does not resolve the issue.
Record the affected device, the configuration version, the administrator activity, and the time of the change.
3. Select the last known-good configuration
Identify the configuration version saved immediately before the problematic change. Do not automatically select the newest available backup. It might already contain the faulty configuration.
Compare the selected version with the current configuration to understand exactly what will be removed or restored.
Also check whether any legitimate changes were made after the selected backup. Restoring an older configuration could undo those changes, including security updates or network modifications unrelated to the outage.
When possible, isolate and revert only the faulty configuration section instead of replacing the entire configuration.
4. Apply the rollback
The rollback method depends on the network device, operating system, and configuration management capabilities available.
You can restore a previous configuration version using the device's native rollback functionality or a network configuration management tool. For smaller changes, you may be able to reverse only the affected configuration settings.
| Platform | Native option | Safeguard for remote changes |
|---|---|---|
| Cisco IOS / IOS XE | Archive rollback, configure replace | reload in timer, cancelled once verified |
| Junos | rollback n then commit | commit confirmed |
| Arista EOS | configure replace, configuration sessions | commit timer |
| Palo Alto | Revert or load a saved configuration, then commit | None natively; Panorama-managed firewalls (PAN-OS 9.1 and later) revert if a push breaks their connection to Panorama |
Before applying a complete configuration restore, review the differences between the current and previous versions. Make sure the recovery does not remove legitimate changes or introduce unrelated configuration issues.
For remote changes, use an available automatic revert or confirmation mechanism when appropriate. This provides an additional safeguard if the rollback itself disrupts management access.
5. Verify that network services are restored
After applying the rollback, confirm that the device and affected network services are functioning correctly.
Check the following:
- Device connectivity: Verify that affected routers, switches, and firewalls are reachable.
- Routing: Check routing tables, next-hop reachability, and dynamic routing adjacencies.
- Interfaces: Confirm that affected interfaces are operational and their configurations are correct.
- Access control: Check ACLs, firewall policies, and traffic counters to ensure legitimate traffic is no longer blocked.
- Application availability: Test connectivity from affected user segments and confirm that critical applications and services are accessible.
Do not consider the outage resolved simply because you can access the device. Validate connectivity from the affected users' and applications' perspective.
6. Save the restored configuration
Once you confirm that the rollback has restored normal network operation, save the configuration using the appropriate process for that platform.
On devices with separate running and startup configurations, synchronize the restored configuration with the startup configuration so the faulty settings do not return after a reboot.
Also document the rollback, affected devices, recovery steps, and the original change that caused the outage.
Why can restoring an old configuration cause problems?
Restoring an earlier configuration does not always guarantee that the faulty settings will disappear. The outcome depends on how the device handles the restoration.
There are five important considerations:
- Configuration merging can leave faulty settings behind. Some restoration methods merge the saved configuration with the existing one rather than replacing it completely. Commands introduced by the faulty change may remain in the active configuration if they are absent from the saved version.
- An older configuration can remove legitimate changes. Restoring a backup from before an unrelated network update might undo security improvements, routing changes, or other valid modifications.
- Configuration dependencies can affect recovery. A change to an interface, routing policy, or access control list may depend on other configuration settings. Reverting only one section without checking those dependencies could create additional problems.
- Restoring the configuration does not restore runtime state. The configuration returns to its known-good version, but routing adjacencies, tunnels, and sessions have to re-form, and some may flap or reset while the restored configuration is applied. Verify that adjacencies are up and stable, not just that the configuration matches the backup.
- Some items are not stored in the configuration text. On many platforms, certificates, private keys, and licenses are kept outside the configuration, so restoring a configuration version does not bring them back. If the faulty change removed or replaced any of them, the device can come back with the correct configuration but broken VPNs, HTTPS management, or licensed features. Check these items separately after the restore.
Always compare configuration versions before restoring them. Choose between a targeted rollback and a complete configuration replacement based on the scope of the failure.
How do you choose the right rollback method?
The appropriate rollback method depends on how much of the configuration is affected and whether the previous version is available.
| Rollback method | When to use it |
|---|---|
| Targeted rollback | When the faulty settings are isolated and unrelated configuration changes need to be preserved. |
| Full configuration restore | When multiple configuration changes are responsible for the outage and a verified working version is available. |
| Native device rollback | When the network platform provides a built-in mechanism to restore a previously saved configuration or checkpoint. |
| Automated rollback | When predefined change management rules can automatically reverse unauthorized or unwanted changes. |
For an isolated ACL or routing error, reversing only the affected configuration settings is generally preferable. For a wider configuration failure, restoring a verified previous version may be more effective.
The important thing is to understand what the rollback will change before applying it.
What if the configuration change locks you out of the device?
A faulty change to a management ACL, administrator access settings, authentication configuration, or management interface can prevent administrators from accessing the device remotely.
When this happens, a remote configuration management tool cannot push a rollback to an unreachable device. You need to restore a management path or allow an already configured automatic rollback mechanism to take effect.
Use the following recovery options:
- Connect through the console: Use the physical console port or a console server to access the device independently of its production network configuration.
- Use out-of-band management: Connect through an independent management network if one is available.
- Check for an active automatic revert mechanism: If the change was applied with a confirmation timer or automatic rollback safeguard, allow the mechanism to restore the previous configuration when appropriate.
- Consider a restart only when necessary: On platforms with separate running and startup configurations, restarting the device may discard unsaved changes and restore the saved configuration. This causes downtime and will not help if the faulty configuration has already been saved.
- Complete the rollback: Once access is restored, inspect the configuration, reverse any remaining faulty changes, and save the working configuration.
For critical network infrastructure, console access and a tested out-of-band management path should be part of the recovery plan, not something administrators arrange only after an outage.
How do you roll back changes across multiple network devices?
A faulty template, script, or policy update can break many devices at once, such as a routing policy pushed to every branch router. Rolling them back one at a time is slow, so coordinate the rollback:
- Find every affected device: Use change records, configuration timestamps, or a search for the faulty lines across device configurations.
- Restore each device to its own known-good version: Do not push one shared configuration file to every device, because hostnames, IP addresses, and other device-specific settings differ.
- Validate every device: Confirm that services are restored at each affected site, not just on the first device you check.
In ManageEngine Network Configuration Manager,Advanced Configuration Search finds the faulty lines across devices. If each device's pre-change configuration carries a common label, you can select the affected devices or a device group and upload the labelled configuration in one operation, with each device receiving its own version. For ISP-scale rollouts and rollbacks across hundreds of devices, see our guide to network configuration management tools for ISPs.
How can you prepare for faster configuration recovery?
The fastest rollback is one that does not require administrators to search for backups, reconstruct previous configurations, or arrange emergency device access during an outage.
Establish the following practices before making changes to critical network devices:
- Automate configuration backups: Schedule regular network backups and capture configurations before planned changes so a known-good version is available.
- Maintain baseline configurations: Label approved, stable configurations as baselines so administrators can quickly identify a trusted recovery point.
- Use automatic rollback safeguards: Enable supported confirmation or revert mechanisms for risky remote changes.
- Maintain out-of-band access: Verify that console access and alternative management paths work before a change window.
These practices make configuration recovery faster and more predictable during an outage. Detecting changes, reviewing and testing them before deployment, and documenting rollback procedures belong to the wider network change management process.
How does Network Configuration Manager simplify network configuration rollbacks?
Network Configuration Manager keeps the versions, comparisons, and uploads a rollback depends on in one console, so nobody has to search for backup files or retype settings in the middle of an outage. Here is how the six steps above map to it:
Before step 1, find the change: Open the device's configuration history. Each configuration version is stored with its timestamp and user details. Compare the latest version with the previous one in Diff View, which highlights added, modified, and deleted lines side by side.
Step 1: Establish reliable access to the device
Ping the device or run Trace Route from its snapshot page to confirm that Network Configuration Manager can reach it. For most devices, uploads also need TFTP or SCP, so check that the faulty change did not block them. If the device is unreachable, restore access through the console or out-of-band network first.
Step 2: Save the current configuration
With real-time change detection enabled, the faulty configuration is already stored as the latest version. If not, back up the device now. A successful backup also confirms that Network Configuration Manager can still log in.
Step 3: Select the last known-good configuration
Choose the version labelled as the baseline, not the newest backup. Compare it with the faulty version in Diff View to see exactly what the rollback will remove. Check any versions in between for legitimate changes you need to keep.
Step 4: Apply the rollback
Upload the baseline version to the device's running configuration.
Step 5: Verify that network services are restored
Back up the device again. Its Baseline Conflict status should show In Sync. If it still shows a conflict, compare the versions in Diff View. An upload to the running configuration can merge rather than replace and leave faulty lines behind. Then open an SSH session from the device snapshot to check routing tables and adjacencies, and test access from the affected users' side.
Step 6: Save the restored configuration
Upload the same version to the startup configuration, or use Sync Configuration to copy the verified running configuration to startup. The Config Conflict column should no longer show Conflict Detected. The upload is recorded in the device's audit history, which helps you document the rollback.
Simplify network configuration backups, change tracking, and rollback with Network Configuration Manager. Download the 30-day free trial or schedule a personalized demo with our product experts.
FAQs on rolling back network configuration changes
How do I find the configuration change that caused a network outage?
Compare the outage start time with recent configuration changes on the affected devices. Review administrator activity, change records, and configuration history. Comparing the current configuration with the last known-good version helps identify the settings that changed before connectivity was lost.