RESTCONF
Cheat sheet · https://pcornel.dk/topic.php?topic=5642
Answer
RESTCONF on Cisco IOS XE and NX-OS exposes YANG-modelled configuration and operational data over HTTPS, so you can manage devices with REST calls instead of CLI. Protocol details are in Automation → RESTCONF and security in REST API Security.
Remember
A success response here is not evidence that the API security policy is correct or that the network service works end to end.
First checks
show running-config | include restconf|ip http secure— enabledcurl -s --cacert ca.pem -u <u>:<p> https://<dev>/restconf/data/Cisco-IOS-XE-native:native/hostname— test- Valid HTTPS certificate on device — TLS
Commands
restconf- Enable RESTCONF (also needs ip http secure-server).
show platform software yang-management process
Verify in this order
Local authoritative state → adjacent dependency → effective/programmed state → original workload/request → return/regression → explicit Evidence boundary.
Where it usually breaks
Client payload/auth → HTTP transport → endpoint validation/policy → request accepted → queued/job execution → target mutation → effective state → consumer workload.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5642