[Contents] [Prev] [Next] [Index] [Report an Error]

Rolling Back to a Previous or Rescue Configuration

The routing platform stores a copy of the most recently committed configuration and up to 49 additional previous configurations. To replace the candidate configuration or private copy with a previously committed configuration, a client application includes the rollback="index" attribute in the <load-configuration/> tag, where index is the numerical index of the appropriate previous configuration. The index for the most recently committed configuration is 0 (zero), and the index for the oldest possible previous configuration is 49.

<rpc>
<load-configuration rollback="index"<//>
</rpc>

To replace the configuration with the rescue configuration, include the rescue="rescue" attribute in the <load-configuration/> tag.


<rpc>
<load-configuration rescue="rescue"/>
</rpc>

For more information about rollback and rescue configurations, see the JUNOS CLI User Guide.


[Contents] [Prev] [Next] [Index] [Report an Error]