Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Apstra ZTP - Cisco

Cisco NX-OS and ZTP Disk Space

Ensure that sufficient disk space is available on the switch. 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 Cisco NX-OS image, you must copy the image (nxos.7.0.3.I7.7.bin for example) to the /containers_data/tftp directory ensuring correct file permissions.

Example: Cisco NX-OS - ztp.json

This configuration enables secure offbox agent HTTPS (port 443) between the offbox agent on the server and the device API.

Cisco NX-OS Custom Config File

When configuring custom-config for Cisco NX-OS devices, refer to the example nxos_custom.sh, a bash executable file executed during the ZTP process. It can execute NX-OS configuration commands that set system configuration, such as the SSH login banner, before installing the device system agent.

Note:

You must add copp profile strict via the NX-OS custom-config file.

Cisco NX-OS Offbox Agent Custom Config File

If using Apstra ZTP to prepare a Cisco NX-OS device for use with offbox agents, you must have the custom-config file enable the following NX-OS configuration commands.

You can use the following nxos_custom.sh to add these along with a banner.

Restart Cisco NX-OS ZTP

Note:

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

See Cisco Device Agents for more information.

To restart Cisco NX-OS ZTP process: