user@host# show apply-groups
user@host# show apply-groups
apply-groups [ re0 re1 ];
Synchronize Configurations
Synchronize configurations between two Routing Engines using the synchronize statement
at the [edit] hierarchy level:
[edit]
user@host# commit synchronize
[edit]
root# commit synchronize
re1: configuration check succeeds
re0: configuration check succeeds
re1: commit complete
re0: commit complete
When this statement is selected, the configuration file is copied to the other Routing
Engine, followed by a load override and a commit. No user intervention is required.
NOTE: Both Routing Engines must be running Junos OS Release 5.1 or higher.
Use the groups statement to ensure that differences in the configurations for
RE0 and RE1 are applied.
Copy a Configuration File from One Routing Engine to Another
You can copy a configuration file from one Routing Engine to another using the file copy
command. The file is transferred through the internal Ethernet interface (FXP1 or FXP2,
depending on the router):
user@host> file copy <source> <destination>
NOTE: Both Routing Engines must have jbase version 4.1 or higher loaded.
Copy a file on RE0 to RE1:
user@re0> file copy /var/tmp/jinstall-6.0R3.3-domestic-signed.tgz re1:/var/tmp1/
Check the result on RE1:
user@re1> file list /var/tmp1/
.pccardd=
jbundle-5.5R3.1-domestic.tgz*
jinstall-6.0R3.3-domestic-signed.tgz
sampled.pkts
The file jinstall-6.0R3.3-domestic-signed.tgz is copied from RE0 to RE1.
Copyright © 2012, Juniper Networks, Inc.588
M Series and T Series Routers Monitoring and Troubleshooting Guide