[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—Replaces the existing configuration with the configuration supplied with the SRC software.
- load merge (filename | terminal) <relative>—Combines the configuration that is currently shown in the CLI and the configuration in the specified file or in the text you type at the terminal. Press Ctrl+D to end terminal input.
- load override (filename | terminal)—Discards the entire configuration that is currently shown in the CLI, and load the entire configuration in the specified file or in the text you type at the terminal. Press Ctrl+D to end terminal input.
- load replace (filename | terminal) <relative>—Looks 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 or in the text you type at the terminal. Press Ctrl+D to end terminal input.
- load set (filename | terminal) <relative>—Executes configuration mode commands such as set, edit, exit, and top from a text file or from the text you type at the terminal. Press Ctrl+D to end terminal input.

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.

#### Related Topics

- Creating an SRC Configuration
- Before You Load a Configuration
- Preparing a File to Be Loaded into the Current SRC Configuration
- Loading a Configuration at a Specified Hierarchy Level
- Cutting and Pasting Configuration Information at the SRC CLI

[Contents] [Prev] [Next] [Index] [Report an Error]