Juniper EVPN/VXLAN-Mac-VRF-2-configs
spine-1
root@spine-1# run show configuration | display set
set version 24.4R1.9
set system host-name spine-1
set system root-authentication encrypted-password "$6$Jcq0dX.3$xUMQXDtwbv1PluYFIXo7kDbyyZah4oV8WF3oJ7tQU1eIBNniyN7IAkRFTalio3wZH2hk8mlambdptLHGELR4u0"
set system syslog file interactive-commands interactive-commands any
set system syslog file messages any notice
set system syslog file messages authorization info
set system processes dhcp-service traceoptions file dhcp_logfile
set system processes dhcp-service traceoptions file size 10m
set system processes dhcp-service traceoptions level all
set system processes dhcp-service traceoptions flag packet
set interfaces ge-0/0/0 unit 0 family inet address 10.13.1.0/31
set interfaces ge-0/0/1 unit 0 family inet address 10.14.1.0/31
set interfaces ge-0/0/2 unit 0 family inet address 10.15.1.0/31
set interfaces ge-0/0/3 unit 0 family inet address 10.16.1.0/31
set interfaces em0 unit 0 family inet address 192.168.56.10/24
set interfaces lo0 unit 0 family inet address 10.1.1.1/32
set policy-options policy-statement LB term term1 from protocol evpn
set policy-options policy-statement LB term term1 then load-balance per-packet
set policy-options policy-statement LB term term1 then accept
set policy-options policy-statement LB term term2 then load-balance per-packet
set policy-options policy-statement LB term term2 then accept
set policy-options policy-statement export-underlay_routes term 1 from interface lo0.0
set policy-options policy-statement export-underlay_routes term 1 then accept
set routing-options forwarding-table export LB
set routing-options forwarding-table chained-composite-next-hop ingress evpn
set protocols router-advertisement interface fxp0.0 managed-configuration
set protocols bgp group underlay type external
set protocols bgp group underlay family inet unicast
set protocols bgp group underlay export export-underlay_routes
set protocols bgp group underlay cluster 10.1.1.1
set protocols bgp group underlay local-as 64001
set protocols bgp group underlay multipath multiple-as
set protocols bgp group underlay neighbor 10.13.1.1 peer-as 64003
set protocols bgp group underlay neighbor 10.14.1.1 peer-as 64004
set protocols bgp group underlay neighbor 10.15.1.1 peer-as 64005
set protocols bgp group underlay neighbor 10.16.1.1 peer-as 64006
set protocols bgp group overlay type internal
set protocols bgp group overlay family evpn signaling
set protocols bgp group overlay cluster 10.1.1.1
set protocols bgp group overlay peer-as 64512
set protocols bgp group overlay local-as 64512
set protocols bgp group overlay multipath
set protocols bgp group overlay neighbor 10.1.1.3
set protocols bgp group overlay neighbor 10.1.1.4
set protocols bgp group overlay neighbor 10.1.1.5
set protocols bgp group overlay neighbor 10.1.1.6
spine-2
root@spine-2# run show configuration | display set
set version 24.4R1.9
set system root-authentication encrypted-password "$6$ooUyyRDq$zpiQdtSedPVH5ED1cnHzPG5pO.QjLix1fbkFMCsE1GVQDF7tq5NYxouY1ZW0ffBfXTvVHk6r0Q4xM/2RMGnre."
set system syslog file interactive-commands interactive-commands any
set system syslog file messages any notice
set system syslog file messages authorization info
set system processes dhcp-service traceoptions file dhcp_logfile
set system processes dhcp-service traceoptions file size 10m
set system processes dhcp-service traceoptions level all
set system processes dhcp-service traceoptions flag packet
set interfaces ge-0/0/0 unit 0 family inet address 10.23.1.0/31
set interfaces ge-0/0/1 unit 0 family inet address 10.24.1.0/31
set interfaces ge-0/0/2 unit 0 family inet address 10.25.1.0/31
set interfaces ge-0/0/3 unit 0 family inet address 10.26.1.0/31
set interfaces em0 unit 0 family inet address 192.168.56.10/24
set interfaces lo0 unit 0 family inet address 10.1.1.2/32
set policy-options policy-statement LB term term1 from protocol evpn
set policy-options policy-statement LB term term1 then load-balance per-packet
set policy-options policy-statement LB term term1 then accept
set policy-options policy-statement LB term term2 then load-balance per-packet
set policy-options policy-statement LB term term2 then accept
set policy-options policy-statement export-underlay_routes term 1 from interface lo0.0
set policy-options policy-statement export-underlay_routes term 1 then accept
set routing-options forwarding-table export LB
set routing-options forwarding-table chained-composite-next-hop ingress evpn
set protocols router-advertisement interface fxp0.0 managed-configuration
set protocols bgp group underlay type external
set protocols bgp group underlay family inet unicast
set protocols bgp group underlay export export-underlay_routes
set protocols bgp group underlay cluster 10.1.1.2
set protocols bgp group underlay local-as 64002
set protocols bgp group underlay multipath multiple-as
set protocols bgp group underlay neighbor 10.23.1.1 peer-as 64003
set protocols bgp group underlay neighbor 10.24.1.1 peer-as 64004
set protocols bgp group underlay neighbor 10.25.1.1 peer-as 64005
set protocols bgp group underlay neighbor 10.26.1.1 peer-as 64006
set protocols bgp group overlay type internal
set protocols bgp group overlay family evpn signaling
set protocols bgp group overlay cluster 10.1.1.2
set protocols bgp group overlay peer-as 64512
set protocols bgp group overlay local-as 64512
set protocols bgp group overlay multipath
set protocols bgp group overlay neighbor 10.1.1.3
set protocols bgp group overlay neighbor 10.1.1.4
set protocols bgp group overlay neighbor 10.1.1.5
set protocols bgp group overlay neighbor 10.1.1.6
set protocols lldp interface allleaf-r3 config
root@leaf-r3# run show configuration | display set
set version 24.4R1.9
set system host-name leaf-r3
set system root-authentication encrypted-password "$6$X/r6ZU9F$AD68XXhzbGP3rjTvrBlkNJRGHazyLPV2LPt9I1QFYo30E3sd15zSTKGKqdes1QeUcoHCbFNO4sVKyDnqlLNT3."
set system syslog file interactive-commands interactive-commands any
set system syslog file messages any notice
set system syslog file messages authorization info
set system processes dhcp-service traceoptions file dhcp_logfile
set system processes dhcp-service traceoptions file size 10m
set system processes dhcp-service traceoptions level all
set system processes dhcp-service traceoptions flag packet
set chassis aggregated-devices ethernet device-count 6
set interfaces ge-0/0/0 unit 0 family inet address 10.13.1.1/31
set interfaces ge-0/0/1 gigether-options 802.3ad ae0
set interfaces ge-0/0/2 unit 0 family inet address 10.23.1.1/31
set interfaces ge-0/0/3 flexible-vlan-tagging
set interfaces ge-0/0/3 encapsulation extended-vlan-bridge
set interfaces ge-0/0/3 unit 101 vlan-id 101
set interfaces ge-0/0/3 unit 102 vlan-id 102
set interfaces ae0 description "to r8 port ge-0/0/0"
set interfaces ae0 flexible-vlan-tagging
set interfaces ae0 encapsulation extended-vlan-bridge
set interfaces ae0 esi 00:00:00:00:00:00:00:00:00:34
set interfaces ae0 esi all-active
set interfaces ae0 esi df-election-type preference value 1000
set interfaces ae0 aggregated-ether-options lacp active
set interfaces ae0 aggregated-ether-options lacp system-id 00:00:00:00:00:34
set interfaces ae0 unit 0 family bridge interface-mode trunk
set interfaces ae0 unit 0 family bridge vlan-id-list 103-104
set interfaces irb unit 103 family inet address 10.10.103.1/24
set interfaces irb unit 103 mac 00:00:5e:00:53:aa
set interfaces irb unit 104 family inet address 10.10.104.1/24
set interfaces irb unit 104 mac 00:00:5e:00:53:bb
set interfaces lo0 unit 0 family inet address 10.1.1.3/32
set forwarding-options evpn-vxlan shared-tunnels
set policy-options policy-statement LB term term1 from protocol evpn
set policy-options policy-statement LB term term1 then load-balance per-packet
set policy-options policy-statement LB term term1 then accept
set policy-options policy-statement LB term term2 then load-balance per-packet
set policy-options policy-statement LB term term2 then accept
set policy-options policy-statement export-underlay_routes term 1 from interface lo0.0
set policy-options policy-statement export-underlay_routes term 1 then accept
set policy-options policy-statement lb then load-balance per-packet
set policy-options policy-statement my-t5-export-vrf1 term 1 from route-filter 10.10.103.0/24 orlonger
set policy-options policy-statement my-t5-export-vrf1 term 1 from route-filter 10.10.104.0/24 orlonger
set policy-options policy-statement my-t5-export-vrf1 term 1 then accept
set routing-instances macvrf44-vlan-based instance-type mac-vrf
set routing-instances macvrf44-vlan-based protocols evpn encapsulation vxlan
set routing-instances macvrf44-vlan-based protocols evpn default-gateway no-gateway-community
set routing-instances macvrf44-vlan-based protocols evpn extended-vni-list 50101
set routing-instances macvrf44-vlan-based vtep-source-interface lo0.0
set routing-instances macvrf44-vlan-based bridge-domains bd101 vlan-id 101
set routing-instances macvrf44-vlan-based bridge-domains bd101 interface ge-0/0/3.101
set routing-instances macvrf44-vlan-based bridge-domains bd101 vxlan vni 50101
set routing-instances macvrf44-vlan-based service-type vlan-based
set routing-instances macvrf44-vlan-based route-distinguisher 10.1.1.3:101
set routing-instances macvrf44-vlan-based vrf-target target:1:101
set routing-instances macvrf55-vlan-based instance-type mac-vrf
set routing-instances macvrf55-vlan-based protocols evpn encapsulation vxlan
set routing-instances macvrf55-vlan-based protocols evpn default-gateway no-gateway-community
set routing-instances macvrf55-vlan-based protocols evpn extended-vni-list 50102
set routing-instances macvrf55-vlan-based vtep-source-interface lo0.0
set routing-instances macvrf55-vlan-based bridge-domains bd102 vlan-id 101
set routing-instances macvrf55-vlan-based bridge-domains bd102 interface ge-0/0/3.102
set routing-instances macvrf55-vlan-based bridge-domains bd102 vxlan vni 50102
set routing-instances macvrf55-vlan-based service-type vlan-based
set routing-instances macvrf55-vlan-based route-distinguisher 10.1.1.3:102
set routing-instances macvrf55-vlan-based vrf-target target:1:102
set routing-instances macvrf66-vlan-aware instance-type mac-vrf
set routing-instances macvrf66-vlan-aware protocols evpn designated-forwarder-preference-least
set routing-instances macvrf66-vlan-aware protocols evpn encapsulation vxlan
set routing-instances macvrf66-vlan-aware protocols evpn default-gateway no-gateway-community
set routing-instances macvrf66-vlan-aware protocols evpn extended-vni-list 50103
set routing-instances macvrf66-vlan-aware protocols evpn extended-vni-list 50104
set routing-instances macvrf66-vlan-aware protocols evpn multicast-mode ingress-replication
set routing-instances macvrf66-vlan-aware vtep-source-interface lo0.0
set routing-instances macvrf66-vlan-aware bridge-domains BD103 vlan-id 103
set routing-instances macvrf66-vlan-aware bridge-domains BD103 routing-interface irb.103
set routing-instances macvrf66-vlan-aware bridge-domains BD103 vxlan vni 50103
set routing-instances macvrf66-vlan-aware bridge-domains BD104 vlan-id 104
set routing-instances macvrf66-vlan-aware bridge-domains BD104 routing-interface irb.104
set routing-instances macvrf66-vlan-aware bridge-domains BD104 vxlan vni 50104
set routing-instances macvrf66-vlan-aware service-type vlan-aware
set routing-instances macvrf66-vlan-aware interface ae0.0
set routing-instances macvrf66-vlan-aware route-distinguisher 10.1.1.3:103
set routing-instances macvrf66-vlan-aware vrf-target target:1:7779
set routing-instances t5-vrf1 instance-type vrf
set routing-instances t5-vrf1 routing-options multipath
set routing-instances t5-vrf1 protocols evpn ip-prefix-routes advertise direct-nexthop
set routing-instances t5-vrf1 protocols evpn ip-prefix-routes encapsulation vxlan
set routing-instances t5-vrf1 protocols evpn ip-prefix-routes vni 1100
set routing-instances t5-vrf1 protocols evpn ip-prefix-routes export my-t5-export-vrf1
set routing-instances t5-vrf1 interface irb.103
set routing-instances t5-vrf1 interface irb.104
set routing-instances t5-vrf1 route-distinguisher 10.10.1.3:88
set routing-instances t5-vrf1 vrf-target target:1100:1000
set routing-instances t5-vrf1 vrf-table-label
set routing-options router-id 10.1.1.3
set routing-options forwarding-table export LB
set routing-options forwarding-table chained-composite-next-hop ingress evpn
set protocols router-advertisement interface fxp0.0 managed-configuration
set protocols bgp group underlay type external
set protocols bgp group underlay family inet unicast
set protocols bgp group underlay export export-underlay_routes
set protocols bgp group underlay local-as 64003
set protocols bgp group underlay neighbor 10.13.1.0 peer-as 64001
set protocols bgp group underlay neighbor 10.23.1.0 peer-as 64002
set protocols bgp group overlay type internal
set protocols bgp group overlay local-address 10.1.1.3
set protocols bgp group overlay family evpn signaling
set protocols bgp group overlay peer-as 64512
set protocols bgp group overlay local-as 64512
set protocols bgp group overlay neighbor 10.1.1.1
set protocols bgp group overlay neighbor 10.1.1.2
[edit]
root@leaf-r3# leaf-4
root@leaf-r4# run show configuration | display set
set version 24.4R1.9
set system host-name leaf-r4
set system root-authentication encrypted-password "$6$wHLzi5V8$DKyRLWipQzw5gYmz1OegK0S3rUq0UIaV8N8IBMtZaymtezP3Obg2eRC95dZlK2OYgnRhhwQ/SJHpcvpq0Tlu5/"
set system syslog file interactive-commands interactive-commands any
set system syslog file messages any notice
set system syslog file messages authorization info
set system processes dhcp-service traceoptions file dhcp_logfile
set system processes dhcp-service traceoptions file size 10m
set system processes dhcp-service traceoptions level all
set system processes dhcp-service traceoptions flag packet
set chassis aggregated-devices ethernet device-count 6
set interfaces ge-0/0/0 unit 0 family inet address 10.14.1.1/31
set interfaces ge-0/0/1 gigether-options 802.3ad ae0
set interfaces ge-0/0/2 unit 0 family inet address 10.24.1.1/31
set interfaces ae0 description "to r8 port ge-0/0/1"
set interfaces ae0 flexible-vlan-tagging
set interfaces ae0 encapsulation extended-vlan-bridge
set interfaces ae0 esi 00:00:00:00:00:00:00:00:00:34
set interfaces ae0 esi all-active
set interfaces ae0 esi df-election-type preference value 2000
set interfaces ae0 aggregated-ether-options lacp active
set interfaces ae0 aggregated-ether-options lacp system-id 00:00:00:00:00:34
set interfaces ae0 unit 0 family bridge interface-mode trunk
set interfaces ae0 unit 0 family bridge vlan-id-list 103-104
set interfaces irb unit 103 family inet address 10.10.103.1/24
set interfaces irb unit 103 mac 00:00:5e:00:53:aa
set interfaces irb unit 104 family inet address 10.10.104.1/24
set interfaces irb unit 104 mac 00:00:5e:00:53:bb
set interfaces lo0 unit 0 family inet address 10.1.1.4/32
set policy-options policy-statement LB term term1 from protocol evpn
set policy-options policy-statement LB term term1 then load-balance per-packet
set policy-options policy-statement LB term term1 then accept
set policy-options policy-statement LB term term2 then load-balance per-packet
set policy-options policy-statement LB term term2 then accept
set policy-options policy-statement export-underlay_routes term 1 from interface lo0.0
set policy-options policy-statement export-underlay_routes term 1 then accept
set policy-options policy-statement my-t5-export-vrf1 term 1 from route-filter 10.10.103.0/24 orlonger
set policy-options policy-statement my-t5-export-vrf1 term 1 from route-filter 10.10.104.0/24 orlonger
set policy-options policy-statement my-t5-export-vrf1 term 1 then accept
set routing-instances macvrf66-vlan-aware instance-type mac-vrf
set routing-instances macvrf66-vlan-aware protocols evpn designated-forwarder-preference-least
set routing-instances macvrf66-vlan-aware protocols evpn encapsulation vxlan
set routing-instances macvrf66-vlan-aware protocols evpn default-gateway no-gateway-community
set routing-instances macvrf66-vlan-aware protocols evpn extended-vni-list 50103
set routing-instances macvrf66-vlan-aware protocols evpn extended-vni-list 50104
set routing-instances macvrf66-vlan-aware protocols evpn multicast-mode ingress-replication
set routing-instances macvrf66-vlan-aware vtep-source-interface lo0.0
set routing-instances macvrf66-vlan-aware bridge-domains BD103 vlan-id 103
set routing-instances macvrf66-vlan-aware bridge-domains BD103 routing-interface irb.103
set routing-instances macvrf66-vlan-aware bridge-domains BD103 vxlan vni 50103
set routing-instances macvrf66-vlan-aware bridge-domains BD104 vlan-id 104
set routing-instances macvrf66-vlan-aware bridge-domains BD104 routing-interface irb.104
set routing-instances macvrf66-vlan-aware bridge-domains BD104 vxlan vni 50104
set routing-instances macvrf66-vlan-aware service-type vlan-aware
set routing-instances macvrf66-vlan-aware interface ae0.0
set routing-instances macvrf66-vlan-aware route-distinguisher 10.1.1.3:104
set routing-instances macvrf66-vlan-aware vrf-target target:1:7779
set routing-instances t5-vrf1 instance-type vrf
set routing-instances t5-vrf1 routing-options multipath
set routing-instances t5-vrf1 protocols evpn ip-prefix-routes advertise direct-nexthop
set routing-instances t5-vrf1 protocols evpn ip-prefix-routes encapsulation vxlan
set routing-instances t5-vrf1 protocols evpn ip-prefix-routes vni 1100
set routing-instances t5-vrf1 protocols evpn ip-prefix-routes export my-t5-export-vrf1
set routing-instances t5-vrf1 interface irb.103
set routing-instances t5-vrf1 interface irb.104
set routing-instances t5-vrf1 route-distinguisher 10.10.1.4:88
set routing-instances t5-vrf1 vrf-target target:1100:1000
set routing-instances t5-vrf1 vrf-table-label
set routing-options router-id 10.1.1.4
set routing-options forwarding-table export LB
set routing-options forwarding-table chained-composite-next-hop ingress evpn
set protocols router-advertisement interface fxp0.0 managed-configuration
set protocols bgp group underlay type external
set protocols bgp group underlay family inet unicast
set protocols bgp group underlay export export-underlay_routes
set protocols bgp group underlay local-as 64004
set protocols bgp group underlay neighbor 10.14.1.0 peer-as 64001
set protocols bgp group underlay neighbor 10.24.1.0 peer-as 64002
set protocols bgp group overlay type internal
set protocols bgp group overlay local-address 10.1.1.4
set protocols bgp group overlay family evpn signaling
set protocols bgp group overlay peer-as 64512
set protocols bgp group overlay local-as 64512
set protocols bgp group overlay neighbor 10.1.1.1
set protocols bgp group overlay neighbor 10.1.1.2leaf-r5
root@leaf-r5# run show configuration | display set
set version 24.4R1.9
set system host-name leaf-r5
set system root-authentication encrypted-password "$6$GefaMPZp$/322EejBajfmzW4JYnoLTwOSJLTP8kx1/R0debPdDyHT.fSuKuez.M6LruqtLki.Sc5WzDNn.GlF8jZ8wZWgS/"
set system syslog file interactive-commands interactive-commands any
set system syslog file messages any notice
set system syslog file messages authorization info
set system processes dhcp-service traceoptions file dhcp_logfile
set system processes dhcp-service traceoptions file size 10m
set system processes dhcp-service traceoptions level all
set system processes dhcp-service traceoptions flag packet
set chassis aggregated-devices ethernet device-count 6
set interfaces ge-0/0/0 unit 0 family inet address 10.15.1.1/31
set interfaces ge-0/0/1 unit 0 family inet address 10.25.1.1/31
set interfaces ge-0/0/2 gigether-options 802.3ad ae0
set interfaces ae0 flexible-vlan-tagging
set interfaces ae0 encapsulation extended-vlan-bridge
set interfaces ae0 esi 00:00:00:00:00:00:00:00:00:56
set interfaces ae0 esi all-active
set interfaces ae0 aggregated-ether-options lacp active
set interfaces ae0 aggregated-ether-options lacp system-id 00:00:00:00:00:56
set interfaces ae0 unit 101 vlan-id 101
set interfaces ae0 unit 102 vlan-id 102
set interfaces lo0 unit 0 family inet address 10.1.1.5/32
set policy-options policy-statement LB term term1 from protocol evpn
set policy-options policy-statement LB term term1 then load-balance per-packet
set policy-options policy-statement LB term term1 then accept
set policy-options policy-statement LB term term2 then load-balance per-packet
set policy-options policy-statement LB term term2 then accept
set policy-options policy-statement export-underlay_routes term 1 from interface lo0.0
set policy-options policy-statement export-underlay_routes term 1 then accept
set routing-instances macvrf44-vlan-based instance-type mac-vrf
set routing-instances macvrf44-vlan-based protocols evpn encapsulation vxlan
set routing-instances macvrf44-vlan-based protocols evpn default-gateway no-gateway-community
set routing-instances macvrf44-vlan-based protocols evpn extended-vni-list 50101
set routing-instances macvrf44-vlan-based vtep-source-interface lo0.0
set routing-instances macvrf44-vlan-based bridge-domains BD101 vlan-id 101
set routing-instances macvrf44-vlan-based bridge-domains BD101 interface ae0.101
set routing-instances macvrf44-vlan-based bridge-domains BD101 vxlan vni 50101
set routing-instances macvrf44-vlan-based service-type vlan-based
set routing-instances macvrf44-vlan-based route-distinguisher 10.1.1.5:101
set routing-instances macvrf44-vlan-based vrf-target target:1:101
set routing-instances macvrf55-vlan-based instance-type mac-vrf
set routing-instances macvrf55-vlan-based protocols evpn encapsulation vxlan
set routing-instances macvrf55-vlan-based protocols evpn extended-vni-list 50102
set routing-instances macvrf55-vlan-based vtep-source-interface lo0.0
set routing-instances macvrf55-vlan-based bridge-domains BD102 vlan-id 102
set routing-instances macvrf55-vlan-based bridge-domains BD102 interface ae0.102
set routing-instances macvrf55-vlan-based bridge-domains BD102 vxlan vni 50102
set routing-instances macvrf55-vlan-based service-type vlan-based
set routing-instances macvrf55-vlan-based route-distinguisher 10.1.1.5:102
set routing-instances macvrf55-vlan-based vrf-target target:1:102
set routing-options router-id 10.1.1.5
set routing-options forwarding-table export LB
set routing-options forwarding-table chained-composite-next-hop ingress evpn
set protocols router-advertisement interface fxp0.0 managed-configuration
set protocols bgp group underlay type external
set protocols bgp group underlay family inet unicast
set protocols bgp group underlay export export-underlay_routes
set protocols bgp group underlay local-as 64005
set protocols bgp group underlay neighbor 10.15.1.0 peer-as 64001
set protocols bgp group underlay neighbor 10.25.1.0 peer-as 64002
set protocols bgp group overlay type internal
set protocols bgp group overlay local-address 10.1.1.5
set protocols bgp group overlay family evpn signaling
set protocols bgp group overlay peer-as 64512
set protocols bgp group overlay local-as 64512
set protocols bgp group overlay neighbor 10.1.1.1
set protocols bgp group overlay neighbor 10.1.1.2
set protocols lldp interface ge-0/0/2
leaf-6
root@leaf-6# run show configuration | display set
set version 24.4R1.9
set system host-name leaf-6
set system root-authentication encrypted-password "$6$tyZc1Pwx$ERs2mdwgk7Oe.PP914XOvTK7/KfumI6RWudIw7uK4icQi4FcFroliPNRpRHgj6en2TDfec7upT42BAydn0MOn/"
set system syslog file interactive-commands interactive-commands any
set system syslog file messages any notice
set system syslog file messages authorization info
set system processes dhcp-service traceoptions file dhcp_logfile
set system processes dhcp-service traceoptions file size 10m
set system processes dhcp-service traceoptions level all
set system processes dhcp-service traceoptions flag packet
set chassis aggregated-devices ethernet device-count 8
set interfaces ge-0/0/0 unit 0 family inet address 10.16.1.1/31
set interfaces ge-0/0/1 unit 0 family inet address 10.26.1.1/31
set interfaces ge-0/0/2 gigether-options 802.3ad ae0
set interfaces ge-0/0/3 unit 0 family inet address 10.10.88.1/31
set interfaces ge-0/0/4 flexible-vlan-tagging
set interfaces ge-0/0/4 encapsulation extended-vlan-bridge
set interfaces ge-0/0/4 unit 0 family bridge interface-mode trunk
set interfaces ge-0/0/4 unit 0 family bridge vlan-id-list 103-104
set interfaces ae0 flexible-vlan-tagging
set interfaces ae0 encapsulation extended-vlan-bridge
set interfaces ae0 esi 00:00:00:00:00:00:00:00:00:34
set interfaces ae0 esi all-active
set interfaces ae0 aggregated-ether-options lacp active
set interfaces ae0 aggregated-ether-options lacp system-id 00:00:00:00:00:56
set interfaces ae0 unit 88 vlan-id 88
set interfaces ae0 unit 101 vlan-id 101
set interfaces ae0 unit 102 vlan-id 102
set interfaces irb unit 103 family inet address 10.10.103.1/24
set interfaces irb unit 103 mac 00:00:5e:00:53:aa
set interfaces irb unit 104 family inet address 10.10.104.1/24
set interfaces irb unit 104 mac 00:00:5e:00:53:bb
set interfaces lo0 unit 0 family inet address 10.1.1.6/32
set interfaces lo0 unit 1 family inet address 1.1.1.1/32
deactivate interfaces lo0 unit 1
set interfaces lo0 unit 2 family inet address 3.3.3.3/32
set policy-options policy-statement COMM_target:1100:1000 term 1 from community COMM_target:1100:1000
set policy-options policy-statement COMM_target:1100:1000 term 1 then accept
set policy-options policy-statement COMM_target:1:7779 term 1 from community COMM_target:1:7779
set policy-options policy-statement COMM_target:1:7779 term 1 then accept
set policy-options policy-statement LB term term1 from protocol evpn
set policy-options policy-statement LB term term1 then load-balance per-packet
set policy-options policy-statement LB term term1 then accept
set policy-options policy-statement LB term term2 then load-balance per-packet
set policy-options policy-statement LB term term2 then accept
set policy-options policy-statement export-underlay_routes term 1 from interface lo0.0
set policy-options policy-statement export-underlay_routes term 1 then accept
set policy-options policy-statement my-t5-export-vrf1 term 1 from route-filter 0.0.0.0/0 exact
set policy-options policy-statement my-t5-export-vrf1 term 1 then accept
set policy-options policy-statement my-t5-export-vrf1 term 2 from protocol direct
set policy-options policy-statement my-t5-export-vrf1 term 2 then accept
set policy-options policy-statement my-t5-export-vrf1 term 3 from route-filter 10.10.103.0/24 orlonger
set policy-options policy-statement my-t5-export-vrf1 term 3 from route-filter 10.10.104.0/24 orlonger
set policy-options policy-statement my-t5-export-vrf1 term 3 then accept
set policy-options policy-statement my-t5-export-vrf1 term 4 from protocol local
set policy-options policy-statement my-t5-export-vrf1 term 4 then accept
set policy-options community COMM_target:1100:1000 members target:1100:1000
set policy-options community COMM_target:1:7779 members target:1:7779
set routing-instances macvrf44-vlan-based instance-type mac-vrf
set routing-instances macvrf44-vlan-based protocols evpn encapsulation vxlan
set routing-instances macvrf44-vlan-based protocols evpn default-gateway no-gateway-community
set routing-instances macvrf44-vlan-based protocols evpn extended-vni-list 50101
set routing-instances macvrf44-vlan-based vtep-source-interface lo0.0
set routing-instances macvrf44-vlan-based bridge-domains BD101 vlan-id 101
set routing-instances macvrf44-vlan-based bridge-domains BD101 interface ae0.101
set routing-instances macvrf44-vlan-based bridge-domains BD101 vxlan vni 50101
set routing-instances macvrf44-vlan-based service-type vlan-based
set routing-instances macvrf44-vlan-based route-distinguisher 10.1.1.6:101
set routing-instances macvrf44-vlan-based vrf-target target:1:101
set routing-instances macvrf55-vlan-based instance-type mac-vrf
set routing-instances macvrf55-vlan-based protocols evpn encapsulation vxlan
set routing-instances macvrf55-vlan-based protocols evpn extended-vni-list 50102
set routing-instances macvrf55-vlan-based vtep-source-interface lo0.0
set routing-instances macvrf55-vlan-based bridge-domains BD102 vlan-id 102
set routing-instances macvrf55-vlan-based bridge-domains BD102 interface ae0.102
set routing-instances macvrf55-vlan-based bridge-domains BD102 vxlan vni 50102
set routing-instances macvrf55-vlan-based service-type vlan-based
set routing-instances macvrf55-vlan-based route-distinguisher 10.1.1.6:102
set routing-instances macvrf55-vlan-based vrf-target target:1:102
set routing-instances macvrf66-vlan-aware instance-type mac-vrf
set routing-instances macvrf66-vlan-aware protocols evpn designated-forwarder-preference-least
set routing-instances macvrf66-vlan-aware protocols evpn encapsulation vxlan
set routing-instances macvrf66-vlan-aware protocols evpn default-gateway no-gateway-community
set routing-instances macvrf66-vlan-aware protocols evpn extended-vni-list 50103
set routing-instances macvrf66-vlan-aware protocols evpn extended-vni-list 50104
set routing-instances macvrf66-vlan-aware vtep-source-interface lo0.0
set routing-instances macvrf66-vlan-aware bridge-domains BD103 vlan-id 103
set routing-instances macvrf66-vlan-aware bridge-domains BD103 routing-interface irb.103
set routing-instances macvrf66-vlan-aware bridge-domains BD103 vxlan vni 50103
set routing-instances macvrf66-vlan-aware bridge-domains BD104 vlan-id 104
set routing-instances macvrf66-vlan-aware bridge-domains BD104 routing-interface irb.104
set routing-instances macvrf66-vlan-aware bridge-domains BD104 vxlan vni 50104
set routing-instances macvrf66-vlan-aware service-type vlan-aware
set routing-instances macvrf66-vlan-aware interface ge-0/0/4.0
set routing-instances macvrf66-vlan-aware route-distinguisher 10.1.1.3:106
set routing-instances macvrf66-vlan-aware vrf-target target:1:7779
set routing-instances t5-vrf1 instance-type vrf
set routing-instances t5-vrf1 routing-options static route 0.0.0.0/0 next-hop 10.10.88.0
set routing-instances t5-vrf1 routing-options multipath
set routing-instances t5-vrf1 protocols evpn ip-prefix-routes advertise direct-nexthop
set routing-instances t5-vrf1 protocols evpn ip-prefix-routes encapsulation vxlan
set routing-instances t5-vrf1 protocols evpn ip-prefix-routes vni 1100
set routing-instances t5-vrf1 protocols evpn ip-prefix-routes export my-t5-export-vrf1
set routing-instances t5-vrf1 interface ge-0/0/3.0
set routing-instances t5-vrf1 interface irb.103
set routing-instances t5-vrf1 interface irb.104
set routing-instances t5-vrf1 interface lo0.2
set routing-instances t5-vrf1 route-distinguisher 10.10.1.6:88
set routing-instances t5-vrf1 vrf-target target:1100:1000
set routing-instances t5-vrf1 vrf-table-label
set routing-options router-id 10.1.1.6
set protocols router-advertisement interface fxp0.0 managed-configuration
set protocols bgp group underlay type external
set protocols bgp group underlay family inet unicast
set protocols bgp group underlay export export-underlay_routes
set protocols bgp group underlay local-as 64006
set protocols bgp group underlay neighbor 10.16.1.0 peer-as 64001
set protocols bgp group underlay neighbor 10.26.1.0 peer-as 64002
set protocols bgp group overlay type internal
set protocols bgp group overlay local-address 10.1.1.6
set protocols bgp group overlay family evpn signaling
set protocols bgp group overlay peer-as 64512
set protocols bgp group overlay local-as 64512
set protocols bgp group overlay neighbor 10.1.1.1
set protocols bgp group overlay neighbor 10.1.1.2
set protocols lldp interface ge-0/0/2 Copyright Notice: This article is an original work. Copyright belongs to Will's Blog. Please contact the author for permission before reprinting.
Article URL: https://blog.1amwill.com/index.php/archives/15/
If you have any questions or concerns about this article, feel free to leave a comment. I will try my best to respond as soon as possible.