When users use a router, operational anomalies (such as errors occurring during software upgrade without backing up the original system) may cause upgrade failure. If the original configuration and system files are deleted, the device may enter ROM Monitor (ROMMON) mode upon power-on and fail to boot normally.
The following describes how to reinstall the system image from a TFTP server to a Cisco ASR 9000 series router (ASR9010) based on a specific case:
I. Information/Material Preparation
• TFTP software (32-bit/64-bit, matching the computer's operating system);
• Router system software (downloaded from Cisco official website; IOS XR Software 5.3.4 is used in this case, image file: asr9k-mini-px.vm-5.3.4);
• Network cable and serial cable;
• Cisco ASR9010 router (engine: A9K-RSP-4G board);
• Computer.
II. Reinstallation Steps
1. Clear ROMMON Configuration Entries on the RSP Card
Clear existing ROMMON configuration to avoid interference with the reinstallation process:
rommon B1 > unset BOOT
rommon B2 > unset TFTP_FILE
rommon B3 > sync # Save the clear operation
2. Configure IP Parameters for Ethernet Management Interface in ROMMON Mode
Set the IP address, subnet mask, and gateway for the RSP card's Ethernet management interface (ensure it is in the same network segment as the TFTP server):
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. Connect Devices and Configure TFTP Server Parameters
• Use a network cable to connect the computer to the Ethernet management port of the RSP card, launch the TFTP software, and specify the folder storing the IOS XR image file as the "Current Directory".
• Configure TFTP optional parameters in ROMMON mode (TFTP_SERVER is the computer's IP address):
rommon B4 > TFTP_VERBOSE=0 # Disable verbose output
rommon B5 > TFTP_RETRY_COUNT=18 # Set retry count
rommon B6 > TFTP_TIMEOUT=7200 # Set timeout (seconds)
rommon B7 > TFTP_CHECKSUM=0 # Disable checksum verification
rommon B8 > TFTP_SERVER=192.168.30.111 # TFTP server IP (computer IP)
rommon B9 > TFTP_MGMT_INTF=1 # Specify management interface
Figure 1: Configuring TFTP Optional Parameters
4. Set TURBOBOOT Parameter and Save Configuration
Enable TURBOBOOT mode (accelerates system installation), specify the target disk, and save the configuration:
rommon B10 > TURBOBOOT=on,disk0,format # Enable TURBOBOOT, format disk0
rommon B11 > sync # Save the configuration
5. Boot System Image from TFTP Server
Boot the IOS XR image from the TFTP server (ensure the IP matches TFTP_SERVER configured in Step 3):
rommon B12 > boot tftp://192.168.30.111/asr9k-mini-px.vm-5.3.4 # Boot from TFTP image
Figure 2: Tftpd64 File Transfer Process
6. Post-Boot Configuration Saving
After the image is booted successfully, the device automatically enters the EXEC user interface. Save the running configuration to the startup configuration to ensure normal boot next time:
RP/0/RSP0/CPU0:ios# copy running-config startup-config # Save configuration to startup-config
Moduletek provides compatible optical modules that support different system software versions of Cisco routers. Welcome to place your orders!
If you have any questions about the above content, please contact us via email: sales@moduletek.com