Upgrade IOS via FTP

 

Upgrade IOS via ftp is nearly as easy as upgrade via TFTP however the huge  advantage is upgrade speed,especially visible when you upgrade switches in different geographical regions.

 

STEPS:

  • check if switch has enough space on flash  and enough RAM to use new firmware

 

SWI-004#sh flash

Directory of flash:/

    2  -rwx         916  Feb 27 2016 11:22:48 +00:00  vlan.dat
    3  -rwx        3096   Mar 9 2016 13:45:54 +00:00  multiple-fs
  647  -rwx        8678   Mar 9 2016 13:45:54 +00:00  config.text
    5  -rwx        6828   Mar 9 2016 13:45:54 +00:00  private-config.text
    6  drwx         512  Oct 13 2015 23:40:48 +00:00  c2960x-universalk9-mz.150-2a.EX5
  645  drwx         512  Oct 13 2015 23:40:49 +00:00  dc_profile_dir

122185728 bytes total (98689024 bytes free)

 

SWI-004#show version

 cisco WS-C2960X-48FPS-L (APM86XXX) processor (revision J0) with 524288K bytes of memory.

 

download new IOSfrom Cisco website

upload new IOS onto FTP server

  • configure ftp user and password

SWI-004(config)#ip ftp username username

SWI-004(config)#ip ftp password password

  • download new IOS into swich

 

SWI-004#copy  ftp: flash:

Address or name of remote host [1.1.1.1]? 1.1.1.1

Source filename [Address]? c2960x-universalk9-mz.152-2.E4.bin

Destination filename [c2960x-universalk9-mz.152-2.E4.bin]? c2960x-universalk9-mz.152-2.E4.bin
Accessing ftp://1.1.1.1/c2960x-universalk9-mz.152-2.E4.bin...
Loading c2960x-universalk9-mz.152-2.E4.bin !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 21268480/4096 bytes]

21268480 bytes copied in 346.565 secs (61369 bytes/sec)

 

  • configure new IOS as a boot system:

SWI-004(config)#boot system flash:/c2960x-universalk9-mz.152-2.E4.bin

  • verify boot path:

 

SWI-004#show boot sys
flash:/c2960x-universalk9-mz.152-2.E4.bin
SWI-004#sho boot
BOOT path-list      : flash:/c2960x-universalk9-mz.152-2.E4.bin
Config file         : flash:/config.text
Private Config file : flash:/private-config.text
Enable Break        : yes
Manual Boot         : no
HELPER path-list    :
Auto upgrade        : yes
Auto upgrade path   :
NVRAM/Config file
      buffer size:   524288
Timeout for Config
          Download:    0 seconds
Config Download
       via DHCP:       disabled (next boot: disabled)

  • save configuration
  • reload system

SWI-004#wr
Building configuration...
[OK]
SWI-004#reload
Proceed with reload? [confirm]

 

  • after reload check system IOS version

 

Switch Ports Model                     SW Version            SW Image
------ ----- -----                     ----------            ----------
*    1 52    WS-C2960X-48FPS-L         15.2(2)E4             C2960X-UNIVERSALK9-M

  • delete ftp user and password 

 

dzbanek  2016-10-13

This site uses cookies. Some of the cookies we use are essential for parts of the site to operate and have already been set. You may delete and block all cookies from this site, but parts of the site will not work.