SRX

 View Only
last person joined: 6 hours ago 

Ask questions and share experiences about the SRX Series, vSRX, and cSRX.
  • 1.  How to clear these sessions?

    Posted 02-03-2012 07:39

    I have several SRXs in my lab.  I connect to these via a Cisco router that is acting as a console server.  As I move in and out of the SRX's doing labs. I get the following message.

     

    root@R1> edit
    Entering configuration mode
    Users currently editing the configuration:
    root terminal u0 (pid 9976) on since 2012-02-03 05:36:00 UTC, idle 17:48:11
    [edit]
    root terminal u0 (pid 10405) on since 2012-02-03 07:25:21 UTC, idle 16:04:15
    [edit]

     

    How do I prevent the box from thinking there are multiple users logged in?  What am I doing wrong and how do I clear these older sessions?

     

    Thanks....



  • 2.  RE: How to clear these sessions?

    Posted 02-03-2012 07:51

    I found it....disregard.

     

    "request system logout pid"

     

     



  • 3.  RE: How to clear these sessions?

    Posted 8 days ago
    Edited by ANDREY LEO 8 days ago

    Somewhat randomly, but this works for sessions that are stuck and cannot be seen on in the "ps -aux" from shell, or the "show system users no-resolve" output from the CLI.

    I had a situation whereby the SSH connection wasn't active, however the device seemed to think a user was still logged in; fortunately it had its PID. Using the above command, you can kill the phantom session and your configuration mode should be empty once again.

    This was also on an MX, so I'm sure it will work cross platform.



    ------------------------------
    ANDREY LEO
    ------------------------------