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.
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:
- Copy the plain-text configlet to a USB device.
- Plug the USB device to the USB port on the device.
- 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:
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:
- Copy the plain-text bulk configlet to a USB device.
- Create a text file Hostname.txt containing the hostnames of all devices that should be activated by this configlet, on the USB device.
- Plug the USB device to the USB port on the device.
- 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.
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:
The configuration in the AES-encrypted bulk configlet is committed on the device. The device then connects to Junos Space Platform.
Repeat steps 1 through 4 to activate other devices by using the same configlet.