Mettre à jour l'IOS
Pour mettre à jour un routeur ISR c'est par ici : Mettre à jour l'IOS (ISR)
Etape 1 : Donner une adresse IP au switch
switch>ena
switch#conf t
switch(config)#inter vlan1
switch(config)#ip address 192.168.1.10 255.255.255.0
switch(config)#no shut
switch(config)#exit
switch#sh ip int brief
Interface IP-Address OK? Method Status Protocol
Vlan1 192.168.1.10 YES NVRAM up up
FastEthernet1/0/1 unassigned YES unset up up
--- more ---
Etape 2 : Envoyer le fichier via TFTP
Dans cet exemple mon fichier se nomme : c3750me-i5-mz.122-35.SE5.bin
Une fois votre serveur TFTP prêt, nous pouvons envoyer le ficher
switch#copy tftp flash
Address or name of remote host[]? 192.168.1.100
Source filename[]? c3750me-i5-mz.122-35.SE5.bin
Destination filename [c3750me-i5-mz.122-35.SE5.bin]?
Accessing tftp://192.168.1.100/c3750me-i5-mz.122-35.SE5.bin...
Loading c3750me-i5-mz.122-35.SE5.bin from 192.168.1.100 (via FastEthernet1/0/1):
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 47396548 bytes]
47396548 bytes copied in 190.536 secs (248754 bytes/sec)
switch#
Ligne 2 : Entrer l'adresse IP de votre serveur TFTP
Ligne 3 : Entrer le nom de la version
Ligne 4 : Faite Entrer
Etape 3 : Vérification que le fichier est bien sur le switch
switch#show flash:
Directory of flash:/
3 -rwx 9227723 Mar 1 1993 01:19:47 +01:00 c3750me-i5-mz.122-35.SE5.bin
4 -rwx 1824 Sep 30 2021 10:28:02 +02:00 config.text
5 -rwx 5 Sep 30 2021 10:28:02 +02:00 private-config.text
93 -rwx 564 Mar 1 1993 01:00:42 +01:00 vlan.dat
32514048 bytes total (10499072 bytes free)
switch#
Etape 4 : Démarrer sur la bonne version
switch#conf t
switch(config)#boot system flash:c3750me-i5-mz.122-35.SE5.bin
switch(config)#do wr
Building configuration...
[OK]
switch(config)#exit
switch#reload
Etape 5 : Vérification de la version
switch#sh ver
Cisco IOS Software, C3750ME Software (C3750ME-I5-M), Version 12.2(35)SE5, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2007 by Cisco Systems, Inc.
Compiled Thu 19-Jul-07 22:47 by nachen
Image text-base: 0x00003000, data-base: 0x01534800
ROM: Bootstrap program is C3750 boot loader
BOOTLDR: C3750ME Boot Loader (C3750ME-HBOOT-M) Version 12.1(14r)AX, RELEASE SOFTWARE (fc1)
switch uptime is 6 minutes
System returned to ROM by power-on
System restarted at 10:24:42 GMT+2 Thu Sep 30 2021
System image file is "flash:/c3750me-i5-mz.122-35.SE5.bin"
cisco ME-C3750-24TE (PowerPC405) processor (revision K0) with 118784K/12280K bytes of memory.
Processor board ID FDO1521Y24L
Last reset from power-on
1 Virtual Ethernet interface
24 FastEthernet interfaces
4 Gigabit Ethernet interfaces
The password-recovery mechanism is enabled.
--More--
Etape 6 : Supprimer la version précédente
switch#sh flash
Directory of flash:/
3 -rwx 9227723 Mar 1 1993 01:19:47 +01:00 c3750me-i5-mz.122-35.SE5.bin
4 -rwx 1824 Sep 30 2021 10:28:02 +02:00 config.text
5 -rwx 5 Sep 30 2021 10:28:02 +02:00 private-config.text
6 -rwx 9047723 Mar 1 1993 01:19:47 +01:00 c3750me-i5-mz.122-35.SE1.bin
93 -rwx 564 Mar 1 1993 01:00:42 +01:00 vlan.dat
32514048 bytes total (10499072 bytes free)
switch#delete flash:c3750me-i5-mz.122-35.SE1.bin
Delete filename [c3750me-i5-mz.122-35.SE1.bin]?
Delete flash:c3750me-i5-mz.122-35.SE1.bin? [confirm]
switch#
switch#sh flash
Directory of flash:/
3 -rwx 9227723 Mar 1 1993 01:19:47 +01:00 c3750me-i5-mz.122-35.SE5.bin
4 -rwx 1824 Sep 30 2021 10:28:02 +02:00 config.text
5 -rwx 5 Sep 30 2021 10:28:02 +02:00 private-config.text
93 -rwx 564 Mar 1 1993 01:00:42 +01:00 vlan.dat
Le switch est maintenant à jour