NIC card repetative Failover

I have configure 2 NIC in ipmp group1 .Similarly other 2 NIC in ipmp group2
When I connect both NIC to 2 different switch , which is connect to one L3 switch as trunk. Both the NIC failover to each other continously.

Following are the message log.

ifmsdb1 in.mpathd[166]: [ID 594170 daemon.error] NIC failure detected on nxge0 of group ipmp1
ifmsdb1 in.mpathd[166]: [ID 832587 daemon.error] Successfully failed over from NIC nxge0 to NIC bge0
ifmsdb1 in.mpathd[166]: [ID 594170 daemon.error] NIC failure detected on nxge8 of group ipmp2
ifmsdb1 in.mpathd[166]: [ID 832587 daemon.error] Successfully failed over from NIC nxge8 to NIC nxge2
ifmsdb1 in.mpathd[166]: [ID 299542 daemon.error] NIC repair detected on nxge0 of group ipmp1
ifmsdb1 in.mpathd[166]: [ID 620804 daemon.error] Successfully failed back to NIC nxge0
ifmsdb1 in.mpathd[166]: [ID 299542 daemon.error] NIC repair detected on nxge8 of group ipmp2
ifmsdb1 in.mpathd[166]: [ID 620804 daemon.error] Successfully failed back to NIC nxge8
ifmsdb1 in.mpathd[166]: [ID 594170 daemon.error] NIC failure detected on nxge0 of group ipmp1
ifmsdb1 in.mpathd[166]: [ID 832587 daemon.error] Successfully failed over from NIC nxge0 to NIC bge0
ifmsdb1 in.mpathd[166]: [ID 594170 daemon.error] NIC failure detected on nxge8 of group ipmp2
ifmsdb1 in.mpathd[166]: [ID 832587 daemon.error] Successfully failed over from NIC nxge8 to NIC nxge2
ifmsdb1 in.mpathd[166]: [ID 299542 daemon.error] NIC repair detected on nxge0 of group ipmp1
ifmsdb1 in.mpathd[166]: [ID 620804 daemon.error] Successfully failed back to NIC nxge0
ifmsdb1 in.mpathd[166]: [ID 299542 daemon.error] NIC repair detected on nxge8 of group ipmp2
ifmsdb1 in.mpathd[166]: [ID 620804 daemon.error] Successfully failed back to NIC nxge8
ifmsdb1 in.mpathd[166]: [ID 594170 daemon.error] NIC failure detected on nxge8 of group ipmp2
ifmsdb1 in.mpathd[166]: [ID 832587 daemon.error] Successfully failed over from NIC nxge8 to NIC nxge2
ifmsdb1 in.mpathd[166]: [ID 594170 daemon.error] NIC failure detected on nxge0 of group ipmp1
ifmsdb1 in.mpathd[166]: [ID 832587 daemon.error] Successfully failed over from NIC nxge0 to NIC bge0 ifmsdb1 in.mpathd[166]: [ID 299542 daemon.error] NIC repair detected on nxge0 of group ipmp1