Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Apstra ZTP - Arista

Arista EOS

Note:

Apstra ZTP has limited support and known issues for virtual Arista EOS (vEOS) devices.

  • ZTP EOS upgrades are not supported on vEOS devices. EOS versions for vEOS device must match eos-versions set in ztp.json file.
  • ZTP Logging to the controller does not work for vEOS devices due to the lack of a device serial number. This will be addressed in a future version.

As part of the ZTP process a new OS image is copied to the switch. Before installing Apstra ZTP ensure that the switch has sufficient disk space for the OS image.

If ZTP is installing Arista EOS image, the image (EOS-4.22.3M.swi for example) you must copy to the /containers_data/tftp directory.

Example: Arista EOS - ztp.json

Arista EOS On-box Agent / Apstra ZTP 4.0

Arista EOS Custom Config File

When configuring custom-config for Arista EOS devices, refer to the example eos_custom.sh, a bash executable file executed during the ZTP process. It can execute EOS configuration commands to set the SSH login banner or other system configuration to be set prior to device system agent installation.

Note:

During the ZTP process, the EOS banner login is set to text saying "The device is in Zero Touch Provisioning mode ...". By default, the ZTP script copies this to the permanent configuration.

To prevent this, you must configure the custom-config pointing to a script (eos_custom.sh for example), which configures a different banner login or configure no banner login.

There must be a space after any \n.

Note:

If you're using EOS 4.22, Apstra recommends adding the service routing protocols model multi-agent to the device configuration along with any other configuration during ZTP which requires a device reboot to activate (system profile vxlan-routing for example). This ensures that this configuration is applied on reboot and added to the device pristine configuration.

Restart Arista EOS ZTP

CAUTION:

If an agent is already installed on the device, before you restart the device ZTP process remove the agent extension either via the UI Device Agent Installer or manually via the device CLI.

See Arista Device Agents for more information.

To restart Arista EOS ZTP process: