Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Automatically Assign Devices to Sites

Speed up onboarding and configuration by using auto-provisioning to dynamically assign devices to sites based on the device attributes.

For example, a university has different subnets for each dorm. They set up auto-provisioning to assign devices on 10.1.0.0/16 to the Dorm 1 site, devices on 10.2.0.0/16 to the Dorm 2 site, and so on.

This feature is available for APs and Cellular Edge Devices.

Note:

Auto-assignments apply to devices that are claimed by your organization but not yet assigned to a site. This process will not reassign a device that is already assigned to a site.

Device Attributes for APs

For APs, Juniper Mist™ can automatically assign a site based on these device attributes:

  • The device name. For this option, you need to configure each device name to include the site name.
  • The Link Layer Discovery Protocol (LLDP) system name of the switch that the device is connected to. For this option, you need to configure the LLDP system name to include the site name.

  • The Domain Name System (DNS) suffix. For this option, you need to configure each DNS suffix to include the site name.

  • The subnet that you connect the device to. For this option, you'll create a list of subnets and their corresponding sites when you configure the auto-provisioning rule.

  • The device model. For this option, you'll create a list of models and their corresponding sites when you configure the auto-provisioning rule.

Device Attributes for Cellular Edge Devices

For Cellular Edge devices, Juniper Mist can assign a site based on the device name or model.

To configure auto-provisioning for site assignments:

  1. From the left menu, select Organization > Admin > Settings.
  2. Click Configure Auto-Provisioning.
    Location of the Configure Auto-Provisioning Link
  3. Click Site Assignment.
  4. Click Enabled.
  5. Click the AP tab or the Cellular Edge tab.
  6. Click Add Rule.
  7. Under Deriving Site name based on, select the device attribute that you want to use to identify the site.

    For example, select AP Name if you've included the site name in the AP device name. Or select model if you want to set up a correspondence between models and sites (you'll be able to do this in Auto-Provisioning window).

  8. Based on the selected source, set the remaining options.

    If you're on the AP tab, you can derive the site name from these attributes:

    • AP Name, LLDP System Name, or DNS Suffix—Use the various options to transform the attribute into a valid site name, and then test your rule by using the Preview box.

      Options for AP Name

      Note:

      The Apply to model option is available when AP Name is selected as the source.

      For information and examples, see Manipulate Source Strings for Auto-Provisioning.

    • Subnet or Model—Complete the table at the bottom of the Auto-Provisioning window to match each subnet or model to a site.

      Subnet/Site Table for Auto-Provisioning

      Model/Site Table for Auto-Provisioning

    If you're on the Cellular Edge tab, you can derive the site name from the Cellular Edge Name or Cellular Edge Model. Use the various options to transform the attribute into a valid site name, and then test your rule by using the Preview box. For information and examples, see Manipulate Source Strings for Auto-Provisioning.

  9. Click the check mark at the top of the Add Rule area.
    Location of the Check Mark Button for Auto-Provisioning
  10. As needed, add more rules on the AP tab or the Cellular Edge tab.

    If you add multiple rules, they're evaluated in a top-down manner. When Juniper Mist encounters a rule that identifies a site, it assigns the device and ignores any remaining rules. If it can't identify a site, you'll have to assign one manually.

    For example, let's say the top rule on the AP tab is for AP Name and the next rule is for LLDP System Name. If Juniper Mist finds a matching site based on the AP name, it ignores the remaining rules.

  11. Click OK to save your settings.