Change Apstra Server Hostname
CAUTION:
To avoid issues with the Apstra container's binding, don't change the
/etc/hostname
file directly with any Linux CLI command or
other command than the one below.
-
SSH into the Apstra server as user admin. (
ssh admin@<apstra-server-ip>
where<apstra-server-ip>
is the IP address of the Astra server.) - With root privileges, run the command
/#aos_hostname <hostname>
where<hostname>
is the new hostname of the Apstra server. This command modifies the hostname in the/etc/hostname
file and performs necessary backend configuration. - For the change to take effect, reboot the Apstra server, preferably during a maintenance window. The Apstra server is temporarily unavailable during a reboot, though it most likely won't impact service.