IOS XR: EVPN all-active with an anycast gateway, over segment routing
The same three sites as the LDP lab, with six NCS 5508 PEs. The core runs segment routing with IS-IS and no LDP at all: a prefix-SID on each loopback gives every router the label 16000 + index for it, and EVPN rides those labels. The core (IS-IS and LDP), the BGP sessions and Sites 2 and 3 are already configured, so you build Site 1 end to end. Each site has two PEs and two Cisco CE switches. Each CE has one LACP bundle to both of its PEs, and every PE has the same gateway on a BVI. Turn on SR on Site 1, then build its EVPN.
The simulator ticks each one as soon as the network meets it.
On S1-PE1 and S1-PE2, enable segment routing: segment-routing mpls under router isis CORE → address-family ipv4 unicast, and prefix-sid index 11 and 12 on Loopback0. The path to a far PE uses SR, with no LDP anywhere (show isis segment-routing label table, show mpls forwarding).
On S1-CE1 and S1-CE2, build Port-channel 1 with LACP: four members, trunking VLANs 10 and 20, and the host port in its VLAN.
On S1-PE1 and S1-PE2, build Bundle-Ether 1 (to CE1) and Bundle-Ether 2 (to CE2), each with one member on line card 0/0 and one on 0/1 (bundle id, mode active). Add .10 and .20 l2transport sub-interfaces.
Under evpn, give each bundle its ESI: 00.11.00.00.00.00.00.01.01 for CE1 and 00.11.00.00.00.00.00.01.02 for CE2, the same on both PEs.
Create EVIs 10 and 20 (bgp, rd, route-target 65000:, advertise-mac) and bridge domains V10 and V20 under bridge group SITES, joining the sub-interfaces, the EVI and the gateway.
Build BVI10 and BVI20: 192.168.10.1/24 and 192.168.20.1/24, with MACs 0000.5e00.0110 and 0000.5e00.0120, the same on every PE.
Filter the gateway MACs, so no PE learns them from another PE (mac static-address drop in each bridge domain).
Ping from S1-PC1 to its gateway, to S2-PC1 at another site, and to S1-PC2 in the other subnet.