Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


Add a Switch to an Existing SD-WAN Site Or Next-Generation Firewall Site


You can add one switch to an existing on-premise spoke site that already has a CPE or firewall device provisioned or an enterprise hub site, to provide LAN capability to the site. See Switch Behind a CPE or Next Generation Firewall Overview for details.

To configure more than one switch with an SD-WAN CPE or Next-Generation firewall, add a separate SD-LAN site and add multiple switches to the site.

You can manage the connectivity and configuration between the switches and the CPE or Next-Generation firewall by creating uplink ports to the CPE device or Next-Generation Firewall, either manually or by using configuration templates. See Add Switches to an Existing SD-LAN Site to add an SD-LAN site with multiple switches.

To add a switch to an existing site:

  1. Select Resources > Site Management.

    The Sites page appears.

  2. Do one of the following:
      1. Select the site to which you want to add the switch.
      2. Click Add > Add Switch.

        The Add Switch page appears.

      1. Click the Site-Name link of the site (to which you want to add the switch) in the Sites column.

        The Site-Name page appears.

      2. On the Devices tab, click Add Switch.

        The Add Switch page appears.

  3. Complete the configuration according to the guidelines provided in Table 1. Note

    Fields marked with asterisk (*) are mandatory.

  4. Review the configuration from the Summary tab.
  5. (Optional) Click the Edit links within the summary to go directly to a specific page of the wizard and modify the configured settings.
  6. Click OK to add the switch to the site.

    The site activation process is initiated and the Site Activation: Site-Name page appears displaying the progress of the steps executed for activating the CPE and the switch.

    • If the Zero Touch Provisioning (ZTP) toggle button is enabled (default), CSO pushes the stage-1 and stage-2 configurations and provisions the switch.

      This process occurs immediately after the activation process, for which you entered the activation code or selected auto-activation.


      Stage-1 configuration is the initial configuration that allows basic connectivity to a device, which is pushed to the device.

      The configuration that is pushed to the device after it has connected to CSO is called stage-2 configuration.

    • If you disabled the Zero Touch Provisioning (ZTP) toggle button, you must manually configure the stage-1 configuration (as provided by CSO) on the switch.

      To manually configure the stage-1 configuration:

      1. On the Site Activation: Site-Name page, the Click to copy stage-1 configuration link appears after the Prestage Device step completes successfully.
      2. Click the Click to copy stage-1 configuration link.

        The stage-1 configuration page appears displaying the stage-1 configuration to be copied to the EX Series device.

      3. Copy the stage-1 configuration and log in to the console of the EX Series switch.
      4. Enter the configuration mode, paste, and commit the configuration.

        After the stage-1 configuration is committed, the switch has the outbound SSH configuration to connect with CSO.

        CSO then provisions the switch.

Table 1 provides guidelines on using the fields on the Add Switch page.

Table 1: Fields on the Add Switch Page



Device Profile

Device Name

Enter a name for the switch.

You can use alphanumeric characters and hyphen (-). The maximum length allowed is 15 characters.

Device Type

Select the type of switch—EX2300, EX3400, EX4300, EX4600, and EX4650.

Device Model

Select the model for the switch you specified in the Device Type field.

The models vary in the number and type of ports the switch contains. For example, If you selected EX3400, select a model such as EX3400-24P, EX3400-48P, EX3400-24T among others.

CPE Settings

Trunk Ports

Select at least two trunk ports on the CPE device to connect with the switch, which are used for the following:.

  • LAN traffic between the switch and the CPE or firewall.

  • Management traffic for in-band management of the switch.

Note: The ae0 port of the SRX Series devices is used as the trunk port for communication with the switch.

Switch Management Subnet

Specify the subnet that the DHCP can use to assign IP addresses. The DHCP server runs on the following ports:

  • Trunk ports to provide DHCP information to all devices connected to the switch and to the in-band management port, switch management port, and LAN ports on the CPE or firewall.

  • Out-of-band management port on the CPE or firewall to provide DHCP information to the management port on the switch.

  • LAN ports on the CPE or firewall to provide information to the devices connected to the CPE or firewall LAN ports.

Switch Details

Serial Number

Specify the serial number of the physical switch.

You can either view the serial number on the label that is present on the rear panel of the switch or log in to the CLI of the switch in operational mode and enter show chassis hardware.

The serial number is a case-sensitive, alphanumeric string.

Zero Touch Provisioning

Click to enable or disable ZTP on the switch.

If you disable ZTP, you must manually copy and paste the Stage-1 configuration on the switch during site activation. See Step-by-Step Procedure for details


  • Only EX Series switches running 18.4R2.7 or 18.4R3.3 firmware support ZTP.

  • EX4600 and EX4650 switches do not support Phone-Home client. You must disable ZTP and manually configure the stage-1 configuration on the switches.

Boot Image

Select the boot image from the list if you want to upgrade the image for the switch.

The boot image is the latest device image that is uploaded to the image management system. The boot image is used to upgrade the device when the CSO starts the ZTP process.

If the boot image is not provided, then the device skips the automatic upgrade procedure. The boot image is populated based on the device template that you have selected while creating a site.

Auto activate

Click the toggle button to enable or disable automatic activation of the switch. When you enable this field, zero-touch provisioning of the switch is automatically triggered when the device communicates with CSO.

Note: You must physically connect the switch to the CPE and power it on for the switch to be automatically activated when you enable this option.

Activation code

When the Auto activate field is disabled, enter the activation code to be used for manually activating the switch.

For information, see Manually Activating a Switch.

Table 2 describes the fields on the Create LAN Segment page.

The values that you configure here are populated on the LAN Segments section of the Add Switch page.

Table 2: Fields on the Create LAN Segment Page when Adding a Switch to an Existing Site



Add LAN Segment


Enter a name for the LAN segment.

The name for a LAN segment should be a unique string of alphanumeric characters and some special characters (. -). No spaces are allowed and the maximum length allowed is 15 characters.


Select the type of LAN segment:

Note: This field is available only for SD-WAN sites.

  • Directly Connected (default)—Indicates that the LAN segment is directly connected to the site.

  • Dynamic Routed—Indicates that the LAN segment is not directly connected to the site and is reachable by using a dynamic route. If you select this option, you must specify the dynamic routing information.


Enter the VLAN ID for the LAN segment.

Range: 2 through 4093.


Select a department to which the LAN segment is to be assigned.

Note: This field is available only for SD-WAN sites.

Alternatively, click the Create Department link to add a new department and assign the LAN segment to it. See Adding a Department for details.

You group LAN segments as departments for ease of management and for applying policies at the department-level. .

Note: This field is not displayed when you add the switch to a site with next-generation firewall capability.

Gateway Address/Mask

Specify a valid gateway IP address and mask for the LAN segment; for example,


For directly connected LAN segments, click the toggle button to enable or disable DHCP on the LAN segment. DHCP is disabled by default.

You enable DHCP if you want to assign IP addresses by using a DHCP sever. You disable DHCP if you want to assign a static IP address to the LAN segment.

Note: If you enable DHCP, fields related to DHCP-related parameters appear and must be configured.

[DHCP-Related Fields]

Address Range Low

Enter the starting IP address in the range of IP addresses that can be allocated by the DHCP server to the LAN segment.

Address Range High

Enter the ending IP address in the range of IP addresses that can be allocated by the DHCP server to the LAN segment.

Maximum Lease Time

Specify the maximum duration (in seconds) for which a client can request for and hold a lease on a DHCP server.

Range: 0 through 4,294,967,295 seconds.

Name Server

Specify or select one or more IPv4 addresses of the DNS server. To enter more than one DNS server address, type the address, press Enter, and then type the next address, and so on. DNS servers are used to resolve hostnames into IP addresses.

CPE Ports

Select ports on the switch to be part of the LAN segment.

Select the ports from the Available column and click the right-arrow to move the ports to the Selected column.

If you create a LAN segment on a switch when the switch is connected to the CPE device, CSO automatically assigns LAN ports on the CPE device and creates the same LAN segment on the CPE device.