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:
Sample Output
user@host> file copy /config/juniper.conf
re1:/var/tmp/copied-juniper.conf
Meaning
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. |