Related Documentation
- M, MX, PTX, T Series
- Configuring Automatic Mirroring of the CompactFlash Card on the Hard Disk Drive
- QFX Series
- max-configurations-on-flash
Using Junos OS to Specify the Number of Configurations Stored on the CompactFlash Card
By default, the Junos OS saves the current configuration
and three previous versions of the committed configuration on the
CompactFlash card. The currently operational Junos OS 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 or switch’sCompactFlash 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:
number is a value from 0 through 49.
Related Documentation
- M, MX, PTX, T Series
- Configuring Automatic Mirroring of the CompactFlash Card on the Hard Disk Drive
- QFX Series
- max-configurations-on-flash
Published: 2013-02-22
Related Documentation
- M, MX, PTX, T Series
- Configuring Automatic Mirroring of the CompactFlash Card on the Hard Disk Drive
- QFX Series
- max-configurations-on-flash