Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

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.

  1. 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.)
  2. 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.
  3. 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.