Reset HPE Networking Apstra Data Center Director ZTP GUI Admin Password

When you reset the Apstra DC Director ZTP GUI password, the configured GUI admin password and the HPE Networking Apstra Data Center Director server configurations are erased; the dhcp.conf and ztp.json files do not change.
  1. SSH into the Apstra DC Director ZTP server as user admin (ssh admin@<apstra-ztp-server-ip> where <apstra-ztp-server-ip> is the IP address of the Apstra DC Director ZTP server.)
  2. Run the command docker exec -it status /scripts/reset_ztp_user.py as shown in the example below:
  3. Log in to the Apstra DC Director ZTP GUI (default password: admin).
    You're immediately asked to change the default password.
  4. Enter the default password, enter a secure password that meets complexity requirements, then re-enter the new password.
  5. Click Change to change the password.
Next time you log in, you're presented with the 3-step wizard as if it's the first time you're logging in. If you've previously completed configuration, just click Skip Wizard (upper-right of screen).