ASR9001 Turbo Boot via TFTP example

These are the commands to turboboot an ASR9001 from rommon mode using a PIE image on a TFTP server. More info here: https://supportforums.cisco.com/document/123576/asr9000xr-understanding-turboboot-and-initial-system-bring

Known default passwords for IOS-XR are root/root, cisco/cisco, admin/admin or viking/viking.

To boot into rommon mode from inside IOS-XR:

# Place only the DSC (designated shelf controller) in the ROM Monitor mode:

#admin
(admin)# config-register 0x0
(admin)# exit
#reload

# Or, to place all RPs in the ROM Monitor mode:

#admin
(admin)# config-register 0x0 location all
(admin)# reload location all 


# Manually Halting the Initialization Process During System Reload
# To force the DSC to stop loading and enter ROM Monitor mode, press Ctrl-C when you see the following message:

MBI validation sending request.
HIT Ctrl-C to abort 
# Clear the ROM Monitor environmental variables on all RSPs

unset BOOT
unset TFTP_FILE
sync


# Clear disk mirroring variables

unset BOOT_DEV_SEQ_OPER
unset MIRROR_ENABLE
sync


# Disable the CPU watchdog

priv
diswd


# Check rommon version for sanity

version


# Define the network and IP settings on the mgmt interface and TFTP environment variables

IP_ADDRESS=192.168.58.2
IP_SUBNET_MASK=255.255.255.0
DEFAULT_GATEWAY=192.168.58.1
TFTP_RETRY_COUNT=4
TFTP_TIMEOUT=6000
TFTP_TIMEOUT=600000
TFTP_CHECKSUM=1
TFTP_SERVER=192.168.58.1
TFTP_MGMT_INTF=1
TFTP_BLKSIZE=1250
TFTP_VERBOSE=2
TFTP_FILE=asr9k-mini-px.vm-5.2.2
sync

# Set the Turboboot variable on the RSP

TURBOBOOT=on,disk0,format
sync


# Boot from TFTP
# During the boot process the image is copied first on to the memory(RAM) and is installed from memory(RAM).
# Once it is insalled from memory, it will copy the image back on to disk0: and reload the device.
# Wait till you get the message "SYSTEM CONFIGURATION COMPLETED"

boot tftp://192.168.58.1/asr9k-mini-px.vm-5.2.2

ARPing for 192.168.58.1
ARP reply for 192.168.58.1 received.  MAC address f01f.af65.32cc
tftp_process_packet: received OACK.
tftp_process_packet: Change blksize to 1250.
Receiving asr9k-mini-px.vm-5.2.2 from 192.168.58.1 !!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!
tftp_process_packet: last packet, block=65396, size=915.
File reception completed.
Image size=491344665, TFTP download size=491344665

TFTP: Disabling cache
..........................

.........
program load complete



# For sanity after it has completed...
show install active