You are on page 1of 8

QuantaMesh

Ethernet Switch

QNOS Upgrading Guide

LB9M
CONTENTS
1. Upgrade the Firmware .............................................................................. 3
1.1. Initialization Stage................................................................................................... 3
1.2. Login to QNOS ......................................................................................................... 3
1.3. Upgrade the Firmware Image File .......................................................................... 4
2. Upgrade the Firmware via ONIE Installer ................................................... 5
2.1. Backup your existing configuration file .................................................................. 5
2.2. Initialization Stage................................................................................................... 5
2.3. Boot into ONIE Environment .................................................................................. 6
2.4. Install the ONIE Installer ......................................................................................... 6
2.5. Install the (Demo) License Key................................................................................ 6
About QCT .................................................................................................... 7

REVISIONS
Version Date Description Authors
1.0 05/29/2019 First publish Oliver Wu
1.1 07/16/2019 Add LB9M Oliver Wu
1. Add login to QNOS
1.2 01/13/2020 Oliver Wu
2. Add install the license key for LB9M
Add digital signature steps of
1.3 07/13/2020 Jonathan Chiang
upgrading firmware

2
1. Upgrade the Firmware
The switch firmware is continuously being upgraded to meet more networking
demands. It is recommended to upgrade the firmware to ensure that your switch has
the latest firmware for optimum performance.

1.1.Initialization Stage
1. Connect MGMT port to your management network. Assume your SFTP and DHCP
server are located at the same network.

2. Prepare the SFTP server (assume IP address is 192.168.1.100) and put the latest
image file (*.stk) onto SFTP root directory.

3. Connect the console cable to the console port, on a terminal emulation program
(such as Teraterm or HyperTerm), set the baud rate to 115200 (115200, n, 8, 1).

1.2.Login to QNOS
The default username and password for the QNOS login prompt is admin without
password, the user must be change the password on first login time, the minimum
length of password is 8 characters, please be sure to remember your new password
for future use.

1. When see User prompt of QNOS, enter admin as username and without
password. The system will request to change your password when first login, we
use “abcd1234” for an example.
User: admin

Password:

Default password authentication successful.

Change default password for 'admin' user.

Password requires 8 or more characters.

New password: abcd1234

Re-enter new password: abcd1234

Config file 'startup-config' created successfully .

Password change is successful.

!!! For 'guest' user access, please change its default password before
'guest' login.

Please use the new password to login again.

2. Login again with new password.


User: admin

3
Password: abcd1234

(Switch) #

1.3.Upgrade the Firmware Image File


1. Set the service port IP address (in the example below, the service port IP
address is set to 192.168.1.1):
(Switch) #configure

(Switch) (Config)#serviceport protocol none

Changing protocol mode will reset ip configuration.

Are you sure you want to continue? (y/n) y

(Switch) (Config)#serviceport ip 192.168.1.1 255.255.255.0

(Switch) (Config)#exit

2. Prepare the SFTP server and save the latest image file (*.stk) and public key
(*.pem) in its root directory (assuming that the IP address is 192.168.1.100).

3. Download the public key before installing the STK image.


(Switch) #copy sftp://user@192.168.1.100/public_key.pem publickey-image
Remote Password:[Enter your user password]

Mode........................................... SFTP
Set Server IP.................................. 192.168.1.100
Path........................................... ./
Filename....................................... public_key.pem
Data Type...................................... Public Key file
required for Image Digital signature validation

Management access will be blocked for the duration of the transfer


Are you sure you want to start? (y/n) y
Public key file transfer operation completed successfully.

4. Download and verify the digital Signature stk image to active by SFTP server.
(Switch) #copy sftp://user@192.168.1.100/QNOS-lb9m-20.06_sign.stk image
active verify
Remote Password: [Enter your user password]

Mode........................................... SFTP
Set Server IP.................................. 192.168.1.100
Path........................................... ./
Filename....................................... QNOS-lb9m-20.06_sign.stk
Data Type...................................... Code
Destination Filename........................... active

Management access will be blocked for the duration of the transfer


Are you sure you want to start? (y/n) y
File transfer operation completed successfully.
5. Copy the running configuration to the startup configuration to save the current
configuration to NVRAM.
(Switch) #copy running-config startup-config

4
This operation may take a few minutes.
Management interfaces will not be available during this time.
Are you sure you want to save? (y/n) y
#
Config file 'startup-config' created successfully.

Configuration Saved!

6. The new image will be active after the next reboot.


(Switch) #reload

Are you sure you would like to reset the system? (y/n) y

7. Check the version and boot image after rebooting the switch.
(Switch) #show bootvar

(Switch) #show version

Switch: 1
System Description............................. Quanta LB9M: 48xRJ45 +
4xSFP28, Runtime Code 20.06, Linux 4.4.39, U-Boot 2016.01-onie-g7c487d9 (Oct
04 2018 - 13:38:33 +0800) - ONIE 2018.08
Machine Type................................... Quanta LB9M: 48xRJ45 + 4xSFP28
Machine Model.................................. LB9M
Serial Number.................................. QWER222222222
Part Number.................................... 1LB9BZZ000L
Burned In MAC Address.......................... D8:C4:97:A4:E8:29
Software Version............................... 20.06
Software Storage............................... SD card
License Key Status............................. Advance Key
Operating System............................... Linux 4.4.39
Network Processing Device...................... BCM56172_B0
CPLD version................................... 0x206
Additional Packages............................ BGP-4
QOS
IPv6
Routing
OpEN API
Prototype Open API

2. Upgrade the Firmware via ONIE


Installer
2.1. Backup your existing configuration file
The following procedures will destroy your file system. Please backup your current
configuration first.

2.2.Initialization Stage
1. Connect MGMT port to your management network. Assume your FTP and DHCP
server are located at the same network.

2. Prepare the FTP server (assume IP address is 192.168.1.100) and put the

5
installer onto FTP root directory.

3. Connect the console cable to the console port, on a terminal emulation


program (such as Teraterm or HyperTerm), set the baud rate to 115200
(115200, n, 8, 1).

2.3.Boot into ONIE Environment


1. Reboot switch and press any key when see “Hit any key to stop autoboot”

2. Run the following command to enter ONIE rescue mode.


=> run onie_rescue

2.4.Install the ONIE Installer


1. When see the following prompt, press [enter] key.

2. Manually Set switch IP address (if MGMT port connect to a DHCP server, it will
get IP address from DHCP server automatically).

ONIE:/ # ifconfig eth0 192.168.1.1

3. Download the verify tool via FTP server, and unzip the tool.
ONIE:/ # wget ftp://192.168.1.100/QNOS_image_verify.tar.bz2
ONIE:/ # tar jxf QNOS_image_verify.tar.bz2

4. Follow the below command to verify and install the QNOS image.

ONIE:/ # ./verify_tool/install_url_sign ftp://192.168.1.100/onie-


installer-arm-quanta_lb9m-20.06_sign

2.5.Install the (Demo) License Key


Note:

6
Before you install the license key, please check your license key status by “show
version”. If key status is “Key Not Present”, please ask the key from the sales team
or install the demo license key. Otherwise, the ports would not be up.

1. When see User prompt of QNOS, login with admin and your password.
User:admin

Password: ********

2. Use the following command to register the license key.


(Switch) #configure

(Switch) (Config)#license-key <key string>

(Switch) (Config)#exit

3. Reload the switch.


(Switch) #reload

7
About QCT
Quanta Cloud Technology (QCT) is a global datacenter solution provider. We
combine the efficiency of hyperscale hardware with infrastructure software
from a diversity of industry leaders to solve next-generation datacenter design
and operation challenges. QCT serves cloud service providers, telecoms and
enterprises running public, hybrid and private clouds.
Product lines include hyper-converged and software-defined datacenter
solutions as well as servers, storage, switches, integrated racks with a diverse
ecosystem of hardware component and software partners. QCT designs,
manufactures, integrates and services cutting edge offerings via its own global
network. The parent of QCT is Quanta Computer, Inc., a Fortune Global 500
corporation.
http://www.QCT.io

United States QCT LLC., Silicon Valley office Japan Quanta Cloud Technology Japan 株式会社
1010 Rincon Circle, San Jose, CA 95131
TOLL-FREE: 1-855-QCT-MUST 日本国東京都港区芝大門二丁目五番八号
TEL: +1-510-270-6111 牧田ビル3階
FAX: +1-510-270-6161 Makita Building 3F, 2-5-8, Shibadaimon ,
Support: +1-510-270-6216 Minato-ku, Tokyo 105-0012, Japan
TEL: +81-3-5777-0818
QCT LLC., Seattle office FAX: +81-3-5777-0819
13810 SE Eastgate Way, Suite 190, Building 1,
Bellevue, WA 98005 Taiwan 雲達科技(Quanta Cloud Technology)
TEL: +1-425-633-1620
FAX: +1-425-633-1621 桃園市龜山區文化二路 211 號 1 樓
1F, No. 211 Wenhua 2nd Rd., Guishan Dist.,
China 云达科技, 北京办公室(Quanta Cloud Technology) Taoyuan City 33377, Taiwan
TEL: +886-3-286-0707
北京市朝阳区东大桥路 12 号润诚中心 2 号楼 FAX: +886-3-327-0001
TEL: +86-10-5920-7600
FAX: +86-10-5981-7958 Germany Quanta Cloud Technology Germany GmbH
Hamborner Str. 55, 40472 Düsseldorf ,
云达科技, 杭州办公室(Quanta Cloud Technology) Germany
浙江省杭州市西湖区古墩路浙商财富中心 4 号楼 303 室 TEL: + 492405-4083-1300

Room 303,Building No.4,ZheShang Wealth Center Other regions Quanta Cloud Technology
No. 83 GuDun Road, Xihu District, Hangzhou, Zhejiang , China No. 211 Wenhua 2nd Rd., Guishan Dist.,
TEL: +86-571-2819-8660 Taoyuan City 33377, Taiwan
TEL: +886-3-327-2345
FAX: +886-3-397-4770

All specifications and figures are subject to change without prior notice. Actual products may look different from the photos.
QCT, the QCT logo, Rackgo, Quanta, and the Quanta logo are trademarks or registered trademarks of Quanta Computer Inc.
All trademarks and logos are the properties of their respective holders.
8
Copyright © 2014-2017 Quanta Computer Inc. All rights reserved.

You might also like