netopeer2 icon indicating copy to clipboard operation
netopeer2 copied to clipboard

How to end a specific netconf session connection through session ID ?

Open Ray123456a opened this issue 1 year ago • 1 comments

Hello,I wanna know how to cut off a specific neconf session through session ID, whatever use the code or spcript. I have tried the "sr_session_stop(subscription)" / “sr_session_stop(session)” / "sr_disconnect(connection)" interface function, they are all not worked right.

Ray123456a avatar May 17 '24 03:05 Ray123456a

You can affect NETCONF sessions only using another NETCONF session. So connect to netopeer2 and use kill-session to kill the other session.

michalvasko avatar May 20 '24 07:05 michalvasko