Introduction
These instructions will erase the config and software restoring the router to factory defaults.
At present, there is no way to keep the config and reset the password.
Requirements
- A USB Drive, big enough to fit the boot files ... 6.0.0 is about 810MB.
- .tar file with the USB boot files ... I used
NCS5000-iosxr-k9-6.0.0.tar
- Physical access.
- Console access.
- 30 minutes and two reboots. This doesn't add the packages necessary for operation.
Procedure
1. Understand this will erase the config on the router.
2. Download a software image via cisco.com, it doesn't need to be the image currently on the router.
3. Extract the .tar. Inside you should see a folder similar to ncs5k-usb-boot-6.0.0
4. Copy the contents of the folder, boot
and EFI
to a Fat32 formatted USB drive. Make sure the boot
and EFI
folders are in the root directory of the USB drive.
5. Power down the NCS5K, and insert the USB drive.
6. While connected to the CONSOLE, hold down the ESC key.
7. This leads to the BIOS boot prompt, boot the USB device.
8. Wait.
9. Create a default username and password.
Verification
I've included timestamps so you can get a feel for how long this takes.
CISCO NCS5K XR ROUTER Ver 1.8 Booting from Primary Bios Code Signing Results: 0x0 Using Upgrade FPGA FPGA Revision : 0x10 FPGA ID : 0x1 FPGA Date : 0x20141016 Reset Cause Register: 0x80000000 SPI Flash Boot Timer Ctrl Status Register : 0xe0ff Persistent Power Debug Register1 : 0x0 Persistent Power Debug Register2 : 0x0 FPGA Remote System Update Status Register: 0x20 Detected CISCO MIFPGA FPGA Update Status : 0x20 A9 Aptio Setup Utility - Copyright (C) 2015 American Megatrends, Inc. Cisco Boot Options ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ Boot Override ³ ³ ³ UEFI: SMART eUSB HS-SD/MMC ³ ³ ³ UEFI: Built-in EFI IPXE ³ ³ ³ UEFI: Built-in EFI Shell ³ ³ ³ UEFI: SanDisk Extreme 0001 ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄij ³ ³><: Select Screen ³ ³ ³: Select Item ³ ³ ³Enter: Select ³ ³ ³+/-: Change Opt. ³ ³ ³F1: General Help ³ ³ ³ESC: Exit ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ Version 2.17.1246. Copyright (C) 2015 American Megatrends, Inc. AB PASSED SecureBoot verification GNU GRUB version 2.00 13:18:22.867 § 13:18:22.867 § GNU GRUB version 2.00 13:18:22.867 § Press F2 to goto grub Menu.. 13:18:24.899 § Booting from USB.. 13:18:24.899 § Loading Kernel.. 13:18:25.642 § Loading initrd.. 13:20:17.307 § Initrd, addr=0xcdbd4000, size=0x3241b768 13:20:23.183 § [ 5.762902] i8042: No controller found 13:20:23.197 § mkdir: cannot create directory '/run': File exists 13:20:23.220 § Starting udev 13:20:25.695 § Populating dev cache 13:20:25.968 § Running postinst /etc/rpm-postinsts/100-dnsmasq... 13:20:26.099 § update-rc.d: /etc/init.d/run-postinsts exists during rc.d purge (continuing) 13:20:26.195 § Removing any system startup links for run-postinsts ... 13:20:26.273 § /etc/rcS.d/S99run-postinsts 13:20:26.386 § Configuring network interfaces... done. 13:20:26.497 § Starting system message bus: dbus. 13:20:26.612 § Starting OpenBSD Secure Shell server: sshd 13:20:26.627 § generating ssh RSA key... 13:20:26.787 § generating ssh ECDSA key... 13:20:26.794 § generating ssh DSA key... 13:20:26.842 § generating ssh ED25519 key... 13:20:27.286 § done. 13:20:27.621 § Starting rpcbind daemon...done. 13:20:28.507 § Starting libvirtd daemon: [ OK ] 13:20:28.711 § Starting system log daemon...0 13:20:29.089 § Starting kernel log daemon...0 13:20:29.131 § Starting HPA's tftpd: in.tftpd-hpa 13:20:29.141 § . 13:20:29.141 § Starting internet superserver: xinetd. 13:20:29.141 § Starting S.M.A.R.T. daemon: smartd (failed) 13:20:29.198 § Wed Oct 19 21:40:49 UTC 2016: Detected /iso/host.iso 13:20:29.251 § mount: /dev/loop0 is write-protected, mounting read-only 13:20:29.311 § Wed Oct 19 21:40:49 UTC 2016: Mounted /iso/host.iso to /tmp/isomnt.wamZqW 13:20:29.458 § Wed Oct 19 21:40:49 UTC 2016: Found /tmp/isomnt.wamZqW/rpm/ncs5k-sysadmin-hostos-6.0.0-r600.host.x86_64.rpm in host.iso 13:20:29.506 § Wed Oct 19 21:40:49 UTC 2016: Installing /tmp/isomnt.wamZqW/rpm/ncs5k-sysadmin-hostos-6.0.0-r600.host.x86_64.rpm 13:20:29.546 § Preparing packages for installation... 13:20:29.695 § ncs5k-sysadmin-hostos-6.0.0-r600.host.x86_64 13:20:29.740 § Wed Oct 19 21:40:49 UTC 2016: Passing control to /etc/rc.d/init.d/pxe_install.sh start 13:20:29.741 § [ 9.250969] sd 5:0:0:0: [sdb] No Caching mode page found 13:20:29.755 § [ 9.273498] sd 5:0:0:0: [sdb] No Caching mode page found 13:20:29.756 § [ 9.304257] sd 5:0:0:0: [sdb] No Caching mode page found 13:20:29.768 § Wed Oct 19 21:40:49 UTC 2016: Preparing disk for PLATFORM=ncs5k: 13:20:29.799 § Number of disks detected: 2: Disk Check for: /dev/sdb 13:20:29.800 § Sourcing /etc/sysconfig/udev 13:20:29.854 § Starting udev: [ OK ] 13:20:29.864 § Wed Oct 19 21:40:49 UTC 2016: 13:20:29.865 § Wed Oct 19 21:40:49 UTC 2016: Secondary disk is not present 13:20:29.875 § Wed Oct 19 21:40:49 UTC 2016: Installer will install image on ieusb 13:20:29.876 § Wed Oct 19 21:40:49 UTC 2016: Removing old volumes 13:20:30.598 § Wed Oct 19 21:40:49 UTC 2016: Inside Volume-Cleaning Function 13:20:30.604 § Wed Oct 19 21:40:49 UTC 2016: Removed LVM for Panini 13:20:30.612 § Wed Oct 19 21:40:49 UTC 2016: Removed LVM for App-Host 13:20:30.620 § Wed Oct 19 21:40:49 UTC 2016: Removed App-Vol Grp 13:20:30.668 § Wed Oct 19 21:40:50 UTC 2016: Removed Panini Vol-Grp 13:20:30.672 § Wed Oct 19 21:40:50 UTC 2016: Formatted App-Volume 13:20:30.696 § Wed Oct 19 21:40:50 UTC 2016: Removed PV 13:20:30.697 § Wed Oct 19 21:40:50 UTC 2016: Exiting from the Volume Cleaning Section 13:20:30.716 § Wed Oct 19 21:40:50 UTC 2016: 13:20:30.976 § Wed Oct 19 21:40:50 UTC 2016: ---Starting to prepare ieusb--- 13:20:30.985 § Wed Oct 19 21:40:52 UTC 2016: Creating partitions, BOOT=550MB, LVM=22500MB, EFI=30MB 13:20:31.008 § Wed Oct 19 21:40:53 UTC 2016: Partition creation on /dev/ieusb took 3 seconds 13:20:31.642 § Wed Oct 19 21:40:54 UTC 2016: File system creation on /dev/ieusb1 took 1 seconds 13:20:31.649 § Wed Oct 19 21:40:54 UTC 2016: Install boot image on /dev/ieusb1 13:21:06.870 § Wed Oct 19 21:41:29 UTC 2016: Starting Calvados patch for LXC for hostos 13:21:07.013 § Wed Oct 19 21:41:29 UTC 2016: Uninstalling rpm gdb 13:21:07.117 § error: failed to open /etc/mtab: No such file or directory 13:21:11.177 § Wed Oct 19 21:41:30 UTC 2016 (/etc/init.d/calvados_patch_lxc_iso.sh): Disable DHCP on host eth, eth1 13:21:11.186 § NCS5K: Complete Patch Host 13:21:11.219 § Wed Oct 19 21:41:30 UTC 2016: Finished Calvados patch for LXC 13:21:12.395 § Wed Oct 19 21:41:35 UTC 2016: Installing host image size of 459M took 41 seconds 13:21:12.547 § Wed Oct 19 21:41:35 UTC 2016: 13:21:12.555 § Wed Oct 19 21:41:35 UTC 2016: ---Starting to prepare host logical volume--- 13:21:59.756 § Wed Oct 19 21:42:21 UTC 2016: Starting Calvados patch for LXC for hostos 13:21:59.775 § Wed Oct 19 21:42:21 UTC 2016: Uninstalling rpm gdb 13:21:59.985 § error: failed to open /etc/mtab: No such file or directory 13:22:00.127 § Wed Oct 19 21:42:22 UTC 2016 (/etc/init.d/calvados_patch_lxc_iso.sh): Disable DHCP on host eth, eth1 13:22:00.242 § NCS5K: Complete Patch Host 13:22:01.583 § Wed Oct 19 21:42:22 UTC 2016: Finished Calvados patch for LXC 13:22:21.073 § Wed Oct 19 21:42:43 UTC 2016: 13:22:21.074 § Wed Oct 19 21:42:43 UTC 2016: ---Starting to prepare calvados logical volume--- 13:22:23.153 § Wed Oct 19 21:42:44 UTC 2016: Create sub partition on /dev/panini_vol_grp/calvados_lv0 13:22:30.035 § Wed Oct 19 21:42:46 UTC 2016: Create data sub partition on /dev/panini_vol_grp/calvados_data_lv0 13:22:44.332 § Wed Oct 19 21:43:07 UTC 2016: File system creation on /dev/panini_vol_grp/calvados_lv0 took 19 seconds 13:22:44.480 § Wed Oct 19 21:43:07 UTC 2016: Install sysadmin-vm image on /dev/panini_vol_grp/calvados_lv0 13:23:00.051 § Wed Oct 19 21:43:14 UTC 2016: sysadmin-vm: RP based installation 13:23:14.419 § Wed Oct 19 21:43:37 UTC 2016: Install RPM with --excludepath=/opt/cisco/calvados/packages/ncs5k-sysadmin-hostos-6.0.0-r600/lc --excludepath=/opt/cisco/calvados/packages/ncs5k-sysadmin-hostos-6.0.0-r600/sc --excludepath=/opt/cisco/calvados/packages/ncs5k-sysadmin-hostos-6.0.0-r600/xc --excludepath=/opt/cisco/calvados/packages/ncs5k-sysadmin-hostos-6.0.0-r600/fc 13:23:22.105 § Wed Oct 19 21:43:45 UTC 2016: Install RPM with --excludepath=/opt/cisco/calvados/packages/ncs5k-sysadmin-mgbl-6.0.0-r600/lc --excludepath=/opt/cisco/calvados/packages/ncs5k-sysadmin-mgbl-6.0.0-r600/sc --excludepath=/opt/cisco/calvados/packages/ncs5k-sysadmin-mgbl-6.0.0-r600/xc --excludepath=/opt/cisco/calvados/packages/ncs5k-sysadmin-mgbl-6.0.0-r600/fc 13:23:29.563 § !Wed Oct 19 21:43:52 UTC 2016: Install RPM with --excludepath=/opt/cisco/calvados/packages/ncs5k-sysadmin-ncs5k-6.0.0-r600/lc --excludepath=/opt/cisco/calvados/packages/ncs5k-sysadmin-ncs5k-6.0.0-r600/sc --excludepath=/opt/cisco/calvados/packages/ncs5k-sysadmin-ncs5k-6.0.0-r600/xc --excludepath=/opt/cisco/calvados/packages/ncs5k-sysadmin-ncs5k-6.0.0-r600/fc 13:23:37.112 § Wed Oct 19 21:43:59 UTC 2016: Install RPM with --excludepath=/opt/cisco/calvados/packages/ncs5k-sysadmin-shared-6.0.0-r600/lc --excludepath=/opt/cisco/calvados/packages/ncs5k-sysadmin-shared-6.0.0-r600/sc --excludepath=/opt/cisco/calvados/packages/ncs5k-sysadmin-shared-6.0.0-r600/xc --excludepath=/opt/cisco/calvados/packages/ncs5k-sysadmin-shared-6.0.0-r600/fc 13:23:45.881 § Wed Oct 19 21:44:08 UTC 2016: Install RPM with --excludepath=/opt/cisco/calvados/packages/ncs5k-sysadmin-system-6.0.0-r600/lc --excludepath=/opt/cisco/calvados/packages/ncs5k-sysadmin-system-6.0.0-r600/sc --excludepath=/opt/cisco/calvados/packages/ncs5k-sysadmin-system-6.0.0-r600/xc --excludepath=/opt/cisco/calvados/packages/ncs5k-sysadmin-system-6.0.0-r600/fc 13:23:58.434 § Wed Oct 19 21:44:17 UTC 2016: Install RPM with --excludepath=/opt/cisco/calvados/packages/ncs5k-sysadmin-topo-6.0.0-r600/lc --excludepath=/opt/cisco/calvados/packages/ncs5k-sysadmin-topo-6.0.0-r600/sc --excludepath=/opt/cisco/calvados/packages/ncs5k-sysadmin-topo-6.0.0-r600/xc --excludepath=/opt/cisco/calvados/packages/ncs5k-sysadmin-topo-6.0.0-r600/fc 13:24:08.143 § sed: can't read /tmp/partmnt.8awMzI/etc/sysconfig/network: No such file or directory 13:24:08.151 § Wed Oct 19 21:44:31 UTC 2016: Starting Calvados patch for LXC for sysadmin-vm 13:24:08.236 § Wed Oct 19 21:44:31 UTC 2016: Uninstalling rpm gdb 13:24:08.307 § error: failed to open /etc/mtab: No such file or directory 13:24:09.038 § Wed Oct 19 21:44:31 UTC 2016: Uninstalling rpm smartmontools 13:24:09.081 § error: failed to open /etc/mtab: No such file or directory 13:24:09.817 § Wed Oct 19 21:44:32 UTC 2016: Finished Calvados patch for LXC 13:24:17.785 § Wed Oct 19 21:44:40 UTC 2016: Installing sysadmin-vm image size of 566M took 93 seconds 13:24:19.747 § Wed Oct 19 21:44:42 UTC 2016: 13:24:19.825 § Wed Oct 19 21:44:42 UTC 2016: ---Starting to prepare repository--- 13:24:24.870 § Wed Oct 19 21:44:47 UTC 2016: File system creation on /dev/ieusb2 took 4 seconds 13:24:24.937 § Wed Oct 19 21:44:47 UTC 2016: Copying /iso/host.iso to repository /iso directory 13:24:25.117 § Wed Oct 19 21:44:48 UTC 2016: Copying /iso/ncs5k-sysadmin.iso to repository /iso directory 13:24:32.617 § Wed Oct 19 21:44:55 UTC 2016: Copying /iso/ncs5k-xr.iso to repository /iso directory 13:24:57.168 § Wed Oct 19 21:45:20 UTC 2016: Copying all ISOs to repository took 33 seconds 13:25:08.340 § Wed Oct 19 21:45:31 UTC 2016: Install EFI on /dev/ieusb4 13:25:09.909 § 44107 blocks 13:25:09.958 § 44109 blocks 13:25:12.989 § Wed Oct 19 21:45:35 UTC 2016: Install finished on ieusb 13:25:13.222 § Automatic rebooting system after installation ... 13:25:13.223 § Syncing file system 13:25:15.703 § [ 298.589761] reboot: Restarting system 13:25:27.263 § 13:25:27.263 § CISCO NCS5K XR ROUTER Ver 1.8 13:25:27.264 § Booting from Primary Bios 13:25:27.264 § Code Signing Results: 0x0 13:25:27.264 § Using Upgrade FPGA 13:25:27.264 § FPGA Revision : 0x10 13:25:27.265 § FPGA ID : 0x1 13:25:27.265 § FPGA Date : 0x20141016 13:25:27.265 § Reset Cause Register: 0x80000000 13:25:27.265 § SPI Flash Boot Timer Ctrl Status Register : 0xe0ff 13:25:27.265 § Persistent Power Debug Register1 : 0x0 13:25:27.266 § Persistent Power Debug Register2 : 0x0 13:25:27.266 § FPGA Remote System Update Status Register: 0x20 13:25:27.290 § Detected CISCO MIFPGA 13:25:27.291 § FPGA Update Status : 0x20 13:25:32.169 § PASSED SecureBoot verification 13:25:32.180 § 13:25:32.180 § 13:25:32.180 § GNU GRUB version 2.00 13:25:32.180 § Press F2 to goto grub Menu.. 13:25:34.258 § Booting from Disk.. 13:25:34.677 § Loading Kernel.. 13:25:35.513 § Loading initrd.. 13:25:36.977 § Initrd, addr=0xff69a000, size=0x955730 13:25:38.857 § [ 1.466598] i8042: No controller found 13:25:39.902 § NCS5K init 13:25:42.303 § [ 4.936658] sd 5:0:0:0: [sdb] No Caching mode page found 13:25:42.306 § [ 4.960572] sd 5:0:0:0: [sdb] No Caching mode page found 13:25:42.306 § [ 4.991701] sd 5:0:0:0: [sdb] No Caching mode page found 13:25:44.841 § Attached devices: 13:25:44.841 § Host: scsi4 Channel: 00 Id: 00 Lun: 00 13:25:44.850 § Vendor: SanDisk Model: Extreme Rev: 0001 13:25:44.850 § Type: Direct-Access ANSI SCSI revision: 06 13:25:44.858 § Host: scsi5 Channel: 00 Id: 00 Lun: 00 13:25:44.859 § Vendor: SMART Model: eUSB HS-SD/MMC Rev: 2.11 13:25:44.870 § Type: Direct-Access ANSI SCSI revision: 00 13:25:44.871 § Number of disks detected: 2: Disk Check for: /dev/sdb 13:25:44.871 § Detected /dev/sdb 13:25:44.871 § NCS5K init: End 13:25:45.753 § mount: mount point /run does not exist 13:25:45.753 § Switching to new root and running init. 13:25:45.753 § switch_root: failed to mount moving /run to /sysroot/run: No such file or directory 13:25:45.754 § switch_root: forcing unmount of /run 13:25:46.172 § mkdir: cannot create directory '/run': File exists 13:25:47.633 § Sourcing /etc/sysconfig/udev 13:25:51.292 § Starting udev: [ OK ] 13:25:51.293 § mount: none is already mounted or /dev/pts busy 13:25:51.293 § none is already mounted on /sys 13:25:51.293 § none is already mounted on /dev 13:25:51.294 § none is already mounted on /dev/pts 13:25:51.294 § none is already mounted on /dev/shm 13:25:51.294 § Setting hostname localhost: [ OK ] 13:25:51.302 § Checking filesystems:[ OK ] 13:25:51.463 § Successfully executed rc sysinit 13:25:53.687 § Starting udev 13:25:56.718 § Populating dev cache 13:25:57.228 § Running postinst /etc/rpm-postinsts/100-dnsmasq... 13:25:57.237 § update-rc.d: /etc/init.d/run-postinsts exists during rc.d purge (continuing) 13:25:57.237 § Removing any system startup links for run-postinsts ... 13:25:57.238 § /etc/rcS.d/S99run-postinsts 13:25:57.273 § Configuring network interfaces... done. 13:25:57.646 § Starting system message bus: dbus. 13:25:57.722 § Starting OpenBSD Secure Shell server: sshd 13:25:57.723 § generating ssh RSA key... 13:25:57.977 § generating ssh ECDSA key... 13:25:57.977 § generating ssh DSA key... 13:25:57.978 § generating ssh ED25519 key... 13:25:57.988 § done. 13:25:58.022 § Starting rpcbind daemon...done. 13:26:02.060 § Starting kdump:[ OK ] 13:26:02.359 § Starting libvirtd daemon: [ OK ] 13:26:02.560 § Starting system log daemon...0 13:26:02.655 § Starting kernel log daemon...0 13:26:02.677 § Starting HPA's tftpd: in.tftpd-hpa 13:26:02.687 § . 13:26:02.703 § Starting internet superserver: xinetd. 13:26:02.723 § net.ipv4.ip_forward = 1 13:26:02.843 § Starting S.M.A.R.T. daemon: smartd (failed) 13:26:03.401 § Starting Lighttpd Web Server: lighttpd. 13:26:03.467 § Starting crond: OK 13:26:03.494 § Starting cgroup-init 13:26:03.612 § Starting programs for RP on hostos: [ OK ] 13:26:03.612 § kernel.sched_latency_ns = 20000000 13:26:03.616 § kernel.sched_min_granularity_ns = 4000000 13:26:03.640 § Load the igb module 13:26:04.370 § Bringing up eth0 ... 13:26:08.522 § Network ieobc_br defined from /etc/init/ieobc_br_network.xml 13:26:08.522 § 13:26:09.255 § Network local_br defined from /etc/init/local_br_network.xml 13:26:09.256 § 13:26:09.344 § Network xr_local_br defined from /etc/init/xr_local_br_network.xml 13:26:09.344 § 13:26:09.782 § Network ieobc_br started 13:26:09.787 § 13:26:09.871 § Network local_br started 13:26:09.871 § 13:26:10.200 § Network xr_local_br started 13:26:10.200 § 13:26:11.334 § Creating default host password file 13:26:11.353 § 13:27:39.881 § 13:27:39.881 § #### Waiting for 'default-sdr--1' lxc to be ready. #### 13:27:39.882 § 13:27:39.891 § If you want to connect to available console, press 'Ctrl-o' <'o' as in orange> [output omitted] 13:34:25.196 § 13:34:25.197 § Connecting to 'default-sdr--1' console 13:34:31.771 § ÿûÿûÿûÿýmount: can't find /tmp in /etc/fstab 13:34:32.927 § Setting hostname host: [ OK ] 13:34:32.928 § Checking filesystems:[ OK ] 13:34:33.018 § Successfully executed rc sysinit 13:34:38.456 § Mount /dev/mapper/panini_vol_grp-ssd_disk1_xr_1 at /misc/disk1 13:34:46.706 § Running postinst /etc/rpm-postinsts/100-dnsmasq... 13:34:46.711 § update-rc.d: /etc/init.d/run-postinsts exists during rc.d purge (continuing) 13:34:46.711 § Removing any system startup links for run-postinsts ... 13:34:46.711 § /etc/rcS.d/S99run-postinsts 13:34:46.731 § Configuring network interfaces... done. 13:34:46.955 § Starting system message bus: dbus. 13:34:47.018 § Starting OpenBSD Secure Shell server: sshd 13:34:47.019 § generating ssh RSA key... 13:34:47.221 § generating ssh ECDSA key... 13:34:47.222 § generating ssh DSA key... 13:34:47.238 § generating ssh ED25519 key... 13:34:47.254 § done. 13:34:47.287 § Starting rpcbind daemon...done. 13:34:47.354 § Libvirt not initialized for container instance 13:34:47.366 § Starting system log daemon...0 13:34:47.381 § Starting HPA's tftpd: in.tftpd-hpa 13:34:47.382 § . 13:34:47.397 § Starting internet superserver: xinetd. 13:34:47.436 § Starting crond: OK 13:34:47.511 § Starting programs for RP on xr-vm: [ OK ] 13:34:51.513 § [warn] Epoll ADD(8) on fd 50 failed. Old events were 0; read change was 0 (none); write change was 0 (none); error change was 1 (add): Operation not permitted 13:35:07.401 § 13:35:07.401 § 13:35:07.401 § ios con0/RP0/CPU0 is now available 13:35:07.401 § 13:35:07.402 § 13:35:07.402 § 13:35:07.402 § 13:35:07.402 § 13:35:07.402 § Press RETURN to get started. 13:35:07.403 § 13:35:21.016 § [output omitted] 13:37:15.130 § 13:37:16.307 § Enter root-system username: root 13:37:17.238 § Enter secret: 13:37:20.367 § Use the 'configure' command to modify this configuration. 13:37:20.368 § User Access Verification 13:37:20.368 § 13:37:22.525 § Username: root 13:37:23.340 § Password: 13:37:23.366 § 13:37:23.367 § 13:37:25.059 § RP/0/RP0/CPU0:ios#show run 13:37:25.104 § Wed Oct 19 21:57:44.794 UTC 13:37:25.374 § Building configuration... 13:37:27.264 § !! IOS XR Configuration version = 6.0.0 13:37:27.264 § !! Last configuration change at Wed Oct 19 21:57:38 2016 by SYSTEM 13:37:27.264 § ! 13:37:27.264 § username root 13:37:27.265 § group root-lr 13:37:27.266 § group cisco-support 13:37:27.279 § secret 5 $1$.krS$mkholzmdUdW6gHjOgDyPp/ 13:37:27.279 § ! 13:37:27.279 § interface MgmtEth0/RP0/CPU0/0 13:37:27.279 § shutdown 13:37:27.280 § ! 13:37:27.280 § interface MgmtEth0/RP0/CPU0/1 13:37:27.280 § shutdown [output omitted]
References
NCS5K Documentation - Disaster Recovery
NCS5K Documentation - Create a Bootable USB Drive
NCS5K Documentation - Boot the Router using USB
Above process did only work partially for me:
- in BIOS prompt menu USB stick was not 'visible': in BIOS 'Boot from File' menu there should be a 'usb' option to select and to start the usb-boot-image from (eg "Built-in GrubEFI USB Device (USB DISK 2.0)" or similar).
- turned out that the FPD/bootloader version was not sufficient (show hw-module fpd
0/RP0 NC55-RP-E 1.1 Bootloader CURRENT 1.18 1.18
0/RP0 NC55-RP-E 1.1 IOFPGA CURRENT 0.21 0.21
0/RP0 NC55-RP-E 1.1 OMGFPGA CURRENT 0.48 0.48
0/RP1 NC55-RP-E 1.1 Bootloader NEED UPGD 1.14 0.00
0/RP1 NC55-RP-E 1.1 IOFPGA CURRENT 0.21 0.21
0/RP1 NC55-RP-E 1.1 OMGFPGA CURRENT 0.48 0.48
So suposedly, if that version would have been higher, USB should have been visible in 'boot from file' menu.
Chicken-and-egg problem: without upgrade no USB boot possible, but if RP is not up it cannot be upgraded.
In the end we solved this by inserting the 'faulty' RP in a 'working' chassis (with a running/'active' RP) and flashed/sync'd the 'faulty' RP to the working one using this (admin!) command:
sysadmin-vm:0_RP0# hw-module location 0/RP1 bootmedia network reload
NB: in order to execute that command in admin mode the RP has to be visible on the active RP (show platform)!
NB: On a NCS5500 RP there are two USB slots (just under the console port). Apparently the TOP slot has to be used for this USB recovery procedure. the BOTTOM one is only for console access (TBC!).
No comments:
Post a Comment