Enabling Booting From A Compactflash Disk - Cisco 7304 Installation And Configuration Manual

Network service engine
Hide thumbs Also See for 7304:
Table of Contents

Advertisement

Chapter 6
Working with a CompactFlash Disk

Enabling Booting from a CompactFlash Disk

This section explains how to enable booting from a CompactFlash Disk.
To enable booting from a CompactFlash Disk, set configuration register bits 3, 2, 1, and 0 to a value
between 2 and 15 in conjunction with the boot system [disk0:] filename configuration command. This
section includes only descriptions of boot commands specific to the CompactFlash Disk. (You can use
either the slotn: argument or the diskn: argument for boot commands.)
Following are definitions of the various CompactFlash Disk-related boot commands:
As you enter boot commands, pay attention to how you use the Spacebar, which influences the way your
Note
system interprets the commands. Also, ensure that you define the entire path to a file as you enter the
boot commands; otherwise, the system might not be able to find the file.
For example, notice the difference in the following correct and incorrect commands:
System(config)# boot system flash disk0:myfile
Based on the preceding correct command, the system boots the file specified (myfile).
System(config)# boot system flash disk0: myfile
Based on the preceding incorrect command, the system finds the filename field blank because there is a
space after disk0:. In this case, the system ignores the filename argument and boots the first file on the
CompactFlash Disk, which might not be the file called myfile.
Use the following procedure to enable booting the file myfile from a CompactFlash Disk:
Enter configuration mode and specify an image filename in disk0: from which to boot by using the
Step 1
configure terminal command, as follows:
System# configure terminal
Enter configuration commands, one per line. End with CTRL-Z.
System(config)# boot system flash disk0:myfile
Enable the boot system flash disk0:myfile command using the config-register command with the
Step 2
hexadecimal value shown in the following example:
System(config)# config-reg 0x2102
This command, with the hexadecimal value 0x2102, results in the following:
Press Ctrl-Z to exit configuration mode:
Step 3
System(config)#
OL-3967-01
boot system flash disk0: —Boots the first file in the CompactFlash Disk.
boot system flash bootdisk: —Boots the first file in the CompactFlash Disk.
boot system flash disk0:herfile—Boots the file named herfile from the CompactFlash Disk.
boot system flash bootdisk:hisfile—Boots the file named hisfile from the CompactFlash Disk.
Enables the system to boot the default boot ROM software if the CompactFlash Disk-based image
fails to boot—hexadecimal value 0x2000
Disables Break—hexadecimal value 0x0100
Enables the image myfile as the default boot image—hexadecimal value 0x0002
Cisco 7304 Network Service Engine Installation and Configuration

Enabling Booting from a CompactFlash Disk

6-9

Advertisement

Table of Contents
loading

Table of Contents