Copy the transceiver firmware file to the switch bootflash and then to the line card temporary directory before you initiate the firmware update process on transceiver ports.
This is a preparatory step for updating transceiver firmware. Different firmware files may be needed for distinct transceiver types. Name each file appropriately on the Line Card (LC). Then, refer to it as LC throughout the document.
Before you begin
Ensure you have access to the switch and a network location such as an SCP server where the firmware file is stored. You must have root access on the line card to copy files to the LC.
Procedure
|
1. |
Use the copy command to copy the firmware file to the switch's bootflash.
Example:
switch# copy scp://192.0.2.1/<location of firmware>/bank_trapp_qsfp-100g-sr-s_signed_rel_0.73.4.bin bootflash:///bank_trapp_qsfp-100g-sr-s_signed_rel_0.73.4.bin vrf man use
This command copies the firmware file from an SCP server to the switch bootflash memory.
|
|
2. |
Use the run bash sudo su and scp commands to gain root access and copy the firmware file from the switch to the Line Card (LC).
Example:
run bash sudo su
bash# scp -r /bootflash/bank_trapp_qsfp-100g-sr-s_signed_rel_0.73.4.bin root@lc1:/var/sysmgr/tmp/firmware.bin
This command transfers the firmware file from the switch bootflash to the specified Line Card temporary directory. If different transceiver types need separate firmware files, copy and name each file so they are easily identified.
|
|
3. |
Use the rlogin and ls -lrt commands to log in to the Line Card and verify the firmware file.
Example:
rlogin lc1
root@lc1:~# ls -lrt /var/sysmgr/tmp/firmware.bin
-rw-r--r-- 1 root root 831200 May 7 17:54 /var/sysmgr/tmp/firmware.bin
This step confirms that the firmware file is present and accessible on the Line Card device.
|
The transceiver firmware file is successfully copied to the switch bootflash and the Line Card temporary directory, and its presence is verified.
What to do next
Proceed to download, run, and commit the firmware on the transceiver ports as described in Download, Run, and Commit Transceiver Firmware.