跳转到内容
Ask AI

AsterNOS Installation

此内容尚不支持你的语言。

AsterNOS supports both auto-discovery installations and manual installations.

The installation flowchart is as follows:

Prepare for installation:

  • DHCP Server
  • Image Server with AsterNOS image deployed
  • Server or laptop with serial debugging tool
  • Switch to be installed

The switch is factory pre-installed with ONIE. It can automatically obtain the network management port IP address via DHCP, as well as discover and obtain the AsterNOS image on HTTP/FTP/TFTP servers that match the corresponding field.

After the DHCP and image server are deployed, connect the management port and boot up the switch. Access the switch through the serial port and then select ONIE: Install OS in ONIE GRUB Menu to enter the auto-configuration installation.

Wait for a while for the AsterNOS system to finish auto-installation, next will be the AsterNOS login and check, please skip to section Login.

Manual installation is divided into installation via remote copy and installation via USB flash drive.

Prepare for installation:

  • AsterNOS image
  • Server or laptop with serial debugging tool
  • Switch to be installed

Steps:

  • Connect the server or laptop to the serial port of the switch and use the serial debugging tool to enter the switch. Power up the switch and it will automatically enter ONIE GRUB Menu, then select ONIE: Install OS.

  • Type Enter to enter the ONIE command line interface. Stop the DHCP service to avoid the configured management network port IP address being overwritten.
Terminal window
onie-discovery-stop

Set the temporary management network port IP address.

Terminal window
ifconfig eth0 <IP address>

Copy the AsterNOS image to the current directory in ONIE. (Please note the distinction between the product model and the applicable image name) Example:

Terminal window
scp jenkins@10.230.0.31:/opt/bcmsai_release/bcmsai_v5.0/AsterNOS_V3.1_R0408P01-BRCM.bin ./

  • Run the following command to install the system, at this time ONIE will reboot automatically. Wait for some time for the system to finish installing. Example:
Terminal window
onie-nos-install AsterNOS_V3.1_R0408P01-BRCM.bin

  • The system will automatically enter ONIE GRUB Menu and select AsterNOS system by default.
  • Enter username: admin, password: asteros to log in to the switch.

  • Next will be the AsterNOS login and check.

Prepare for installation:

  • USB flash drive with AsterNOS image stored on it
  • Server or laptop with serial debugging tool
  • Switch to be installed

Steps:

  • Connect the server or laptop to the serial port of the switch and use the serial debugging tool to enter the switch. Power up the switch and it will automatically enter ONIE GRUB Menu, then select ONIE: Install OS.

  • Type Enter to enter the ONIE command line interface. Stop the DHCP service to avoid the configured management network port IP address being overwritten.
Terminal window
onie-discovery-stop
  • Plug the USB flash drive into the USB port on the switch.
  • Check the system’s disk list to determine the USB flash drive letter.
Terminal window
fdisk -l

Mount the USB flash drive files in the /mnt/usb/ path.

Terminal window
mount /dev/sdb1 /mnt/usb/

  • Copy the image from the appropriate directory on the USB flash drive to the local directory and install the AsterNOS system. Example:
Terminal window
cp /mnt/usb/AsterNOS_V3.1_R0406P01-BRCM.bin /
onie-nos-install AsterNOS_V3.1_R0406P01-BRCM.bin

  • When the words “reboot:Restarting system” appear in the log during the installation process (as shown in the figure below), please pull out the USB flash disk immediately, or else an abnormality may occur.

  • When the reboot is complete, the system will automatically enter ONIE GRUB Menu and select AsterNOS system by default.
  • Enter username: admin, password: asteros to log in to the switch.

  • Next will be the AsterNOS login and check.
  • Manually set the management port IP address as well as gateway and save the configuration.
Terminal window
sonic# configure terminal
sonic(config)# interface mgmt 0
sonic(config-mgmt-0)# ip address 10.230.0.44/24 gw 10.230.0.1
sonic(config-mgmt-0)# write

  • Log in to the switch via SSH with the default username/password: admin/asteros.
Terminal window
ssh admin@<AsterNOS_ip_address>
password: asteros

License must be activated for normal operation. Please complete the License activation immediately after the initial system installation.

Execute the following command to obtain the hardware signature of the current device:

Terminal window
sonic# show license hardware-signature
sonic# Hardware signature is:
90:2D:77:68:E1:D0|AAkiGbTlteXKEpZnqbGx/tPfPgaqK2UKHo30EZoGktI=
  • Record the Hardware Signature: Copy the hardware signature output by the above command, e.g.
Terminal window
90:2D:77:68:E1:D0|AAkiGbTlteXKEpZnqbGx/tPfPgaqK2UKHo30EZoGktI=
  • Contact Support: Provide the hardware signature to the Asterfusion technical support team.
  • Obtain File: The technical support team will provide you with the corresponding license file or activation code.
  • You can copy the license file to the switch through scp or other methods (if obtained as an activation code, this step can be skipped).

  • Log in to the switch through SSH.
Terminal window
ssh admin@10.230.0.41
  • Execute the following command to activate.
Terminal window
sonic# configure terminal
sonic(config)# license activate <activation file>/<activation code>
  • The first activation of the license requires the reload device to take effect.
Terminal window
reload

Check if the current installed license status is active.

Terminal window
show license summary

Check whether the current software version information is correct.

Terminal window
show version

Verify that the platform information is correct and the status of fans, power supply, and temperature is normal.

Terminal window
show platform summary
show platform fan
show platform psu-status
show platform temperature

Verify that key containers, such as swss, syncd, bgp, database, etc., are all initiated properly.

Terminal window
system docker ps

Verify that the port status is normal.

Terminal window
show interface status

Verify that port traffic forwarding is normal.

Perform a snake test according to the number of ports on the front panel. Connect the interfaces two by two in order as shown below:

  • Enter the Bash CLI.
Terminal window
system bash
  • Execute the command to test all or part of the interfaces.
Terminal window
sudo snake_test

For example, test ports 10 through 20 on the front panel.

Terminal window
sudo snake_test 10 20