# Candidate and Active Configuration on IOS XR

DevFeed: [Candidate and Active Configuration on IOS XR](<https://devfeed.tech/articles/candidate-and-active-configuration-on-ios-xr-117165.md>)

Original publisher: [Read original article](<https://blog.ipspace.net/2026/11/candidate-active-configuration-iosxr/>)

Published: 2026-11-04T07:37:00Z

Content type: article

Language: en

Sources: [ipSpace](<https://devfeed.tech/sources/ipspace-net-blog-2.md>)

Topics: [Network Configuration](<https://devfeed.tech/topics/network-configuration.md>), [configuration](<https://devfeed.tech/topics/configuration.md>), [Transactions](<https://devfeed.tech/topics/transactions.md>)

Tags: [all](<https://devfeed.tech/tags/all.md>), [automation](<https://devfeed.tech/tags/automation.md>), [band](<https://devfeed.tech/tags/band.md>), [candidate](<https://devfeed.tech/tags/candidate.md>), [changes](<https://devfeed.tech/tags/changes.md>), [command](<https://devfeed.tech/tags/command.md>), [commit](<https://devfeed.tech/tags/commit.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [copy](<https://devfeed.tech/tags/copy.md>), [days](<https://devfeed.tech/tags/days.md>), [device](<https://devfeed.tech/tags/device.md>), [devices](<https://devfeed.tech/tags/devices.md>), [disaster](<https://devfeed.tech/tags/disaster.md>), [introduced](<https://devfeed.tech/tags/introduced.md>), [ios](<https://devfeed.tech/tags/ios.md>), [juniper](<https://devfeed.tech/tags/juniper.md>), [make](<https://devfeed.tech/tags/make.md>), [making](<https://devfeed.tech/tags/making.md>), [memory](<https://devfeed.tech/tags/memory.md>), [more](<https://devfeed.tech/tags/more.md>), [xr](<https://devfeed.tech/tags/xr.md>)

## AI overview

Unlike snapshot-based candidate configurations, IOS XR starts configuration mode with an empty set of commands. You can inspect the pending commands with `show configuration`, preview the result of `commit` or `commit replace` with `show configuration merge` or `show configuration replace`, and view proposed differences with `show commit changes diff`. `commit` merges the entered commands; `commit replace` replaces the active configuration, so using it immediately after entering configuration mode can wipe that configuration. The excerpt describes these behaviors but does not cover safeguards or recovery.

## Source excerpt

Traditional network devices used a single (active or running) configuration, with a snapshot of it stored in permanent memory (startup configuration). The active configuration was modified with every configuration command, making it a perfect recipe for disaster in the days of in-band configuration1. The situation improved drastically when Juniper introduced the candidate configuration. You could make changes to a copy of the configuration, and then commit them as a single all-or-nothing transaction. While you could still cut yourself off from the device, at least it was harder to do with a single misordered command. Read more ...