Related Documentation
- M, PTX, T Series
- Synchronizing the Routing Engine Configuration
- M, MX, PTX, T Series
- Configuring Multiple Routing Engines to Synchronize Committed Configurations Automatically
commit synchronize
Syntax
Hierarchy Level
Release Information
Statement introduced in Junos OS Release 7.4.
Statement introduced in Junos OS Release 10.4 for EX Series switches.
Description
(For devices with multiple Routing Engines only) Configure the commit command to automatically result in a commit synchronize action between dual Routing Engines within the same chassis. The Routing Engine on which you execute the commit command (the requesting Routing Engine) copies and loads its candidate configuration to the other (the responding) Routing Engine. Each Routing Engine then performs a syntax check on the candidate configuration file being committed. If no errors are found, the configuration is activated and becomes the current operational configuration on both Routing Engines.
![]() | Note: When you configure nonstop active routing (NSR), you must include the commit synchronize statement. Otherwise, the commit operation fails. |
On the TX Matrix router, synchronization occurs only between the Routing Engines within the same chassis and when synchronization is complete, the new configuration is then distributed to the Routing Engines on the T640 routers. That is, the master Routing Engine on the TX Matrix router distributes the configuration to the master Routing Engine on each T640 router. Likewise, the backup Routing Engine on the TX Matrix router distributes the configuration to the backup Routing Engine on each T640 router.
On the TX Matrix Plus router, synchronization occurs only between the Routing Engines within the switch-fabric chassis and when synchronization is complete, the new configuration is then distributed to the Routing Engines on the line-card chassis (LCC). That is, the master Routing Engine on the TX Matrix Plus router distributes the configuration to the master Routing Engine on each LCC. Likewise, the backup Routing Engine on the TX Matrix Plus router distributes the configuration to the backup Routing Engine on each LCC.
In EX Series Virtual Chassis configurations:
- On EX4200 switches in Virtual Chassis, synchronization occurs between the switch in the master role and the switch in the backup role.
- On EX8200 switches in a Virtual Chassis, synchronization occurs only between the master and backup XRE200 External Routing Engines.
Options
and-quit—(Optional) (EX Series only) Quit configuration mode if the commit synchronization succeeds.
comment—(Optional) (EX Series only) Write a message to the commit log.
and-force—(Optional) (EX Series only) Force a commit synchronization on the other Routing Engine (ignore warnings).
Required Privilege Level
system—To view this statement in the configuration.
system-control—To add this statement to the configuration.
Related Documentation
- M, PTX, T Series
- Synchronizing the Routing Engine Configuration
- M, MX, PTX, T Series
- Configuring Multiple Routing Engines to Synchronize Committed Configurations Automatically
Published: 2013-03-11
Related Documentation
- M, PTX, T Series
- Synchronizing the Routing Engine Configuration
- M, MX, PTX, T Series
- Configuring Multiple Routing Engines to Synchronize Committed Configurations Automatically