Zero Touch Provisioning (ZTP) is a technology for automated deployment and configuration of network devices. AmpCon™-DC supports using ZTP to provision new switches. You need to
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 the Hardware ID of the switch to provision has been added to the AmpCon-DC license. For more information, see Preparing Licenses.
Before you provision a white-box switch, ensure that you have completed step 1 to 7 in Deploying White-Box Switches.
Before you provision an integrated hardware and software switch, ensure that you have completed step 1 to 5 in Deploying Integrated Hardware and Software Switches.
Install a DHCP server. ZTP relies on the DHCP service. Then, In the /etc/dhcp/dhcpd.conf file of the DHCP server, add information as follows.
Replace “10.10.51.4” with the IP addresses of the switch to provision.
Replace “10.56.20.180” with the IP address of the AmpCon-DC server.
Provisioning a White-Box Switch
Download and install MobaXterm.
Open MobaXterm, and then create a session to connect with the switch.
Reboot the switch by running the following command:
sudo reboot -f |
---|
During the reboot process, when you see “Hit any key to stop autoboot: x”, press the Enter key to exit the autoboot mode.
Run the following command:
run onie bootcmd |
---|
Then, the switch will be restarted and automatically register with the AmpCon-DC server. Wait for the registration process to complete.
Log in to the AmpCon-DC UI, click Service > Switch. You can see the status of the switch is “Provisioning Success”.
Provisioning an Integrated Hardware and Software Switch
Download and install MobaXterm.
Open MobaXterm, and then create a session to connect with the switch.
Reboot the switch by running the following command.
sudo reboot |
---|
The switch will automatically register with and connect to the AmpCon-DC server. Wait for the registration and connection process completes.
In the AmpCon-DC UI, click Services > Switch. Check whether the switch status is shown as "Provisioning Success".
Add Comment