Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Ending a NETCONF Session and Closing the Connection

 

When a client application is finished making requests, it ends the NETCONF session by emitting the empty <close-session/> tag within an <rpc> tag element:

In response, the NETCONF server emits the <ok/> tag enclosed in an <rpc-reply> tag element:

For an example of the exchange of closing tag elements, see Closing the NETCONF Session.

Because the connection to the NETCONF server is an SSH subsystem, it closes automatically when the NETCONF session ends.