When users use the switch, due to some kind of operation abnormality, such as an error during upgrading the switch software version without backing up the original system, the upgrade fails, and the original configuration/system files have been deleted, which may lead to the device powering on into ROMMON mode and not being able to boot up normally.
      The following shares the reinstallation of the system image from a TFTP server to a CiscoASR 9000 series router based on a specific case:
I. Information/Material Preparation
      1.  TFTP software (according to the type of computer operating system to choose 32-bit/64-bit);
      2.  switch system software (version file downloaded from the Cisco official website; this import version: IOS XR Software 5.3.4);
      3.  network cable, serial cable;
      4.  Cisco ASR9010 router (engine: A9K-RSP-4G board);
      5. computer;
II. reinstallation steps
      1. Clear all ROM Monitor configuration entries on the RSP card;

      rommon B1 > unset BOOT
      rommon B2 > unset TFTP_FILE
      rommon B3 > sync

      2. On the RSP card, set the IP address used to configure the Ethernet management interface in ROM Monitor mode;
   
  rommon B1 > IP_ADDRESS=192.168.30.93
      rommon B2 > IP_SUBNET_MASK=255.255.255.0
      rommon B3 > DEFAULT_GATEWAY=192.168.30.1

      3. Use the network cable to connect the PC to the Ethernet management port of the RSP card, open the TFTP software and configure the TFTP server;
      rommon B4 > TFTP_VERBOSE=0
      rommon B5 > TFTP_RETRY_COUNT=18
      rommon B6 > TFTP_TIMEOUT=7200
      rommon B7 > TFTP_CHECKSUM=0
      rommon B8 > TFTP_SERVER=192.168.30.111
      rommon B9 > TFTP_MGMT_INTF=1

Configuring TFTP Optional Parameters

Figure 1 Configuring TFTP Optional Parameters

      4. On the RSP card, set the TURBOBOOT parameter and save the configuration;
      rommon B10 > TURBOBOOT=on,disk0,format
      rommon B11 > sync

      5. On the RSP card, boot the vm image on the tftp server (format: tftp://服务器/目录/文件名);
      rommon B12 > boot tftp://192.168.30.11/asr9k-mini-px.vm-5.3.4

Tftpd64 transferring files

Figure 2 Tftpd64 transferring files

      6. After the boot is complete, automatically enter the EXEC user interface, and copy the switch system software to the bootflash directory of the switch in the user interface;
   
  RP/0/RSP0/CPU0:ios#copy running-config startup-config

Viewing the System Version After Reinstallation

Figure 3 Viewing the System Version After Reinstallation

      Moduletek Limited can provide compatible optical modules supported by different switch system software versions of Cisco.
      If you have any questions about the above content, you can contact us by Email : 
web@moduletek.com