Updating the Configuration
You can update the SRC configuration to include configuration changes from a file or to revert to the configuration supplied with the SRC product. You can also retain the active configuration and discard changes not yet committed. After you load one of these configurations, you can commit it to activate the configuration on the C-series platform, or you can edit the configuration interactively using the CLI and commit it at a later time.
Before You Load a Configuration
Before you load a configuration, make a copy of the current configuration. This configuration contains the active configuration plus any configuration changes that have been made at the CLI.
For this release, you can save the configuration to a file only in XML format.
To make a backup copy of the configuration:
[edit]user@host>save backupcfg.xml
Commands to Load a Configuration
You can use the following commands in configuration mode to make configuration changes:
load factory-default—
Replace the existing configuration with the configuration supplied with the SRC software.load merge
filename
<relative>—
Combine the configuration that is currently shown in the CLI and the configuration in the specified XML file.load override
filename
—
Discard the entire configuration that is currently shown in the CLI, and load the entire configuration in the specified XML file.load replace
filename
<relative>—
Look for replace tags in the specified file, delete the existing statements of the same name, and replace then with the configuration in the specified XML file.load set
filename
<relative>—
Execute configuration mode commands such asset, edit
,
exit
,and
top
from an ASCII file.The relative option for the
load merge
,load replace
, andload set
commands lets you load the configuration at a specified hierarchy level.