After changing configuration on Juniper SRX and trying to save config with commit cli I have receive error below:
root# commit
[edit]
'system'
Missing mandatory statement: 'root-authentication'
error: commit failed: (missing statements)
Solution to this error is to set up root password. As this device was brand new root password was not set and I was unable to commit ather changes to CLI.
To set root password “JUNIPER” follow this CLI:
root#set system root-authentication plain-text-password
New password: JUNIPER
Retype new password: JUNIPER
root# commit