Friday, March 4, 2011

Load - All about JUNOS load command

Syntax

load (factory-default | merge | override | patch | replace | set | update) (filename | 
terminal) <relative>

Description

Load a configuration from an ASCII configuration file, from terminal input, or from the factory default. Your current location in the configuration hierarchy is ignored when the load operation occurs.

Required Privilege Level

configure—To enter configuration mode; other required privilege levels depend on where the statement is located in the configuration hierarchy.

Options

factory-default—Loads the factory configuration. The factory configuration contains the manufacturer's suggested configuration settings. The factory configuration is the router's first configuration and is loaded when the router is first installed and powered on.
On J-series Services Routers, pressing and holding down the Config button on the router for 15 seconds causes the factory configuration to be loaded and committed. However, this operation deletes all other configurations on the router; using the load factory-default command does not.

filename—Name of the file to load. For information about specifying the filename, see Specifying Filenames and URLs.

merge—Combine the configuration that is currently shown in the CLI and the configuration in filename.

override—Discard the entire configuration that is currently shown in the CLI and load the entire configuration in filename. Marks every object as changed.

patch—Change part of the configuration and mark only those parts as changed.

replace—Look for a replace: tag in filename, delete the existing statement of the same name, and replace it with the configuration in filename.

set—Merge a set of commands with an existing configuration. This option executes the configuration instructions line-by-line as they are stored in a file or from a terminal. The instructions can contain any configuration mode command, such as set, edit, exit, and top.

relative—(Optional) Use the merge or replace option without specifying the full hierarchy level.

terminal—Use the text you type at the terminal as input to the configuration. Type Ctrl+d to end terminal input.

update—Discard the entire configuration that is currently shown in the CLI, and load the entire configuration in filename. Marks changed objects only.

No comments:

Post a Comment