RSS Subscription

Sottoscrivi i nostri RSS
per essere sempre
aggiornato sugli ultimi
articoli pubblicati nel sito!
Sottoscrivi i nostri RSS
Home Page | Articoli | Articoli Networking
 

Cisco Catalyst 2960 firmware update - aggiorniamo il file .tar con il nuovo metodo

News inserita il 16/10/2009

Vuoi conoscere quale è la migliore delle maniere per aggiornare lo Switch Cisco Catalyst della serie 2960? Sai perchè è preferibile usare il comando archive download-sw invece di archive tar?

Trasferimento del nuovo IOS (file .tar) usando il comando archive download

I nuovi Cisco Switch Catalyst della serie 2960 supportano un nuovo comando per l'aggiornamento del sistema operativo (IOS). Il comando archive download-sw, a differenza del precedente archive tar, rileva confronta la versione che si sta per instalare con quella attualmente in uso (boot system), la cancella, e aggiorna il boot system in maniera tale che lo switch possa ripartire con il nuovo sistema, senza dover intervenire manualmente.

Switch# archive download-sw tftp://192.168.0.1/c2960-lanbasek9-tar.122-52.SE.tar
Loading c2960-lanbasek9-tar.122-52.SE.tar from 192.168.0.1 (via Vlan1): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 12195840 bytes]

Loading c2960-lanbasek9-tar.122-52.SE.tar from 192.168.0.1 (via Vlan1): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
examining image...
extracting info (106 bytes)
extracting c2960-lanbasek9-mz.122-52.SE/info (533 bytes)
extracting info (106 bytes)

Stacking Version Number: 1.42

System Type:             0x00000000
  Ios Image File Size:   0x00816200
  Total Image File Size: 0x00B9F200
  Minimum Dram required: 0x04000000
  Image Suffix:          lanbasek9-122-52.SE
  Image Directory:       c2960-lanbasek9-mz.122-52.SE
  Image Name:            c2960-lanbasek9-mz.122-52.SE.bin
  Image Feature:         LAYER_2|SSH|3DES|MIN_DRAM_MEG=64

Old image for switch 1: flash:/c2960-lanbasek9-mz.122-40.SE
  Old image will be deleted after download.

Extracting images from archive into flash...
c2960-lanbasek9-mz.122-52.SE/ (directory)
c2960-lanbasek9-mz.122-52.SE/html/ (directory)
extracting c2960-lanbasek9-mz.122-52.SE/html/stylesheet.css (22059 bytes)
extracting c2960-lanbasek9-mz.122-52.SE/html/ajax.js (28348 bytes)

...omissis...

extracting c2960-lanbasek9-mz.122-52.SE/c2960-lanbasek9-mz.122-52.SE.bin (8471143 bytes)
extracting c2960-lanbasek9-mz.122-52.SE/info (533 bytes)
extracting info (106 bytes)

Installing (renaming): `flash:update/c2960-lanbasek9-mz.122-52.SE' ->
                                       `flash:c2960-lanbasek9-mz.122-52.SE'
New software image installed in flash:c2960-lanbasek9-mz.122-52.SE


Removing old image: flash:/c2960-lanbasek9-mz.122-40.SE

All software images installed.

Il risultato consiste in una flash contenenete un’unica cartella nella quale vengono inclusi tutti i file necessari (sistema operativo e web management):

Switch# show flash:

Directory of flash:/

  622  -rwx        1048   Mar 1 1993 01:59:11 +00:00  multiple-fs
 1174  -rwx         106   Mar 1 1993 00:54:44 +00:00  info
  623  drwx         192   Mar 1 1993 01:07:35 +00:00  c2960-lanbasek9-mz.122-52.SE

32514048 bytes total (20573696 bytes free)

Come precedentemente annunciato, il percorso di boot è stato automaticamente aggiornato:

Switch# show boot
BOOT path-list      : flash:c2960-lanbasek9-mz.122-52.SE/c2960-lanbasek9-mz.122-52.SE.bin
Config file         : flash:/config.text
Private Config file : flash:/private-config.text
Enable Break        : no
Manual Boot         : no
HELPER path-list    :
Auto upgrade        : yes
Auto upgrade path   :
NVRAM/Config file
      buffer size:   65536

Altri articoli correlati


Segui cnaponline.com nei social: