03-22-2024 10:57 AM
Issue noticed:
SYSLOG: <14> Mar 17 15:10:57 Security: SSH login by super from src IP 10.177.95.153 from src MAC 50a7.3360.5054 to USER EXEC mode using RSA as Server Host Key.
SYSLOG: <14> Mar 17 15:10:57 scp -t flash:sec:SWR08095m.bin
!!! Downloading this application image can result in application-boot image mismatch. Please use UFI image.
The code type 33 is not correct for the target hardware, abort!
It is noticed when a user is trying to upgrade the switch to a code from a destination which is a switch.
The user would try to upgrade the firmware using SCP method from switch to switch.
Reason the error message is noticed:
If the user is trying to upgrade from a switch model which is not the same switch model as the one user is trying to upgrade, the error would be noticed.
For example, if the user tries to upgrade 7150 secondary version from a destination switch which is a 7750 or other models then the error would be noticed.
The error also remains the same if the user is using incorrect firmware file which is for a different model switch.
Below is the scenario considered as an example:
Consider the customer is trying to upgrade 7150 switches from 7750 or using an incorrect firmware code of a different switch model.
ICX7150-48ZP Switch#copy flash scp 10.177.95.155 flash:sec:SWR08095m.bin secondary
User name:super
Password:
In 7750 switch you would see a below message:
ICX7750-48F Router#
SYSLOG: <14> Mar 17 15:10:57 Security: SSH login by super from src IP 10.177.95.153 from src MAC 50a7.3360.5054 to USER EXEC mode using RSA as Server Host Key.
SYSLOG: <14> Mar 17 15:10:57 scp -t flash:sec:SWR08095m.bin
!!! Downloading this application image can result in application-boot image mismatch. Please use UFI image.
The code type 33 is not correct for the target hardware, abort!
SYSLOG: <14> Mar 17 15:10:57 Security: SSH logout by super from src IP 10.177.95.153 from src MAC 50a7.3360.5054 from USER EXEC mode using RSA as Server Host Key.
And in 7150 switch you would see the below message:
ICX7150-48ZP Switch#copy flash scp 10.177.95.155 flash:sec:SWR08095m.bin secondary
User name:super
Password:
Connecting to remote host......
Sending data (8192 bytes per dot)
Outbound Connection Closed
Solution:
The customer would need to validate the switch model he is trying to upgrade. User also must validate from which switch model he is trying to upgrade the firmware from.
It is important to check the code is specific to which model of the switch.
It is not recommended to copy firmware from one switch to another even if they are same model as below are few factors that will cause an issue when you are trying to upgrade the firmware from switch to switch.
The customer can choose to upgrade the switch using TFTP method or USB method upgrade mentioned in the below links.
TFTP upgrade method link:
USB upgrade method link: