Documente Academic
Documente Profesional
Documente Cultură
Introduction
Core Issue
Postings may contain unverified user-created content and change frequently. The content is provided as-is and
is not warrantied by Cisco.
1
Turboboot is a frequently misunderstood concept. What it really means is that you will do a
fresh install of the IOS-XR software.
XR devices have multiple medias for storage and they all have their individual purpose.
The executable vm file needs to be transferred via TFTP (on the RSP2) or can be loaded
from the external USB port or TFTP (on the RSP440).
No other media are possible to be used for a turboboot other then the ones specified above.
Postings may contain unverified user-created content and change frequently. The content is provided as-is and
is not warrantied by Cisco.
2
Volume
RSP2
RSP440
Trident
Typhoon
disk0:
Embedded USB
SSD (SATA)
disk0a:
Embedded USB
SSD (SATA)
disk1:
Embedded USB
SSD (SATA)
disk1a:
Embedded USB
SSD (SATA)
harddisk:
Harddisk (SAS)
Embedded USB
harddiska:
Harddisk (SAS)
Embedded USB
harddiskb:
Harddisk (SAS)
Embedded USB
compactflash:
Compactflash1
External USB1
lcdisk0:
Embedded USB
Embedded USB
lcdisk0a:
Embedded USB
Embedded USB
NOR Flash
NOR Flash
bootflash:
NOR Flash
configflash:
NOR Flash
nvram:
NVSRAM
NVSRAM
Kernel dump
Harddisk (SAS)
SSD (SATA)
TFTP
bootflash:
1. Removable
RSP2
RSP440
Trident
Typhoon
disk0:
disk00t77
hd0t77
disk0a:
disk00t78
hd0t78
disk1:
disk10t77
hd1t77
disk1a:
disk10t78
hd1t78
harddisk:
hd0t79
usb00t77
harddiska:
hd0t77
usb00t78
Postings may contain unverified user-created content and change frequently. The content is provided as-is and
is not warrantied by Cisco.
3
harddiskb:
hd0t78
usb00t11
compactflash:
disk20t6,11,121
usb10t6,11,121
lcdisk0:
lcdisk00t77
lcdisk00t77
lcdisk0a:
lcdisk00t78
lcdisk00t78
fs0p1
fs0p1
bootflash:
fs0p1
configflash:
fs1p1
nvram:
nvram
nvram
Kernel dump
hd0t80
hd0t80 or hd1t802
1. Any one
2. Either one
Volume
RSP2
RSP440
disk0:
IOS-XR
Packages,
Configs
IOS-XR
Packages,
Configs
disk0a:
sysmgr_debug
sysmgr_debug
disk1:
disk1a:
wdsysmon_debug wdsysmon_debug
harddisk:
harddiska:
NP logs, crash
files
NP logs, crash
files
File Copy
File Copy
fs0p2
Usage
Trident
Typhoon
harddiskb:
compactflash:
lcdisk0:
lcdisk0a:
bootflash:
MBI Images
configflash:
OBFL
nvram:
Configs
Kernel dump
Configs
Raw kernel dumps
Postings may contain unverified user-created content and change frequently. The content is provided as-is and
is not warrantied by Cisco.
4
Filesystems
Volume
RSP2
RSP440
Trident
Typhoon
disk0:
QNX4
QNX4
disk0a:
QNX4
QNX4
disk1:
QNX4
QNX4
disk1a:
QNX4
QNX4
harddisk:
QNX4
QNX4
harddiska:
QNX4
QNX4
harddiskb:
QNX4
FAT
compactflash:
FAT1
FAT1,2
lcdisk0:
QNX4
QNX4
lcdisk0a:
QNX4
QNX4
FFSv3
FFSv3
File
Raw
Trident
Typhoon
1.6GB
1.6GB
bootflash:
FFSv3
configflash:
FFSv3
nvram:
Cisco
Cisco
Kernel dump
Raw
Raw
RSP2
RSP440
disk0:
1.6GB
11.0GB
disk0a:
0.4GB
2.2GB
disk1:
1.6GB
11.0GB
disk1a:
0.4GB
2.2GB
harddisk:
35GB
3.1/6.2GB
harddiska:
8GB
0.4/0.8GB
harddiskb:
8GB
0.4/0.8GB
compactflash:
1GB
1-32GB
lcdisk0:
Postings may contain unverified user-created content and change frequently. The content is provided as-is and
is not warrantied by Cisco.
5
lcdisk0a:
bootflash:
44MB
configflash:
28MB
nvram:
220K
500K
Kernel dump
21GB
500MB x 2
0.4GB
0.4GB
56MB
56MB
24MB
Note that unlike many IOS devices, nvram is NOT used for the configuration storage.
Steps to Turboboot
As mentioned Turbobooting means that you load the "VM" (virtual machine" XR base image
which is effectively an executable.
Turboboot is started from Rommon and is effectively putting a disk with the desired OS in
your laptop and reboot the machine to boot from CDROM.
Postings may contain unverified user-created content and change frequently. The content is provided as-is and
is not warrantied by Cisco.
6
Before the Turboboot process starts, you can instruct the system to wipe all files from the
system and start clean or install the image to be turbobooted along side with any existing
releases currently found on the disk.
Turbobooting may be required if you want to sweep clean your system, or we also had some
issues in XR4.2.0 with the RSP2 (due to the smu sizes) whereby the upgrade pie could not
be loaded. A turboboot was required in that case also.
The command "set" gives you an overview of all the rommon environment variables
currently set to their values.
rommon>
unset BOOT
Postings may contain unverified user-created content and change frequently. The content is provided as-is and
is not warrantied by Cisco.
7
unset TFTP_FILE
sync
unset BOOT_DEV_SEQ_OPER
unset MIRROR_ENABLE
sync
By default, the two internal USB partitions (disk0 and disk1) are mirrored to each other, if
you break the mirror, turboboot will only affect the disk
that you are turbobooting target to and not the other one (nice if you want to fall back).
Postings may contain unverified user-created content and change frequently. The content is provided as-is and
is not warrantied by Cisco.
8
If you omit this step and the TFTP download for the turboboot mini-vm image takes longer
due to network delays etc, then the RSP might reset and you'll have to do it again. Very
painful. So disabling this watchdog makes sure the system is not going to reload during the
transfer of the image in rommon.
Define the local ip address to be used on the MGMT interface on the front
face of the RSP.
IP_ADDRESS=ip_address
IP_SUBNET_MASK=mask
DEFAULT_GATEWAY=ip_address
TFTP_RETRY_COUNT=4
sets the number of retries to contact the tftp server
TFTP_TIMEOUT=6000
Postings may contain unverified user-created content and change frequently. The content is provided as-is and
is not warrantied by Cisco.
9
sets the TFTP timeout for the transfer, you may need to set this larger to prevent abort
during xfer if there are network delays
TFTP_CHECKSUM=1
whether checksum on teh transfer is needed, this is adviceable in case the image gets
corrupted during transfer.
TFTP_SERVER=server_ip_addr
the server address can also be specified in the boot statement, or fixed in the rommon
variable.
TFTP_MGMT_INTF=0
which of the 2 mgmt interfaces you want to use, either 0 or 1.
TURBOBOOT=on,disk0:,format
sync
This will instruct the system to do a turboboot to disk0 as target and it will format the
complete filesystem to start from base.
Postings may contain unverified user-created content and change frequently. The content is provided as-is and
is not warrantied by Cisco.
10
Currently today we only support targeted install to disk0 but this will change likely in XR4.3.1
whereby you can use disk1 as install target.
NOTE: a recent tac case showed that the command for turboboot failed on the ASR9001.
Supposedly this was made to work by omitting the colon after disk0:
Suggesting to try the disk0 (without colon) if the command with colon fails.
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"
Postings may contain unverified user-created content and change frequently. The content is provided as-is and
is not warrantied by Cisco.
11
<SNIP>
Active Packages:
mem:asr9k-mini-p-4.2.0
The system will also self unset the TURBOBOOT rommon variable.
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.
Postings may contain unverified user-created content and change frequently. The content is provided as-is and
is not warrantied by Cisco.
12
Considering that turboboot can also erase the config, it is smart to have a back from that
obviously.
same thing with SSH keys and other things like licenses. This short list tries to provide a
couple of checks to take into consideration when doing upgrades, RSP2->RSP440 swaps or
turboboots.
Postings may contain unverified user-created content and change frequently. The content is provided as-is and
is not warrantied by Cisco.
13
6. Offline. Edit the saved RSP config - add "no shutdown" for all physical interfaces that are
up/up from the above IPv4 & IPv6 interface
captures and save cfg changes. Note that it is not necessary to no shut subinterfaces, only the main physical interface.
7. Connect a laptop console cable to the RSP in RSP0 slot and enable a log file to monitor
and capture the RSP bootup logs.
8 . Turn the power supplies on to power up the asr9k system. (approx. 7-12 minutes)
9. After the LED's indicate IOS-XR on the LC's, and ACTV or STBY on the RSPs,
log in via the console of the RSP that is ACTV and run some preliminary checks to
check system stability.
NOTE: The default root-system username and password on the RSP440 are root/root
(if root/root does not work also try cisco/cisco, or admin/admin or viking/viking)
Postings may contain unverified user-created content and change frequently. The content is provided as-is and
is not warrantied by Cisco.
14
12. Optional. Install add & commit any missing SW packages (pies) or required
SMUs
15. Configure the Mgmt ethernet interface with an IP address to reach tftp
server & load and commit the saved RSP config from tftp server or laptop
a) or log into the console and cut & paste a saved cfg from laptop
b) or copy saved cfg from laptop to usb, then insert usb into RSP440 and copy
Postings may contain unverified user-created content and change frequently. The content is provided as-is and
is not warrantied by Cisco.
15
a) Enter admin mode via the admin command, and capture the output of the current
firmware versions using CLI show hw-module fpd location all. save this output to a
text file. Notice any LC that has a yes in the Upg/Dng? column. This indicates
the FPD should be upgraded or downgraded to match the current FPD version.
b) From admin mode upgrade FPD using the CLI: upgrade hw-module fpd location r/s/m
or if all locations require FPD upgrade (suggested) use CLI:* upgrade hw-module fpd
location all *
# df /disk0:
/dev/disk00t77
3813344
733477 3079867
20% /dev/disk0:/
Postings may contain unverified user-created content and change frequently. The content is provided as-is and
is not warrantied by Cisco.
16
Divide the highlighted number by 2000. That gives the approximate size in MB. 366MB in
this case.
If you do an upgrade, gather the df output before and after upgrade and compute the
difference in df output.
Related Information
Postings may contain unverified user-created content and change frequently. The content is provided as-is and
is not warrantied by Cisco.
17