Network OS NETCONF Operations Guide 21
53-1003231-02
Disconnecting from a NETCONF session
2
Disconnecting from a NETCONF session
To disconnect from a NETCONF session, issue the standard <close-session> RPC. This operation
causes the server to release any resources associated with the session and gracefully close any
associated connections.
<rpc message-id="215" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<close-session/>
</rpc>
<rpc-reply message-id="215" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
The <kill-session> RPC is also supported. Issuing <kill-session> aborts all operations and closes
the session.
Comentarios a estos manuales