Tags: Juniper SRX user logout, JunOS user logff, request system logout
This article provides a method for logging out an idle or disconnected session on the SRX series firewalls. This will also work on the EX line of switches and Juniper routers running JunOS.
Problem
You login to an SRX device to make configuration changes but are greeted with a warning about previously active tty sessions. You will be able to issue commands but the configuration will be locked unless the other session is logged out. See below:
root@srx% cli
{primary:node0}
root@srx.nj1> configure
warning: Clustering enabled; using private edit
warning: uncommitted changes will be discarded on exit
Entering configuration mode
Users currently editing the configuration:
root terminal p0 (pid 60935) on since 2014-04-29 10:45:10 EDT, idle 00:11:37
private [edit]
Solution
Here is the easy way to logout the other session:
root@srx.nj1# run request system logout pid 60935
{primary:node0}[edit]
root@srx.nj1# exit
Exiting configuration mode
{primary:node0}
root@srx.nj1> configure
warning: Clustering enabled; using private edit
warning: uncommitted changes will be discarded on exit
Entering configuration mode
{primary:node0}[edit]
root@srx.nj1#
Once you issue the logout command there will be a pause in the system for about 5 seconds until your connectivty resumes. You will NOT need to disconnect and reconnect.
Contact Us
NOTE: this form DOES NOT e-mail this article, it sends feedback to the author.