Arista ZTP basic setup

115 Views
Published
In this tutorial I describe the functionality of Zero Touch Provisioning, and how to do a simple static provisioning with ZTP server using Arista vEOS (4.18.2F) in EVE-ng(Unetlab) and an external linux VM (Devuan) as a ZTP server.

Requirements:
-VMnet for connectivity between vEOS and external VM
-dhcpd (isc-dhcp-server)
-python-pip
-ztpserver

Files modified in this example:
/etc/ztpserver/ztpserver.conf

Startup config file created in:
/usr/share/ztpserver/nodes/aaaaaaaaaaaa/

where 'aaaaaaaaaaa' is the MAC of the switch

On switch actions:
Cancel ZTP:
#zerotouch cancel

Disable ZTP:
#zerotouch disable

Re-enable ZTP
-fullrecover from Aboot
-remove /mnt/flash/zerotouch-config
-remove the content of /mnt/flash/zerotouch-config
-edit /mnt/flash/zerotouch-config
DISABLE=FALSE
Category
Routers and Switches
Be the first to comment