Logging Out Stale Sessions
(2016-09-07)
Problem
There's an edit session, that you are not connected to, that you want to close.
Solution
Find the other session (probably listed to you in the warning when you enter the edit mode):
operator@router> show system users no-resolve
operator p1 172.26.24.43 11:22AM 7 -cli (cli)
Force the other session to log out:
operator@router> request system logout terminal p1
Dealing with uncommitted changes is left as an exercise for the reader.
Previously:
(2013-10-07)
Problem:
Stale login sessions claimed to be editing the configuration:
root@ex2200-02> edit
Entering configuration mode
Users currently editing the configuration:
root terminal p0 (pid 68561) on since 2013-02-22 00:34:40 UTC, idle 4d 18:27
[edit]
root terminal p1 (pid 75961) on since 2013-02-26 19:01:11 UTC, idle 00:05:54
[edit]
[edit]
Solution:
root@ex2200-02> request system logout pid 68561
root@ex2200-02> request system logout pid 75961
root@ex2200-02>