[Contents]
[Prev]
[Next]
[Index]
[Report an Error]
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
file.
-
load override filename —Discard the entire configuration that is currently
shown in the CLI, and load the entire configuration in the specified
file.
-
load replace filename <relative>— Look for replace attributes
in the specified file, delete the existing statements of the same
name, and replace them with the configuration in the specified file.
-
load set filename <relative>—Execute configuration mode commands
such as set, edit , exit, and top from a text file.
The relative option for the load merge, load replace, and load set commands lets you
load the configuration at a specified hierarchy level.
The load merge, load override, and load replace commands let you update configuration
statements in the SRC configuration from a text file or an XML file.
The structure of this file must conform to the structure for an SRC
configuration file. For this reason, we recommend that you copy the
file based on the file format you plan to use:
- XML format—Save
a configuration to an XML file and modify that file.
- Text format—Save a configuration to a text file,
or copy the output from a show command to a file, and modify
that file.
For a merge or replace operation, you can
save a copy of the configuration at any level in the configuration
hierarchy, then load the updated configuration at the same level.
Use the editor of your choice to modify a saved
configuration file. When you edit a file that is to be loaded into
the SRC configuration, you can add specified attributes to specify
actions to be taken.
[Contents]
[Prev]
[Next]
[Index]
[Report an Error]