Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Appendix: Building a Full Stack Topology with Juniper EX Switch and Juniper AP

This lab is an extension of the previous lab Appendix: Building a base SD-WAN Topology with Three Spokes and Two Hubs. There are no hub configuration changes to be made as we do not touch the VPN configuration. We add the following changes to this lab:

  • We define a new network intended to manage switches and APs attached to the WAN router.
    • This network will have the same IP address range 10.33.33.0/24 on all sites.
    • We do not propagate this IP address range to the VPN overlay.
    • This traffic will use local breakout on the WAN router to reach the Juniper Mist cloud managing it.
    • The WAN router will have a local DHCP server to hand out leases to the attached devices.
    • The network needs to be native at the LAN interface as the switch ports are initially in access mode.
  • On Spoke1, we use the interface ge-0/0/2 as the downlink to the switch. Hence, we assume this branch has no link redundancy requirement to the switch and attached APs.
  • On Spoke2, we use the interfaces ge-0/0/4 and ge-0/0/5 as downlinks to the switch. Hence, we can build a LAG with LACP toward the switch to achieve redundancy and load-balancing for more throughput. We also utilize a feature called force-up to the attached switch to be able to reach the Juniper Mist cloud without an initial LAG configuration. This is further documented in the JVD for Distributed Branch EX Series . Please review for more details on switch management towards Juniper Mist cloud and on the advantages of force-up when using a LAG.

Note:

When using force-up with a LAG, you must use firmware 6.3.0 or higher for Session Smart Routers.

Create a Management Network

Go to Organization -> Networks. Configure the first network in the following way:

  • Name=MGMT
  • Subnet IP Address=10.33.33.0 (this will be the same on all sites)
  • Prefix Length=24
  • VLAN ID=<default>/none This ensures that it will be native on the trunk interface downlink to the switch.
  • Access to Mist Cloud=Checked/Enabled. This is mandatory to be able to manage the attached devices.
  • Advertised via Overlay=Unchecked/Disabled. This is mandatory as we can’t have the same IP address range announced from multiple sites.

The result should look like the figure below:

A screenshot of a computer Description automatically generated

Create the WAN Edge Template for the Spoke with a LAG Towards the Switch

Go to Organization -> WAN Edge Templates.

Should you choose to use the import option, click on Import Profile and import the below JSON as a file.

Should you decide to configure everything manually in the Juniper Mist portal, then use the following steps.

We recommend you clone the existing “Spokes” template that we modified already in the last section for this lab and name the new template “Spokes-with-LAN-LAG”.

Then, we only need to change the LAN interface configuration with the following configuration:

  • Interface=ge-0/0/4,ge-0/0/5
  • Port Aggregation=Checked/Enabled
    • Disable LACP=Unchecked/Disabled
    • Enable Force Up=Checked/Enabled
    • AE Index=0
  • Networks=SPOKE1-LAN1 + MGMT
  • Untagged VLAN=None

A screenshot of a computer Description automatically generated

Save your changes and then apply this template to spoke2-site.

Test Your Network Configuration

We are now ready to test our configuration. With the single downlink spoke configuration on Spoke1 in place and a console cable to the switch, you can evaluate the following:

The test above shows that the switch obtained a DHCP lease and should be able to initiate traffic with the Juniper Mist cloud to be managed. The remaining steps to onboard an EX Series Switch are explained in the JVD Distributed Branch EX Series. In the Day 1 section, review the sections shown in the figure below:

A screenshot of a phone Description automatically generated

With the two downlinks configured on Spoke2 and a console cable attached to the switch, you can evaluate the following:

This section does not repeat the traffic topology tests, as the changes introduced are minimal. For detailed testing procedures, please refer to the Test Your Network Configuration section in the first topology.

Note:

Should you have this implemented then consider changing the spoke and hub LAN network configuration to no longer allow “Access to Mist Cloud” as we’ve done previously by default.