Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

Change Apstra Server Hostname

Release: Juniper Apstra 4.1
{}
Change Release
date_range 30-May-23
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.
footer-navigation