<!DOCTYPE html> <html> <head> </head> <body> <p>Aggiorna il firmware con la versione Web based dev manager e sostituisce il vecchio firmware.</p> <p>#Copia via scp<br /><strong>archive download-sw /imageonly /overwrite scp://cisco:stabio2010@192.168.222.5/c2960x-universalk9-tar.152-7.E10.tar<br /></strong>#Copia via tftp<br /><strong>archive download-sw /imageonly /overwrite tftp://tftp/c2960x-universalk9-tar.152-7.E10.tar</strong><br />#Oppure via USB<br /><strong>archive download-sw /imageonly /overwrite usbflash0:/c2960x-universalk9-tar.152-7.E10.tar<br /><br /></strong><strong><br /></strong></p> <p>In caso di cambiamento da IP Base a IP Service aggiungere /allow-feature-upgrade</p> <p><br />Per verificare:</p> <p># sh boot<br />BOOT path-list : flash:/c2960-lanbasek9-mz.122-55.SE9/c2960-lanbasek9-mz.122-55.SE9.bin<br />Config file : flash:/config.text<br />Private Config file : flash:/private-config.text<br />Enable Break : no<br />Manual Boot : no<br />Allow Dev Key : yes<br />HELPER path-list : <br />Auto upgrade : yes<br />Auto upgrade path : <br />NVRAM/Config file<br /> buffer size: 65536<br />Timeout for Config<br /> Download: 0 seconds<br />Config Download <br /> via DHCP: disabled (next boot: disabled)<br />#</p> <p> </p> <p><strong>Aggiornamnto manuale di Switch Catalyst in stack con file .bin</strong></p> <p>Step-by-Step Instructions<br /><strong>Step 1 – Download the .bin Image</strong></p> <p><strong>Step 2 – Verify the Available Memory</strong><br />You can verify the available memory in the Flash file system of both switches individually</p> <p><strong>Step 3 – Copy the Images to the Flash File System</strong><br />Copy the .bin image from the TFTP server to the Flash file system of both switches.</p> <p><strong><em>Switch#copy tftp: flash1:</em></strong><br />Address or name of remote host [172.22.1.165]?<br />Source filename [c3750-advipservicesk9-mz.122-25.SEE2]? c3750-advipservicesk9-<br />.122-25.SEE2.bin<br />Destination filename [c3750-advipservicesk9-mz.122-25.SEE2.bin]?<br />Accessing tftp://172.22.1.165/c3750-advipservicesk9-mz.122-25.SEE2.bin…<br />Loading c3750-advipservicesk9-mz.122-25.SEE2.bin from 172.22.1.165 (via Vlan1)<br />!— Output is truncated.<br />[OK – 8172194 bytes]<br />172194 bytes copied in 203.718 secs (40115 bytes/sec)</p> <p><br /><em><strong>Switch#copy tftp: flash2:</strong></em><br />Address or name of remote host [172.22.1.165]?<br />Source filename [c3750-advipservicesk9-mz.122-25.SEE2.bin]?<br />Destination filename [c3750-advipservicesk9-mz.122-25.SEE2.bin]?<br />Accessing tftp://172.22.1.165/c3750-advipservicesk9-mz.122-25.SEE2.bin…<br />Loading c3750-advipservicesk9-mz.122-25.SEE2.bin from 172.22.1.165 (via Vlan1):<br />!— Output is truncated<br />[OK – 8172194 bytes]</p> <p>8172194 bytes copied in 186.655 secs (43782 bytes/sec)</p> <p><strong>Step 4 – Configure the Boot Variable</strong><br />Configure the boot variable to boot the switch with the newly copied IOS:</p> <p>Switch(config)#<em><strong>boot system switch all flash:/</strong></em><br /><em><strong>c3750-advipservicesk9-mz.122-25.SEE2.bin</strong></em><br /><em><strong>Switch(config)#exit</strong></em><br /><em><strong>Switch#write memory</strong></em></p> <p><strong>Step 5 – Verify Before the Reload</strong><br />Verify the boot variable:</p> <p><em><strong>Switch#show boot</strong></em><br />BOOT path-list : flash:/c3750-advipservicesk9-mz.122-25.SEE2.bin</p> <p> —————————————————————————————-<br /><strong>RECOVERY – format flash and reload firmware</strong></p> <p>Cancellare tutto il contenuto della flash. Questa operazione ci mette circa 15 minuti. <br />format flash</p> <p>Initialize the flash:<br />switch: flash_init</p> <p>Initialize the management interface:<br />switch: mgmt_init</p> <p>Then assign an IP address to the management interface:<br />switch: set IP_ADDR 192.168.222.155/255.255.252.0<br />switch: set DEFAULT_ROUTER 192.168.223.254</p> <p><strong>Then configure your TFTP server to have an IP on the same subnet and connect it to the management interface of the switch </strong></p> <p>Now to tell the switch to retrieve the firmware image:<br />switch: copy tftp://192.168.222.6/c2960x-universalk9-mz.152-5b.E.bin flash:c2960x-universalk9-mz.152-5b.E.bin<br />Se la copia non dovesse partire reinizializzare l'interfaccia mgmt <br />switch: mgmt_init</p> <p>Set boot image:<br />switch: boot flash:c2960x-universalk9-mz.152-5b.E.bin</p> </body> </html>
Subscribe
0 Comments
Oldest