---
title: AsterNOS Installation
slug: aidc/asternos-installation
description: AsterNOS installation methods including auto-discovery and manual installation and AsterNOS login
createdAt: 2026-01-15T06:33:59.316Z
---

## <font color="#1d50a2">Installation Flowchart</font>

AsterNOS supports both auto-discovery installations and manual installations.

The installation flowchart is as follows:

::Image[]{src="https://api.archbee.com/api/optimize/zl-MD6bX0o2Ab3p8w66u1/7L7T8uhe0vD5bc6youLv0-20260116-033725.png" size="80" width="798" height="1544" position="center" showCaption="false"}

## <font color="#1d50a2">AsterNOS Installation</font>

### <font color="#1d50a2">AsterNOS Auto-Discovery Installation</font>

**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.

![](https://api.archbee.com/api/optimize/zl-MD6bX0o2Ab3p8w66u1/xhFpOlEzw70oRQgQ1okL1-20260116-033831.png)

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.**

### <font color="#1d50a2">AsterNOS Manual Installation</font>

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

### <font color="#1d50a2">Installation via Remote Copy</font>

**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**.

![](https://api.archbee.com/api/optimize/zl-MD6bX0o2Ab3p8w66u1/JSpBOBpBpTK18zioAy0Wt-20260116-034450.png)

- Type Enter to enter the ONIE command line interface. Stop the DHCP service to avoid the configured management network port IP address being overwritten.

:::CodeblockTabs{indent="1"}
```none
onie-discovery-stop
```
:::

:::Paragraph{indent="1"}
Set the temporary management network port IP address.
:::

:::CodeblockTabs{indent="1"}
```none
ifconfig eth0 <IP address>
```
:::

:::Paragraph{indent="1"}
Copy the AsterNOS image to the current directory in ONIE. (Please note the distinction between the product model and the applicable image name)
**Example:**
:::

:::CodeblockTabs{indent="1"}
```none
scp jenkins@10.230.0.31:/opt/bcmsai_release/bcmsai_v5.0/AsterNOS_V3.1_R0408P01-BRCM.bin ./
```
:::

::Image[]{src="https://api.archbee.com/api/optimize/zl-MD6bX0o2Ab3p8w66u1/ok-CuQB-eneL7jFNaZ2IY-20260116-035522.png" size="100" width="671" height="188" position="center" showCaption="false" indent="1"}

- 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:**

:::CodeblockTabs{indent="1"}
```none
onie-nos-install AsterNOS_V3.1_R0408P01-BRCM.bin
```
:::

::Image[]{src="https://api.archbee.com/api/optimize/zl-MD6bX0o2Ab3p8w66u1/x3uEEjjUfw9tsZDCBOMOD-20260116-035557.png" size="100" width="834" height="448" position="center" showCaption="false" indent="1"}

- The system will automatically enter ONIE GRUB Menu and select AsterNOS system by default.
- Enter username: **admin**, password: **asteros&#x20;**&#x74;o log in to the switch.

::Image[]{src="https://api.archbee.com/api/optimize/zl-MD6bX0o2Ab3p8w66u1/HQx9D3iwE_bvnKjNuGW3z-20260116-035720.png" size="100" width="524" height="230" position="center" showCaption="false" indent="1"}

- Next will be the AsterNOS login and check.

### <font color="#1d50a2">Installation via USB Flash Drive</font>

**Prepare for installation:**

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

:::hint{type="warning"}
**NOTE:**&#x20;

- No USB flash drive storage device is allowed to be plugged in before the switch is powered up, otherwise it will result in an incorrect disk drive recognition order after startup.
- If you copy the SONiC image to ONIE via USB flash drive, it is better to plug in the USB after ONIE has finished startup, and remove the USB flash drive before rebooting when the installation is done.
- When mounting a USB flash drive to a system directory, you should pay attention to whether the target path is already in use. It is recommended to create a new `/mnt/usb` directory for mounting. A common mistake is to mount the USB flash drive directly to `/mnt`, which will overwrite the ONIE partition mount point resulting in an installation error.
:::

**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**.

::Image[]{src="https://api.archbee.com/api/optimize/zl-MD6bX0o2Ab3p8w66u1/xUobH7mFBADQeauyePU3w-20260116-035910.png" size="100" width="907" height="586" position="center" showCaption="false" indent="1"}

- Type Enter to enter the ONIE command line interface. Stop the DHCP service to avoid the configured management network port IP address being overwritten.

:::CodeblockTabs{indent="1"}
```none
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.

:::CodeblockTabs{indent="1"}
```none
fdisk -l
```
:::

:::Paragraph{indent="1"}
Mount the USB flash drive files in the `/mnt/usb/` path.
:::

:::CodeblockTabs{indent="1"}
```none
mount /dev/sdb1 /mnt/usb/
```
:::

::Image[]{src="https://api.archbee.com/api/optimize/zl-MD6bX0o2Ab3p8w66u1/LMeTiW2W1RvYoEt3eK8Kc-20260116-040202.png" size="100" width="502" height="257" position="center" showCaption="false" indent="1"}

:::hint{type="info" indent="1"}
**NOTE:**&#x20;

- If you can't determine the disk drive letter by the capacity of the USB flash drive, you can run `fdisk -l` to view the disk list before and after plugging in the USB flash drive to determine it. As shown in the figure above, there is an extra disk named `/dev/sdb` in the disk list, and an extra disk partition named `/dev/sdb1` in the system. Therefore this disk partition is the USB drive to be mounted.
:::

- Copy the image from the appropriate directory on the USB flash drive to the local directory and install the AsterNOS system.
  **Example:**

:::CodeblockTabs{indent="1"}
```none
cp /mnt/usb/AsterNOS_V3.1_R0406P01-BRCM.bin /
onie-nos-install AsterNOS_V3.1_R0406P01-BRCM.bin
```
:::

::Image[]{src="https://api.archbee.com/api/optimize/zl-MD6bX0o2Ab3p8w66u1/hzTO4bl8OChquA7YG4tOH-20260116-040341.png" size="100" width="505" height="160" position="center" showCaption="false" indent="1"}

- When the words **"reboot**:Restartin&#x67;**&#x20;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.

::Image[]{src="https://api.archbee.com/api/optimize/zl-MD6bX0o2Ab3p8w66u1/XdHoVeQ4OAvW1meNZzxhG-20260116-040442.png" size="100" width="776" height="236" position="center" showCaption="false" indent="1"}

- When the reboot is complete, the system will automatically enter ONIE GRUB Menu and select AsterNOS system by default.
- Enter username: **admin**, password: **asteros&#x20;**&#x74;o log in to the switch.

::Image[]{src="https://api.archbee.com/api/optimize/zl-MD6bX0o2Ab3p8w66u1/Sz-A-VuWMYQGRB2aZfXA3-20260116-040517.png" size="100" width="524" height="230" position="center" showCaption="false" indent="1"}

- Next will be the AsterNOS login and check.

## <font color="#1d50a2">Login</font>

### <font color="#1d50a2">Login to AsterNOS</font>

- Manually set the management port IP address as well as gateway and save the configuration.

:::CodeblockTabs{indent="1"}
```none
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
```
:::

::Image[]{src="https://api.archbee.com/api/optimize/zl-MD6bX0o2Ab3p8w66u1/PZwqDWwS3vKQHTQy51HUO-20260116-040608.png" size="100" width="625" height="199" position="center" showCaption="false" indent="1"}

- Log in to the switch via SSH with the default username/password: admin/asteros.

:::CodeblockTabs{indent="1"}
```none
ssh admin@<AsterNOS_ip_address>
password: asteros
```
:::

::Image[]{src="https://api.archbee.com/api/optimize/zl-MD6bX0o2Ab3p8w66u1/cZIc0lg_ZafMUHVqficA6-20260116-040644.png" size="100" width="511" height="281" position="center" showCaption="false" indent="1"}

### <font color="#1d50a2">License Activation</font>

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

### <font color="#1d50a2">Obtain Hardware Signature</font>

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

```none
sonic# show license hardware-signature
sonic# Hardware signature is:
90:2D:77:68:E1:D0|AAkiGbTlteXKEpZnqbGx/tPfPgaqK2UKHo30EZoGktI=
```

### <font color="#1d50a2">License Application and Acquisition</font>

- **Record the Hardware Signature:** Copy the hardware signature output by the above command, e.g.

:::CodeblockTabs{indent="1"}
```none
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.

### <font color="#1d50a2">License Activation</font>

- 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).

::Image[]{src="https://api.archbee.com/api/optimize/zl-MD6bX0o2Ab3p8w66u1/WyxhXX9C_N7valG7Aix2k-20260116-043410.png" size="100" width="1298" height="51" position="center" showCaption="false" indent="1"}

- Log in to the switch through SSH.

:::CodeblockTabs{indent="1"}
```none
ssh admin@10.230.0.41
```
:::

- Execute the following command to activate.

:::CodeblockTabs{indent="1"}
```none
sonic# configure terminal
sonic(config)# license activate <activation file>/<activation code>
```
:::

- The first activation of the license requires the reload device to take effect.

:::CodeblockTabs{indent="1"}
```none
reload
```
:::

::Image[]{src="https://api.archbee.com/api/optimize/zl-MD6bX0o2Ab3p8w66u1/aOXHiUfebP7SQM7fTYu5U-20260116-043538.png" size="100" width="1299" height="209" position="center" showCaption="false" indent="1"}

### <font color="#1d50a2">Check License</font>

Check if the current installed license status is active.

```none
show license summary
```

![](https://api.archbee.com/api/optimize/zl-MD6bX0o2Ab3p8w66u1/AyJ1bB-BIgZUMwCn2W8Tu-20260116-043745.png)

:::hint{type="info"}
**NOTE:**&#x20;

This manual only covers the essential license checks required for system installation. For detailed explanations of license parameters, etc., please refer to the *《User Guide AsterNOS\_V3.1\_License Usage Guide-e-xxxxxxxx-v1.0.pdf》*
:::

### <font color="#1d50a2">System Check</font>

### <font color="#1d50a2">Verify the Current Software Version</font>

Check whether the current software version information is correct.

```none
show version
```

![](https://api.archbee.com/api/optimize/zl-MD6bX0o2Ab3p8w66u1/aYtRriVEOLDhhzMLjDg5a-20260116-044008.png)

### <font color="#1d50a2">Verify Hardware Information</font>

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

```none
show platform summary
show platform fan
show platform psu-status
show platform temperature
```

![](https://api.archbee.com/api/optimize/zl-MD6bX0o2Ab3p8w66u1/1_0Ptf7jfTQvY-URGeXF5-20260116-044049.png)

### <font color="#1d50a2">Verify the Status of Key Containers</font>

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

```none
system docker ps
```

![](https://api.archbee.com/api/optimize/zl-MD6bX0o2Ab3p8w66u1/UV309JohpU4JDFsbe44oa-20260116-044126.png)

### <font color="#1d50a2">Check Port Status</font>

Verify that the port status is normal.

```none
show interface status
```

![](https://api.archbee.com/api/optimize/zl-MD6bX0o2Ab3p8w66u1/oQB-84-RTy5SkOHGOvQXI-20260116-044210.png)

### <font color="#1d50a2">Test Port Forwarding</font>

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:

![](https://api.archbee.com/api/optimize/zl-MD6bX0o2Ab3p8w66u1/bojI9Ibu63ZEguWdDiPAu-20260116-044252.png)

- Enter the Bash CLI.

:::CodeblockTabs{indent="1"}
```none
system bash
```
:::

- Execute the command to test all or part of the interfaces.

:::CodeblockTabs{indent="1"}
```none
sudo snake_test
```
:::

:::Paragraph{indent="1"}
For example, test ports 10 through 20 on the front panel.
:::

:::CodeblockTabs{indent="1"}
```none
sudo snake_test 10 20
```
:::

