Pcornel
Browse topics
Options
Recent
Favorites
Automation · Technical reference

NETCONF · Cisco Automation

Direct answer

NETCONF is an XML-based protocol over SSH (port 830) for model-driven configuration, with operations like get-config and edit-config, candidate datastores and commit on supporting Cisco platforms.

When to use this

Use this when using NETCONF with Cisco devices.

First 30 seconds

1. NETCONF on IOS XE (port 830).

2. Requires netconf-yang and AAA.

3. Candidate datastore optional (netconf-yang feature candidate-datastore).

4. Use native or OpenConfig models.

5. Monitor sessions.

Operational verification

ncclient → SSH 830 → IOS XE NETCONF

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Cisco network 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.

PlatformCisco network 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 using NETCONF with Cisco devices.
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.

1 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 Common mistakes Narrow the fault
  • AAA authorization missing (needs privilege 15).
  • ACLs blocking 830 from the automation host.
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
  • XML over SSH port 830.
  • Candidate datastore where supported.
  • Lock while editing.
Key checks
  • show netconf-yang sessions — NETCONF sessions
  • show running-config | include netconf-yang — enabled
  • ncclient get-config test — working
ReferenceWhy it matters1 section · depth on demand

What it is

On Cisco IOS XE, NETCONF is enabled with netconf-yang and uses TCP 830 with AAA; native, IETF and OpenConfig models are available.

ReferenceImportant terms & boundaries2 sections · depth on demand

How it works

IOS XE runs a NETCONF server (confd-based) on TCP 830 when netconf-yang is configured. It exposes running and, optionally, candidate datastores and supports Cisco native, IETF and OpenConfig models. Status and sessions are visible with show netconf-yang commands.

Example

netconf-yang
show netconf-yang sessions
show netconf-yang datastores
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 docCisco network automation current

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

Basis: https://developer.cisco.com/docs/yangsuite/ · confidence 94%
Confirmation

Confirm action

Continue?