Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 11 Next »

Zero Touch Provisioning (ZTP) is a technology for automated deployment and configuration of network devices. AmpCon™-DC provides ZTP to provision new switches. The automatic provisioning process includes the following operations:

  • Obtaining a PicOS® image from the AmpCon™-DC server

  • Installing PicOS®

  • Configuring the switch based on system configurations and switch configurations

  • Installing a valid license in the switch

After you plug in the switch, DHCP automatically provides the switch with an IP address and the address of a provision script that is obtained from AmpCon-DC server. The switch automatically runs the script to find the AmpCon-DC server, register with it, and then complete the PicOS® installation and configuration without manual intervention.

Prerequisites

  • Ensure that you have completed the following operations:

  • Ensure that the Hardware ID of the switch to provision are added to the AmpCon-DC license. For more information, see Preparing Licenses.

  • Open Network Install Environment (ONIE) is required for white-box switches.

Provisioning White-Box Switches

  1. Download and install MobaXterm.

  2. Open MobaXterm, and then create a session to connect with the switch.

  3. Obtain the PicOS® image from the AmpCon-DC server by running the command:

wget http://<AmpCon-Server-IP>/onie

Replace <AmpCon-Server-IP> with the IP address of your AmpCon-DC server.

  1. Run the following commands. The switch will be restarted and automatically register with the AmpCon-DC server. Wait for the registration process to complete.

chmod a+x onie

sh onie

29.png30.png
  1. Log in to the AmpCon-DC UI, click Service > Switch. You can see the status of the switch is “Provisioning Success”.

图片-20241227-085259.png

Provisioning Black-Box Switches

  1. Install a DHCP server.

  2. In the /etc/dhcp/dhcpd.conf file of the DHCP server, add the following information to the DHCP configuration file. ZTP relies on the DHCP service for black-box switches.

    • The IP addresses of the switch to provision

    • The IP address of the AmpCon-DC server

    See the following configuration example:

    31.jpg
  3. Reboot the switch by running the following command.

sudo reboot

图片-20241227-102517.png

The switch will automatically register with and connect to the AmpCon-DC server. Wait for the registration and connection process completes.

图片-20241227-102606.png
  1. In the AmpCon-DC UI, click Services > Switch. Check whether the switch status is shown as "Provisioning Success".

  • No labels