Skip to main content
Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Articles
lp_course
lp_lesson
Back
HomeAutomationRESTful Configuration Protocol (RESTCONF)
Simple-Network-Management-Protocol-SNMP-12

RESTful Configuration Protocol (RESTCONF)

Last Updated: August 16, 2025
7 min read
140

RESTCONF (RESTful Configuration Protocol) is a network management protocol designed to provide a simplified, REST-based interface for managing network devices using HTTP methods. RESTCONF builds on the capabilities of NETCONF by making network device configuration and operational data accessible over the ubiquitous HTTP/HTTPS protocol, allowing for easy integration with web-based tools and services. It leverages the YANG data modeling language to represent configuration and operational data, providing a modern, API-driven approach to managing network infrastructure. Lets explore the fundamentals of RESTCONF, its architecture, how it compares with NETCONF, the use cases it serves, and the benefits and drawbacks of adopting it in your network.

What Is RESTCONF?

RESTCONF (Representational State Transfer  Configuration) is defined in RFC 8040 and provides a RESTful API that enables network operators to access, configure, and manage network devices using HTTP methods such as GET, POST, PUT, PATCH, and DELETE. Unlike NETCONF, which uses a more complex XML-based communication, RESTCONF adopts a simple REST architecture, making it easier to work with in web-based environments and for integration with modern network automation tools.

Key Features:

  • HTTP-based: RESTCONF is built on the widely-adopted HTTP/HTTPS protocols, making it compatible with web services and modern applications.
  • Data Model Driven: Similar to NETCONF, RESTCONF uses YANG data models to define how configuration and operational data are structured.
  • JSON/XML Support: RESTCONF allows the exchange of data in both JSON and XML formats, giving it flexibility in how data is represented and consumed.
  • Resource-Based: RESTCONF treats network device configurations and operational data as resources, allowing them to be easily manipulated using HTTP methods.

How RESTCONF Works

RESTCONF operates as a client-server model, where the RESTCONF client (typically a web application or automation tool) communicates with a RESTCONF server (a network device) using HTTP. The protocol leverages HTTP methods to interact with the data represented by YANG models.

HTTP Methods in RESTCONF:

  • GET: Retrieve configuration or operational data from the device.
  • POST: Create new configuration data on the device.
  • PUT: Update existing configuration data.
  • PATCH: Modify part of the existing configuration.
  • DELETE: Remove configuration data from the device.

RESTCONF provides access to various network data through a well-defined URI structure, where each part of the network’s configuration or operational data is treated as a unique resource. This resource-centric model allows for easy manipulation and retrieval of network data.

RESTCONF URI Structure and Example

RESTCONF URIs provide access to different parts of a device’s configuration or operational data. The general structure of a RESTCONF URI is as follows:

/restconf/<resource-type>/<data-store>/<module>/<container>/<leaf>
  • resource-type: Defines whether you are accessing data (/data) or operations (/operations).
  • data-store: The datastore being accessed (e.g., /running or /candidate).
  • module: The YANG module that defines the data you are accessing.
  • container: The container (group of related data) within the module.
  • leaf: The specific data element being retrieved or modified.

Example: If you want to retrieve the current configuration of interfaces on a network device, the RESTCONF URI might look like this:

GET /restconf/data/ietf-interfaces:interfaces

This request retrieves all the interfaces on the device, as defined in the ietf-interfaces YANG model.

RESTCONF Data Formats

RESTCONF supports two primary data formats for representing configuration and operational data:

  • JSON (JavaScript Object Notation): A lightweight, human-readable data format that is widely used in web applications and REST APIs.
  • XML (Extensible Markup Language): A more verbose, structured data format commonly used in network management systems.

Most modern implementations prefer JSON due to its simplicity and efficiency, particularly in web-based environments.

Continue Reading This Article

Sign in with a free account to unlock the full article and access the complete MapYourTech knowledge base.

768+ Technical Articles
47+ Professional Courses
20+ Engineering Tools
47K+ Professionals
100% Free Access
No Credit Card Required
Instant Full Access

Leave A Reply

You May Also Like

33 min read 8 0 Like Design your link, learn the Shannon limit | Optical Link Engineering Skip to main...
  • Free
  • April 20, 2026
4 min read 16 0 Like Multi-Rail Line Systems: The Optical Architecture Powering AI Scale-Across Networks Optical Line Systems  · ...
  • Free
  • April 19, 2026
140 min read 17 0 Like Optical Network Architects Reference Guide: Exploring Fiber Limits A MapYourTech InDepth Technical Reference Optical...
  • Free
  • April 18, 2026
Stay Ahead of the Curve
Get new articles, courses & exclusive offers first

Follow MapYourTech on LinkedIn for exclusive updates — new technical articles, course launches, member discounts, tool releases, and industry insights straight to your feed.

New Articles
Course Launches
Member Discounts
Tool Releases
Industry Insights
Be the first to know when our mobile app launches.

Course Title

Course description and key highlights

Course Content

Course Details