Pcornel
Browse topics
Options
Recent
Favorites
Automation · Technical reference

running

Direct answer

The running datastore is the active configuration currently in effect on the device. On devices without a candidate datastore, edit-config changes it directly.

When to use this

Use this when editing or reading the active configuration.

First 30 seconds

1. running holds the active configuration.

2. Direct writes apply immediately (if no candidate).

3. Lock to avoid conflicts.

4. Copy to startup if needed.

5. Back up before changes.

Operational verification

edit-config → running → active immediately

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
NETCONF / YANG datastore automation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformNETCONF / YANG datastore automation · Automation implementations are tool and platform specific. Use the adjacent Domain for the technology being automated and this Domain for automation behavior.
Scope / prerequisiteUse this when editing or reading the active configuration.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 running datastore as active configuration, lock/edit behavior, relationship to candidate/startup and proving configuration versus operational effect separately.

Step 2 Common mistakes Narrow the fault
  • Assuming running is saved to startup.
Evidence references

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.

observation · 1
Key points
  • running is the active configuration.
  • Direct edits apply immediately.
  • Save to startup separately.
Key checks
  • get-config source=running — read running
  • edit-config target=running (no candidate) — direct writes
  • Lock running during changes — concurrency
ReferenceWhy it matters1 section · depth on demand

In depth

The running datastore is the device's active configuration. Writing to it (<edit-config> with <target><running/>) changes the device immediately, element by element, like typing CLI commands. Reading it (<get-config>) returns the configuration as structured data.

from ncclient import manager
with manager.connect(host=dev, port=830, username=u, password=p, hostkey_verify=True) as m:
    cfg = m.get_config(source="running", filter=("subtree", IF_FILTER))

Writing directly to running is fine for small, single-step changes. For multi-part changes, use candidate and commit (if supported), or lock running during the change to keep other sessions from interfering.

ReferenceImportant terms & boundaries1 section · depth on demand
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docNETCONF / YANG datastore automation current

Authoritative/upstream documentation reviewed for bounded claims in NETCONF > running. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.rfc-editor.org/rfc/rfc6241 · confidence 94%
Depth when you need it

Deep reference

Healthy vs suspicious evidence

Output interpretation

Report accepted/queued/running/completed/verified as distinct states when the technology is asynchronous; do not map every non-error return to 'success'. For running datastore as active configuration, lock/edit behavior, relationship to candidate/startup and proving configuration versus operational effect separately, prefer typed fields and stable IDs over human presentation text.

Confirmation

Confirm action

Continue?