Change Apstra Server Hostname
You have the option of changing the default Apstra server
hostname (aos-server).
- 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:
Do not use /etc/hostname
to change the Apstra server hostname.
With this method, if you configure syslog to be forwarded to an external server,
the default hostname will be entered into the log instead of the new one.