Change Apstra DCD Server Hostname
You have the option of changing the default Apstra DCD
server hostname (aos-server).
To change the Apstra DCD server hostname:
- SSH into the Apstra DCD server as user admin (ssh admin@<Apstra DCD-server-ip> where <Apstra DCD-server-ip> is the IP address of the Apstra DCD 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 DCD server hostname. This method causes syslog to log the default
hostname instead of the new one when forwarded to an external
server.