| CPC H04L 45/76 (2022.05) [H04L 12/4641 (2013.01); H04L 45/02 (2013.01)] | 20 Claims | 

| 
               1. A computer-implemented method for use in an EVPN (Ethernet Virtual Private Network) including a first EVPN provider edge (PE) device and a second EVPN PE device, wherein each of the first and second EVPN PE devices is configured to have at least one peering session to share, directly or indirectly, routing information with each other and/or with any other EVPN PE device in the EVPN, and wherein the first EVPN PE device has a first attachment circuit (AC) and the second EVPN peer device has a second AC to a first multi-homed Ethernet segment (MHES) having an Ethernet Segment Identifier ESI, the computer-implemented method comprising: 
            a) defining the first AC as “designated active” and the second AC as not “designated active” such that only the first AC is “designated active” for the MHES; 
                b) configuring the first EVPN PE device such that, responsive to a determination that each of its at least one peering session is down whereby the first EVPN PE device is unable to share routing information with any other EVPN PE device in the EVPN, the first AC is allowed to remain UP because the first AC is “designated active”; 
                c) configuring the second EVPN PE device such that, responsive to a determination that each of its at least one peering session is down whereby the second EVPN PE device is unable to share routing information with any other EVPN PE device in the EVPN, the second AC is brought into a STANDBY or DOWN state because the second AC is not “designated active”; and 
                d) responsive to a determination that some or all of at least one peering session of the second EVPN peer device transitions from down to up, whereby the second EVPN PE device becomes able to share routing information with any other EVPN PE device in the EVPN after having not been able to share routing information with any other EVPN PE device of the EVPN, 
              1) determining if routing information in the second EVPN PE device matches, to a predetermined degree, routing information in the first EVPN PE device, and 
                  2) responsive to a determination that the routing information in the second EVPN PE device matches, to the predetermined degree, the routing information in the first EVPN PE device, 
                brining the not “designated active” second AC UP, and otherwise, responsive to a determination that the routing information in the second EVPN PE device does not match, to the predetermined degree, the routing information in the first EVPN PE device, 
                    leaving the not “designated active” second AC DOWN or in STANDBY. 
                   |