Basic configuration synchronization
This section sets up configuration synchronization with the scenario shown in the following figure.
In this example:
- The master system is R1.
- The standby system is R2. The remote system is to be accessed by using the default username and password: vyatta.
- Firewall configuration is to be synchronized.
To configure R1 for configuration synchronization in this way, perform the following steps in configuration mode.
Step | Command |
---|---|
Create the configuration synchronization service and a synchronization map (TEST) with a rule (2) within the synchronization map. Specify a node (firewall) as a node on which to take action. |
|
Specify the synchronization action to take on the firewall configuration node during configuration synchronization. The firewall node is to be included in configuration synchronization. |
|
Define the remote system with which to synchronize and set the username (vyatta) to be used for connecting to the remote system. |
|
Set the password (vyatta) to be used for connecting to the remote system. |
|
Set TEST as the synchronization map to be used for configuration synchronization with the remote system. |
|
Commit the configuration. |
|
Display the configuration. |
|