Add an On-Premise Spoke Site for LAN
Adding an on-premise spoke site for LAN enables you to provision, manage, and monitor EX Series switches (physical and Virtual Chassis) by using CSO. The following image illustrates a simple topology of LAN for branch networks.

Connect the devices as shown in the topology diagram and power on the devices.
This task assumes that the device will get DHCP IP address and will have Internet connectivity along with DNS resolution when connected according to the network design.
Ensure that the devices are running the recommended version of Junos OS. For information about the supported Junos OS versions, see the Release Notes for Contrail Service Orchestration Release 5.1.1.
For information about connecting the device and connecting a console to the device, see the hardware documentation for your LAN device:
To add an on-premise spoke site for LAN:
- From the Sites page (Resources > Site
Management) of the CSO portal, click Add and select On-Premise Spoke Site.
The Add On-premise Spoke Site for Tenant-Name page appears.
- Complete the configuration as explained in Table 1.
Note Fields marked with an asterisk (*) are mandatory.
- Review the
configuration from the Summary tab.
(Optional) Click the Edit links within the summary to go directly to a specific page of the wizard and modify the configured settings.
- Click OK to add the site.
The site activation job is initiated and the Site Activation: Site-Name page appears displaying the progress of the steps executed for activating 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.
Note 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:
- On the Site Activation: Site-Name page, the Click to copy stage-1 configuration link appears after the Prestage Device step completes successfully.
- 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.
- Copy the stage-1 configuration and log in to the console of the EX Series switch.
- 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.
When the site is successfully created, the Site Status in the Sites page changes to Provisioned.
Table 1: Settings for an On-Premise Spoke Site with LAN Capabilities
Field | Description |
---|---|
General | |
Site Name | Enter a unique name for the site. You can use alphanumeric characters and hyphen (-); the maximum length is 10 characters. |
Site Capabilities | Select LAN. |
LAN | |
Device Name | Enter a unique name for the device. |
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. |
Virtual Chassis | Click the toggle button to enable or disable (default) adding the switch as a Virtual Chassis. If you enable this toggle button, you must select the method of provisioning the Virtual Chassis. Note:
|
Method | Select the method of provisioning the Virtual Chassis:
For both these methods, ensure that:
|
Master Serial Number | If you selected Auto Provisioning, enter the serial number of the primary device (from the fully-formed Virtual Chassis). To obtain the serial number, log in to the CLI of any device that is part of the fully-formed Virtual Chassis, in operational mode, and enter show virtual-chassis. The list of the member devices in the Virtual Chassis, along with the serial number and role appear. The primary device is indicated as Master under Role. Alternatively, you can view the serial number on the barcode sticker, which is on the rear-panel of the switch. |
Member <member-number> | If you selected Pre Provisioning, enter the serial numbers of all the devices (from the fully-formed Virtual Chassis or based on what roles you decide to assign each Virtual Chassis member), and also select the device type and model from the list. Note:
Click the Add (+) icon to add a member or the Remove (-) icon to remove a member. For information on the number of devices that can be added, see Table 2. Note: The Routing Engine check box corresponding to Member 0 is always selected, indicating that Member 0 always acts as the primary. To select a member as backup, click the Routing Engine check box corresponding to that member; the remaining members act as line cards. |
Serial Number | If you disabled the Virtual Chassis toggle button, specify the serial number of the physical switch. To obtain the serial number, log in to the CLI of the switch in operational mode and enter show chassis hardware. Alternatively, you can view the serial number on the barcode sticker, which is on the rear-panel of the switch. The serial number is a case-sensitive, alphanumeric string. |
Zero Touch Provisioning | Click the toggle button to enable or disable zero-touch provisioning (ZTP) of the switch through ZTP. If you disable ZTP, you must manually copy and paste the Stage-1 configuration on the switch during site activation. See Step 4 for details. Note:
|
Auto Activate | Auto Activate is enabled by default. When Auto Activate is enabled, the device activation is automatically triggered when the site is added. The Activation Code field appears if you disable the Auto Activate option. In such cases, specify the activation code of the device to manually activate a device. For information about manually activating a device, see Activate a Device. |
Table 2 lists the supported device types, combinations in the non-mixed mode, and the total number of members, supported by each device type, in a Virtual Chassis.
Table 2: Supported Device Types, Modes, and Number of Members Allowed in a Virtual Chassis
Device Type | Non-mixed Virtual Chassis Support | Number of Members Allowed in the Virtual Chassis |
---|---|---|
EX2300 | Combination of the same or different models of EX2300 switches. | Up to 4 members. |
EX3400 | Combination of the same or different models of EX3400 switches. | Up to 10 members. |
EX4300 | Combination of the same or different models of EX4300 switches. | Up to 10 members. |
EX4600 | Combination of the same or different models of EX4600 switches. | Up to 10 members. |
EX4650 | Combination of the same or different models of EX4650 switches. | Up to 2 members. |
Before you autoprovision or preprovision a Virtual Chassis in CSO, ensure that the Virtual Chassis is setup.
To setup a Virtual Chassis for autoprovisioning:
- Decide the number of member devices in the Virtual Chassis.
- If you’ve added EX3400, EX4300, EX4600, or EX4650
devices as Virtual
Chassis, interconnect all the corresponding member devices through
Virtual Chassis ports (VCPs).
If you’ve added EX2300 devices as Virtual Chassis, configure the 10-Gbps Ethernet ports as VCPs manually (through CLI) and interconnect the member devices.
Note At this point, do not power on any member devices in the Virtual Chassis.
- Decide which
member device acts as the primary device and power on only this device
first.
Note Remember the serial number of the primary device in the Virtual Chassis. This serial number is required during the site activation workflow to add this Virtual Chassis in CSO.
For ZTP to be successful, the primary device should always be designated as Member 0. You must specify the same serial number in the Member 0 field in CSO.
- Wait until the primary device completes booting.
After booting is complete, the LCD panel on this device displays a menu that includes the JUNOS OS version loaded on the device, status of VCPs, status of power supplies, and so on.
- Power on the remaining member devices one after the other.
- Wait until all the member devices complete booting.
After booting is complete, you can confirm that the Virtual Chassis is fully formed when all the LEDs on the VCPs are ON.
- Connect the primary and backup device to the Internet through the management port or uplink port.
- Verify the connectivity from the primary device to CSO or to any host on the Internet by using ping or telnet to Juniper redirect server on port 443.
To setup a Virtual Chassis for preprovisioning:
- Decide the number of member devices in the Virtual Chassis.
- If you’ve added EX3400, EX4300, EX4600, or EX4650
devices as Virtual
Chassis, interconnect all the corresponding member devices through
Virtual Chassis ports (VCPs).
If you’ve added EX2300 devices as Virtual Chassis, configure the 10-Gbps Ethernet ports as VCPs manually and interconnect the member devices.
Note At this point, do not power on any member devices in the Virtual Chassis.
- Decide which member device acts as the primary and which member device acts as the backup.
- Of the two devices, power on the device that you want
to select as the primary (Member 0), and wait until it completes booting.
After booting is complete, the LCD panel on this device displays a menu that includes the JUNOS OS version loaded on the device, status of VCPs, status of power supplies, and so on.
Note Remember the serial numbers of all the devices in the Virtual Chassis. These serial numbers will be needed in the site activation workflow to add this Virtual Chassis in CSO.
For ZTP to be successful, the primary should always be designated as Member 0. You must specify the same serial number in the Member 0 field in CSO.
- Power on the device that you want to select as the backup
and wait until it completes booting.
After booting is complete, the LCD panel on this device displays a menu that includes the JUNOS OS version loaded on the device, status of VCPs, status of power supplies, and so on.
- Power on the remaining member devices one after the other.
- Wait until all the member devices complete booting.
After booting is complete, you can confirm that the Virtual Chassis is fully formed when all the LEDs on the VCPs are ON.
- Connect the primary and backup device to the Internet through the management port or uplink port.
- Verify the connectivity from the primary device to CSO or to any host on the Internet by using ping or telnet to Juniper redirect server on port 443
Now that the Virtual Chassis is setup, proceed to add the Virtual Chassis in CSO. See the LAN section in Table 1 for details.
After you add the site, you can complete the following tasks as required:
The device must be activated before you install licenses or signatures, or deploy policies.
Monitor alerts, alarms, and jobs. For example, Monitor > Jobs.
For more information about these tasks, see the Contrail Service Orchestration documentation at https://www.juniper.net/ documentation/product/en_US/contrail-service-orchestration.