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

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

interface vlan1
ip address IP-ADDRESS NETMASK
ip route-cache
exit

check your current firmware version

show version | include Version
show version | include flash:

allow uploads on your TFTP server with -v -c

vi /etc/default/tftpd-hpa
systemctl start tftpd-hpa

create upload folder

cd /tftpboot/
mkdir upload/
chmod 777 upload/

validate

cd ~/
tftp TFTP-SERVER
put .vimrc upload/.vimrc
^D

ls -al /tftpboot/upload/
rm -f /tftpboot/upload/.vimrc

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

iptables -A INPUT -i enp2s0 -j ACCEPT
iptables -A INPUT -i xenbr1 -j ACCEPT
iptables -A OUTPUT -o enp2s0 -j ACCEPT
iptables -A OUTPUT -o xenbr1 -j ACCEPT

and upload the current fw

copy flash tftp
c2950-i6q4l2-mz.121-22.EA12.bin
TFTP-SERVER-IP
upload/c2950-i6q4l2-mz.121-22.EA12.bin

sort things out and keep them for reference

cd /tftpboot/upload/
ll
md5sum c2950-i6q4l2-mz.121-22.EA12.bin > MD5
chown root:root c2950-i6q4l2-mz.121-22.EA12.bin
chmod 644 c2950-i6q4l2-mz.121-22.EA12.bin
mv -i *.bin MD5 ../

Upgrade

make some room

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

and proceed with the upgrade

copy tftp flash

TFTP-SERVER
!c2950-i6q4l2-mz.121-22.EA14.bin
src c2950-i6k2l2q4-mz.121-22.EA14.bin
dst c2950-i6k2l2q4-mz.121-22.EA14.bin

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

Resources

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


Nethence | Pub | Lab | Pbraun | SNE Russia | xhtml