Automation · Cisco Automation
NETCONF
Cheat sheet · https://pcornel.dk/topic.php?topic=5641
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.
Remember
- XML over SSH port 830.
- Candidate datastore where supported.
- Lock while editing.
First checks
show netconf-yang sessions— NETCONF sessionsshow running-config | include netconf-yang— enabled- ncclient get-config test — working
Commands
show netconf-yang
Verify in this order
ncclient → SSH 830 → IOS XE NETCONF
Where it usually breaks
Commit/input → runner/job → build/test artifact → deployment request → target rollout/reconcile → effective version/config → health/readiness → workload.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5641