Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

<kill-session>

Usage

Description

Request that the NETCONF server terminate another CLI or NETCONF session. The usual reason to emit this tag is that the user or application for the other session holds a lock on the candidate configuration, preventing the client application from locking the configuration itself.

The client application must have the Junos OS maintenance permission to perform this operation.

Contents

<session-id>

Process identifier (PID) of the entity conducting the session to terminate. The PID is reported in the <rpc-error> tag element that the NETCONF server generates when it cannot lock a configuration as requested.

Note:

Starting in Junos OS Release 19.1R1, if the session identifier is equal to the current session ID, the values of the <error-type> and <error-tag> elements in the resulting <rpc-error> are application and invalid-value, respectively. In earlier releases, the <error-type> and <error-tag> values are protocol and operation-failed.