Tuesday 1 December 2015

Juniper SRX – Commit error: Missing mandatory statement

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

1.1 Switched campus 1.1.a Switch administration 1.1.a i Managing MAC address table Show Commands: Switch#show mac address-table ?   address ...