EVPN MPLS multihome


https://docs.ipinfusion.com/service-provider/index.html#page/OcNOS-SP/MPLS-Config/MPLS-EVPN_single_MH_Config.html#ww507917


root

config
! Global EVPN MPLS Command:
! -------------------------
hardware-profile filter evpn-mpls-mh enable
evpn mpls enable
evpn mpls multihoming enable
evpn mpls vtep-ip-global 10.10.100.x
evpn esi hold-time 60
!
! MAC VRF Configuration:
! ----------------------
mac vrf EVPN-MPLS4020 
 rd 10.10.100.x:4020
 route-target both evpn-auto-rt
!
! EVPN and VRF Mapping:
! ---------------------
evpn mpls id 4020   ( “etree-root” does not exist! )
  host-reachability-protocol evpn-bgp EVPN-MPLS4020
!


access port
! Access Port Configuration:
--------------------------
interface po1
 load-interval 30
 evpn multi-homed system-mac 0000.aaaa.bbbc
!
interface po1.4020 switchport
 encapsulation dot1q 4020
access-if-evpn
  map vpn-id 4020
!
interface cd0
 description "to-R4 cd0"
 channel-group 1 mode active
!

leaf

config
! Global EVPN MPLS Command:
! -------------------------
hardware-profile filter evpn-mpls-mh enable
evpn mpls enable
evpn mpls multihoming enable
evpn mpls vtep-ip-global 10.10.100.x
evpn esi hold-time 60
!
! MAC VRF Configuration:
! ----------------------
mac vrf EVPN-MPLS4020 
 rd 10.10.100.x:4020
 route-target both evpn-auto-rt
!
! EVPN and VRF Mapping:
! ---------------------
evpn mpls id 4020 etree-leaf
  host-reachability-protocol evpn-bgp EVPN-MPLS4020
!


access port
! Access Port Configuration:
--------------------------
interface po1
 load-interval 30
 evpn multi-homed system-mac 0000.aaaa.bbbc
!
interface po1.4020 switchport
 encapsulation dot1q 4020
access-if-evpn
  map vpn-id 4020
!
interface xe10
 description "to-R10 xe17“   ( or xe19 )
 channel-group 1 mode active
!
! Single home
! ------------
interface xe15.4020 switchport
 encapsulation dot1q 4020
 access-if-evpn
  map vpn-id 4020