Handling inactive configuration files

Save a configuration

In edition mode, the save command can export the staging configuration in a xml file.

vrouter running config# save file config.xml
Saving in /home/admin/.config/nc-cli/conf/config.xml
vrouter running config#

Load a configuration

In edition mode, the load command sets the staging configuration from a previously saved configuration file.

vrouter running config# load file config.xml
Loading a new configuration will overwrite current.
Are you sure? [y/N] y
Loading configuration /home/admin/.config/nc-cli/conf/config.xml
vrouter running config#

The staging configuration can also be set to the startup configuration with the following command:

vrouter running config# load startup
Loading a new configuration will overwrite current.
Are you sure? [y/N] y
Loading configuration startup

Copy a configuration

From edition or operational mode, it is possible to copy configurations. Here are some examples:

vrouter> copy running startup
Overwrite startup configuration? [y/N] y
vrouter> copy running file running.xml
vrouter> copy startup file startup.xml
vrouter> copy file config.xml file config2.xml

To be certain that the startup configuration is a valid one, only the running configuration can be copied to startup.