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 copysource destinationSample Output
user@host>file copy /config/juniper.conf re1:/var/tmp/copied-juniper.confWhat It Means
In this case,
sourceis 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 }.destinationis 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.