Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Activating a Modeled or Cloned Device in Junos Space Network Management Platform

You activate a modeled device to manage the device in Junos Space Network Management Platform. The devices you activate through this workflow are ones that were created without selecting the Activate Now option. You can also use this workflow to activate a cloned device (created using the Clone Device workflow).

Note:

If you associated a device template to the modeled instance when creating the modeled instance, you must approve the device template configuration on the device by using the Review/Deploy Configuration workflow. The Activate Modeled Device task is disabled if you do not approve the device template configuration. For more information about reviewing and deploying the configuration to a device, see Reviewing and Deploying the Device Configuration.

Ensure that the Enable approval workflow for configuration deployment check box on the Modify Application Settings page is selected to enable you to approve the configuration in the device template to the device. You cannot validate the configuration on a modeled device before deploying the configuration.

You can activate modeled devices by using the following methods:

  • Junos Space–initiated connection – For this method, you need to specify the IP address and credentials of the device to connect to a device. If the Junos Space server can access the device, the device is discovered on Junos Space Platform.

    If you choose to deploy the configuration in the device template by using the Automatic or Manual option through a Junos Space-initiated connection, the device template is deployed to the device after the device is discovered to Junos Space Platform.

  • Device-initiated connection – Use this method if the Junos Space server cannot access the device. This method involves copying the configlets from Junos Space Platform to the device. The device stays in the Waiting for Deployment state until the configlets are copied to the device. Then the device connects to and is discovered on Junos Space Platform during the initial discovery process.

    If you choose to deploy the configuration in the device template by using the Automatic option through a device-initiated connection, you must download the connection configlet from the Download Configlet page, copy the configlet to a USB drive, connect the USB drive to the device, and reboot the device. The device template is deployed to the device after the device is discovered to Junos Space Platform.

    If you choose to deploy the configuration in the device template by using the Manual option through a device-initiated connection, you must download the complete configlet (with the connection parameters and the device template configuration) from the Download Configlet page, copy the configlet to a USB drive, connect the USB drive to the device, and reboot the device. The device template configuration is committed to the device when the device reboots.

Note:

The Download Configlet link is not available in the job details of a Junos Space–initiated connection.

To activate a modeled or cloned device in Junos Space Platform:

  1. On the Junos Space Network Management Platform user interface, select Devices > Device Management.

    The Device Management page that appears displays a list of devices that exist in the Junos Space Platform database.

  2. Right-click the modeled or cloned device and select Device Operations > Activate Modeled Device.

    The Activate Modeled Device page is displayed.

  3. Select whether you want to connect the device to Junos Space Platform by using a Junos Space–initiated connection or a device-initiated connection.

    By default, the Space initiated option button is selected.

    • To connect the device by using a device-initiated connection:

      1. Select the Device Initiated option button.

        The fields related to the device-initiated connection are displayed.

      2. (Optional) From the Connection Profile drop-down list, select a connection profile that specifies the connectivity parameters that you want to use for this device.

      3. (Optional) If you have not created a connection profile or want to create a new connection profile for this device, click the Create button next to the Connection Profile drop-down list.

        The Connection Profile pop-up window is displayed. For more information about creating a connection profile, see Creating a Connection Profile.

      4. In the Username field, enter the username used to manage the device.

        The username can contain 2 through 64 alphanumeric characters. The special characters allowed are hyphen (-) and underscore (_). The username must start with a nonhyphen character.

      5. (Optional) Select the Key Based Authentication check box to use RSA keys for authentication.

        By default, this check box is not selected.

      6. In the Password field, enter the password.

        The maximum length is 20 characters, the minimum length is 6 characters, and all characters are allowed.

      7. In the Confirm Password field, reenter the password used to manage the device.

      8. (Optional) Select the Serial Number Validation check box to authenticate the device by using the serial number of the device.

        By default, this check box is not selected.

        If you select the Serial Number Validation check box, in the Serial Number field, enter the serial number of the device.

      9. Select whether you want to deploy the initial configuration to the device during the initial connection to Junos Space Platform, or manually after the device is added. The Device Configuration Update options are Automatic and Manual.

        • If you choose Automatic, the configuration is deployed to the device when the device is discovered to Junos Space Platform.

          This option is enabled by default.

        • If you choose Manual, you must load the complete configlet, which includes the updated device configuration, through a USB device, SFTP server, or FTP server.

    • To connect the device to Junos Space Platform by using a Junos Space–initiated connection:

      1. Select the Space Initiated option button.

        The fields related to Junos Space–initiated connection are displayed.

      2. Select whether you want to specify a hostname or IP address for the device by using the Toggle IP Address/HostName check box.

        By default, this check box is not selected and you can specify the IP address in the next field. If you select this check box, you can enter the hostname in the next field.

      3. In the IP Address or Hostname field, enter the IP address or hostname of the device.

        Note:

        You can enter the IP address in either IPv4 or IPv6 format. Refer to http://www.iana.org/assignments/ipv4-address-space/ipv4-address-space.xhtml for the list of restricted IPv4 addresses and http://www.iana.org/assignments/ipv6-address-space/ipv6-address-space.xhtml for the list of restricted IPv6 addresses.

      4. In the Username field, enter the username used to manage the device.

        The username can contain 2 through 64 alphanumeric characters. The special characters allowed are hyphen (-) and underscore (_). The username must start with a nonhyphen character.

      5. (Optional) Select the Key Based Authentication check box to use RSA keys for authentication.

        By default, this check box is not selected.

      6. In the Password field, enter the password used to manage the device.

        The maximum length is 20 characters, the minimum length is 6 characters, and all characters are allowed.

      7. In the Confirm Password field, reenter the password.

      8. To authorize a different user on the device during the activation process, select the Authorize user on different device check box.

        By default, this check box is not selected. If you select this check box:

        • In the Username field, enter the username used to manage the device.

          The username can contain 2 through 64 alphanumeric characters. The special characters allowed are hyphen (-) and underscore (_). The username must start with a nonhyphen character.

        • Select the Key Based Authentication check box to use RSA keys for authentication.

          By default, this check box is not selected.

        • In the Password field, enter the password used to manage the device.

          The maximum length is 20 characters, the minimum length is 6 characters, and all characters are allowed.

        • In the Confirm Password field, reenter the password.

        Note:

        If the user does not exist on the device, a new user is created with these credentials.

      9. Select the Serial Number Validation check box if you want to authenticate the device by using the serial number of the device.

        By default, this check box is not selected.

        (Optional) The Serial Number field is displayed if you select the Serial Number Validation check box.

        If you select the Serial Number Validation check box, in the Serial Number field, enter the serial number of the device.

      10. Select whether you want to deploy the initial configuration to the device during the initial connection to Junos Space Platform, or manually after the device is added to Junos Space Platform. The Device Configuration Update options are Automatic and Manual.

        • If you choose Automatic, the configuration is deployed to the device when the device is discovered to Junos Space Platform.

          This option is enabled by default.

        • If you choose Manual, you must load the complete configlet, which includes the updated device configuration, through a USB device, SFTP server, or FTP server.

  4. Click Activate.

    A job is triggered. If you activated the device through a Junos Space–initiated connection, the job triggered does not contain the Download Configlet link. If the job succeeds, the device is flagged with either the Out of Sync or In Sync status on the Device Management page.

    If you activated the device through a device-initiated connection, the job triggered displays the Download Configlet link. The configlet is available on the Job Management page and the contents of the configlet vary depending on whether you selected the Automatic or Manual option to update the device template configuration. If the job succeeds, the device is flagged with the In Sync status on the Device Management page.