Sorry for my mistake...
The problem is caused by the addition the parametr "Remote identifier" in to new firmware. If you have previously set the parameter "Local identifier" on the counterparty, IPSec will not work. You must have this parameter disabled on the counterparty.