Step 1 |
Back up the router
configuration while still in EXEC mode.
|
(Optional) To
preserve the current router configuration, copy it to another disk while still
in EXEC mode.
|
Step 2 |
Verify the sanity of the
configuration file system. Use
cfs check
RP/0/RSP0/CPU0:router# cfs check
|
(Optional)
Verifies the sanity of the router configuration, and resolves any internal
inconsistencies.
|
Step 3 |
admin
RP/0/RSP0/CPU0:router# admin
|
Enters the admin
EXEC mode.
|
Step 4 |
Place all
RSP
cards in ROM Monitor
mode. Use
config-register boot-mode rom-monitor location all and
reload location
all commands.
RP/0/RSP0/CPU0:router(admin)# config-register boot-mode rom-monitor location all
RP/0/RSP0/CPU0:router(admin)# reload location all
|
|
Step 5 |
Clear the ROM Monitor
environmental variables on all
RSP
cards. Use
unset BOOT command,
unset TFTP_FILE command
and
sync command.
rommon B1> unset BOOT
rommon B2> unset TFTP_FILE
rommon B3> sync
|
Ensures that all
RSP
cards in the system
are prepared for installation using the TURBOBOOT variable. Repeat for each
RSP
card in the system
(LCC).
Enter the settings
exactly as shown. You must attach a terminal to each card for this procedure.
All variable names
are case sensitive.
|
Step 6 |
Clear the ROM Monitor environment variables BOOT_DEV_SEQ_OPER
and MIRROR_ENABLE, if disk mirroring is enabled. Use
unset BOOT_DEV_SEQ_OPER command,
unset MIRROR_ENABLE
command and
sync command.
Example
rommon B1> unset BOOT_DEV_SEQ_OPER
rommon B2> unset MIRROR_ENABLE
rommon B3> sync
|
If disk mirroring is enabled, clear the
BOOT_DEV_SEQ_OPER and
MIRROR_ENABLE ROM Monitor environment variables to
disable disk mirroring.
All variable names are case sensitive.
|
Step 7 |
On the
RSP card
, set the
environment variables that configure the Management Ethernet interface for use
in ROM Monitor mode. Use
IP_ADDRESS=ip_address command,
IP_SUBNET_MASK=mask command and
DEFAULT_GATEWAY=ip_address command.
rommon B4> IP_ADDRESS=1.1.1.1
rommon B5> IP_SUBNET_MASK=255.255.254.0
rommon B6> DEFAULT_GATEWAY=1.1.0.1
|
Enter these
settings exactly as shown. All variable names are case sensitive.
-
Sets the IP
address for the Management Ethernet interface on the
RSP card
.
-
Sets the subnet
mask for the Management Ethernet interface on the
RSP card
.
-
Identifies the
default gateway that serves the
RSP card
.
|
Step 8 |
On the
RSP card
, set the TFTP
environment variables. Use
TFTP_VERBOSE=print_setting command,
TFTP_RETRY_COUNT=retry_count command,
TFTP_TIMEOUT=timeout command,
TFTP_CHECKSUM=0 command,
TFTP_SERVER=server_ip_addr command,
TFTP_MGMT_INTF=port_no command
Example
rommon B4> TFTP_VERBOSE=0
rommon B5> TFTP_RETRY_COUNT=4
rommon B6> TFTP_TIMEOUT=6000
rommon B7> TFTP_CHECKSUM=0
rommon B8> TFTP_SERVER=223.255.255.254
rommon B9> TFTP_MGMT_INTF=0
|
(Optional) Enter
these settings exactly as shown. All variable names are case sensitive.
-
TFTP_VERBOSE sets the printer setting:
0 =quiet,
1 =progress
(default),
2 =verbose.
-
TFTP_RETRY_COUNT sets the retry count for ARP and
TFTP
(default=18).
-
TFTP_TIMEOUT sets the overall timeout of the
operation in seconds (default=7200).
-
TFTP_CHECKSUM specifies whether or not to perform
a checksum test on the image:
0 =no,
1 =yes.
-
TFTP_SERVER sets the IP address of the TFTP server
where a bootable software image is located.
-
TFTP_MGMT_INTF determines the RSP card Management
LAN port to use for TFTP. The default value is port
0 .
|
Step 9 |
On the
RSP card
, set the TURBOBOOT
variables. Use
TURBOBOOT=on ,boot-device ,options command and
sync command.
rommon B9> TURBOBOOT=on,disk0,format
rommon B10> sync
|
Sets the
TURBOBOOT parameters and saves the configuration. Separate each parameter with
a comma (,). These parameters are:
-
To enable the
installation process using the TURBOBOOT variable, specify on.
-
Specify a boot
device where all software is installed on the
RSP cards. We recommend disk0.
-
To replace the
existing software without formatting the boot device, replace options with
clean.
-
To replace the
existing software and format the boot device, replace options with format.
-
Default option
is clean.
-
Any existing
configuration is preserved.
|
Step 10 |
On the
RSP card
, boot the vm image
located on the tftp server. Use
boot
tftp://server/directory/filename
rommon B11> boot tftp://223.255.254.254/softdir/comp-asr9k-mini.vm
|
Retrieves the
file from the TFTP server and installs it on the boot disk.
-
Run this command
on the
RSP card
and specify the vm
installation file from the TFTP server.
-
This process
removes any existing software packages, resets the configuration register to
0x2, and boots the
RSP card
.
-
Allow the system
to fully boot. The installation process using the TURBOBOOT variable takes some
time. Do not enter any commands until you are prompted to enter a username or
until the CLI prompt appears.
-
“Press RETURN to
get started” appears twice. The first occurrence appears when the software is
loaded into memory. The second occurrence happens after the software has been
installed on the disk.
-
RSP card
is fully booted
when the following message appears:
SYSTEM
CONFIGURATION COMPLETED
|
Step 11 |
Reset all other
RSP cards
to boot the
Cisco IOS XR software. Use
confreg and
reset
commands.
rommon B4> confreg
rommon B5> reset
|
-
The
confreg
command displays a series of prompts to change the configuration register. To
reset to EXEC mode, select the boot type as
2 when
prompted.
-
Sets the
configuration register to automatically start the boot process instead of
staying in ROM Monitor mode.
-
Resets the
RSP card
and starts the boot
process.
|
Step 12 |
Restore disk mirroring, if
it was disabled in
“Step 5”.
|
To restore disk
mirroring, use the
mirror
command in the global configuration mode.
|