Vyatta Network OS Documentation

Learn how to install, configure and operate the Vyatta NOS, which helps drive our virtual networking & physical platforms portfolio.

system config-management commit-revisions <revisions>

Specifies the number of configuration revisions to store locally.

set system config-management commit-revisions revisions
delete system config-management commit-revisions
show system config-management commit-revisions

By default, 20 configuration revisions are stored.

revisions
The maximum number of configuration revisions to store locally. The default maximum is 20.

Configuration mode

system {
    config-management {
       commit-revisions revisions
    }
}

Use this command to specify the maximum number of configuration revisions to store locally.

The system automatically stores revisions of system configuration every time a configuration change is committed. These revisions are stored in the /config/archive directory. This command sets the number of revisions to be stored.

A new revision is stored each time the configuration is committed. After the maximum number of revisions has been reached, the oldest revision is removed to make way for a new revision.

Note that you can store an unlimited number of configuration revisions to a remote location by using system config-management commit-archive location <location>.

Use the set form of this command to specify the number of locally stored configuration revisions.

Use the delete form of this command to restore the default maximum number of 20 revisions.

Use the show form of this command to view the maximum number of configuration revisions that are archived locally.