Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Activating Devices by Using Configlets

You can activate a modeled device by connecting a USB device containing the configlet generated from the appropriate modeled instance created in Junos Space Network Management Platform. The device then connects to Junos Space Platform through a device-initiated connection. Refer toActivating a Modeled or Cloned Device in Junos Space Network Management Platform for more information.

You can generate a single configlet (per device) or a bulk configlet (one configlet to activate multiple devices).

  • Junos Space Platform generates a single configlet if you choose a static connection profile or enable hostname validation and are using a DHCP connection profile.

  • Junos Space Platform generates a bulk configlet if you do not select a connection profile or if you select a DHCP connection profile without hostname validation.

Note:

If you assigned a device template and selected to deploy the configuration in the device template manually, the configlet contains the connection parameters and the configuration in the device template.

By default, the configlet is downloaded as a .ZIP file in XML, CLI, or curly braces format. You must unzip the .ZIP file and copy the configlet to the USB device before using the configlet to activate devices.

The following tasks help you to activate modeled devices by using single or bulk configlets:

Activating a Device by Using a Plain-text Single Configlet

A plain text single configlet can be used to activate one device without an encryption key.

To activate a device by using a plain-text single configlet:

  1. Copy the plain-text configlet to a USB device.
  2. Plug the USB device to the USB port on the device.
  3. Power on the device or reboot the device if the device was already powered on.

The configuration in the plain-text single configlet is committed on the device. The device then connects to Junos Space Platform.

Activating a Device by Using an AES-encrypted Single Configlet

An AES-encrypted single configlet can be used to activate one device with an the encryption key.

To activate a device by using an AES-encrypted single configlet:

  1. Copy the AES-encrypted configlet to a USB device.
  2. Create a text file Key.txt containing a 16-digit encryption key on the USB device.
  3. Plug the USB device to the USB port on the device.
  4. Power on the device or reboot the device if the device was already powered on.

    If you did not create the Key.txt file on the USB device, you are prompted to enter the 16-digit encryption key.

    1. Enter the 16-digit encryption key.

The configuration in the AES-encrypted single configlet is committed on the device. The device then connects to Junos Space Platform.

Activating a Device by Using a Plain-text Bulk Configlet

A plain-text bulk configlet can be used to activate multiple devices without an encryption key.

To activate devices by using a plain-text bulk configlet:

  1. Copy the plain-text bulk configlet to a USB device.
  2. Create a text file Hostname.txt containing the hostnames of all devices that should be activated by this configlet, on the USB device.
  3. Plug the USB device to the USB port on the device.
  4. Power on the device or reboot the device if the device was already powered on.

The configuration in the plain-text bulk configlet is committed on the device. The device then connects to Junos Space Platform.

Note:

Repeat steps 1 through 4 to activate other devices using the same configlet.

Activating a Device by Using an AES-encrypted Bulk Configlet

An AES-encrypted bulk configlet can be used to activate multiple devices with an encryption key.

To activate devices by using an AES-encrypted bulk configlet:

  1. Copy the AES-encrypted bulk configlet to a USB device.
  2. Create a text file Key.txt containing a 16-digit encryption key on the USB device.
  3. Create a text file Hostname.txt containing the hostnames of all devices that should be activated by this configlet, on the USB device.
  4. Plug the USB device to the USB port on the device.
  5. Power on the device or reboot the device if the device was already powered on.

    If you did not create the Key.txt file on the USB device, you are prompted to enter the 16-digit encryption key.

    1. Enter the 16-digit encryption key.

The configuration in the AES-encrypted bulk configlet is committed on the device. The device then connects to Junos Space Platform.

Note:

Repeat steps 1 through 4 to activate other devices by using the same configlet.