Use this when changes must survive reboot.
startup
The startup datastore holds the configuration loaded at boot. If supported, copy running to startup with copy-config so changes survive a reload.
1. startup is the boot configuration (if separate).
2. Copy running to startup after verification.
3. Some platforms persist automatically.
4. Check capability.
5. Don't forget persistence.
verified running → copy-config → startup
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
The negative fixture should deliberately exercise risks such as capability mismatch, namespace drift, wrong datastore, lock contention, partial edit semantics and assuming <ok/> shows final device behavior, choosing the cases most relevant to startup datastore capability, saved boot configuration, explicit copy/commit persistence and verifying reboot persistence rather than only running state.
Step 2 Common mistakes Narrow the fault
- Forgetting to copy running to startup where needed.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- startup is loaded at boot.
- copy-config running to startup persists changes.
- Not all devices expose startup.
- :startup capability — support
- copy-config running → startup — persist
- Device persists automatically? — platform behaviour
ReferenceWhy it matters1 section · depth on demand
In depth
The startup datastore is the configuration a device loads when it boots. On devices that have one, changes to running are lost at reload unless copied to startup — the NETCONF equivalent of copy running-config startup-config.
<copy-config>
<target><startup/></target>
<source><running/></source>
</copy-config>
On Cisco IOS XE, NETCONF changes are not saved automatically; use the cisco-ia:save-config RPC or copy-config. Some platforms (with :startup not advertised) save automatically. Always check the capabilities, and make saving an explicit, verified step in automation.
ReferenceImportant terms & boundaries1 section · depth on demand
Mechanics
Its durable intent is capability-aware XML RPC intent against explicit running/candidate/startup datastores; the stable identity contract is device, session/RPC message-id, datastore, YANG module/revision and target path.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in NETCONF > startup. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc6241 · confidence 94%Deep reference
Healthy vs suspicious evidence
Output interpretation
For startup datastore capability, saved boot configuration, explicit copy/commit persistence and verifying reboot persistence rather than only running state, prefer typed fields and stable IDs over human presentation text.