Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

JNCIA-Junos Study Guide—Part 1

You can specify a filename in one of the following ways:


• filename or path/filename.
• ftp://user:password@router/path/filename: Puts the file in the location explicitly described by this
URL using the FTP protocol. Substituting the word “prompt” for the password causes the FTP server to prompt you
for the user’s password.
• scp://user@router/path/filename: Puts the file on a remote system using the SSH protocol. The
software prompts you for the user’s password.

Loading Configuration Files

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

1.Stanzas are sections of a configuration.

© 2012 Juniper Networks, Inc. All rights reserved. User Interface Options • Chapter 2–25

You might also like