ECMP Support

In Figure: ECMP Support, the leaf discovers ROOT-1 from all three ASBRs (ASBR-3, ASBR-4 and ASBR-5).

Figure: ECMP Support

The leaf chooses which ASBR is used for the multicast stream using the following process.

  1. The leaf determines the number of ASBRs that should be part of the hash calculation.

    The number of ASBRs that are part of the hash calculation comes from the ECMP value (configured with the config>router>ecmp command). For example, if the ECMP value is set to 2, only two of the ASBRs are part of the hash algorithm selection.

  2. After selecting the upstream ASBR, the leaf determines whether there are multiple equal cost paths between it and the chosen ASBR.

    • If there are multiple ECMP paths between the leaf and the ASBR, the leaf performs another ECMP selection based on the configured ECMP value. This is a recursive ECMP lookup.

    • The first lookup chooses the ASBR and the second lookup chooses the path to that ASBR.

    For example, if ASBR 5 was chosen in Figure: ECMP Support, there are three paths between the leaf and ASBR-5. A second ECMP decision is therefore made to choose the path.

  3. At ASBR-5, the process is repeated. For example, in Figure: ECMP Support, ASBR-5 goes through steps 1 and 2 to choose between ASBR-1 and ASBR-2 and perform a second recursive ECMP lookup to choose the path to that ASBR.

When there are several candidate upstream LSRs, the LSR must select one upstream LSR. The algorithm used for the LSR selection is a local decision. If the LSR selection is done over a LAN interface, the procedure described in ECMP Hash Algorithm should be applied to ensure that the same upstream LSR is elected from the set of candidate receivers on that LAN.

The ECMP hash algorithm ensures that there is a single forwarder over the LAN for a particular LSP.