interface ethernet-1/1 { description "To Leaf:e1-51" admin-state enable subinterface 0 { type routed ipv6 { admin-state enable router-advertisement { router-role { admin-state enable max-advertisement-interval 120 min-advertisement-interval 30 } } } } } interface system0 { description "Loopback for EVPN-VXLAN" subinterface 0 { ipv4 { admin-state enable address 100.254.0.1/32 { } } } } routing-policy { prefix-set underlay-loopback-v4 { prefix 100.254.0.0/24 mask-length-range 32..32 { } } policy underlay-loopback-in { default-action { policy-result reject } statement accept-bgp-learned-loopbacks { match { prefix-set underlay-loopback-v4 } action { policy-result accept } } } policy underlay-loopback-out { default-action { policy-result reject } statement accept-local-loopback-v4 { match { prefix-set underlay-loopback-v4 protocol local } action { policy-result accept } } statement accect-bgp-learned-loopbacks { match { prefix-set underlay-loopback-v4 protocol bgp } action { policy-result accept } } } } network-instance default { admin-state enable interface ethernet-1/1.0 { } interface system0.0 { } protocols { bgp { admin-state enable autonomous-system 65004 router-id 100.65.32.1 dynamic-neighbors { interface ethernet-1/1.0 { peer-group underlay_fabric allowed-peer-as [ 65001 ] } } afi-safi ipv4-unicast { admin-state enable multipath { allow-multiple-as true maximum-paths 8 } } afi-safi ipv6-unicast { admin-state disable } group underlay_fabric { admin-state enable export-policy [ underlay-loopback-out ] import-policy [ underlay-loopback-in ] failure-detection { enable-bfd true fast-failover true } } } } }