IS-IS used for the segment routing. 2 Cisco vIOS devices for the CE’s, with OSPF configured on each
https://www.arista.com/en/solutions/mpls-segment-routing
PE1
service routing protocols model multi-agent
hostname pe1
vlan 3333
interface Ethernet1
switchport trunk allowed vlan 3333
switchport mode trunk
interface Ethernet2
no switchport
ip address 1.1.1.1/30
isis enable 1
interface Loopback0
ip address 5.5.5.5/32
node-segment ipv4 index 10
isis enable 1
ip routing
mpls ip
router bgp 65400
router-id 5.5.5.5
neighbor 9.9.9.9 remote-as 65400
neighbor 9.9.9.9 update-source Loopback0
neighbor 9.9.9.9 rib-in pre-policy retain all
neighbor 9.9.9.9 send-community extended
vlan-aware-bundle customer1
rd 5.5.5.5:1
route-target both 65400:1
redistribute learned
vlan 3333
address-family evpn
neighbor default encapsulation mpls next-hop-self source-interface Loopback0
neighbor 9.9.9.9 activate
router isis 1
net 49.0000.5555.5555.5555.00
is-type level-2
segment-routing mpls
no shutdown
address-family ipv4 unicast
P1
service routing protocols model multi-agent
hostname p1
interface Ethernet1
no switchport
ip address 1.1.1.2/30
isis enable 1
interface Ethernet2
no switchport
ip address 2.2.2.1/30
isis enable 1
interface Loopback0
ip address 6.6.6.6/32
node-segment ipv4 index 20
isis enable 1
ip routing
mpls ip
router isis 1
net 49.0000.6666.6666.6666.00
is-type level-2
segment-routing mpls
no shutdown
address-family ipv4 unicast
P2
service routing protocols model multi-agent
hostname p2
interface Ethernet1
no switchport
ip address 2.2.2.2/30
isis enable 1
interface Ethernet2
no switchport
ip address 3.3.3.1/30
isis enable 1
interface Loopback0
ip address 7.7.7.7/32
node-segment ipv4 index 30
isis enable 1
ip routing
mpls ip
router isis 1
net 49.0000.7777.7777.7777.00
is-type level-2
segment-routing mpls
no shutdown
address-family ipv4 unicast
P3
service routing protocols model multi-agent
hostname p3
interface Ethernet1
no switchport
ip address 3.3.3.2/30
isis enable 1
interface Ethernet2
no switchport
ip address 4.4.4.1/30
isis enable 1
interface Loopback0
ip address 8.8.8.8/32
node-segment ipv4 index 40
isis enable 1
ip routing
mpls ip
router isis 1
net 49.0000.8888.8888.8888.00
is-type level-2
segment-routing mpls
no shutdown
address-family ipv4 unicast
PE2
service routing protocols model multi-agent
hostname pe2
vlan 3333
interface Ethernet1
switchport trunk allowed vlan 3333
switchport mode trunk
interface Ethernet2
no switchport
ip address 4.4.4.2/30
isis enable 1
interface Loopback0
ip address 9.9.9.9/32
node-segment ipv4 index 50
isis enable 1
ip routing
mpls ip
router bgp 65400
router-id 9.9.9.9
neighbor 5.5.5.5 remote-as 65400
neighbor 5.5.5.5 update-source Loopback0
neighbor 5.5.5.5 rib-in pre-policy retain all
neighbor 5.5.5.5 send-community extended
vlan-aware-bundle customer1
rd 9.9.9.9:1
route-target both 65400:1
redistribute learned
vlan 3333
address-family evpn
neighbor default encapsulation mpls next-hop-self source-interface Loopback0
neighbor 5.5.5.5 activate
router isis 1
net 49.0000.9999.9999.9999.00
is-type level-2
segment-routing mpls
no shutdown
address-family ipv4 unicast
OSPF should now be up between the 2 CE devices.