Switching

 View Only
last person joined: 2 days ago 

Ask questions and share experiences about EX and QFX portfolios and all switching solutions across your data center, campus, and branch locations.
Expand all | Collapse all

ex3400-24p automatic / immediate console log out when 'set system ports console log-out-on-disconnect' configured

  • 1.  ex3400-24p automatic / immediate console log out when 'set system ports console log-out-on-disconnect' configured

    Posted 03-09-2023 15:32
      |   view attached

    We got a new switch and tried to configure it for production with our standard config.  Our standard config contains the command 'set system ports console log-out-on-disconnect'.  After committing the config, it would automatically / immediately log out after EVERY successful login with a local account, which is the only option on the bench.  This seems like a hardware failure where it sees a console disconnect and logs out even though console is clearly not disconnected, as shown by continued console output (see attachment).  This is a repeatable failure.

    Has anyone else encountered this failure? It seems like this is possible on any similar hardware.

    RMA is currently in process.



    ------------------------------
    Michael
    ------------------------------

    Attachment(s)



  • 2.  RE: ex3400-24p automatic / immediate console log out when 'set system ports console log-out-on-disconnect' configured

    Posted 03-15-2023 14:03
    Edited by Michael 03-17-2023 09:24

    BTW, someone else on our team tried other JunOS version and different console cables/USB adapters.

    The RMA replacement device is doing the same thing. But I have other ex3400-24p that don't have this problem. Is it a bug with the OS, or a hardware problem with certain hardware revisions of the ex3400-24p? I don't have time to waste figuring it out.

    The workaround I used while it was still on the bench is "How to Recover the Root Password on Junos OS with Upgraded FreeBSD", except instead of
    `set system root-authentication plain-text-password`
    I used
    `deactivate system ports console log-out-on-disconnect`


    ------------------------------
    Michael
    ------------------------------



  • 3.  RE: ex3400-24p automatic / immediate console log out when 'set system ports console log-out-on-disconnect' configured

    Posted 07-18-2023 12:45

    Thank you for this post! I've come across the exact same issue with an EX3400-48P stack. Another weird workaround is if you have a stack of switches, connect your console connection on the fpc1 switch to console into the master fpc0 switch. Then deactivate the log-out-on-disconnect as you advised.



    ------------------------------
    LEIF HVIDSTEN
    ------------------------------



  • 4.  RE: ex3400-24p automatic / immediate console log out when 'set system ports console log-out-on-disconnect' configured

    Posted 07-19-2023 06:53

    This issue does not occur with the EX2300-24P. All are running 21.4R3-S3.4.



    ------------------------------
    LEIF HVIDSTEN
    ------------------------------



  • 5.  RE: ex3400-24p automatic / immediate console log out when 'set system ports console log-out-on-disconnect' configured

    Posted 28 days ago
    Edited by Michael 28 days ago

    I've tested and found that this no longer seems to be an issue on 23.4R2-S2.1 version. I searched PRs and could not find any.

    Can anyone else confirm an earlier version where this has been fixed?



    ------------------------------
    Michael
    ------------------------------



  • 6.  RE: ex3400-24p automatic / immediate console log out when 'set system ports console log-out-on-disconnect' configured

    Posted 28 days ago
    Edited by Mark Anthony Yeates 27 days ago

    Here is the PR. It has the fixed releases listed. 

    https://prsearch.juniper.net/problemreport/PR1680408



    ------------------------------
    Hope this helps.

    Mark
    ------------------------------



  • 7.  RE: ex3400-24p automatic / immediate console log out when 'set system ports console log-out-on-disconnect' configured

    Posted 27 days ago

    Thanks for that PR. However, I don't think it applies to the problem I reported. I was reporting a problem with 'set system ports console log-out-on-disconnect', and only on a subset of ex3400s. And we don't have authentication-order configured under 'system services' hierarchy.
    It was an immediate failure to login, but we never got the 'Login Incorrect' message. It just went back to the login prompt after each successful console login attempt.  I guess it could somehow be accidentally/tangentially related though.



    ------------------------------
    Michael
    ------------------------------



  • 8.  RE: ex3400-24p automatic / immediate console log out when 'set system ports console log-out-on-disconnect' configured

    Posted 27 days ago

    Mike,

    My apologies. I gave you the wrong PR. Here is the correct one. 

    https://prsearch.juniper.net/problemreport/PR1680408



    ------------------------------
    Hope this helps.

    Mark
    ------------------------------



  • 9.  RE: ex3400-24p automatic / immediate console log out when 'set system ports console log-out-on-disconnect' configured

    Posted 27 days ago

    Glad to see this annoying bug might be fixed! I'm in the process of updating from 21.4R3-S5.4 to 23.4R2-S3.9 and will see if it's resolved. I never experienced it with EX2300 switches (at least not the 24 port versions), just EX3400 switches.

    Also, this PR states it was resolved as far back as 20.4R3 or 21.XR3, but I know I had this issue with 21.4R3-S3.4 as that's what I was running when I posted here in 2023 and currently experience it with 21.4R3.S5.4. Something seems off about that...



    ------------------------------
    LEIF HVIDSTEN
    ------------------------------



  • 10.  RE: ex3400-24p automatic / immediate console log out when 'set system ports console log-out-on-disconnect' configured

    Posted 27 days ago

    I can confirm that we had this issue in junos 21.4R3-S5.4 before we upgraded to a fixed verion.



    ------------------------------
    Michael
    ------------------------------



  • 11.  RE: ex3400-24p automatic / immediate console log out when 'set system ports console log-out-on-disconnect' configured

    Posted 27 days ago

    Thank you! That's the one.  I must have been using the wrong search terms in the PR Search.



    ------------------------------
    Michael
    ------------------------------