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


Step 1: Copy a File from One Routing Engine to Another

Purpose

When you have a dual Routing Engine configuration, you can copy a configuration file from Routing Engine 0 to Routing Engine 1 or vice versa.

Action

To copy a configuration file from Routing Engine 0 to Routing Engine 1, use the following JUNOS command-line interface (CLI) operational mode command:

user@host> file copy source destination

Sample Output

user@host> file copy /config/juniper.conf re1:/var/tmp/copied-juniper.conf
 

What It Means

In this case, source is the name of the configuration file on Routing Engine 0. Configuration files are stored in the directory /config. The active configuration is /config/juniper.conf, and older configurations are in /config/juniper.conf {1...9 }. destination is a file on Routing Engine 1.

NOTE: Refer to Maintain a Single Configuration File for Both Routing Engines for details about naming the Routing Engines correctly.



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