When you reset the Apstra ZTP GUI password, the configured GUI admin password and the
Apstra server configurations are erased; the dhcp.conf and ztp.json files do not
change.
-
SSH into the Apstra ZTP server as user admin (ssh
admin@<apstra-ztp-server-ip> where <apstra-ztp-server-ip> is the IP address of
the Apstra ZTP server.)
-
Run the command
docker exec -it status /scripts/reset_ztp_user.py
as
shown in the example below:
admin@apstra-ztp:~$ docker exec -it status /scripts/reset_ztp_user.py
SUCCESS: User table is reset to init state
admin@apstra-ztp:~$
-
Log in to the Apstra ZTP GUI (default password: admin).
You're immediately asked to change the default password.
-
Enter the default password, enter a secure password that meets complexity requirements,
then re-enter the new password.
-
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).