Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Zero Touch Provisioning on NFX Series Devices

Understanding Zero Touch Provisioning

Zero Touch Provisioning (ZTP) allows you to provision and configure an NFX Series device in your network automatically, with minimal manual intervention. ZTP allows you to make configuration changes or software upgrades without logging into the device. NFX Series devices support ZTP with Sky Enterprise, which is a cloud-based network management application. For more information on Sky Enterprise, see Sky Enterprise Documentation.

The initial provisioning process involves the following components:

  • NFX Series device—Sends requests to Juniper’s Redirect Server.

  • Redirect server—Provides authentication and authorization for the devices in a network to access their assigned central servers for the boot images and initial configuration files. The redirect server resides at Juniper Networks.

    Connectivity to the redirect server can be through IPv4 or IPv6 network. Depending on the source address, the redirect server redirects the ZTP to the corresponding Central Server with IPv4 or IPv6 address.

    The NFX Series device is shipped with a factory default configuration. The factory default configuration includes the URL of the redirect server, that is used to connect to the central servers by using a secure encrypted connection.

  • Central server—Manages the network and the NFX Series devices located remotely. The central server is located at a central geographical location. Alternately, you can use Contrail Service Orchestration (CSO) along with Sky Enterprise. CSO deploys the network services and Sky Enterprise manages the devices in the network.

Pre-staging an NFX Series Device

Prestaging is an optional step for the device to by-pass Juniper’s Redirect Server and to connect to a customer specific Redirect Server or a Regional Server for authentication and authorization in the network. Prestaging involves copying and applying certificates and customer specific configuration from a specific directory in the device before the device is shipped to the customer site for installation.

The customer specific resources are stored internally. When the device boots up with the factory default configuration, the prestage resources are copied and the configuration is applied on the device.

Figure 1 illustrates the workflow of prestaging the NFX Series devices.

Figure 1: Workflow for Prestaging an NFX Series DeviceWorkflow for Prestaging an NFX Series Device

The prestage workflow proceeds as follows:

  1. The device is shipped from the factory with the factory default configuration.

  2. To prestage the device, the customer specific resources such as certificates and configuration are copied to the device by a user or ISP.

    To add the prestage configuration and certificates, run:

  3. After the device is prestaged, the device is shipped to the end user.

  4. The end user powers on the remote device and connects the device to the ISP by connecting one of the WAN ports (0/12 and 0/13) to the ISP. For more information, see Initial Configuration on NFX250 NextGen Devices.

  5. The device applies the prestage configuration and uses the certificates to authenticate the customer specific Redirect Server or Regional Server.

  6. The Redirect Server or Regional Server sends the corresponding Central Server information to the device.

  7. The device sends a provisioning request to the Central Server. The Central Server responds with the boot image and the configuration that is provisioned on the Central Server for that particular device.

  8. The device fetches the boot image and configuration file from the Central Server.

  9. The device upgrades to the boot image and applies the configuration to start the services and become operational.

To delete the prestage configuration and certificates, run:

To verify the prestage configuration and certificates, run:

The prestage resources are not deleted when you upgrade the image by using the request system software add image command or when you zeroize the device by using the request system zeroize command.

The default configuration for phone-home is:

To enable trace operation:

To disable trace operation:

Provisioning an NFX Series Device

Figure 2 illustrates the workflow of the initial provisioning of NFX Series devices.

Figure 2: Workflow for Initial Provisioning of an NFX Series DeviceWorkflow for Initial Provisioning of an NFX Series Device
Note:

Contact Juniper Support to add the device and the corresponding central server to the redirect server.

The provisioning workflow proceeds as follows:

  1. The end user powers on the remote device, and connects the remote device to the ISP through the WAN ports.

  2. The remote device transmits its X.509 certificate and fully qualified domain name (FQDN) as a provisioning request to the redirect server.

  3. The redirect server searches its data store for the central server that an administrator has specified for the remote device, and confirms that the remote device’s request corresponds to the X.509 certificate specified for the server.

  4. The redirect server sends contact information for the central server to the remote device.

  5. The remote device sends a request to the central server for the URL of the boot image and the location of the initial configuration file. The central server responds with the requested information.

  6. The remote device fetches the boot image and configuration file from the central server.

  7. The remote device upgrades to the boot image (if the boot image is different from the image running on the NFX Series device), and applies the configuration to start the services and become operational.

Provisioning an NFX Series Device Using Sky Enterprise

Figure 2 illustrates the workflow of the initial provisioning of NFX Series devices using Sky Enterprise.

The provisioning workflow proceeds as follows:

  1. The end user powers on the remote device, and connects the remote device to the ISP through the WAN ports.

  2. The NFX Series device transmits its X.509 certificate and fully qualified domain name (FQDN) as a provisioning request to the Redirect Server.

  3. The Redirect Server connects the device to Sky Enterprise.

  4. Click the link in the authorization e-mail that you receive from Sky Enterprise. Alternately, you can use the Sky Enterprise application to authorize the device.

  5. The NFX Series device registers with Sky Enterprise.

  6. The initial configuration of the device begins. The initial configuration process takes about 60 seconds.