Change Apstra Server Hostname
You have the option of changing the default Apstra server
hostname (aos-server).
To change the Apstra server hostname:
- SSH into the Apstra server as user admin (ssh admin@<apstra-server-ip> where <apstra-server-ip> is the IP address of the Apstra server.)
-
As root user, run the command
aos_hostname <hostname>where <hostname>is the new hostname.
admin@aos-server:~$ sudo aos_hostname new-aos-server [sudo] password for admin: admin@aos-server:~$
The new hostname will display the next time you log
in.
Note: Avoid using
/etc/hostname to change
the Apstra server hostname. This method causes syslog to log the default hostname
instead of the new one when forwarded to an external server.