Ok, so I banged my head until late night again, this time with ZTP. I got my EX2200 at home to work and realized the remote QFX5120 that was the main ZTP subject got a config file that was no good. The QFX upgraded Junos (to 18.4R2-S6) and fetched the config file, but now I'm stuck. I'd like to make the QFX start all over again with ZTP in order for it to fetch the good config file but it just renews the IP address via DHCP and nothing else. I can't seem to figure out a way to tell it to start over remotely. The QFX is located 500 km from me. I could have a local guy go there and reboot it, but I'd like to avoid that if possible.
I fixed the config, but it never fetches the file, probably since it already thinks it did once and failed to commit it.
I changed the name of the config (both in DHCP and the file name on the TFTP server), no luck.
I disabled the port in the management switch that connects to the em0 port of the QFX (QFX only has the em0 port connected) and enabled it after the lease time had expired, but it didn't help.
I then remembered that et-0/0/48 is connected so I opened the opposing port, but it seems the et port is not configured for DHCP at all.
The QFX refuses both SSH and telnet. Is there any other way to contact it remotely assuming it has the default config?