Onboarding Juniper Switches as Virtual Edge Nodes (Juniper Mist)

This article walks through the steps to onboard, configure, and manage access switches managed by Juniper Mist as Virtual Edge Nodes in the Elisity Platform running Junos OS versions earlier than 25.2R1 (or prior to the 24.4R2-S3.6 backport). For Junos OS 25.2R1 or later (or the 24.4R2-S3.6 backport), see Onboarding Juniper Switches as Virtual Edge Nodes (Juniper Mist) — Layer 4 Policy.

Supported Switch Platforms

  • The following Juniper Access switch models have been validated: EX4100 and EX4400

Please refer to the Hardware Compatibility Matrix for the complete list of validated switch models and minimum recommended code versions.

 

Licensing Requirements

Licensing Requirement Feature Enablement
VxLAN Group-Based Policies (GBP)
EVPN-VxLAN
Flow Based Telemetry
Firewall Microsegmentation

 

Design Specific Notes/Limitations

  • IRB Requirement: For each VLAN where enforcement is desired, an IRB must be configured.
  • Layer 3 Policy Only: Layer 4 policy is not supported, only the final policy action of Permit All or Deny All will take effect.
  • Flow Collection: You can configure a collector only within the same routing instance as the data. You cannot configure a collector within a different routing instance.

Prerequisites

  • Licensed Juniper Mist Instance and Switches
  • Juniper Mist Global Region
  • Juniper Mist Org ID
  • Juniper Mist API Key

Connectivity Requirements

Use the primary IP address of the switch's management interface. Do not use VRRP virtual IP addresses or any non-primary or secondary address. Using a non-primary or virtual address will result in onboarding errors and unexpected Virtual Edge Node behavior.

Direction Required Traffic
Virtual Edge to Virtual Edge Node
HTTPS (TCP/443) via Mist API
Virtual Edge Node to Virtual Edge
IPFIX Flow Data (UDP/9996)

 

Design and Enforcement Considerations

Policy enforcement on the Juniper switches operate separately at layer 2 and layer 3.  
To provide policy coverage for all traffic flows, both the access layer switch and the layer 3 gateway switch must be onboarded and in activated policy sets.

Visibility and Telemetry data is only collected from Inter-VLAN flow on the L3 Interfaces (IRBs) on Juniper switches.

Key Enforcement Implications

Intra-VLAN Traffic

  • Policy is enforced at the access layer directly on the EX4400 for hosts in the same VLAN. The switch uses GBP-based policy that leverages MAC Address to enforce communication rules between ports on the same VLAN.

Inter-VLAN Traffic

  • Policy must be enforced at the Layer 3 boundary, typically at the distribution or aggregation layer.
  • The switch at the Layer 3 boundary must be supported as a Virtual Edge Node and onboarded to Elisity for enforcement to occur.
  • All VLANs trunked to the L3 boundary MUST have mapped VNIs.
  • The L3 enforcement point MUST have shared device group tag mappings from the VENs where assets are discovered. This can be done using a Core Distribution Zone configured to import appropriate Access DZs, as seen in the example diagram. This can also be accomplished using Intelligent Tag Distribution in various design models, or using a single Distribution Zone.

In the illustrated deployment model, an onboarded EX4100 (Core DZ) enforces traffic between VLANs 31 and 32. 


Deploying Juniper Mist Virtual Edge in Cloud Control Center

The integration between Elisity and Juniper is a departure from our other method of onboarding Cisco and Arista switching infrastructure. Instead of deploying an Elisity Virtual Edge on premise for Identity and Policy, Elisity instantiates a cloud hosted Virtual Edge that integrates with Juniper Mist via API in order to onboard Juniper access switches, collect device identity data, and manage microsegmentation policies. 

A Virtual Edge is deployed on-premises and functions as a flow collector for the Mist-managed switches.


This architecture is detailed in the following diagram. 

 

Enabling Juniper Mist Integration

Creating an Elisity Switch Template

Step 1: Log into Juniper Mist and navigate to Organization > Switch Templates. 

 

 

Step 2: Either edit an existing template or create a new one. 

 

Step 3: In the CLI Configuration section add the following commands which enables Group-Based Policy (GBP) in the EVPN-VXLAN fabric. 

Note:
These CLI commands should be wrapped in a group for Mist-managed switches to simplify removal and ensure clean template handling. Replace all placeholder IPs and interfaces to match your environment.

Note: If Group-Based Policy (GBP) functionality (such as gbp-tag firewall filters) was not previously configured on the device, a restart of forwarding processes is required for enforcement to take effect.

  • On standalone switches, issue the following command to restart the Packet Forwarding Engine (PFE): restart pfe
  • On Virtual Chassis (VC) deployments, a full chassis reboot is required to ensure GBP enforcement is correctly applied across all member switches.

This behavior is due to how JunOS initializes filter processing pipelines at boot. GBP filters applied post-boot will not fully propagate or function until the appropriate restart has occurred.

# Group: Elisity VXLAN Base
set groups elisity_evpn forwarding-options evpn-vxlan gbp ingress-enforcement**
set groups elisity_evpn chassis forwarding-options vxlan-gbp-l3-profile**
set groups elisity_evpn interfaces lo0 unit 0 family inet address 1.2.3.4/32
set groups elisity_evpn routing-options router-id 1.2.3.4
set groups elisity_evpn protocols evpn encapsulation vxlan
set groups elisity_evpn protocols evpn extended-vni-list all
set groups elisity_evpn switch-options vtep-source-interface lo0.0
set groups elisity_evpn switch-options route-distinguisher 1.2.3.4:100
set groups elisity_evpn switch-options vrf-target target:1:100
set apply-groups elisity_evpn

** NOTE: The two GBP enablement commands shown above (gbp ingress-enforcement and vxlan-gbp-l3-profile) trigger an immediate forwarding engine restart if GBP was not previously configured on the device. This restart causes approximately 10 seconds of traffic disruption and occurs automatically when the configuration is committed. Subsequent GBP configuration changes do not require a restart.

In the same CLI Configuration section, add the flow-based telemetry template. These commands are applied at the organization template level and are identical on every switch. They define the inline monitoring template and the Layer 3 filter that exports per-flow records from the IRB interfaces to the Virtual Edge. The collector’s source-address and destination-address are intentionally omitted here — they are added at the site and switch level in the following steps, and the configuration only commits once all three are present.

# Group: Monitoring Template and Flow Export
set groups elisity_monitor_template services inline-monitoring template template_1 template-refresh-rate 30
set groups elisity_monitor_template services inline-monitoring template template_1 observation-domain-id 25
set groups elisity_monitor_template services inline-monitoring template template_1 template-id 32768
set groups elisity_monitor_template services inline-monitoring template template_1 flow-inactive-timeout 10
set groups elisity_monitor_template services inline-monitoring template template_1 template-type ipv4-template
set groups elisity_monitor_template services inline-monitoring instance i1 template-name template_1
set groups elisity_monitor_template services inline-monitoring instance i1 collector c2 dscp 21
set groups elisity_monitor_template services inline-monitoring instance i1 collector c2 destination-port 9996
set groups elisity_monitor_template firewall family inet filter ipv4_ingress term rule1 then inline-monitoring-instance i1
set apply-groups elisity_monitor_template

Step 4: If the template is not already assigned to a site, assign it to a site. Select Assign to Sites.

Select the site you wish to apply the template to and click Add and Apply.

 

Step 5: Set the Virtual Edge IP for each site. Navigate to Organization > Site Configuration, select the site, and under Switch Configuration > Additional CLI Commands add one line with that site’s Virtual Edge IP, then select Save. The Virtual Edge is the on-premises flow collector for the site.

Note: Mist site variables ({{var}}) are not substituted in the Additional CLI Commands field — always enter a literal IP address. Apply the Virtual Edge IP at the site level and the flow source IP at the switch level (Step 7); the configuration commits only once the organization template, the site Virtual Edge IP, and the per-switch source address are all present.

set groups elisity_monitor_template services inline-monitoring instance i1 collector c2 destination-address <Virtual Edge IP>

Step 6: The next step is to override the template on a per switch basis in order to configure additional CLI commands that are specific to that switch. Navigate to Switches, select the site, and then select the switch you wish to configure. At the top of the screen, click the hostname of the switch to enter switching configuration mode. 

 

Step 7: In the CLI Configuration section and under the Additional CLI Commands subsection add the following commands and select Save:

Note:

  • The following configuration is grouped using JunOS set groups syntax, which is the recommended best practice for Mist-managed switches. 
  • Group names like elisity_vxlan, elisity_monitor_template, and elisity_monitor_enable are example names - you can rename them to match your organization's conventions.
  • The apply-groups command can be placed after each section or once at the end of the configuration - both approaches are valid and based on preference.
  • You must change the IP addresses, names, and IRB numbers to match your organization’s requirements. Replace the Flow Source IP placeholder with the IP of the source interface for flow export — the parent Virtual Edge IP was already set at the site level in Step 5. In the example below, VLAN 601 is used as a Data VLAN and VLAN 602 as a Voice VLAN.

The following is only an example. 

# Group: VXLAN VLAN and IRB Provisioning
set groups elisity_vxlan interfaces irb unit 601 family inet address <VLAN601 IP/Mask>
set groups elisity_vxlan interfaces irb unit 602 family inet address <VLAN602 IP/Mask>
set groups elisity_vxlan vlans VLAN601 l3-interface irb.601
set groups elisity_vxlan vlans VLAN602 l3-interface irb.602
set groups elisity_vxlan vlans VLAN601 vxlan vni 601
set groups elisity_vxlan vlans VLAN602 vxlan vni 602
set groups elisity_vxlan vlans VLAN601 vlan-id 601
set groups elisity_vxlan vlans VLAN602 vlan-id 602
set apply-groups elisity_vxlan

# Per-switch flow source address
set groups elisity_monitor_template services inline-monitoring instance i1 collector c2 source-address <Flow Source IP>

# Group: Apply Monitoring Filter to Interfaces
set groups elisity_monitor_enable interfaces irb unit 601 family inet filter input ipv4_ingress
set groups elisity_monitor_enable interfaces irb unit 602 family inet filter input ipv4_ingress
set apply-groups elisity_monitor_enable

Generating Juniper Mist API Token

Step 1: Log into Juniper Mist and navigate to Organization > Settings. 

 

Step 2: Copy Organization ID to a notepad as this information will be used later in the deployment guide. 

 

Step 3: In the API Token section, select Create Token

Give the token a name, set the Access Level to Super User and the Site Access to All Sites and then select Generate. 

 

Step 4: After generating the token, Copy the Key as it will be used in the next section of the integration guide.

Configuring a Juniper Mist Cloud Controller

Step 1: Navigate to Edge Management > Edge Settings and select the Cloud Controllers tab.

Step 2: Click + Add Cloud Controller. The Add Cloud Controller panel opens.

Step 3: Add the following details for the cloud controller and click Add.

  • Name - Enter a name for the cloud controller.
  • URL - Enter the URL for the Juniper Mist portal as follows:
    1. Log in to the Juniper Mist portal.
    2. Copy the URL from the address bar.
    3. Change https://manage.ac2.mist.com/... to https://api.ac2.mist.com/...
  • Org ID - Enter the Organization ID which is available in Juniper Mist under Organization>Settings>Organization Settings>Organization ID.
  • API Key - Enter the key generated during token creation.
  • Description - Enter a description for the cloud controller.

The new cloud controller is listed on the Cloud Controllers tab with its Name, URL, and Org ID. Use the Actions column to edit or remove it later.

 

 

Adding Virtual Edge Nodes in Cloud Control Center

Step 1 - Launch the Virtual Edge Node Deployment Wizard

Select the Virtual Edge Nodes tab and click + Add Virtual Edge Node, then select Add Single Virtual Edge Node. This launches the Virtual Edge Node Deployment Wizard.

 

Step 2 - Choose a Virtual Edge

Select Virtual Edge Group or Switch Hosted to determine how the Virtual Edge Node will be managed. For Juniper Mist deployments, select a Virtual Edge Group that contains a cloud-hosted Virtual Edge configured for Juniper Mist integration.

 

Step 3 - Choose the Virtual Edge Node Type

Select Cloud Managed as the Virtual Edge Node type.

 

Step 4 - Virtual Edge Node Configuration

Provide the required information about the switch. See the table below for details on each field.

Field Description
Management IP The management IP address of the switch to onboard as a Virtual Edge Node.
Serial Number The serial number of the switch to onboard as a Virtual Edge Node.

  • For standalone switches, use the hardware serial number.
  • For virtual switch stacks*, use the virtual stack device ID.
Cloud Controller Select the previously created Cloud Controller configuration. If no cloud controller has been configured, the list displays No options and offers + Add Cloud Controller to create one without leaving the wizard.
Description A user-defined description for the Virtual Edge Node. This field is optional.

* Note: Depending on which Mist cloud region is in use, the onboarding identifier may be the serial number of the primary device or the device ID in a virtual switch stack (e.g., api.eu.mist.com — serial number was successful in registering).

Open the Cloud Controller list to select the Juniper Mist cloud controller configured earlier. If no cloud controller exists yet, the list displays No options and offers + Add Cloud Controller, which lets you create one without leaving the wizard.

 

Step 5 - Site Label and Distribution Zone

Choose to inherit Site Label and Distribution Zone from the parent Virtual Edge, or manually assign them directly to the Virtual Edge Node.

Field Description
Site Label Site labels can be applied to Virtual Edge Nodes for policy distribution and analytics purposes. Site labels are used to assign Virtual Edges and Virtual Edge Nodes to Policy Sets. Read more about Site Labels and Policy Sets here.
Distribution Zone Select to inherit the Distribution Zone from the parent Virtual Edge, assign an Access or Core Distribution Zone, or create an Isolated Distribution Zone. If you are unfamiliar with the concept of Distribution Zones, read here.

 

Step 6 - Advanced Settings

Expand the Advanced Settings section to review optional configuration controls for the Virtual Edge Node before completing onboarding.

The following table provides details about each setting in this section.

Setting Description
Enable Policy Enforcement Controls whether policy enforcement is configured on the Virtual Edge Node. This setting is enabled by default.

When enabled, IP-to-tag mappings and policy configurations are programmed to the switch through Juniper Mist, and the Virtual Edge Node operates as a full enforcement point.

When disabled, the Virtual Edge Node operates in discovery-only mode: device discovery and flow telemetry remain active, but no policy or tag-mapping configurations are pushed to the switch. Discovery-only mode is suitable for environments with restrictive change windows, for visibility-first deployments, or where policy enforcement is not yet required.

This toggle is also available from the Virtual Edge Node detail page under Advanced Settings after onboarding.

 

Step 7 - Review the Summary and Click Finish

After filling out all the required fields, click Next to go to the summary page. Here you can review and edit all configurations made in the wizard. Clicking Edit on any section will take you back to that section, where you can then modify the configuration. Once you have reviewed the configuration summary, click Finish. The Virtual Edge Node onboarding process will begin immediately.

 

Checking the Status of a VEN Onboarding

In the top right of your Cloud Control Center dashboard, you will see a notification icon. After beginning the VEN onboarding, a blue dot will indicate that the status of your VEN onboarding has an update. 
 

 

Clicking on this icon will reveal the status of your VEN onboarding. As each step of the onboarding is completed successfully, that item is marked with a green check mark and a "Success" status.

 

 

Expand an entry to review each onboarding step and its result. Steps that complete successfully are marked with a green check mark and a Success status.

If an onboarding step fails, the entry reports an error status with a brief description of the issue. Use the Error filter at the top of the Activity tab to list only the entries that require attention. A common cause is that the switch is unreachable; confirm that the Virtual Edge Node can reach both Cloud Control Center and its parent Virtual Edge.

Once the onboarding is complete, your VEN will show green in Cloud Control Center and information about the switch is now visible such as hostname, switch model, number of discovered devices, and more. 

 

The Summary panel on the Virtual Edges and Virtual Edge Nodes pages reports the current state of the fleet, including how many Virtual Edges and Virtual Edge Nodes are Online, Offline, Degraded, Decommissioned, or Not Registered.

 

 

 

Endpoint Discovery and Flow Telemetry

Endpoint Discovery leverages embedded switch functionality to learn and track devices connected to the switch directly or through a trunk to a downstream switch. Endpoint Discovery is enabled on all ports by default and can be enabled or disabled manually per switchport, or globally on a per-VEN basis, using the Manual configuration option described below.

Flow Telemetry provides valuable insights into your network's traffic patterns. Flow Telemetry is enabled on all ports by default and can be enabled or disabled manually per switchport, or globally on a per-VEN basis, using the Manual configuration option described below.

 

Port Configurations on Virtual Edge Nodes

Port configurations define how each switch port on a Virtual Edge Node (VEN) participates in Endpoint Discovery and Flow Telemetry. These configurations control where Elisity collects device identity and traffic flow data and ensure that discovery and telemetry are applied only to the appropriate interfaces within the access layer.

Automatic UNI/NNI port classification is not yet available for Juniper Mist Virtual Edge Nodes. All switch ports are currently classified as User Network Interfaces (UNI) by default, with Endpoint Discovery and Flow Telemetry enabled on every port. Support for automatic classification of Network-to-Network Interfaces (NNI) is planned for an upcoming release.

Because automatic NNI classification is not yet available for Juniper Mist Virtual Edge Nodes, disabling Endpoint Discovery and Flow Telemetry on NNI-type interfaces (such as uplinks, distribution links, or management ports) requires switching those ports to Manual configuration.

Administrators can change any port from Automatic to Manual configuration at any time to explicitly enable or disable Endpoint Discovery and Flow Telemetry for that specific port. Manual configuration is typically used in environments where certain interfaces require behavior different from Elisity’s automatic classification logic. Ports can also be switched back to Automatic configuration if Elisity should resume management of their behavior.

During onboarding, the checkboxes for Endpoint Discovery and Flow Telemetry enable or disable each feature globally for the VEN. These global toggles determine whether Elisity activates each feature at the VEN level and for all applicable switchports; they do not change how ports are classified or configured. The same global enable and disable controls are available later from the Port Configuration view in Cloud Control Center.

 

Existing Flow Telemetry Configurations 

In order to gather flow telemtry from infrastructure, Elisity configures flow exporters on switches with the Virtual Edge as the destination for flow telemetry, and configures switch interfaces with the Elisity-generated flow configuration. 

In some customer environments, existing flow exporter configurations may already be configured both in the global configuration and for each applicible interface. In these scenarios, existing flow exporter configurations and interface configurations are not removed by Elisity. These configurations will not be overwritten, and will remain until the customer removes them manually or via the hardware configuration platform. 

The Elisity Flow Exporter global configuration will successfully be programmed by the Virtual Edge in most cases and can exist alongside any customer-configured flow exporter configurations. The VE will attempt to configure interfaces with Flow Telemetry port configuration on a regular interval, however, flow telemetry interface configurations cannot be programmed by the Virtual Edge until existing configurations are removed. 

For Flow Telemetry to be enabled, Elisity must leverage the primary flow configuration on each interface where the feature is enabled. You can replace existing flow configurations by leveraging a custom flow exporter, which will send all flow data to a second receipient (alongside the Virtual Edge). This is configured in Cloud Control Center and can be configured for each onboarded Virtual Edge Node. Read this article for details on how custom secondary flow exporters are configured on Cisco, as an example.

 

 

Modifying Port Configurations for a VEN

After onboarding, you can review the port configurations in Cloud Control Center for each port and modify them according to your network design and the scope of your microsegmentation efforts. If you chose to leave these options disabled during onboarding, now is the time to either enable autoconfiguration or manually configure each switchport for each setting. After onboarding, port configurations can be viewed and modified for each Virtual Edge Node directly in Cloud Control Center.
 

To modify port configurations, locate your Virtual Edge Node in the list, click the Actions button in that row, and select Port Configuration.

The Endpoint Discovery and Flow Telemetry tabs each list every port on the Virtual Edge Node with its Configuration Type, Status, and Source. The Source column records why a port carries its current status — for example Default, Interface Type, Interface Description, or LLDP Host Capabilities.

Click Edit Configuration. This will take you to the port configuration editor.

If you have not yet configured any port configurations, you must first enable Endpoint Discovery or Flow Telemetry using the Enable Endpoint Discovery or Enable Flow Telemetry toggle before configuring auto or manual configurations per port.

The configurations will not be pushed to infrastructure until you select Save Changes, so there is no risk in pushing configurations to undesired ports.

The port configuration editor is very straightforward. Simply select the configuration type per interface: Automatic or Manual. If you choose Manual, selected Enabled or Disabled. If you choose Automatic (default) the port configuration will be displayed in this place and cannot be changed unless configutation type is changed.

Important Note: Enabling Endpoint Discovery and Flow Telemetry is not supported for Layer 3 interfaces. If using manual port configuration, known L3 interfaces should have Endpoint Discovery and Flow Telemetry disabled. 

After reviewing these port configurations and making any adjustments, click Save Changes and your configurations will be immediately pushed to the Virtual Edge Node. Select Cancel to discard your edits.

 

 

Decommissioning and Deleting a Virtual Edge Node

Decommissioning a VEN takes the enforcement point out of service by removing the configurations from the switch, but retains the configuration in Cloud Control Center so that you can easily put the VEN back in service with a single click.

Open the details view of your Virtual Edge Node and then select Decommission in the top right. The Virtual Edge Node status will say Decommissioned. 

You can also decommission from the main Virtual Edge Node list by clicking the Actions button in that row and selecting Decommission Virtual Edge Node.

If you want to decommission multiple Virtual Edge Nodes simultaneously, select them using the check boxes on the left and click Bulk Actions. Here you can perform various bulk actions such as Decommission and Delete.

In any case, you will be presented with a confirmation request to finalize the decommission action with warnings or errors where applicable. Click Decommission to proceed or Cancel to leave the Virtual Edge Node in service.

After decommissioning, the Activity Panel will show the status of the decommission process. The Activity Panel is accessible through the notification icon in the top right corner of Cloud Control Center. 

After completing the decommission process for the VENs, you can then delete them from Cloud Control Center, or leave as decommissioned for easily recommissioning at a later time. Clicking the Actions button to the right of a Virtual Edge Node will show the delete or recommission options for that Virtual Edge Node. These options are also available in the bulk actions menu as seen earlier. Deleting a VEN requires no further action.

Virtual Edge Nodes can be recommissioned in the same way that they are decommissioned. A Virtual Edge Node can be recommissioned when it is in Decommissioned, Recommission Failed, Decommission Failed, Decommission Started, or Decommission In Progress status. Recommissioning a VEN will also provide a status feedback in the activity panel for tracking the step by step recommissioning process. 
 

If a Virtual Edge Node is stalled in Decommission Started or Decommission In Progress status, Force Delete is available in the Actions menu for that Virtual Edge Node and in the Bulk Actions menu. Selecting it opens the Force Delete Virtual Edge Node? confirmation modal. Force Delete permanently removes the Virtual Edge Node, and is offered whether the managing Virtual Edge is online or offline. When a bulk selection includes Virtual Edge Nodes that are not eligible, the Force Delete X of Y Virtual Edge Nodes? modal lists the hostnames that will be deleted and notes how many selected Virtual Edge Nodes are skipped.

Use Force Delete only if it's stalled — continuing will halt the decommission and may leave configuration on the Virtual Edge Node.


 

Was this article helpful?
0 out of 0 found this helpful