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, the image (nxos.7.0.3.I7.7.bin for example) must be copied to the /containers_data/tftp directory ensuring correct file permissions.

Example: Cisco NX-OS ztp.json

This configuration enables secure off-box agent HTTPS (port 443) between the off-box 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 to set the SSH login banner or other system configuration to be set prior to device system agent installation.

Note:

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

Cisco NX-OS Off-box Agent Custom Config File

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

The following nxos_custom.sh can be used 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: