You are viewing a free preview of this lesson.
Subscribe to unlock all 10 lessons in this course and every other course on LearningBro.
NETCONF is a network management protocol (RFC 6241) designed to replace CLI-based configuration. YANG is the data modelling language (RFC 7950) that defines the structure of network configuration and operational data. Together, they provide a model-driven, programmatic approach to network management.
| Issue | CLI | NETCONF + YANG |
|---|---|---|
| Data format | Unstructured text | Structured XML (or JSON) |
| Parsing | Regex, screen scraping | Standard XML/JSON parsing |
| Transactions | No atomic transactions | Commit/rollback support |
| Validation | Device checks after apply | Schema validation before apply |
| Consistency | Vendor-specific commands | Standard protocol, model-driven |
| Error handling | Parse text for error messages | Structured error responses |
NETCONF (Network Configuration Protocol) is an IETF standard for installing, manipulating, and deleting network device configurations:
Subscribe to continue reading
Get full access to this lesson and all 10 lessons in this course.