The MX platform has included and supported the auto-image-upgrade
knob since Junos OS version 16.1R1. It is one of the ZTP - Zero Touch Provisioning features. For more information about ZTP, refer to ZTP – Zero Touch Provisioning (EZ Touchless Provisioning using DHCP) and Zero Touch Provisioning.
A new or RMA replacement Routing-Engine, shipped from Juniper, could have this knob configured as part of the factory default configuration. Having this knob in the configuration may lead to some commit issues.
This article therefore recommends deleting this knob from all the REs (if the knob exists) before doing a commit if there are no requirements for the use of auto-image-upgrade
.
Scenario: Replaced RE0 (backup RE) with a new RMA replacement and successfully issued the command commit synchronize
from RE1 (primary RE)
mx480-RE1# commit synchronize and-quit
re0:
configuration check succeeds
re1:
[edit]
'chassis'
warning: Chassis configuration for network services has been changed. A system reboot is mandatory.
Please reboot *ALL* routing engines NOW. Continuing without a reboot might result in unexpected system behavior.
commit complete
re0:
commit complete
Exiting configuration mode
Then, after logging into the replaced device (RE0), the following alert is seen:
mx480-RE1> request routing-engine login other-routing-engine
--- JUNOS 17.4R2-S11 Kernel 64-bit JNPR-11.0-20200415.a847e8d_buil
ALERT:Auto image Upgrade will start. This can terminate config CLI session(s). Modified configuration will be lost.
To stop Auto-image, in CLI do the following: 'edit; delete chassis auto-image-upgrade; commit'.
The above alert is a reminder that the auto image upgrade will start and your current configuration will be lost.
This alert is caused by the auto-image-upgrade
knob, which is part of the factory default configuration on a new device or an RMA replacement.
chassis {
auto-image-upgrade;
}
If auto-image-upgrade
is not needed, delete the auto-image-upgrade
configuration and configure the root-authentication password as follows:
-----------------------
# delete chassis
# set system root-authentication plain-text-password
New password:
Retype new password:
# commit
-----------------------