2.2. Flashing Routing Firmware

This is a guide to install new firmware with CLI, confirm image, switch active boot image, turn on all ports, and finally don’t forget to “write memory”, this will set the configuration file.

Requirements:
  • Running TFTP server;
  • Downloaded firmware for Quanta LB4m - firmware image lb4m.5.13.12.14.bin (You can use this direct download link;
  • Client for serial port connection with the switch (for example PuTTY).

Below it will be use an address 192.168.50.2 for access to the TFTP server. The firmware name in this example is firmware.bin. Use appropriate settings for your specific case.

The first step is to connect the Serial/COM port of the computer used for the flashing process to the Quanta LB4 Swtich console port. Use a console cable (roll over cable with RJ45-DB9 converter) for this purpose.

Using PuTTY terminal emulator go to the category Connection and expand the Serial options. Enter the port number inside “Serial line to connect to:” text box - COM1 for example. The port number may be different in your computer. Enter the correct port number when you connect from your computer. Configure the serial line with the following values Speed (baud): 115200, Data bits: 8, Stop bits: 1, Parity: none, Flow control: none.

Click Session and click Serial radio button. Verify whether you can see the port number and the baud rate (115200) you had selected before. Click Open to connect to Quanta LB4 Swtich. Use admin as a login name, the default password is blank. Hit enter again and you should get the (Switching)> prompt. Then type the command enable and the switsh will go into command mode (the password is blank again).

Use the below command to copy from your tftp server:

(Switching) #copy tftp://192.168.50.2/firmware.bin image2

Mode........................................... TFTP
Set Server IP.................................. 192.168.50.2
Path........................................... ./
Filename....................................... firmware.bin
Data Type...................................... Code
Destination Filename........................... image2

Management access will be blocked for the duration of the transfer
Are you sure you want to start? (y/n) y
TFTP code transfer starting
4208280 bytes transferred...
File contents are valid. Copying file to flash...


File transfer operation completed successfully.

(Switching) #

Note

To be sure that the unit will accept the file, you should check the names of the firmware slots. Use the bootvar command to find out what they are named. In our case they are image1 in slot 1 and image2 in slot 2. .

Now image2 slot contains 1.1.0.8 Router version:

(Switching) #show bootvar
Image Descriptions

 image1 : default image
 image2 :


Images currently available on Flash

--------------------------------------------------------------------
 unit      image1      image2     current-active        next-active
--------------------------------------------------------------------

    1     5.13.12.14    1.1.0.8        image1            image1

(Switching) #

Switch system to boot from “image2” firmware:

(Switching) #boot system image2
Activating image image2 ..

(Switching) #show bootvar

Image Descriptions

 active : default image
 backup :

 --------------------------------------------------------------------
   unit      image1      image2     current-active        next-active
 --------------------------------------------------------------------

    1     5.13.12.14    1.1.0.8        image1            image1

 (Switching) #

Now you should redoot the switch:

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


System will now restart!


Boot Menu Version: 28 Apr 2008

Calculating CRC of active image...done...
Select an option. If no selection in 2 seconds then
operational code will start.

1 - Start operational code.
2 - Start Boot Menu.
Select (1, 2):


Operational Code Date: Wed May 13 12:16:52 2009
Uncompressing.....

                       50%                     100%
|||||||||||||||||||||||||||||||||||||||||||||||||||
Attaching interface lo0...done

Adding 48962 symbols for standalone.


                VxWorks

Copyright 1984-2002  Wind River Systems, Inc.

            CPU: Motorola E500 : Unknown system version
   Runtime Name: VxWorks
Runtime Version: 5.5.1
    BSP version: 1.2/0
        Created: May 13 2009, 11:57:16
  WDB Comm Type: WDB_COMM_NETWORK
            WDB: Ready.



PCI unit 0: Dev 0xb514, Rev 0x01, Chip BCM56514_A0, Driver BCM56514_A0
PCI unit 1: Dev 0xb514, Rev 0x01, Chip BCM56514_A0, Driver BCM56514_A0
SOC unit 0 attached to PCI device BCM56514_A0
SOC unit 1 attached to PCI device BCM56514_A0

(Unit 1)>

NOTICE   NOTICE   NOTICE   NOTICE   NOTICE   NOTICE   NOTICE   NOTICE   NOTICE

Unauthorized access and/or use prohibited.  All access and/or use subject to
monitoring.

NOTICE   NOTICE   NOTICE   NOTICE   NOTICE   NOTICE   NOTICE   NOTICE   NOTICE

Applying configuration, please wait ...

Applying Global configuration, please wait ...

Applying Interface configuration, please wait ...

Login into the switch and check if the new firmware is running:

User:admin
Password:

(Routing) >enable
Password:

(Routing) #show bootvar

Image Descriptions

image1 : default image
image2 :


Images currently available on Flash

--------------------------------------------------------------------
 unit      image1      image2     current-active        next-active
--------------------------------------------------------------------

    1     1.1.0.8    5.13.12.14        image2             image2

(Routing) #

The system is now running the new firmware.

Warning

It is highly recommended to change the default admin password for the switch!