Home | Articles | About | Contact | Forum |
Tuesday, November 11, 2025



Mailing List

E-mail:
By Joining the mailing list you will be notified of site updates.


Show Your Support For
This Site By Donating:




Audience: Network Admins
Last Updated: 4/30/2014 2:19:52 AM
**All times are EST**





Juniper SRX logout sessions

By Erik Rodriguez

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

If you found this information useful, click the +1 button



Your E-mail:


Subject:


Type verification image:
verification image, type it in the box

Message:


NOTE: this form DOES NOT e-mail this article, it sends feedback to the author.

AltStyle によって変換されたページ (->オリジナル) /