Supported Platforms
compress-configuration-files (System)
Syntax
Hierarchy Level
Release Information
Statement introduced before Junos OS Release 7.4.
Description
Compress the current operational configuration
file. By default, the current operational configuration file is compressed,
and is stored in the file juniper.conf
, in the /config
file system, along
with the last three committed versions of the configuration. However,
with large networks, the current configuration file might exceed the
available space in the /config
file
system. Compressing the current configuration file allows the file
to fit in the file system, typically reducing the size of the file
by 90 percent. The current configuration file is compressed on the
second commit of the configuration after the first commit is made
to include the compress-configuration-files statement.
![]() | Note: We recommend that you enable compression of the router configuration files to minimize the amount of disk space that they require. |
Default
The current operational configuration file is uncompressed.
Required Privilege Level
system—To view this statement in the configuration.
system-control—To add this statement to the configuration.