Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

auto-sw-sync

Syntax

Hierarchy Level

Description

(Junos OS Evolved only) When you add a new Routing Engine (RE) to the device and the new RE has a different software version than the rest of the system, by default the RE is kept out of the system. If you want a new RE's software and configuration to be automatically upgraded and synchronized with that of the cluster, configure this statement. Once configured for the device, if an RE fails and you replace the RE, the software and the configuration from the primary RE in the system automatically installs on the new RE.

When you configure this statement, the primary Routing Engine of the system copies over all the images (software and configuration) to the new Routing Engine and reboots the new Routing Engine so it runs the same software version and configuration as the primary Routing Engine. Each software image also contains the configuration running when the software image was last active.

When the chassis first comes up, the Routing Engines elect a "primary" node based on several factors, including which Routing Engine was "primary" last, which Routing Engine is the current hardware primary RE, and the slot position (0 versus 1).

Default

Disabled: When you insert a new Routing Engine with a different software version than the rest of the system and you have not already configured this statement on the system, the Routing Engine is kept out of the system. Thereafter, the newly-inserted RE does not respond to any software event and remains in its original software version.

Options

disable | enable

(Required) Specify whether to disable or enable automatic software synchronization from the primary node to the new Routing Engine.

  • Default: Disable

node node-name Specify the node to be synchronized (fpc0 | re0 | re1). Deprecated as of Junos OS Evolved Release 20.4R2.

Required Privilege Level

system—To view this statement in the configuration.

system-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Evolved Release 20.2R1.

node option deprecated as of Junos OS Evolved Release 20.4R2.