Navigation
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:
<rpc><close-session/></rpc>
]]>]]>In response, the NETCONF server emits the <ok/> tag enclosed in an <rpc-reply> tag element:
<rpc-reply xmlns="URN" xmlns:junos="URL"><ok/></rpc-reply>
]]>]]>Because the connection to the NETCONF server is an SSH subsystem, it closes automatically when the NETCONF session ends.