Slightly different topology for this one as multi-homing and a bit of the good old Spanning Tree thrown in. Cisco vIOS routers and switches used for CE devices. EVE-NG import below.

vEX1
set interfaces ge-0/0/0 vlan-tagging
set interfaces ge-0/0/0 encapsulation vlan-vpls
set interfaces ge-0/0/0 unit 512 encapsulation vlan-vpls
set interfaces ge-0/0/0 unit 512 vlan-id 512
set interfaces ge-0/0/0 unit 512 family vpls
set interfaces ge-0/0/2 unit 0 family inet address 1.1.1.1/30
set interfaces ge-0/0/2 unit 0 family iso
set interfaces ge-0/0/2 unit 0 family mpls
set interfaces lo0 unit 0 family inet address 5.5.5.5/32
set interfaces lo0 unit 0 family iso address 49.0000.5555.5555.5555.00
set interfaces lo0 unit 0 family mpls
set routing-instances cust1 instance-type vpls
set routing-instances cust1 protocols vpls site cust1-1 interface ge-0/0/0.512
set routing-instances cust1 protocols vpls site cust1-1 site-identifier 1
set routing-instances cust1 protocols vpls site-range 1000
set routing-instances cust1 interface ge-0/0/0.512
set routing-instances cust1 route-distinguisher 5.5.5.5:1
set routing-instances cust1 vrf-target target:65530:1
set routing-options router-id 5.5.5.5
set routing-options autonomous-system 65530
set protocols bgp path-selection l2vpn-use-bgp-rules
set protocols bgp group int type internal
set protocols bgp group int local-address 5.5.5.5
set protocols bgp group int family inet unicast
set protocols bgp group int family l2vpn signaling
set protocols bgp group int neighbor 8.8.8.8
set protocols bgp group int neighbor 9.9.9.9
set protocols isis interface ge-0/0/2.0
set protocols isis interface lo0.0
set protocols ldp interface all
set protocols mpls interface all
vEX2
set interfaces ge-0/0/0 unit 0 family inet address 1.1.1.2/30
set interfaces ge-0/0/0 unit 0 family iso
set interfaces ge-0/0/0 unit 0 family mpls
set interfaces ge-0/0/1 unit 0 family inet address 2.2.2.1/30
set interfaces ge-0/0/1 unit 0 family iso
set interfaces ge-0/0/1 unit 0 family mpls
set interfaces lo0 unit 0 family inet address 6.6.6.6/32
set interfaces lo0 unit 0 family iso address 49.0000.6666.6666.6666.00
set interfaces lo0 unit 0 family mpls
set protocols isis interface ge-0/0/0.0
set protocols isis interface ge-0/0/1.0
set protocols isis interface lo0.0
set protocols ldp interface all
set protocols mpls interface all
Core
set interfaces ge-0/0/0 unit 0 family inet address 2.2.2.2/30
set interfaces ge-0/0/0 unit 0 family iso
set interfaces ge-0/0/0 unit 0 family mpls
set interfaces ge-0/0/1 unit 0 family inet address 3.3.3.1/30
set interfaces ge-0/0/1 unit 0 family iso
set interfaces ge-0/0/1 unit 0 family mpls
set interfaces lo0 unit 0 family inet address 33.33.33.33/32
set interfaces lo0 unit 0 family iso address 49.0000.3333.3333.0000.00
set interfaces lo0 unit 0 family mpls
set protocols isis interface ge-0/0/0.0
set protocols isis interface ge-0/0/1.0
set protocols isis interface lo0.0
set protocols ldp interface all
set protocols mpls interface all
vEX4
set interfaces ge-0/0/0 unit 0 family inet address 3.3.3.2/30
set interfaces ge-0/0/0 unit 0 family iso
set interfaces ge-0/0/0 unit 0 family mpls
set interfaces ge-0/0/1 unit 0 family inet address 4.4.4.1/30
set interfaces ge-0/0/1 unit 0 family iso
set interfaces ge-0/0/1 unit 0 family mpls
set interfaces ge-0/0/2 unit 0 family inet address 10.10.10.1/30
set interfaces ge-0/0/2 unit 0 family iso
set interfaces ge-0/0/2 unit 0 family mpls
set interfaces lo0 unit 0 family inet address 7.7.7.7/32
set interfaces lo0 unit 0 family iso address 49.0000.7777.7777.7777.00
set interfaces lo0 unit 0 family mpls
set protocols isis interface ge-0/0/0.0
set protocols isis interface ge-0/0/1.0
set protocols isis interface ge-0/0/2.0
set protocols isis interface lo0.0
set protocols ldp interface all
set protocols mpls interface all
vEX5
set interfaces ge-0/0/0 vlan-tagging
set interfaces ge-0/0/0 encapsulation vlan-vpls
set interfaces ge-0/0/0 unit 512 encapsulation vlan-vpls
set interfaces ge-0/0/0 unit 512 vlan-id 512
set interfaces ge-0/0/0 unit 512 family vpls
set interfaces ge-0/0/1 vlan-tagging
set interfaces ge-0/0/1 encapsulation vlan-vpls
set interfaces ge-0/0/1 unit 512 encapsulation vlan-vpls
set interfaces ge-0/0/1 unit 512 vlan-id 512
set interfaces ge-0/0/2 unit 0 family inet address 4.4.4.2/30
set interfaces ge-0/0/2 unit 0 family iso
set interfaces ge-0/0/2 unit 0 family mpls
set interfaces ge-0/0/3 vlan-tagging
set interfaces ge-0/0/3 encapsulation vlan-vpls
set interfaces ge-0/0/3 unit 512 encapsulation vlan-vpls
set interfaces ge-0/0/3 unit 512 vlan-id 512
set interfaces lo0 unit 0 family inet address 8.8.8.8/32
set interfaces lo0 unit 0 family iso address 49.0000.8888.8888.8888.00
set interfaces lo0 unit 0 family mpls
set routing-instances cust1 instance-type vpls
set routing-instances cust1 protocols vpls site cust1-2 interface ge-0/0/0.512
set routing-instances cust1 protocols vpls site cust1-2 interface ge-0/0/1.512
set routing-instances cust1 protocols vpls site cust1-2 interface ge-0/0/3.512
set routing-instances cust1 protocols vpls site cust1-2 site-identifier 2
set routing-instances cust1 protocols vpls site cust1-2 multi-homing
set routing-instances cust1 protocols vpls site cust1-2 site-preference 255
set routing-instances cust1 protocols vpls site-range 1000
set routing-instances cust1 interface ge-0/0/0.512
set routing-instances cust1 interface ge-0/0/1.512
set routing-instances cust1 interface ge-0/0/3.512
set routing-instances cust1 route-distinguisher 8.8.8.8:1
set routing-instances cust1 vrf-target target:65530:1
set routing-instances cust1-stp instance-type layer2-control
set routing-instances cust1-stp protocols mstp configuration-name cust1
set routing-instances cust1-stp protocols mstp revision-level 1
set routing-instances cust1-stp protocols mstp interface ge-0/0/1
set routing-instances cust1-stp protocols mstp interface ge-0/0/3
set routing-instances cust1-stp protocols mstp msti 1 vlan 512
set routing-instances cust1-stp interface ge-0/0/1.512
set routing-instances cust1-stp interface ge-0/0/3.512
set routing-options router-id 8.8.8.8
set routing-options autonomous-system 65530
set protocols bgp path-selection l2vpn-use-bgp-rules
set protocols bgp group int type internal
set protocols bgp group int local-address 8.8.8.8
set protocols bgp group int family inet unicast
set protocols bgp group int family l2vpn signaling
set protocols bgp group int neighbor 5.5.5.5
set protocols bgp group int neighbor 9.9.9.9
set protocols isis interface ge-0/0/2.0
set protocols isis interface lo0.0
set protocols ldp interface all
set protocols mpls interface all
vEX6
set interfaces ge-0/0/0 unit 0 family inet address 10.10.10.2/30
set interfaces ge-0/0/0 unit 0 family iso
set interfaces ge-0/0/0 unit 0 family mpls
set interfaces ge-0/0/1 vlan-tagging
set interfaces ge-0/0/1 encapsulation vlan-vpls
set interfaces ge-0/0/1 unit 512 encapsulation vlan-vpls
set interfaces ge-0/0/1 unit 512 vlan-id 512
set interfaces lo0 unit 0 family inet address 9.9.9.9/32
set interfaces lo0 unit 0 family iso address 49.0000.9999.9999.9990.00
set interfaces lo0 unit 0 family mpls
set routing-instances cust1 instance-type vpls
set routing-instances cust1 protocols vpls site cust1-2 interface ge-0/0/1.512
set routing-instances cust1 protocols vpls site cust1-2 site-identifier 2
set routing-instances cust1 protocols vpls site cust1-2 multi-homing
set routing-instances cust1 protocols vpls site cust1-2 site-preference 255
set routing-instances cust1 protocols vpls site-range 1000
set routing-instances cust1 interface ge-0/0/1.512
set routing-instances cust1 route-distinguisher 8.8.8.8:1
set routing-instances cust1 vrf-target target:65530:1
set routing-instances cust1-stp instance-type layer2-control
set routing-instances cust1-stp protocols mstp configuration-name cust1
set routing-instances cust1-stp protocols mstp revision-level 1
set routing-instances cust1-stp protocols mstp interface ge-0/0/1
set routing-instances cust1-stp interface ge-0/0/1.512
set routing-options router-id 9.9.9.9
set routing-options autonomous-system 65530
set protocols bgp path-selection l2vpn-use-bgp-rules
set protocols bgp group int type internal
set protocols bgp group int local-address 9.9.9.9
set protocols bgp group int family inet unicast
set protocols bgp group int family l2vpn signaling
set protocols bgp group int neighbor 5.5.5.5
set protocols isis interface all
set protocols ldp interface all
set protocols mpls interface all
Run ‘show vpls connections‘ on vEX1, vEX5 or vEX6 to confirm all is up and running
root> show vpls connections
Layer-2 VPN connections:
Legend for connection status (St)
EI -- encapsulation invalid NC -- interface encapsulation not CCC/TCC/VPLS
EM -- encapsulation mismatch WE -- interface and instance encaps not same
VC-Dn -- Virtual circuit down NP -- interface hardware not present
CM -- control-word mismatch -> -- only outbound connection is up
CN -- circuit not provisioned <- -- only inbound connection is up
OR -- out of range Up -- operational
OL -- no outgoing label Dn -- down
LD -- local site signaled down CF -- call admission control failure
RD -- remote site signaled down SC -- local and remote site ID collision
LN -- local site not designated LM -- local site ID not minimum designated
RN -- remote site not designated RM -- remote site ID not minimum designated
XX -- unknown connection status IL -- no incoming label
MM -- MTU mismatch MI -- Mesh-Group ID not available
BK -- Backup connection ST -- Standby connection
PF -- Profile parse failure PB -- Profile busy
RS -- remote site standby SN -- Static Neighbor
LB -- Local site not best-site RB -- Remote site not best-site
VM -- VLAN ID mismatch HS -- Hot-standby Connection
Legend for interface status
Up -- operational
Dn -- down
Instance: cust1
Edge protection: Not-Primary
Local site: cust1-2 (2)
connection-site Type St Time last up # Up trans
1 rmt LB
999 rmt LB
Local site: dummy (998)
connection-site Type St Time last up # Up trans
1 rmt RB
999 rmt Up Jan 27 17:22:08 2024 1
Remote PE: 5.5.5.5, Negotiated control-word: No
Incoming label: 800014, Outgoing label: 800013
Local interface: vt-0/0/0.1048576, Status: Up, Encapsulation: VPLS
Description: Intf - vpls cust1 local site 998 remote site 999
Flow Label Transmit: No, Flow Label Receive: No