****For RSP2's*****
1. Clear the ROM Monitor environmental variables on all RSPs:
unset BOOT
unset TFTP_FILE
sync
Repeat for each RSP in the system
2. Clear BOOT_DEV_SEQ_OPER and MIRROR_ENABLE ROM Monitor environment variables to disable disk mirroring.
unset BOOT_DEV_SEQ_OPER
unset MIRROR_ENABLE (Make sure you enable mirroring after you are done loading the code, this is important.)
sync
3.Change the default behavior of RP in ROMMON to not reset in 30 minutes
Rommon> priv
Rommon> diswd <- Disable the CPU watchdog
4. On the RSP, set the environment variables that configure the Management Ethernet interface for use in ROM Monitor mode:
IP_ADDRESS=ip_address
IP_SUBNET_MASK=mask
DEFAULT_GATEWAY=ip_address
5. On the RSP, set the TFTP environment variables:
TFTP_VERBOSE=1
TFTP_RETRY_COUNT=4
TFTP_TIMEOUT=6000
TFTP_CHECKSUM=1
TFTP_SERVER=server_ip_addr
TFTP_MGMT_INTF=0
6. Set the Turboboot variables on the RSP:
TURBOBOOT=on,disk0:,format
sync
7. On the RSP, boot the vm image located on the TFTP server: (Works only with the VM image, not the TAR file)
boot tftp://server/directory/filename
8. 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"
Output of show install active when in memory,
RP/0/RSP0/CPU0:ios#sh instal active
<SNIP>
Active Packages:
mem:asr9k-mini-p-4.2.0
Output of show install active after image copied on to disk0:,
RP/0/RSP0/CPU0:ios#sh instal active
<SNIP>
Active Packages:
disk0:asr9k-mini-p-4.2.0
9. Restore disk mirroring if it was disabled in step 6. To restore disk mirroring, use the mirror command in the global configuration mode. For more information on the mirror command, see the "Boot Commands on Cisco IOS XR Software" module in Cisco ASR 9000 Series Aggregation Services Router System Management Command Reference.
*******For RSP440's*********
RSP-440 can boot from the USB front panel port like this:
The command is mediaboot usb:\yourfilename
E.g.
mediaboot usb:\asr9k-mini-px.vm