In the meanwhile I made a small Perl-script which parses all the DBVariables and I executed it on a VE v11.2.1 with the following result:
Configsync.Username → admin
Configsync.timediff → 600
Configsync.State → -1 - uninitialized or disabled config state
Configsync.port → 443
Configsync.PeerUpdateInterval → 30
Configsync.peerupdatedstatus → 0
Configsync.PeerState → unknown
Configsync.PeerIpaddr → ::
Configsync.PeerConfigTimeRaw → 0
Configsync.PeerConfigTime → 0
Configsync.password → unused
Configsync.Passphrase →
Configsync.LocalSyncedTime → 0
Configsync.LocalConfigTime → 1366725733
Configsync.Excludes →
Configsync.Encryption → off
Configsync.csdone → 0
Configsync.Autodetect → disable
Configsync.AllowManagement → disable
But I tested it also against a productive system running v11.3.0 HF3 and there I only get the following values:
Configsync.Username → admin
Configsync.PeerIpaddr → ::
Configsync.password → unused
Configsync.LocalConfigTime → 1366725047
Configsync.AllowManagement → disable
Where is the difference coming from? Is it related to VE vs. appliance or is it depending on the TMOS version?
As an idea I could think of a solution, where you have to check the “LocalConfigTime” on both device seperatly and compare it. Based on which has the latest timestamp make your own preferred Configsync statement.
Any other ideas?
Ciao Stefan 