Appunti sull’upgrade di una IOS Cisco
In questo esempio vi mostrerò come effettuare l’upgrade su uno Switch Cisco 2970.
Installiamo Tftpd32 su un PC Windows e nella home directory del demone TFTP Copiamo il file della IOS che in questo caso è c2970-lanbase-mz.122-44.SE6.bin.
Dopo impostiamo sulla scheda di rete l’ip 192.168.2.2/24 e subito dopo inseriamo in console i seguenti comandi:
Sw1#conf t
Sw1(config)#int vlan 1
Sw1(config-if)#ip address 192.168.2.1 255.255.255.0
Sw1(config-if)#no shut
Sw1(config-if)#exit
Sw1(config)#end
Sw1#
Sw1#ping 20.20.20.2
Sw1#show flash
Directory of flash:/
2 -rwx 1495 Mar 1 1993 00:05:53 +00:00 config.text
3 drwx 192 Mar 1 1993 00:07:10 +00:00 c2970-i6l2-mz.122-25.SE
329 -rwx 5 Mar 1 1993 00:05:53 +00:00 private-config.text
15998976 bytes total (10247680 bytes free)
Sw1#
Sw1#delete /force /recursive flash:c2970-i6l2-mz.122-25.SE
Delete filename [c2970-i6l2-mz.122-25.SE]?
Sw1#
Sw1#copy tftp flash:
Address or name of remote host []? 192.168.2.2
Source filename []? c2970-lanbase-mz.122-44.SE6.bin
Destination filename [c2970-lanbase-mz.122-44.SE6.bin]?
Accessing tftp://192.168.2.2/c2970-lanbase-mz.122-44.SE6.bin...
Sw1#conf t
Sw1(config)#boot system flash:/c2970-lanbase-mz.122-44.SE6.bin
Sw1(config)#exit
Sw1#sh
BOOT path-list : c2970-lanbase-mz.122-44.SE6.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
Sw1#wr mem
Building configuration...
[OK]
Sw1#reload
Proceed with reload? [confirm]
Sw1>show version
Cisco IOS Software, C2970 Software (C2970-LANBASE-M), Version 12.2(44)SE6, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2009 by Cisco Systems, Inc.
Compiled Mon 09-Mar-09 14:11 by gereddy
Image text-base: 0x00003000, data-base: 0x00F00000
Se vi sono stato di aiuto offritemi una birra 😀
Submit a Comment