HOWTO upgrade IOS v Cisco switch (2960X apod.) – 1. easy

Přes příkaz archive je upgrade celkem easy, stačí stáhnout tar soubor z Cisco webu s novým IOS a vystavit si ho na tftp serveru. Další výhodou (mimo to, že je to easy) je, že touto metodou instaluji IOS včetně webu k cisco switch (i když on ten web není u těchto řad až taková výhra…)


 

C2960X_INET_DMZ#archive download-sw tftp://10.1.1.111/c2960x-universalk9-tar.152-2.E4.tar
Loading c2960x-universalk9-tar.152-2.E4.tar from 10.1.1.111 (via Vlan101): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK – 26890240 bytes]

Loading c2960x-universalk9-tar.152-2.E4.tar from 10.1.1.111 (via Vlan101): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
examining image…
extracting info (109 bytes)
extracting c2960x-universalk9-mz.152-2.E4/info (786 bytes)
extracting info (109 bytes)

Stacking Version Number: 1.56

System Type:             0x00000000
  Ios Image File Size:   0x0144B200
  Total Image File Size: 0x019A5200
  Minimum Dram required: 0x08000000
  Image Suffix:          universalk9-152-2.E4
  Image Directory:       c2960x-universalk9-mz.152-2.E4
  Image Name:            c2960x-universalk9-mz.152-2.E4.bin
  Image Feature:         IP|LAYER_2|SSH|3DES|MIN_DRAM_MEG=128
  FRU Module Version:    No FRU Version Specified

Old image for switch 1: flash1:/c2960x-universalk9-mz.152-2.E3
  Old image will be deleted before download.
Old image for switch 2: flash:/c2960x-universalk9-mz.152-2.E3
  Old image will be deleted before download.

Deleting `flash1:/c2960x-universalk9-mz.152-2.E3′ to create required space
Extracting images from archive into flash on switch 1…
Deleting `flash:/c2960x-universalk9-mz.152-2.E3′ to create required space
Extracting images from archive into flash…

Warning: Unable to allocate memory to display the tar extraction of files,
         however upgrade process is still continuing. If you would like to
         see the tar extraction output, try upgrading one switch at a time.

Warning: Unable to allocate memory to display the tar extraction of files,
         however upgrade process is still continuing. If you would like to
         see the tar extraction output, try upgrading one switch at a time.

Installing (renaming): `flash1:/update/c2960x-universalk9-mz.152-2.E4′ ->
                                       `flash1:/c2960x-universalk9-mz.152-2.E4′
EDS file download on SKU match in progress…

New software image installed in flash1:/c2960x-universalk9-mz.152-2.E4

Installing (renaming): `flash:update/c2960x-universalk9-mz.152-2.E4‚ ->
                                       `flash:/c2960x-universalk9-mz.152-2.E4′
EDS file download on SKU match in progress…

New software image installed in flash:/c2960x-universalk9-mz.152-2.E4

Deleting old files from dc profile dir „flash1:/dc_profile_dir“

extracting dc profile file from „flash1:/c2960x-universalk9-mz.152-2.E4/dc_default_profiles.txt“ to „flash1:/dc_profile_dir/dc_default_profiles.txt“

Deleting old files from dc profile dir „flash:/dc_profile_dir“

extracting dc profile file from „flash:/c2960x-universalk9-mz.152-2.E4/dc_default_profiles.txt“ to „flash:/dc_profile_dir/dc_default_profiles.txt“
All software images installed.

C2960X_INET_DMZ#sh flash1:

Directory of flash1:/

  669  -rwx        7793  Jul 12 2016 09:35:23 +02:00  config.text
  670  -rwx           5  Jul 12 2016 09:35:23 +02:00  private-config.text
  671  -rwx         624  Jul 11 2016 11:51:58 +02:00  vlan.dat
    2  drwx         512  Jul 12 2016 10:17:02 +02:00  c2960x-universalk9-mz.152-2.E4
  667  drwx         512  Jul 12 2016 10:17:04 +02:00  dc_profile_dir

122185728 bytes total (95068160 bytes free)

C2960X_INET_DMZ#sh flash2:

Directory of flash:/

  669  -rwx        7793  Jul 12 2016 09:35:23 +02:00  config.text
  670  -rwx        2072  Jul 12 2016 09:35:23 +02:00  multiple-fs
  672  -rwx         624  Jul 11 2016 11:51:58 +02:00  vlan.dat
  673  -rwx           5  Jul 12 2016 09:35:23 +02:00  private-config.text
  674  drwx         512  Jul 12 2016 10:17:02 +02:00  c2960x-universalk9-mz.152-2.E4
  667  drwx         512  Jul 12 2016 10:17:04 +02:00  dc_profile_dir

122185728 bytes total (95065088 bytes free)

C2960X_INET_DMZ#sh boot
BOOT path-list      : flash:/c2960x-universalk9-mz.152-2.E4/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
Allow Dev Key         : yes
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)
——————-
Switch 1
——————-
BOOT path-list      : flash:/c2960x-universalk9-mz.152-2.E4/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
Allow Dev Key         : yes
HELPER path-list    :
Auto upgrade        : no
Auto upgrade path   :
C2960X_INET_DMZ#

About Author:

Error! Keyboard not detected. Press any key to continue.