Syntaxe
This commit is contained in:
parent
4ac6d48071
commit
f07afe2473
|
@ -486,7 +486,7 @@ Format of usbflash0 complete
|
|||
On vérifie la version IOS actuelle :
|
||||
|
||||
~~~
|
||||
Switch#sh version
|
||||
Switch# sh version
|
||||
[…]
|
||||
System image file is "flash:/c2960-lanbasek9-mz.122-55.SE1.bin"
|
||||
[…]
|
||||
|
@ -498,7 +498,7 @@ Switch Ports Model SW Version SW Image
|
|||
Si souhaité, on peut sauvegarder le binaire actuel vers la clé USB :
|
||||
|
||||
~~~
|
||||
Switch#copy flash:c2960-lanbasek9-mz.122-55.SE1.bin usbflash0:
|
||||
Switch# copy flash:c2960-lanbasek9-mz.122-55.SE1.bin usbflash0:
|
||||
Destination filename [c2960-lanbasek9-mz.122-55.SE1.bin]?
|
||||
Copy in progress...CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
|
||||
9771282 bytes copied in 22.498 secs (434318 bytes/sec)
|
||||
|
@ -509,7 +509,7 @@ Ensuite, on branche la clé USB sur le PC où le nouveau binaire a été téléc
|
|||
Une fois que la copie du binaire est faite sur la clé USB, on la rebranche sur le switch, et on le copie dans sa mémoire flash :
|
||||
|
||||
~~~
|
||||
Switch#copy usbflash0:c2960-lanbasek9-mz.122-55.SE12.bin flash:
|
||||
Switch# copy usbflash0:c2960-lanbasek9-mz.122-55.SE12.bin flash:
|
||||
Destination filename [c2960-lanbasek9-mz.122-55.SE12.bin]?
|
||||
Copy in progress...CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
|
||||
9827106 bytes copied in 125.502 secs (78302 bytes/sec)
|
||||
|
@ -518,7 +518,7 @@ Copy in progress...CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
|
|||
Puis on indique au switch de booter sur cette nouvelle version :
|
||||
|
||||
~~~
|
||||
Switch#conf t
|
||||
Switch# conf t
|
||||
Switch(config)#boot system flash:c2960-lanbasek9-mz.122-55.SE12.bin
|
||||
Switch(config)#end
|
||||
~~~
|
||||
|
@ -526,7 +526,7 @@ Switch(config)#end
|
|||
On vérifie :
|
||||
|
||||
~~~
|
||||
Switch#sh boot
|
||||
Switch# sh boot
|
||||
BOOT path-list : flash:c2960-lanbasek9-mz.122-55.SE12.bin
|
||||
[…]
|
||||
~~~
|
||||
|
@ -534,19 +534,19 @@ BOOT path-list : flash:c2960-lanbasek9-mz.122-55.SE12.bin
|
|||
On enregistre, et on redémarre le switch :
|
||||
|
||||
~~~
|
||||
Switch#copy run start
|
||||
Switch# copy run start
|
||||
Destination filename [startup-config]?
|
||||
Building configuration...
|
||||
[OK]
|
||||
|
||||
Switch#reload
|
||||
Switch# reload
|
||||
Proceed with reload? [confirm]
|
||||
~~~
|
||||
|
||||
Après redémarrage, on vérifie que la version a bien été mise à jour :
|
||||
|
||||
~~~
|
||||
Switch#sh version
|
||||
Switch# sh version
|
||||
[…]
|
||||
System image file is "flash:c2960-lanbasek9-mz.122-55.SE12.bin"
|
||||
[…]
|
||||
|
@ -560,7 +560,7 @@ On est bien passé de la version `12.2(55)SE1 ` à la version `12.2(55)SE12`.
|
|||
L'ancien binaire est toujours présent dans la mémoire flash du switch, et peut être supprimé s'il manque de la place :
|
||||
|
||||
~~~
|
||||
Switch#dir flash:
|
||||
Switch# dir flash:
|
||||
Directory of flash:/
|
||||
|
||||
2 -rwx 4120 Mar 1 1993 01:02:38 +01:00 multiple-fs
|
||||
|
@ -573,7 +573,7 @@ Directory of flash:/
|
|||
|
||||
32514048 bytes total (12899840 bytes free)
|
||||
|
||||
Switch#delete flash:c2960-lanbasek9-mz.122-55.SE1.bin
|
||||
Switch# delete flash:c2960-lanbasek9-mz.122-55.SE1.bin
|
||||
|
||||
Delete filename [c2960-lanbasek9-mz.122-55.SE1.bin]?
|
||||
Delete flash:c2960-lanbasek9-mz.122-55.SE1.bin? [confirm]
|
||||
|
@ -612,7 +612,7 @@ On configure le serveur sur l'utilisateur `nobody`, et on ajoute l'option `-c` p
|
|||
On commence par vérifier la version actuelle :
|
||||
|
||||
~~~
|
||||
Switch#sh version
|
||||
Switch# sh version
|
||||
[…]
|
||||
System image file is "flash:/c2960-lanbasek9-mz.122-55.SE1.bin"
|
||||
[…]
|
||||
|
@ -624,7 +624,7 @@ Switch Ports Model SW Version SW Image
|
|||
Si souhaité, on peut sauvegarder le binaire actuel vers le serveur TFTP :
|
||||
|
||||
~~~
|
||||
Switch#copy flash:c2960-lanbasek9-mz.122-55.SE1.bin tftp:
|
||||
Switch# copy flash:c2960-lanbasek9-mz.122-55.SE1.bin tftp:
|
||||
Address or name of remote host []? 192.168.0.20
|
||||
Destination filename [c2960-lanbasek9-mz.122-55.SE1.bin]?
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
|
@ -634,7 +634,7 @@ Destination filename [c2960-lanbasek9-mz.122-55.SE1.bin]?
|
|||
Ensuite, on récupère la version téléchargée du binaire sur le switch :
|
||||
|
||||
~~~
|
||||
Switch#copy tftp://192.168.0.20/c2960-lanbasek9-mz.122-55.SE12.bin flash:
|
||||
Switch# copy tftp://192.168.0.20/c2960-lanbasek9-mz.122-55.SE12.bin flash:
|
||||
Destination filename [c2960-lanbasek9-mz.122-55.SE12.bin]?
|
||||
Accessing tftp://192.168.0.20/c2960-lanbasek9-mz.122-55.SE12.bin...
|
||||
Loading c2960-lanbasek9-mz.122-55.SE12.bin from 192.168.0.20 (via Vlan1): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
|
@ -646,7 +646,7 @@ Loading c2960-lanbasek9-mz.122-55.SE12.bin from 192.168.0.20 (via Vlan1): !!!!!!
|
|||
Puis on indique au switch de booter sur cette nouvelle version :
|
||||
|
||||
~~~
|
||||
Switch#conf t
|
||||
Switch# conf t
|
||||
Switch(config)#boot system flash:c2960-lanbasek9-mz.122-55.SE12.bin
|
||||
Switch(config)#end
|
||||
~~~
|
||||
|
@ -654,7 +654,7 @@ Switch(config)#end
|
|||
On vérifie :
|
||||
|
||||
~~~
|
||||
Switch#sh boot
|
||||
Switch# sh boot
|
||||
BOOT path-list : flash:c2960-lanbasek9-mz.122-55.SE12.bin
|
||||
[…]
|
||||
~~~
|
||||
|
@ -662,19 +662,19 @@ BOOT path-list : flash:c2960-lanbasek9-mz.122-55.SE12.bin
|
|||
On enregistre, et on redémarre le switch :
|
||||
|
||||
~~~
|
||||
Switch#copy run start
|
||||
Switch# copy run start
|
||||
Destination filename [startup-config]?
|
||||
Building configuration...
|
||||
[OK]
|
||||
|
||||
Switch#reload
|
||||
Switch# reload
|
||||
Proceed with reload? [confirm]
|
||||
~~~
|
||||
|
||||
Après redémarrage, on vérifie que la version a bien été mise à jour :
|
||||
|
||||
~~~
|
||||
Switch#sh version
|
||||
Switch# sh version
|
||||
[…]
|
||||
System image file is "flash:c2960-lanbasek9-mz.122-55.SE12.bin"
|
||||
[…]
|
||||
|
@ -688,7 +688,7 @@ On est bien passé de la version `12.2(55)SE1 ` à la version `12.2(55)SE12`.
|
|||
L'ancien binaire est toujours présent dans la mémoire flash du switch, et peut être supprimé s'il manque de la place :
|
||||
|
||||
~~~
|
||||
Switch#dir flash:
|
||||
Switch# dir flash:
|
||||
Directory of flash:/
|
||||
|
||||
2 -rwx 4120 Mar 1 1993 01:02:38 +01:00 multiple-fs
|
||||
|
@ -701,7 +701,7 @@ Directory of flash:/
|
|||
|
||||
32514048 bytes total (12899840 bytes free)
|
||||
|
||||
Switch#delete flash:c2960-lanbasek9-mz.122-55.SE1.bin
|
||||
Switch# delete flash:c2960-lanbasek9-mz.122-55.SE1.bin
|
||||
|
||||
Delete filename [c2960-lanbasek9-mz.122-55.SE1.bin]?
|
||||
Delete flash:c2960-lanbasek9-mz.122-55.SE1.bin? [confirm]
|
||||
|
|
Loading…
Reference in a new issue