New Training: Configure and Verify NETCONF and RESTCONF
In this 6-video skill, CBT Nuggets trainer Knox Hutchinson covers the commands that enable NETCONF and RESTCONF on IOS-XE devices. Learn how to configure SSH in order to enable NETCONF, how to verify that NETCONF is operating properly by using show commands, how to enable NETCONF by using a REST API, and more. Watch this new Cisco training.
Watch the full course: Cisco CCNP Enterprise Core
This training includes:
- 6 videos
- 18 minutes of training
You’ll learn these topics in this skill:
- Enabling NETCONF and RESTCONF
- Configuring NETCONF
- Verifying NETCONF
- Configuring RESTCONF
- Verifying RESTCONF
- Summarizing NETCONF and RESTCONF Configuration
What is RESTCONF?
Representational State Transfer Configuration Protocol (RESTCONF) lets you programmatically access configuration data, state data, data-model-specific Remote Procedure Call (RPC) commands and events. Defined in the YANG (Yet Another Next Generation) model, RESTCONF uses structured data, which can be either in XML or JSON format, to create REST-like APIs, which allow you to access different network devices.
RESTCONF is similar to NETCONF, in that they both allow an administrator to query data or change settings within a client-server architecture. But the two do have their differences. While NETCONF uses RFCs, RESTCONF is HTTP-based. Also, NETCONF only allows XML encoding. Finally, unlike NETCONF, RESTCONF does not have the concept of a lock. So, you should not look at RESTCONF as a replacement for NETCONF. It simply provides a RESTful HTTP interface for querying and configuring network devices that have NETCONF configuration datastores.
Both RESTCONF methods and their corresponding NETCONF commands have been defined in section 4 of RFC8040.