If Switch is in recovery mode :
Stick USB into Switch with the required IOS loaded. Run the command “boot”, this will look for a
compatible IOS withing the USB and intall it.
Now continue with the update process of both the stack switches. Displaying Available File Systems :
To display the available file systems on your switch, use the show file systems privileged EXEC
command as shown in this example for a standalone switch:
Switch# show file system
File Systems:
Size(b) Free(b) Type Flags =Prefixes
* 8238202880 8052273152 disk rw disk0: flash:
31440470016 31296831488 disk rw disk1:
– – network rw tftp:
– – opaque rw system:
– – network ro http:
– – network ro https:
– – network rw scp:
– – network rw ftp:
– – network wo cluster:
– – stub ro cluster_trace:
– – network rw smb:
Under 2nd line “31440470016 31296831488 disk rw disk1:”
if it say’s “Unknown“, this means the USB pen drive inserted is uncompatible or not formatted
to fat32 partition”.
To see the contents within the USB pen inserted into Cisco hardware :
CAW-DC1-AS1-1#dir usbflash1:
Directory of usbflash1:/
1 drw- 0 Aug 14 2014 08:07:38 +00:00 PUTTYCM
8 drw- 0 Feb 9 2015 11:03:34 +00:00 Cisco IOS
10 -rw- 18229248 Feb 9 2015 10:31:08 +00:00 c2960x-universalk9-mz.150-2.EX5.bin
Now let’s copy the IOS from USB over to FLASH0:
copy usbflash01:c2960x-universalk9-mz.150-2.EX5.bin flash1:
Destination filename [c2960x-universalk9-mz.150-2.EX5.bin]?
Copy in progress…CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCC
18229248 bytes copied in 271.291 secs (67194 bytes/sec)
Check to see if IOS is copied from USB to Flash1:
CAW-DC1-AS1-1#show flash1:
1953775K bytes of USB Flash usbflash0 (Read/Write)
Directory of flash:/
2 -rwx 3096 Feb 6 2015 16:17:54 +00:00 multiple-fs
3 -rwx 1516 Feb 6 2015 15:04:43 +00:00 vlan.dat
4 -rwx 8126 Feb 6 2015 16:17:54 +00:00 config.text
647 -rwx 18229248 Feb 9 2015 11:17:35 +00:00 c2960x-universalk9-mz.150-2.EX5.bin
5 -rwx 3830 Feb 6 2015 16:17:54 +00:00 private-config.text
6 drwx 512 Jan 12 2014 10:28:44 +00:00 c2960x-universalk9-mz.150-2.EX4
645 drwx 512 Jan 12 2014 10:28:46 +00:00 dc_profile_dir
Check IOS in Flash2:
CAW-DC1-AS1-1#show flash2:
1953775K bytes of USB Flash usbflash0 (Read/Write)
Directory of flash2:/
2 -rwx 1048 Feb 14 2014 15:10:10 +00:00 multiple-fs
3 -rwx 1516 Feb 6 2015 15:04:51 +00:00 vlan.dat
4 -rwx 2733 Feb 5 2015 14:42:47 +00:00 express_setup.debug
5 -rwx 5594 Feb 5 2015 14:49:28 +00:00 config.text.old
6 -rwx 8126 Feb 6 2015 16:17:54 +00:00 config.text
7 -rwx 3830 Feb 6 2015 16:17:54 +00:00 private-config.text
649 -rwx 8126 Feb 6 2015 15:04:58 +00:00 config.text.backup
8 drwx 512 Jan 12 2014 14:04:25 +00:00 c2960x-universalk9-mz.150-2.EX4
647 drwx 512 Jan 12 2014 14:04:26 +00:00 dc_profile_dir
650 -rwx 3830 Feb 6 2015 15:04:59 +00:00 private-config.text.backup
no IOS c2960x-universalk9-mz.150-2.EX5.bin found on Flash2:
This will copy IOS from USB over to Flash1: which is stack 1 on the 2960x.
Repeat the steps for Flash2: on stack 2 from the same console session.
copy usbflash01:c2960x-universalk9-mz.150-2.EX5.bin flash2:
Destination filename [c2960x-universalk9-mz.150-2.EX5.bin]?
Copy in progress…CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCC
18229248 bytes copied in 326.135 secs (55895 bytes/sec)
CAW-DC1-AS1-1#show flash2:
1953775K bytes of USB Flash usbflash0 (Read/Write)
Directory of flash2:/
2 -rwx 1048 Feb 14 2014 15:10:10 +00:00 multiple-fs
3 -rwx 1516 Feb 6 2015 15:04:51 +00:00 vlan.dat
4 -rwx 2733 Feb 5 2015 14:42:47 +00:00 express_setup.debug
5 -rwx 5594 Feb 5 2015 14:49:28 +00:00 config.text.old
6 -rwx 8126 Feb 6 2015 16:17:54 +00:00 config.text
7 -rwx 3830 Feb 6 2015 16:17:54 +00:00 private-config.text
649 -rwx 8126 Feb 6 2015 15:04:58 +00:00 config.text.backup
8 drwx 512 Jan 12 2014 14:04:25 +00:00 c2960x-universalk9-mz.150-2.EX4
647 drwx 512 Jan 12 2014 14:04:26 +00:00 dc_profile_dir
650 -rwx 3830 Feb 6 2015 15:04:59 +00:00 private-config.text.backup
651 -rwx 18229248 Feb 9 2015 11:43:25 +00:00 c2960x-universalk9-mz.150-2.EX5.bin
Finally we need to tell the Switches to boot the new loaded IOS :
config t
boot system c2960x-universalk9-mz.150-2.EX5.bin
or
#boot system switch all flash1:c2960x-universalk9-mz.150-2.EX5.bin
Reload the Primary and Secondary Stacks.
This completes this exercise.
Comments
(There are currently no comments for this post.)