Cisco IOS // Firmware Upgrade

tested on Catalyst WS-C2950T-24 –> IOS Version 12.1(22)EA12

Seek for new firmware

what model?

show version | include Model number

Model number: WS-C2950T-24

MD5 hashes

8d3250ee253b81b7fe2762e281773fbc  c2950-i6k2l2q4-mz.121-22.EA14.bin
4b36c95cd7813562a2d108b2aeeaf63e  c2950-i6q4l2-mz.121-22.EA12.bin
c57104dce5aa257139d8da004aa62bad  c2950-i6q4l2-mz.121-22.EA14.bin
d41d8cd98f00b204e9800998ecf8427e ?!

Backup current firmware

you need a management ip for that

enable
configure terminal
interface vlan1
no shutdown
ip address 10.7.7.203 255.255.255.0
ip route-cache
exit
exit

check your current firmware version

show version | include Version
show version | include flash:

IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(22)EA12, RELEASE SOFTWARE (fc1)
System image file is "flash:/c2950-i6q4l2-mz.121-22.EA12.bin"

IOS (tm) C2950 Software (C2950-I6K2L2Q4-M), Version 12.1(22)EA14, RELEASE SOFTWARE (fc1)
System image file is "flash:c2950-i6k2l2q4-mz.121-22.EA14.bin"

allow uploads on your TFTP server with -v -c

vi /etc/default/tftpd-hpa

TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/tftpboot"
TFTP_ADDRESS="0.0.0.0:69"
TFTP_OPTIONS="-4 --secure -v -c"

mkdir -p /tftpboot/upload/
chmod 777 /tftpboot/upload/
chmod +t /tftpboot/upload/
systemctl start tftpd-hpa

make sure you do not have a system firewall blocking the interface your are playing on

#here -I not -A
iptables -I INPUT -i enp2s0 -j ACCEPT
iptables -I OUTPUT -o enp2s0 -j ACCEPT
iptables -I INPUT -i xenbr1 -j ACCEPT
iptables -I OUTPUT -o xenbr1 -j ACCEPT

validate from the host system (bypasses any system firewall) or ideally remotely already

cd ~/
ls -lF .vimrc
tftp 10.7.7.201
put .vimrc upload/.vimrc
^D
ls -alF /tftpboot/upload/
rm -f /tftpboot/upload/.vimrc
ping -c1 10.7.7.203

and upload the current firmware from the switch

ping 10.7.7.201
copy flash tftp

Source filename []? c2950-i6q4l2-mz.121-22.EA12.bin
Address or name of remote host []? 10.7.7.201
Destination filename [c2950-i6q4l2-mz.121-22.EA12.bin]? upload/c2950-i6q4l2-mz.121-22.EA12.bin

sort things out and keep them for reference

ls -alF /tftpboot/upload/
chown root:root /tftpboot/upload/c2950-i6q4l2-mz.121-22.EA12.bin
chmod 644 /tftpboot/upload/c2950-i6q4l2-mz.121-22.EA12.bin
md5sum /tftpboot/upload/c2950-i6q4l2-mz.121-22.EA12.bin > /tftpboot/upload/MD5
cat /tftpboot/upload/MD5

Upgrade

cd /tftpboot/
wget http://lab.nethence.com/elge/cisco/c2950-i6k2l2q4-mz.121-22.EA14.bin
wget http://lab.nethence.com/elge/cisco/MD5

make some room

show flash:
delete flash://c2950-i6q4l2-mz.121-22.EA12.bin
show flash:

and proceed with the upgrade

copy tftp flash

Address or name of remote host []? 10.7.7.201
Source filename []? c2950-i6k2l2q4-mz.121-22.EA14.bin
!c2950-i6q4l2-mz.121-22.EA14.bin
Destination filename [c2950-i6k2l2q4-mz.121-22.EA14.bin]? 

verify /md5 c2950-i6k2l2q4-mz.121-22.EA14.bin
!8d3250ee253b81b7fe2762e281773fbc
!verify /md5 c2950-i6q4l2-mz.121-22.EA14.bin

config terminal
boot system flash:c2950-i6k2l2q4-mz.121-22.EA14.bin
!boot system flash:c2950-i6q4l2-mz.121-22.EA14.bin
do show boot
do write erase
do reload
!System configuration has been modified. Save? [yes/no]: no

systemctl stop tftpd-hpa
systemctl disable tftpd-hpa

Resources

CISCO 2950 и 3550 прошивка https://arny.ru/hardware/cisco-2950-proshivka/

EOL https://www.cisco.com/c/en/us/obsolete/switches/cisco-catalyst-2950-series-switches.html

support & download https://www.cisco.com/c/en/us/support/index.html

SI vs EI https://www.cisco.com/c/en/us/support/docs/switches/catalyst-2950-series-switches/41542-191.html

Cisco Catalyst 2950 Series Switches with Cisco Standard Image and Enhanced Image https://www.cisco.com/c/en/us/products/collateral/switches/catalyst-2950-series-switches/prod_qas09186a008009258e.html

hard reset Resetting the Switch from the Getting Started Manual

Cisco 2950 V.12.1 IOS Upgrade to 15.0 or Higher https://community.cisco.com/t5/switching/cisco-2950-v-12-1-ios-upgrade-to-15-0-or-higher/td-p/2609183

C2950 crypto image https://community.cisco.com/t5/other-network-architecture/c2950-crypto-image/td-p/383213

Cisco 2950 V.12.1 IOS Upgrade to 15.0 or Higher https://community.cisco.com/t5/switching/cisco-2950-v-12-1-ios-upgrade-to-15-0-or-higher/td-p/2609183

Upgrading Software Images on Catalyst 2950 and 2955 Series Switches Using the Command Line Interface https://www.cisco.com/c/en/us/support/docs/switches/catalyst-2950-series-switches/41542-191.html

Old Cisco Switches - Firmware upgrade question. https://community.cisco.com/t5/switching/old-cisco-switches-firmware-upgrade-question/td-p/2415846

Cisco Catalyst 2950 firmware update https://community.spiceworks.com/topic/1444860-cisco-catalyst-2950-firmware-update

Cisco 3900 Series, 2900 Series, and 1900 Series Software Configuration Guide https://www.cisco.com/c/en/us/td/docs/routers/access/1900/software/configuration/guide/Software_Configuration/upgrade.html

Cisco 2950 Software Download Removed? https://www.reddit.com/r/networking/comments/49eaqt/cisco_2950_software_download_removed/

broken link? ea14 release notes http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst2950/software/release/12-1_22_ea14/release/notes/OL23783.html

Upgrading IOS https://janadelsbach.com/datacenter.cisco.html

How To: Upgrade IOS On A Cisco 2950 http://tuxlabs.com/?p=256

How to Update/Upgrade Cisco IOS Software https://www.cisco.com/c/en/us/products/ios-nx-os-software/networking_solutions_products_genericcontent0900aecd806ea5be.html


HOME | GUIDES | BENCHMARKS | html