[an error occurred while processing this directive][an error occurred while processing this directive]

Using JUNOS Software to Specify the Number of Configurations Stored on the CompactFlash Card

By default, the JUNOS Software saves the current configuration and three previous versions of the committed configuration on the CompactFlash card. The currently operational JUNOS Software configuration is stored in the file juniper.conf.gz, and the last three committed configurations are stored in the files juniper.conf.1.gz, juniper.conf.2.gz, and juniper.conf.3.gz. These four files are located in the router’s CompactFlash card in the directory /config.

In addition to saving the current configuration and the current operational version, you can also specify how many previous versions of the committed configurations you want stored on the CompactFlash card in the directory /config. The remaining previous versions of committed configurations are stored in the directory /var/db/config on the hard disk. This is useful when you have very large configurations that might not fit on the CompactFlash card.

To specify how many previous versions of the committed configurations you want stored on the CompactFlash card, include the max-configurations-on-flash statement at the [edit system] hierarchy level:

[edit system]max-configurations-on-flash number;

number is a value from 0 through 49.


Published: 2010-04-26

[an error occurred while processing this directive]