If I understand correctly, you are asking what to do when you have two switches configured as primary and secondary, and you need to switch between them, but you encounter configuration conflicts when switching back to the original primary switch.
In this scenario, one solution would be to synchronize the configuration between the primary and secondary switches before switching back to the original primary switch. This can be done using a tool such as RANCID, or a network monitoring software like NCM or SolarWinds which can automatically backup the configuration of each switch and compare them for any differences.
Alternatively, you can manually compare the configuration files of the switches to identify any differences and reconcile them before switching back to the original primary switch. This may involve copying specific parts of the configuration from one switch to the other, or merging the configuration files together.
In any case, it is important to ensure that both switches have the same configuration before switching back to the original primary switch, to avoid any conflicts or inconsistencies in the network.
Please rate any helpful comments. Thanks