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.

Example: Cisco NX-OS - ztp.json

Cisco NX-OS Onbox Agent / Apstra ZTP 4.2 GUI

Cisco NX-OS Onbox Agent / Apstra ZTP 4.2 ztp.json File

Cisco NX-OS Offbox Agent with HTTPS / Apstra ZTP 4.2 ztp.json File

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

Note:

open_options" can't be configured from the Apstra ZTP UI configurator. You must use the GUI code editor or edit the ztp.json file from the CLI.

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: