Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation

Campus Fabric IP Clos Using Mist Wired Assurance—Juniper Validated Design (JVD)

keyboard_arrow_up
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

Additional Information

date_range 05-Apr-24

Configuration of the Underlay IP Fabric

This section displays the configuration output from the Juniper Mist cloud for the IP Fabric underlay on the core, distribution, and access switches using eBGP.

Mist provides the user with the following options (default in parenthesis):

  • BGP Local AS (65001)
  • Loopback Pool (172.16.254.0/23)
  • Subnet (10.255.240.0/20) – point to point interfaces between adjacent layers

Mist enables per-packet load-balancing using ECMP and fast convergence of BGP in the event of a link or node failure using BFD.

Core1 Switch Configuration

  1. Interconnects between the two distribution switches.
    content_copy zoom_out_map
    set interfaces xe-1/0/5 description evpn_downlink-to-d8539a646fc0
    set interfaces xe-1/0/5 unit 0 family inet address 10.255.240.6/31
    set interfaces xe-1/0/6 description evpn_downlink-to-d8539a64b5c0
    set interfaces xe-1/0/6 unit 0 family inet address 10.255.240.8/31
  2. Loopback interface, router ID, and AS number:
    content_copy zoom_out_map
    set groups top interfaces lo0 unit 0 family inet address 172.16.254.2/32
    set groups top routing-options router-id 172.16.254.2
    set groups top routing-options autonomous-system 65002
  3. Per-packet load balancing.
    content_copy zoom_out_map
    set groups top policy-options policy-statement ecmp_policy then load-balance per-packet
    set groups top policy-options policy-statement ecmp_policy then accept
    set groups top routing-options forwarding-table export ecmp_policy
  4. BGP underlay network between the two distribution switches.
    content_copy zoom_out_map
    set protocols bgp group evpn_underlay type external
    set protocols bgp group evpn_underlay log-updown
    set protocols bgp group evpn_underlay import evpn_underlay_import
    set protocols bgp group evpn_underlay family inet unicast
    set protocols bgp group evpn_underlay authentication-key "xyz"
    set protocols bgp group evpn_underlay export evpn_underlay_export
    set protocols bgp group evpn_underlay local-as 65002
    set protocols bgp group evpn_underlay multipath multiple-as
    set protocols bgp group evpn_underlay bfd-liveness-detection minimum-interval 350
    set protocols bgp group evpn_underlay bfd-liveness-detection multiplier 3
    set protocols bgp group evpn_underlay neighbor 10.255.240.7 peer-as 65003
    set protocols bgp group evpn_underlay neighbor 10.255.240.9 peer-as 65004
    set protocols bgp graceful-restart
                

Core2 Switch Configuration

  1. Interconnects between the two distribution switches.
    content_copy zoom_out_map
    set interfaces xe-1/0/4 description evpn_downlink-to-d8539a646fc0
    set interfaces xe-1/0/4 unit 0 family inet address 10.255.240.2/31
    set interfaces xe-1/0/5 description evpn_downlink-to-d8539a64b5c0
    set interfaces xe-1/0/5 unit 0 family inet address 10.255.240.4/31
  2. Loopback interface address, router ID, and AS number.
    content_copy zoom_out_map
    set groups top interfaces lo0 unit 0 family inet address 172.16.254.1/32
    set groups top routing-options router-id 172.16.254.1
    set groups top routing-options autonomous-system 65001
  3. Per-packet load balancing.
    content_copy zoom_out_map
    set groups top policy-options policy-statement ecmp_policy then load-balance per-packet                
    set groups top policy-options policy-statement ecmp_policy then accept                                                          
    set groups top routing-options forwarding-table export ecmp_policy
  4. BGP underlay network between the two distribution switches.
    content_copy zoom_out_map
    set protocols bgp group evpn_underlay type external
    set protocols bgp group evpn_underlay log-updown
    set protocols bgp group evpn_underlay import evpn_underlay_import
    set protocols bgp group evpn_underlay family inet unicast
    set protocols bgp group evpn_underlay authentication-key "xyz"
    set protocols bgp group evpn_underlay export evpn_underlay_export
    set protocols bgp group evpn_underlay local-as 65001
    set protocols bgp group evpn_underlay multipath multiple-as
    set protocols bgp group evpn_underlay bfd-liveness-detection minimum-interval 350
    set protocols bgp group evpn_underlay bfd-liveness-detection multiplier 3
    set protocols bgp group evpn_underlay neighbor 10.255.240.3 peer-as 65003
    set protocols bgp group evpn_underlay neighbor 10.255.240.5 peer-as 65004
    set protocols bgp graceful-restart

Dist1 Switch Configuration

  1. Interconnects between the two core switches and the two access switches.
    content_copy zoom_out_map
    Core Interfaces:
    set interfaces xe-0/0/4 description evpn_uplink-to-f4b52ff3f400
    set interfaces xe-0/0/4 unit 0 family inet address 10.255.240.3/31
    set interfaces xe-0/0/5 description evpn_uplink-to-f4b52ff40400
    set interfaces xe-0/0/5 unit 0 family inet address 10.255.240.7/31
            
    Access Interfaces:
    set interfaces ge-0/0/36 description evpn_downlink-to-00cc34f47200
    set interfaces ge-0/0/36 unit 0 family inet address 10.255.240.12/31
    set interfaces ge-0/0/37 description evpn_downlink-to-00cc34f3cf00
    set interfaces ge-0/0/37 unit 0 family inet address 10.255.240.10/31
  2. Loopback interface address, router ID, and AS number.
    content_copy zoom_out_map
    set groups top interfaces lo0 unit 0 family inet address 172.16.254.3/32
    set groups top routing-options router-id 172.16.254.3
    set groups top routing-options autonomous-system 65003
  3. Per-packet load balancing.
    content_copy zoom_out_map
    set groups top policy-options policy-statement ecmp_policy then load-balance per-packet
    set groups top policy-options policy-statement ecmp_policy then accept
    set groups top routing-options forwarding-table export ecmp_policy
  4. BGP underlay network between the two core switches and two access switches.
    content_copy zoom_out_map
    set protocols bgp group evpn_underlay type external
    set protocols bgp group evpn_underlay log-updown
    set protocols bgp group evpn_underlay import evpn_underlay_import
    set protocols bgp group evpn_underlay family inet unicast
    set protocols bgp group evpn_underlay authentication-key "xyz"
    set protocols bgp group evpn_underlay export evpn_underlay_export
    set protocols bgp group evpn_underlay local-as 65003
    set protocols bgp group evpn_underlay multipath multiple-as
    set protocols bgp group evpn_underlay bfd-liveness-detection minimum-interval 350
    set protocols bgp group evpn_underlay bfd-liveness-detection multiplier 3
    set protocols bgp group evpn_underlay neighbor 10.255.240.2 peer-as 65001
    set protocols bgp group evpn_underlay neighbor 10.255.240.6 peer-as 65002
    set protocols bgp group evpn_underlay neighbor 10.255.240.11 peer-as 65005
    set protocols bgp group evpn_underlay neighbor 10.255.240.13 peer-as 65006
    set protocols bgp graceful-restart

Dist2 Switch Configuration

  1. Interconnects between the two core switches and the two access switches.
    content_copy zoom_out_map
    Core Interfaces:
    set interfaces xe-0/0/5 description evpn_uplink-to-f4b52ff3f400
    set interfaces xe-0/0/5 unit 0 family inet address 10.255.240.5/31
    set interfaces xe-0/0/6 description evpn_uplink-to-f4b52ff40400
    set interfaces xe-0/0/6 unit 0 family inet address 10.255.240.9/31
            
    Access Interfaces:
    set interfaces ge-0/0/36 description evpn_downlink-to-00cc34f3cf00
    set interfaces ge-0/0/36 unit 0 family inet address 10.255.240.14/31
    set interfaces ge-0/0/37 description evpn_downlink-to-00cc34f47200
    set interfaces ge-0/0/37 unit 0 family inet address 10.255.240.16/31
  2. Loopback interface and router ID.
    content_copy zoom_out_map
    set groups top interfaces lo0 unit 0 family inet address 172.16.254.4/32 
    set groups top routing-options router-id 172.16.254.4
    set groups top routing-options autonomous-system 65004
  3. Per-packet load balancing.
    content_copy zoom_out_map
    set groups top policy-options policy-statement ecmp_policy then load-balance per-packet                
    set groups top policy-options policy-statement ecmp_policy then accept                                            
    set groups top routing-options forwarding-table export ecmp_policy
  4. BGP underlay network between the two core switches and two access switches.
    content_copy zoom_out_map
    set protocols bgp group evpn_underlay type external
    set protocols bgp group evpn_underlay log-updown
    set protocols bgp group evpn_underlay import evpn_underlay_import
    set protocols bgp group evpn_underlay family inet unicast
    set protocols bgp group evpn_underlay authentication-key "xyz"
    set protocols bgp group evpn_underlay export evpn_underlay_export
    set protocols bgp group evpn_underlay local-as 65004
    set protocols bgp group evpn_underlay multipath multiple-as
    set protocols bgp group evpn_underlay bfd-liveness-detection minimum-interval 350
    set protocols bgp group evpn_underlay bfd-liveness-detection multiplier 3
    set protocols bgp group evpn_underlay neighbor 10.255.240.4 peer-as 65001
    set protocols bgp group evpn_underlay neighbor 10.255.240.8 peer-as 65002
    set protocols bgp group evpn_underlay neighbor 10.255.240.15 peer-as 65005
    set protocols bgp group evpn_underlay neighbor 10.255.240.17 peer-as 65006
    set protocols bgp graceful-restart

Access1 Configuration

  1. Interconnects between the two distribution switches.
    content_copy zoom_out_map
    set interfaces ge-0/0/36 description evpn_uplink-to-d8539a646fc0
    set interfaces ge-0/0/36 unit 0 family inet address 10.255.240.13/31
    set interfaces ge-0/0/37 description evpn_uplink-to-d8539a64b5c0
    set interfaces ge-0/0/37 unit 0 family inet address 10.255.240.17/31
  2. Loopback interface and router ID and AS
    content_copy zoom_out_map
    set groups top interfaces lo0 unit 0 family inet address 192.168.255.31/32
    set groups top interfaces lo0 unit 0 family inet address 172.16.254.6/32
    set groups top routing-options router-id 172.16.254.6
    set groups top routing-options autonomous-system 65006
  3. Per-packet load balancing.
    content_copy zoom_out_map
    set groups top policy-options policy-statement ecmp_policy then load-balance per-packet                
    set groups top policy-options policy-statement ecmp_policy then accept                                                
    set groups top routing-options forwarding-table export ecmp_policy
  4. BGP underlay network between the two distribution switches.
    content_copy zoom_out_map
    set protocols bgp group evpn_underlay type external
    set protocols bgp group evpn_underlay log-updown
    set protocols bgp group evpn_underlay import evpn_underlay_import
    set protocols bgp group evpn_underlay family inet unicast
    set protocols bgp group evpn_underlay authentication-key "xyz"
    set protocols bgp group evpn_underlay export evpn_underlay_export
    set protocols bgp group evpn_underlay local-as 65006
    set protocols bgp group evpn_underlay multipath multiple-as
    set protocols bgp group evpn_underlay bfd-liveness-detection minimum-interval 350
    set protocols bgp group evpn_underlay bfd-liveness-detection multiplier 3
    set protocols bgp group evpn_underlay neighbor 10.255.240.12 peer-as 65003
    set protocols bgp group evpn_underlay neighbor 10.255.240.16 peer-as 65004
    set protocols bgp graceful-restart

Access2 Configuration

  1. Interconnects between the two distribution switches.
    content_copy zoom_out_map
    set interfaces ge-0/0/36 description evpn_uplink-to-d8539a64b5c0
    set interfaces ge-0/0/36 unit 0 family inet address 10.255.240.15/31
    set interfaces ge-0/0/37 description evpn_uplink-to-d8539a646fc0
    set interfaces ge-0/0/37 unit 0 family inet address 10.255.240.11/31
  2. Loopback interface and router ID and AS
    content_copy zoom_out_map
    set groups top interfaces lo0 unit 0 family inet address 172.16.254.5/32
    set groups top routing-options router-id 172.16.254.5
    set groups top routing-options autonomous-system 65005
  3. Per-packet load balancing.
    content_copy zoom_out_map
    set groups top policy-options policy-statement ecmp_policy then load-balance per-packet                
    set groups top policy-options policy-statement ecmp_policy then accept                                                
    set groups top routing-options forwarding-table export ecmp_policy
  4. BGP underlay network between the two distribution switches.
    content_copy zoom_out_map
    set protocols bgp group evpn_underlay type external
    set protocols bgp group evpn_underlay log-updown
    set protocols bgp group evpn_underlay import evpn_underlay_import
    set protocols bgp group evpn_underlay family inet unicast
    set protocols bgp group evpn_underlay authentication-key "xyz"
    set protocols bgp group evpn_underlay export evpn_underlay_export
    set protocols bgp group evpn_underlay local-as 65005
    set protocols bgp group evpn_underlay multipath multiple-as
    set protocols bgp group evpn_underlay bfd-liveness-detection minimum-interval 350
    set protocols bgp group evpn_underlay bfd-liveness-detection multiplier 3
    set protocols bgp group evpn_underlay neighbor 10.255.240.10 peer-as 65003
    set protocols bgp group evpn_underlay neighbor 10.255.240.14 peer-as 65004
    set protocols bgp graceful-restart

Configuration of the EVPN VXLAN Overlay and Virtual Networks

This section displays the Juniper Mist cloud configuration output for the EVPN VXLAN overlay on the core, distribution, and access switches using eBGP.

Mist enables load balancing across the overlay network and fast convergence of BGP in the event of a link or node failure using BFD between adjacent layers.

Mist enables VXLAN tunneling, VLAN to VXLAN mapping, and MP-BGP configuration snippets such as vrf-targets on the access layer switches. The core switches have VXLAN tunneling and VLAN to VXLAN mapping enabled based on the selection of the Core as a Border option.

Core1 Switch Configuration

  1. BGP Overlay peering between the two distribution switches.
    content_copy zoom_out_map
    set protocols bgp group evpn_overlay type external
    set protocols bgp group evpn_overlay multihop ttl 1
    set protocols bgp group evpn_overlay multihop no-nexthop-change
    set protocols bgp group evpn_overlay local-address 172.16.254.2
    set protocols bgp group evpn_overlay log-updown
    set protocols bgp group evpn_overlay family evpn signaling loops 2
    set protocols bgp group evpn_overlay authentication-key "xyz"
    set protocols bgp group evpn_overlay local-as 65002
    set protocols bgp group evpn_overlay multipath multiple-as
    set protocols bgp group evpn_overlay bfd-liveness-detection minimum-interval 1000
    set protocols bgp group evpn_overlay bfd-liveness-detection multiplier 3
    set protocols bgp group evpn_overlay bfd-liveness-detection session-mode automatic
    set protocols bgp group evpn_overlay neighbor 172.16.254.3 peer-as 65003
    set protocols bgp group evpn_overlay neighbor 172.16.254.4 peer-as 65004
  2. Switch options that define vrf-targets and the source loopback interface used for VXLAN.
    content_copy zoom_out_map
    set groups top routing-instances evpn_vs vtep-source-interface lo0.0
    set groups top routing-instances evpn_vs route-distinguisher 172.16.254.2:1
    set groups top routing-instances evpn_vs vrf-target target:65000:1
  3. VXLAN encapsulation.
    content_copy zoom_out_map
    set groups top routing-instances evpn_vs protocols evpn encapsulation vxlan
    set groups top routing-instances evpn_vs protocols evpn default-gateway no-gateway-community
    set groups top routing-instances evpn_vs protocols evpn extended-vni-list all
  4. VRFs that are used for traffic isolation.
    content_copy zoom_out_map
    set groups top routing-instances evpn_vs instance-type virtual-switch
    set groups top routing-instances evpn_vs protocols evpn encapsulation vxlan
    set groups top routing-instances evpn_vs protocols evpn default-gateway do-not-advertise
    set groups top routing-instances evpn_vs protocols evpn extended-vni-list all
    set groups top routing-instances evpn_vs protocols rstp interface ae0 disable
    set groups top routing-instances evpn_vs protocols rstp bpdu-block-on-edge
    set groups top routing-instances evpn_vs vtep-source-interface lo0.0
    set groups top routing-instances evpn_vs interface ae0.0
    set groups top routing-instances evpn_vs route-distinguisher 172.16.254.2:1
    set groups top routing-instances evpn_vs vrf-target target:65000:1
  5. VLAN to VXLAN mapping.
    content_copy zoom_out_map
    set groups top routing-instances evpn_vs vlans vlan1033 vlan-id 1033
    set groups top routing-instances evpn_vs vlans vlan1033 vxlan vni 11033
    set groups top routing-instances evpn_vs vlans vlan1088 vlan-id 1088
    set groups top routing-instances evpn_vs vlans vlan1088 vxlan vni 11088
    set groups top routing-instances evpn_vs vlans vlan1099 vlan-id 1099
    set groups top routing-instances evpn_vs vlans vlan1099 vxlan vni 11099

Core2 Configuration

  1. BGP overlay peering between the two distribution switches.
    content_copy zoom_out_map
    set protocols bgp group evpn_overlay type external
    set protocols bgp group evpn_overlay multihop ttl 1
    set protocols bgp group evpn_overlay multihop no-nexthop-change
    set protocols bgp group evpn_overlay local-address 172.16.254.1
    set protocols bgp group evpn_overlay log-updown
    set protocols bgp group evpn_overlay family evpn signaling loops 2
    set protocols bgp group evpn_overlay authentication-key "xyz"
    set protocols bgp group evpn_overlay local-as 65001
    set protocols bgp group evpn_overlay multipath multiple-as
    set protocols bgp group evpn_overlay bfd-liveness-detection minimum-interval 1000
    set protocols bgp group evpn_overlay bfd-liveness-detection multiplier 3
    set protocols bgp group evpn_overlay bfd-liveness-detection session-mode automatic
    set protocols bgp group evpn_overlay neighbor 172.16.254.3 peer-as 65003
    set protocols bgp group evpn_overlay neighbor 172.16.254.4 peer-as 65004
  2. Switch options that define vrf-targets and the source loopback interface used for VXLAN.
    content_copy zoom_out_map
    set groups top routing-instances evpn_vs vtep-source-interface lo0.0
    set groups top routing-instances evpn_vs route-distinguisher 172.16.254.1:1
    set groups top routing-instances evpn_vs vrf-target target:65000:1
  3. VXLAN encapsulation.
    content_copy zoom_out_map
    set groups top routing-instances evpn_vs protocols evpn encapsulation vxlan
    set groups top routing-instances evpn_vs protocols evpn default-gateway no-gateway-community
    set groups top routing-instances evpn_vs protocols evpn extended-vni-list all
  4. VRFs that are used for traffic isolation.
    content_copy zoom_out_map
    set groups top routing-instances evpn_vs instance-type virtual-switch
    set groups top routing-instances evpn_vs protocols evpn encapsulation vxlan
    set groups top routing-instances evpn_vs protocols evpn default-gateway do-not-advertise
    set groups top routing-instances evpn_vs protocols evpn extended-vni-list all
    set groups top routing-instances evpn_vs protocols rstp interface ae0 disable
    set groups top routing-instances evpn_vs protocols rstp bpdu-block-on-edge
    set groups top routing-instances evpn_vs vtep-source-interface lo0.0
    set groups top routing-instances evpn_vs interface ae0.0
    set groups top routing-instances evpn_vs route-distinguisher 172.16.254.1:1
    set groups top routing-instances evpn_vs vrf-target target:65000:1
  5. VLAN to VXLAN mapping.
    content_copy zoom_out_map
    set groups top routing-instances evpn_vs vlans vlan1033 vlan-id 1033
    set groups top routing-instances evpn_vs vlans vlan1033 vxlan vni 11033
    set groups top routing-instances evpn_vs vlans vlan1088 vlan-id 1088
    set groups top routing-instances evpn_vs vlans vlan1088 vxlan vni 11088
    set groups top routing-instances evpn_vs vlans vlan1099 vlan-id 1099
    set groups top routing-instances evpn_vs vlans vlan1099 vxlan vni 11099

Dist1 Switch Configuration

  1. BGP overlay peering between the two core switches and the two access switches.
    content_copy zoom_out_map
    set protocols bgp group evpn_overlay type external
    set protocols bgp group evpn_overlay multihop ttl 1
    set protocols bgp group evpn_overlay multihop no-nexthop-change
    set protocols bgp group evpn_overlay local-address 172.16.254.3
    set protocols bgp group evpn_overlay log-updown
    set protocols bgp group evpn_overlay family evpn signaling loops 2
    set protocols bgp group evpn_overlay authentication-key "xyz"
    set protocols bgp group evpn_overlay local-as 65003
    set protocols bgp group evpn_overlay multipath multiple-as
    set protocols bgp group evpn_overlay bfd-liveness-detection minimum-interval 1000
    set protocols bgp group evpn_overlay bfd-liveness-detection multiplier 3
    set protocols bgp group evpn_overlay bfd-liveness-detection session-mode automatic
    set protocols bgp group evpn_overlay neighbor 172.16.254.1 peer-as 65001
    set protocols bgp group evpn_overlay neighbor 172.16.254.2 peer-as 65002
    set protocols bgp group evpn_overlay neighbor 172.16.254.5 peer-as 65005
    set protocols bgp group evpn_overlay neighbor 172.16.254.6 peer-as 65006

Dist2 Switch Configuration

  1. BGP overlay peering between the two core switches and the two access switches.
    content_copy zoom_out_map
    set protocols bgp group evpn_overlay type external
    set protocols bgp group evpn_overlay multihop ttl 1
    set protocols bgp group evpn_overlay multihop no-nexthop-change
    set protocols bgp group evpn_overlay local-address 172.16.254.4
    set protocols bgp group evpn_overlay log-updown
    set protocols bgp group evpn_overlay family evpn signaling loops 2
    set protocols bgp group evpn_overlay authentication-key "xyz"
    set protocols bgp group evpn_overlay local-as 65004
    set protocols bgp group evpn_overlay multipath multiple-as
    set protocols bgp group evpn_overlay bfd-liveness-detection minimum-interval 1000
    set protocols bgp group evpn_overlay bfd-liveness-detection multiplier 3
    set protocols bgp group evpn_overlay bfd-liveness-detection session-mode automatic
    set protocols bgp group evpn_overlay neighbor 172.16.254.1 peer-as 65001
    set protocols bgp group evpn_overlay neighbor 172.16.254.2 peer-as 65002
    set protocols bgp group evpn_overlay neighbor 172.16.254.5 peer-as 65005
    set protocols bgp group evpn_overlay neighbor 172.16.254.6 peer-as 65006

Access1 Configuration

  1. BGP overlay peering between the two distribution switches.
    content_copy zoom_out_map
    set protocols bgp group evpn_overlay type external
    set protocols bgp group evpn_overlay multihop ttl 1
    set protocols bgp group evpn_overlay multihop no-nexthop-change
    set protocols bgp group evpn_overlay local-address 172.16.254.6
    set protocols bgp group evpn_overlay log-updown
    set protocols bgp group evpn_overlay family evpn signaling loops 2
    set protocols bgp group evpn_overlay authentication-key "xyz"
    set protocols bgp group evpn_overlay local-as 65006
    set protocols bgp group evpn_overlay multipath multiple-as
    set protocols bgp group evpn_overlay bfd-liveness-detection minimum-interval 1000
    set protocols bgp group evpn_overlay bfd-liveness-detection multiplier 3
    set protocols bgp group evpn_overlay bfd-liveness-detection session-mode automatic
    set protocols bgp group evpn_overlay neighbor 172.16.254.3 peer-as 65003
    set protocols bgp group evpn_overlay neighbor 172.16.254.4 peer-as 65004
  2. Switch options that define vrf-targets and the source loopback interface used for VXLAN.
    content_copy zoom_out_map
    set groups top switch-options vtep-source-interface lo0.0
    set groups top switch-options route-distinguisher 172.16.254.6:1
    set groups top switch-options vrf-target target:65000:1
  3. VXLAN encapsulation.
    content_copy zoom_out_map
    set groups top protocols evpn encapsulation vxlan
    set groups top protocols evpn default-gateway no-gateway-community
    set groups top protocols evpn extended-vni-list all
  4. VRFs that are used for traffic isolation.
    content_copy zoom_out_map
    set groups top routing-instances guest-wifi instance-type vrf
    set groups top routing-instances guest-wifi routing-options static route 0.0.0.0/0 next-hop 10.33.33.254
    set groups top routing-instances guest-wifi routing-options multipath
    set groups top routing-instances guest-wifi routing-options auto-export
    set groups top routing-instances guest-wifi protocols evpn ip-prefix-routes advertise direct-nexthop
    set groups top routing-instances guest-wifi protocols evpn ip-prefix-routes encapsulation vxlan
    set groups top routing-instances guest-wifi protocols evpn ip-prefix-routes vni 15560868
    set groups top routing-instances guest-wifi interface irb.1033
    set groups top routing-instances guest-wifi interface lo0.3
    set groups top routing-instances guest-wifi route-distinguisher 172.16.254.6:103
    set groups top routing-instances guest-wifi vrf-target target:65000:103
    set groups top routing-instances guest-wifi vrf-table-label
    set groups top routing-instances developers instance-type vrf
    set groups top routing-instances developers routing-options static route 0.0.0.0/0 next-hop 10.88.88.254
    set groups top routing-instances developers routing-options multipath
    set groups top routing-instances developers routing-options auto-export
    set groups top routing-instances developers protocols evpn ip-prefix-routes advertise direct-nexthop
    set groups top routing-instances developers protocols evpn ip-prefix-routes encapsulation vxlan
    set groups top routing-instances developers protocols evpn ip-prefix-routes vni 15600414
    set groups top routing-instances developers interface irb.1088
    set groups top routing-instances developers interface lo0.2
    set groups top routing-instances developers route-distinguisher 172.16.254.6:102
    set groups top routing-instances developers vrf-target target:65000:102
    set groups top routing-instances developers vrf-table-label
    set groups top routing-instances corp-it instance-type vrf
    set groups top routing-instances corp-it routing-options static route 0.0.0.0/0 next-hop 10.99.99.254
    set groups top routing-instances corp-it routing-options multipath
    set groups top routing-instances corp-it routing-options auto-export
    set groups top routing-instances corp-it protocols evpn ip-prefix-routes advertise direct-nexthop
    set groups top routing-instances corp-it protocols evpn ip-prefix-routes encapsulation vxlan
    set groups top routing-instances corp-it protocols evpn ip-prefix-routes vni 11284517
    set groups top routing-instances corp-it interface irb.1099
    set groups top routing-instances corp-it interface lo0.1
    set groups top routing-instances corp-it route-distinguisher 172.16.254.6:101
    set groups top routing-instances corp-it vrf-target target:65000:101
    set groups top routing-instances corp-it vrf-table-label
  5. VLAN to VXLAN mapping.
    content_copy zoom_out_map
    set vlans vlan1033 vlan-id 1033
    set vlans vlan1033 l3-interface irb.1033
    set vlans vlan1033 vxlan vni 11033
    set vlans vlan1088 vlan-id 1088
    set vlans vlan1088 l3-interface irb.1088
    set vlans vlan1088 vxlan vni 11088
    set vlans vlan1099 vlan-id 1099
    set vlans vlan1099 l3-interface irb.1099
    set vlans vlan1099 vxlan vni 11099
  6. L3 IRB interface enablement with anycast addressing.
    content_copy zoom_out_map
    set interfaces irb unit 1033 description vlan1033
    set interfaces irb unit 1033 family inet mtu 9000
    set interfaces irb unit 1033 family inet address 10.33.33.1/24
    set interfaces irb unit 1033 mac 00:00:5e:e4:31:57
    set interfaces irb unit 1088 description vlan1088
    set interfaces irb unit 1088 family inet mtu 9000
    set interfaces irb unit 1088 family inet address 10.88.88.1/24
    set interfaces irb unit 1088 mac 00:00:5e:e4:31:57
    set interfaces irb unit 1099 description vlan1099
    set interfaces irb unit 1099 family inet mtu 9000
    set interfaces irb unit 1099 family inet address 10.99.99.1/24
    set interfaces irb unit 1099 mac 00:00:5e:e4:31:57

Access2 Switch Configuration

  1. BGP overlay peering between the two distribution switches.
    content_copy zoom_out_map
    set protocols bgp group evpn_overlay type external
    set protocols bgp group evpn_overlay multihop ttl 1
    set protocols bgp group evpn_overlay multihop no-nexthop-change
    set protocols bgp group evpn_overlay local-address 172.16.254.5
    set protocols bgp group evpn_overlay log-updown
    set protocols bgp group evpn_overlay family evpn signaling loops 2
    set protocols bgp group evpn_overlay authentication-key "xyz"
    set protocols bgp group evpn_overlay local-as 65005
    set protocols bgp group evpn_overlay multipath multiple-as
    set protocols bgp group evpn_overlay bfd-liveness-detection minimum-interval 1000
    set protocols bgp group evpn_overlay bfd-liveness-detection multiplier 3
    set protocols bgp group evpn_overlay bfd-liveness-detection session-mode automatic
    set protocols bgp group evpn_overlay neighbor 172.16.254.3 peer-as 65003
    set protocols bgp group evpn_overlay neighbor 172.16.254.4 peer-as 65004
  2. Switch options that define vrf-targets and the source loopback interface used for VXLAN.
    content_copy zoom_out_map
    set groups top switch-options vtep-source-interface lo0.0
    set groups top switch-options route-distinguisher 172.16.254.5:1
    set groups top switch-options vrf-target target:65000:1
  3. VXLAN encapsulation.
    content_copy zoom_out_map
    set groups top protocols evpn encapsulation vxlan
    set groups top protocols evpn default-gateway no-gateway-community
    set groups top protocols evpn extended-vni-list all
  4. VRFs that are used for traffic isolation.
    content_copy zoom_out_map
    set groups top routing-instances guest-wifi instance-type vrf
    set groups top routing-instances guest-wifi routing-options static route 0.0.0.0/0 next-hop 10.33.33.254
    set groups top routing-instances guest-wifi routing-options multipath
    set groups top routing-instances guest-wifi routing-options auto-export
    set groups top routing-instances guest-wifi protocols evpn ip-prefix-routes advertise direct-nexthop
    set groups top routing-instances guest-wifi protocols evpn ip-prefix-routes encapsulation vxlan
    set groups top routing-instances guest-wifi protocols evpn ip-prefix-routes vni 15560868
    set groups top routing-instances guest-wifi interface irb.1033
    set groups top routing-instances guest-wifi interface lo0.3
    set groups top routing-instances guest-wifi route-distinguisher 172.16.254.5:103
    set groups top routing-instances guest-wifi vrf-target target:65000:103
    set groups top routing-instances guest-wifi vrf-table-label
    set groups top routing-instances developers instance-type vrf
    set groups top routing-instances developers routing-options static route 0.0.0.0/0 next-hop 10.88.88.254
    set groups top routing-instances developers routing-options multipath
    set groups top routing-instances developers routing-options auto-export
    set groups top routing-instances developers protocols evpn ip-prefix-routes advertise direct-nexthop
    set groups top routing-instances developers protocols evpn ip-prefix-routes encapsulation vxlan
    set groups top routing-instances developers protocols evpn ip-prefix-routes vni 15600414
    set groups top routing-instances developers interface irb.1088
    set groups top routing-instances developers interface lo0.2
    set groups top routing-instances developers route-distinguisher 172.16.254.5:102
    set groups top routing-instances developers vrf-target target:65000:102
    set groups top routing-instances developers vrf-table-label
    set groups top routing-instances corp-it instance-type vrf
    set groups top routing-instances corp-it routing-options static route 0.0.0.0/0 next-hop 10.99.99.254
    set groups top routing-instances corp-it routing-options multipath
    set groups top routing-instances corp-it routing-options auto-export
    set groups top routing-instances corp-it protocols evpn ip-prefix-routes advertise direct-nexthop
    set groups top routing-instances corp-it protocols evpn ip-prefix-routes encapsulation vxlan
    set groups top routing-instances corp-it protocols evpn ip-prefix-routes vni 11284517
    set groups top routing-instances corp-it interface irb.1099
    set groups top routing-instances corp-it interface lo0.1
    set groups top routing-instances corp-it route-distinguisher 172.16.254.5:101
    set groups top routing-instances corp-it vrf-target target:65000:101
    set groups top routing-instances corp-it vrf-table-label
  5. VLAN to VXLAN mapping.
    content_copy zoom_out_map
    set vlans vlan1033 vlan-id 1033
    set vlans vlan1033 l3-interface irb.1033
    set vlans vlan1033 vxlan vni 11033
    set vlans vlan1088 vlan-id 1088
    set vlans vlan1088 l3-interface irb.1088
    set vlans vlan1088 vxlan vni 11088
    set vlans vlan1099 vlan-id 1099
    set vlans vlan1099 l3-interface irb.1099
    set vlans vlan1099 vxlan vni 11099
  6. L3 IRB interface enablement with anycast addressing.
    content_copy zoom_out_map
    set interfaces irb unit 1033 description vlan1033
    set interfaces irb unit 1033 family inet mtu 9000
    set interfaces irb unit 1033 family inet address 10.33.33.1/24
    set interfaces irb unit 1033 mac 00:00:5e:e4:31:57
    set interfaces irb unit 1088 description vlan1088
    set interfaces irb unit 1088 family inet mtu 9000
    set interfaces irb unit 1088 family inet address 10.88.88.1/24
    set interfaces irb unit 1088 mac 00:00:5e:e4:31:57
    set interfaces irb unit 1099 description vlan1099
    set interfaces irb unit 1099 family inet mtu 9000
    set interfaces irb unit 1099 family inet address 10.99.99.1/24
    set interfaces irb unit 1099 mac 00:00:5e:e4:31:57

Configuration of the L2 ESI-LAG Between the Core Switches and MX Router

This section displays the Juniper Mist Cloud configuration output for the enablement of the L2 ESI Link Aggregation Groups (LAG) between the core switches and MX routers. This Mist profile enables all VLANs on the Ethernet bundle with requisite ESI and LACP configuration options. From the perspective of the MX router, the Ethernet bundle that is configured on the MX router views the ESI-LAG as a single MAC address with the same LACP system id. This enables load hashing between the core and MX router without requiring L2 loop-free detection protocols such as RSTP.

Figure 1: L2 ESI-LAG Supporting Active-Active Load Balancing A diagram of a network Description automatically generated

Core 1 Switch Configuration

  1. Interface association with the newly created Ethernet bundle that includes ESI and LACP configuration.
    content_copy zoom_out_map
    set interfaces xe-1/0/0 hold-time up 120000
    set interfaces xe-1/0/0 hold-time down 1
    set interfaces xe-1/0/0 ether-options 802.3ad ae0
    set interfaces xe-1/0/0 unit 0 family ethernet-switching storm-control default
    set groups myesilag interfaces <*> mtu 9014
    set groups myesilag interfaces <*> unit 0 family ethernet-switching interface-mode trunk
    set groups myesilag interfaces <*> unit 0 family ethernet-switching vlan members all
    set interfaces ae0 apply-groups myesilag
    set interfaces ae0 esi 00:11:00:00:00:01:00:01:02:00
    set interfaces ae0 esi all-active
    set interfaces ae0 aggregated-ether-options lacp active
    set interfaces ae0 aggregated-ether-options lacp periodic fast
    set interfaces ae0 aggregated-ether-options lacp system-id 00:00:00:31:57:00
    set interfaces ae0 aggregated-ether-options lacp admin-key 0

Core 2 Switch Configuration

  1. Interface association with the newly created Ethernet bundle that includes ESI and LACP configuration.
    content_copy zoom_out_map
    set interfaces xe-1/0/1 hold-time up 120000
    set interfaces xe-1/0/1 hold-time down 1
    set interfaces xe-1/0/1 ether-options 802.3ad ae0
    set interfaces xe-1/0/1 unit 0 family ethernet-switching storm-control default
    set groups myesilag interfaces <*> mtu 9014
    set groups myesilag interfaces <*> unit 0 family ethernet-switching interface-mode trunk
    set groups myesilag interfaces <*> unit 0 family ethernet-switching vlan members all
    set interfaces ae0 apply-groups myesilag
    set interfaces ae0 esi 00:11:00:00:00:01:00:01:02:00
    set interfaces ae0 esi all-active
    set interfaces ae0 aggregated-ether-options lacp active
    set interfaces ae0 aggregated-ether-options lacp periodic fast
    set interfaces ae0 aggregated-ether-options lacp system-id 00:00:00:31:57:00
    set interfaces ae0 aggregated-ether-options lacp admin-key 0

MX Router Configuration

  1. Interface association with newly created Ethernet bundle and LACP configuration.
    content_copy zoom_out_map
    set interfaces xe-0/0/0 gigether-options 802.3ad ae0
    set interfaces xe-0/0/1 gigether-options 802.3ad ae0
    set chassis aggregated-devices ethernet device-count 1
    set interfaces ae0 mtu 9014
    set interfaces ae0 aggregated-ether-options lacp active
    set interfaces ae0 unit 0 family bridge interface-mode trunk
    set interfaces ae0 unit 0 family bridge vlan-id-list 1033
    set interfaces ae0 unit 0 family bridge vlan-id-list 1088
    set interfaces ae0 unit 0 family bridge vlan-id-list 1099
    set interfaces irb unit 1033 family inet address 10.33.33.254/24
    set interfaces irb unit 1088 family inet address 10.88.88.254/24
    set interfaces irb unit 1099 family inet address 10.99.99.254/24
    set bridge-domains vlan1033 vlan-id 1033
    set bridge-domains vlan1033 routing-interface irb.1033
    set bridge-domains vlan1088 vlan-id 1088
    set bridge-domains vlan1088 routing-interface irb.1088
    set bridge-domains vlan1099 vlan-id 1099
    set bridge-domains vlan1099 routing-interface irb.1099
footer-navigation