7Multi-active handling procedureThe multi-active handling procedure includes detection, collision handling, and failure recovery.DetectionMAD identifies each IRF fabric with a domain ID and an active ID (the member ID of the master). Ifmultiple active IDs are detected in a domain, MAD determines that an IRF collision or split has occurred.For more information about the MAD mechanisms and their application scenarios, see "MADmechanisms."Collision handlingMAD mechanisms remove multi-active collisions by setting one IRF fabric to the Detect state and other IRFfabrics to the Recovery state. The Detect-state IRF fabric is active. The Recovery-state IRF fabric is inactive.Only members in the Detect-state fabric can continue to forward traffic.LACP MAD uses the following process to handle a multi-active collision:1. Compares the number of members in each fabric.2. Sets the fabric that has the most members to the Detect state, and all other fabrics to the Recoverystate.3. Compares the member IDs of their masters if all IRF fabrics have the same number of members.4. Sets the IRF fabric that has the lowest numbered master to the Detect state, and all other fabrics tothe Recovery (disabled) state.5. Shuts down all physical network ports in the Recovery-state fabrics except for the following ports:{ IRF physical interfaces.{ Ports you have specified with the mad exclude interface command.In contrast, BFD MAD does not compare the number of members in fabrics. The MAD mechanism usesthe following process to handle a multi-active collision:6. Sets the IRF fabric that has the lowest numbered master to the Detect state.7. Sets all other fabrics to the Recovery state.8. Takes the same action on the network ports in Recovery-state fabrics as LACP MAD.Failure recoveryTo merge two split IRF fabrics, first repair the failed IRF link and remove the IRF link failure.• If the IRF fabric in Recovery state fails before the failure is recovered, repair the failed IRF fabric andthe failed IRF link.• If the active IRF fabric fails before the failure is recovered, enable the inactive IRF fabric to take overthe active IRF fabric. Then, recover the MAD failure.