Installation Guide for BRCM
AsterNOS Installation
31 min
installation flowchart installation flowchart asternos supports both auto discovery installations and manual installations the installation flowchart is as follows asternos installation asternos installation asternos auto discovery installation asternos auto discovery installation 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 asternos manual installation asternos manual installation manual installation is divided into installation via remote copy and installation via usb flash drive installation via remote copy installation via remote copy 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 onie discovery stop set the temporary management network port ip address 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 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 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 installation via usb flash drive installation via usb flash drive prepare for installation usb flash drive with asternos image stored on it server or laptop with serial debugging tool switch to be installed note 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 type enter to enter the onie command line interface stop the dhcp service to avoid the configured management network port ip address being overwritten 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 fdisk l mount the usb flash drive files in the /mnt/usb/ path mount /dev/sdb1 /mnt/usb/ note 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 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 login login login to asternos login to asternos manually set the management port ip address as well as gateway and save the configuration 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 ssh admin@\<asternos ip address> password asteros license activation license activation license must be activated for normal operation please complete the license activation immediately after the initial system installation obtain hardware signature obtain hardware signature execute the following command to obtain the hardware signature of the current device sonic# show license hardware signature sonic# hardware signature is 90 2d 77 68\ e1\ d0|aakigbtltexkepznqbgx/tpfpgaqk2ukho30ezogkti= license application and acquisition license application and acquisition record the hardware signature copy the hardware signature output by the above command, e g 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 license activation license activation 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 ssh admin\@10 230 0 41 execute the following command to activate sonic# configure terminal sonic(config)# license activate \<activation file>/\<activation code> the first activation of the license requires the reload device to take effect reload check license check license check if the current installed license status is active show license summary note 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》 system check system check verify the current software version verify the current software version check whether the current software version information is correct show version verify hardware information verify hardware information verify that the platform information is correct and the status of fans, power supply, and temperature is normal show platform summary show platform fan show platform psu status show platform temperature verify the status of key containers verify the status of key containers verify that key containers, such as swss, syncd, bgp, database, etc , are all initiated properly system docker ps check port status check port status verify that the port status is normal show interface status test port forwarding test port forwarding 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 system bash execute the command to test all or part of the interfaces sudo snake test for example, test ports 10 through 20 on the front panel sudo snake test 10 20
