C²S Consulting logo
C²S Consulting | Primers | Catalyst 3750 Switch upgrade

Upgrade process for Cisco Catalyst 3750

  • The sample Cisco Catalyst binary file described here is: c3750-ipservicesk9-mz122-55se12.bin
  • The Computer interface used here is, adjust as necessary: eno1

Install TFTP Server on Linux

The Catalyst 3750 switches access the binary file from a Trivial File Transfer Protocol (TFTP) server on the LAN. On Linux install the TFTP Server as below.

~$ sudo apt install -y tftpd-hpa
~$ sudo systemctl enable tftpd-hpa
~$ sudo systemctl restart tftpd-hpa

Copy the binary file to the '/var/lib/tftpboot/' directory.

~$ sudo cp CISCO/*.bin /var/lib/tftpboot/

Put IP address on Server interface or use the existing address.

~$ sudo ip address add 192.168.10.1/24 dev eno1

Check files on TFTP Server.

~$ ls -la /var/lib/tftpboot/
total 30576
drwxr-xr-x  2 root     nogroup      4096 Feb  1 14:08 .
drwxr-xr-x 87 root     root         4096 Feb  1 13:52 ..
-rw-r--r--  1 dobriain dobriain 13013140 Feb  1 14:08 c3750-ipservicesk9-mz122-55se12.bin
-rw-r--r--  1 dobriain dobriain 18282880 Feb  1 14:08 c3750-ipservicesk9-mz150-2se11.bin

Add an IP address to 'Van1' on Switch.

switch> en
switch# conf t
switch(config)# interface vlan1
switch(config)# ip address 192.168.10.2 255.255.255.0
switch(config)# Control-Z
switch# copy run start

Copy file to switch from TFTP Server.

switch# copy tftp: flash:                                                        
Address or name of remote host []? 192.168.10.1                               
Source filename []? c3750-ipservicesk9-mz122-55se12.bin                         
Destination filename [c3750-ipservicesk9-mz122-55se12.bin]?                     
Accessing tftp://12.168.10.1/c3750-ipservicesk9-mz122-55se12.bin... 
Loading c3750-ipservicesk9-mz122-55se12.bin from 196.223.25.249 (via Vlan1): !!!!!!!!!!!!!!!!!!!!!!!!!O!!
!!!!!!!!!!!!!!!!!!!!!!O!!!!!!!!!!!!!!!!!!!!!!!!!O!!!!!!!!!!!!!!!!!!!!!!!!!O!!!!!!!!!!!!!!!!!!!!!!!!!O!!!!
!!!!!!!!!!!!!!!!!!!!!O!!!!!!
[OK - 13013140 bytes]

13013140 bytes copied in 305.950 secs (42534 bytes/sec)
switch#

Restart the switch.

switch# reload        

Copyright © 2024 C²S Consulting