Professional Documents
Culture Documents
JNCIA Junos P1 - 2012 12 1900040
JNCIA Junos P1 - 2012 12 1900040
You can use the configuration mode load command to load a complete or partial configuration from a local file, from a file on a
remote machine, or from a terminal emulation program’s capture buffer. The load command supports several arguments that
determine the specifics of the operation.
The following list provides details for some of the arguments to the load command:
• factory-default: Replaces the full current configuration with the factory-default configuration.
• merge: Combines the current configuration with the configuration you load.
• override: Completely overwrites the current configuration with the configuration you load. You must perform
override operations at the root of the configuration hierarchy.
• patch: Adds or deletes variables from the configuration based on the contents of a specified patch file. The patch
file used in this operation uses the contextual diff format. The file generated from a show | compare | save
operation creates such a file.
• replace: Looks for a replace tag in the configuration you load. The software replaces existing statements of the
same name with those in the loaded configuration for stanzas1 marked with the replace tag.
• set: Allows users to load set commands from the terminal or from a saved file that consists of set configuration
statements.
• update: Updates the existing configuration with the configuration you load. When the update option is used, the
Junos OS attempts to notify only those processes affected by the configuration changes. When the override
© 2012 Juniper Networks, Inc. All rights reserved. User Interface Options • Chapter 2–25