NETCONF Operation Steps

NETCONF-messaging

NETCONF Operations

NETCONF Operation has three common steps. These steps are:

• Session Establishment
• Operation Request and Reply
• Session Close

Firstly, the Session is Established with the

<hello> messages. Both NETCONF Client and NETCONF Server send <hello> message with their capabilities, what operations they support.

After Session Establishment, Operation Request and Reply messages are sent. These messages are for specific operations. Here, the messages used for Operation Request is send with

<rpc> messages and the Operation Replies is sent with <rpc-reply> messages. NETCONF Client sends its requests to the NETCONF Server with <rpc> message. And Server replies with message.

Lastly, session is closed with message. Client sends this message and the server replies back with

<ok> message.

NETCONF Messages

We have talk about NETCONF Operation Steps and we saw the messages that are sent between NETCONF Client and NETCONF Server. Now, let’s check a little deeply and see the content of these messages.

First of all, let’s start with Hello messages. As you know, Hello messages establishes NETCONF session. These messages includes the capabilities of the sending device.


<hello xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
 <capabilities>
   <capability>
     urn:ietf:params:netconf:base:1.1
   </capability>
   <capability>
     https://ipcisco.com/folder1/xyz
   </capability>
 </capabilities>
 <session-id>1</session-id>
</hello>

Now, let’s check Operational RPC Messages.There are two RPC Messages used in NETCONF. All these operations are done within these main messages. These RPC Messages are:

gokhan-kosem-instructor-ipcisco

Gokhan Kosem is a Network Engineer, Instructor and the Founder of IPCisco.com with 15+ years of experience in Cisco, Nokia, Huawei, Juniper, Linux, Service Provider Networks, Routing and Switching technologies.

He has worked on the backbone networks of major service providers and network vendors including Nortel, Alcatel-Lucent (Nokia) and has extensive hands-on experience with Cisco, Huawei, Juniper and Nokia networking technologies.

He has trained thousands of networking students worldwide through IPCisco.com, Udemy, books, labs, quizzes, and educational content across multiple social media platforms.

IPCisco.com | Best Route to Your Dreams

Leave a Reply

Your email address will not be published. Required fields are marked *