Boot using USB Drive
The bootable USB drive is used to re-image the router for the purpose of system upgrade or boot the router in case of boot failure. The bootable USB drive can be created using a compressed boot file.
Create a Bootable USB Drive Using Compressed Boot File
A bootable USB drive is created by copying a compressed boot file into a USB drive. The USB drive becomes bootable after the contents of the compressed file are extracted.
Note |
In case of failure to read or boot from USB drive, ensure that the drive is inserted correctly. If the drive is inserted correctly and still fails to read from USB drive, check the contents of the USB on another system. |
This task can be completed using Windows, Linux, or MAC operating systems available on your local machine. The exact operation to be performed for each generic step outlined here depends on the operating system in use.
Before you begin
-
You have access to a USB drive with a storage capacity that is between 8GB (min) and 32 GB (max). USB 2.0 and USB 3.0 are supported.
-
Copy the compressed boot file from the software download page at cisco.com to your local machine. The file name for the compressed boot file is in the format ncs5k-usb-boot-<release_number>.zip .
Procedure
Step 1 |
Connect the USB drive to your local machine and format it with FAT32 or MS-DOS file system using the Windows Operating System or Apple MAC Disk Utility. |
||
Step 2 |
Copy the compressed boot file to the USB drive. |
||
Step 3 |
Verify that the copy operation is successful. To verify, compare the file size at source and destination. Additionally, verify the MD5 checksum value. |
||
Step 4 |
Extract the content of the compressed boot file by unzipping it inside the USB drive. This converts the USB drive to a bootable drive.
|
||
Step 5 |
Eject the USB drive from your local machine. |
What to do next
Use the bootable USB drive to boot the router or upgrade its image.
Boot the Router Using USB
The router can be booted using an external bootable USB drive. This might be required when the router is unable to boot from the installed image. A boot failure may happen when the image gets corrupted. During the USB boot, process the router gets re-imaged with the version available on the USB drive.
Note |
During the USB boot process, the router is completely re-imaged with the ISO image version present in the bootable USB drive. All existing configurations are deleted because the disk 0 content is erased. No optional packages are installed during the upgrade process; they need to be installed after the upgrade is complete. |
Before you begin
-
Create a bootable USB drive. See Create a Bootable USB Drive Using Compressed Boot File.
-
Ensure that an external connection unit (ECU) with two solid-state drives (SSDs) is present.
Procedure
Step 1 |
Connect the USB drive to the active RP. |
Step 2 |
Connect to the console |
Step 3 |
Power the router. |
Step 4 |
Press Esc to pause the boot process and get the RPs to BIOS menu. |
Step 5 |
Select the USB from the boot menu on the RP to which the USB is connected to. The image is copied in internal disk, and the router is restarted automatically. |
What to do next
-
After the booting process is complete, specify the root username and password.
-
Install the required optional packages.