root# commit
[edit]
'system'
Missing mandatory statement: 'root-authentication'
error: commit failed: (missing statements)
这里提示没有配置根认证,这是由于第一次登陆Junos密码为空,配置root密码后再进行commit操作:
root# set system root-authentication plain-text-password
New password:
Retype new password:
[edit]
root# commit