Use this when using NETCONF with Cisco devices.
NETCONF · Cisco Automation
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 Common mistakes Narrow the fault
- AAA authorization missing (needs privilege 15).
- ACLs blocking 830 from the automation host.
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.
- XML over SSH port 830.
- Candidate datastore where supported.
- Lock while editing.
show netconf-yang sessions— NETCONF sessionsshow running-config | include netconf-yang— enabled- ncclient get-config test — working
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
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 Cisco Automation > NETCONF. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://developer.cisco.com/docs/yangsuite/ · confidence 94%