Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Zero Touch Provisioning (ZTP) is a technology for automated deployment and configuration of network devices. AmpCon™AmpCon-DC provides supports using 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

ZTP relies on the DHCP service, and thus you need to configure DHCP first. After you plug in the and reboot a switch, DHCP automatically provides the switch with an IP address and the address of a provision shell script that is obtained from AmpCon-DC server. Then, the switch automatically runs the shell script to complete the ZTP deployment:

  • The white-box switch

...

  • runs the shell script to

...

  • download a PicOS image, install PicOS and its license, register with the AmpCon-DC server, update switch configurations,

...

  • and reboot the switch.

  • The integrated hardware and software switch runs the shell script to register with the AmpCon-DC server, install a PicOS license on the switch, update switch configurations, and reboot the switch.

Table of Contents
minLevel1
maxLevel6
outlinefalse
stylenone
typelist
printabletrue

Prerequisites

Ensure that

...

the following

...

prerequisites are met:

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

    Adding System Configurations.
  • Configure the switch model for the model of the switch to provision. For more information, see Configuring Switch Models.

  • Configure a switch configuration for the switch to provision. For more information, see Adding Switch Configurations.

  • Stage the switch to provision. For more information, see Staging Switches.

  • 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.

...

For white-box switches, refer to the following configuration example:

“10.10.51.4” is the IP address that you want to assign to the switch.

“10.56.20.180” is the IP address of the AmpCon-DC server.

...

For integrated hardware and software switches, refer to the following configuration example:

“10.10.51.198” is the IP address that you want to assign to the switch.

“10.56.20.184” is the IP address of the AmpCon-DC server.

...

Provisioning a White-Box Switch

  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 Reboot the switch by running the following command:

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

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

...

sudo reboot -f

  1. If you see the “Hit any key to stop autoboot” message, press the Enter key to exit the autoboot mode.

If you don’t see this message, go to step 5 directly.

  1. Reboot the switch.

  • For switches with the ONIE menu, select ONIE, and then select ONIE: Install OS.

...

  • For AS4610 switches, reboot from ONIE by running the following command:

run onie bootcmd

Then, the switch will be restarted and automatically register with the AmpCon-DC server.

  1. Wait for the registration process to

...

  1. be completed.

chmod a+x onie

sh onie

...

  1. In the AmpCon-DC UI, click Service > Switch.

...

  1. Check whether the switch status

...

  1. is shown as Provisioning Success.

...

Provisioning

...

Install a DHCP server.

...

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:

...

an Integrated Hardware and Software Switch

  1. Download and install MobaXterm.

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

  3. Reboot the switch by running the following command.

sudo reboot

...

The Then, the switch will be restarted and automatically register with and connect to the AmpCon-DC server.

  1. Wait for the registration

...

  1. process

...

  1. to be completed.

...

  1. In the AmpCon-DC UI, click Services > Switch. Check whether the switch status is shown as

...

  1. Provisioning Success

...

  1. .

...