Junos OS

 View Only
last person joined: 3 days ago 

Ask questions and share experiences about Junos OS.
  • 1.  Using QFX Switches in Sandbox

    Posted 12-03-2020 15:16
      |   view attached
    I am trying to do very basic configuration on a QFX switch.  I just want to make some simple changes to the configuration and commit them to the config. I get an error when trying to commit the changes.  The message says that configuration of root authentication is not set, which I'm not sure what that means. I then using context help tried to fudge my way through setting some type of 'root', but it didn't work. Sorry for my ignorance here, but I imagine there is a simple thing that I'm not aware of.  This is something that I've successfully done before on MX480 devices on the sand box without getting this message relating to the root. Probably the wrong community too. I'm not sure how to select anything except Junos OS.

    Please help me if you can.



    Thanks,
    Ben


  • 2.  RE: Using QFX Switches in Sandbox

     
    Posted 12-03-2020 15:54
    Hi Ben,

    Please share the following output, since errors seems to be related to groups configuration,
    #show | display set | match groups

    Regards,
    Jeff​


  • 3.  RE: Using QFX Switches in Sandbox

    Posted 12-03-2020 16:21
    Seems like you have "apply-groups all" and "apply-groups 2", configured under "system root authentication", but the groups all, and  2 do not exist (not defined).

    Regards,


  • 4.  RE: Using QFX Switches in Sandbox

    Posted 12-03-2020 18:25
    Edited by ylara 12-03-2020 18:27
    If this your original error?

    [edit]

    user@R1# commit
    [edit]
      'system'
        Missing mandatory statement: 'root-authentication'
    error: commit failed: (missing statements)

    If it is, here is how to solve it:

    [edit]

    user@R1# set system root-authentication plain-text-password
    New password:                  < = enter the password that you want to use
    Retype new password:  < = reenter the password 

    [edit]
    user@R1# commit
    commit complete

    NOTE: password needs to be a minimum length of 6, and require change of case, digits or punctuation. You will get an error message as you enter the password, if the requirements are not met. 

    P.S. this happens because there is NO root password  by default, but this password is MANDATORY to commit any configuration. 

    Regards, 










  • 5.  RE: Using QFX Switches in Sandbox

    Posted 12-03-2020 18:25
    This issue is solved now.  Thanks