We’ve got the F5’s set up with SNAT for all outbound LDAP requests. Prior to failover, the servers which sit behind the LTMs have no issues connecting through the LTMs out to the LDAP servers. However if the Active LTM fails over to the standby then the connections are very intermittent and occasionally fail. At first I thought connection mirroring would resolve the issue however it didnt as the binds from the servers out to ldap occasionally fail.
It sounds like the upstream switch may not have updated its ARP cache. You could try enabling MAC masquerading on the LTM VLAN that the outbound LDAP connections go out. This should shorten the time it takes for the upstream switches to accept the traffic after a failover.
For details on configuring MAC masquerading and selecting a unique MAC address, you can check two AskF5 solutions:
SOL7214 - Configuring MAC masquerading
BEST PRACTICE: SOL3523 - Choosing a unique Media Access Control (MAC) address for MAC masquerade