Cisco Systems GRP-B manual Enabling Booting from Flash Memory, Router# squeeze slot0

Page 40

Implementing Additional Configuration and Maintenance Tasks

You can delete a file from any Flash memory media using the delete filename command, where filename is any file within Flash memory. An example of deleting the file fun1 from the Flash memory card or Flash disk in slot 0 follows:

Router#

delete fun1

 

 

Router#

dir

 

 

 

 

-#- -length- -----date/time------ name

1

4601977

May

10

1997

09:42:19 myfile1

6

679

 

May

10

1997

05:43:56 todays–config

Files that are deleted are marked as deleted, but still occupy space in Flash memory. The command squeeze device-name(where device-namecan be slot0:, slot1:, or bootflash:) removes them permanently and pushes all other undeleted files together to eliminate spaces between them.

Note The squeeze command is used with Flash memory cards only. This command is not needed when using Flash disks.

An example of the squeeze command follows:

Router# squeeze slot0:

All deleted files will be removed, proceed? [confirm] Squeeze operation may take a while, proceed? [confirm] ebESZ

To prevent loss of data from sudden power loss, the “squeezed” data is temporarily saved to another location of Flash memory, which is specially used by the system.

The meanings of the characters in the preceding command display output as follows:

e—This special location has been erased (which must occur before any write operation).

b—The data that is about to be written to this special location has been temporarily copied.

E—The sector that was temporarily occupied by the data was erased.

S—The data was written to its permanent location in Flash memory.

Z—This log was erased after the successful squeeze command operation.

The squeeze command operation keeps a log of which of these functions was performed, so that in case of sudden power failure, it can return to the correct place and continue with the process.

The configuration register setting 0x0101 tells the system to boot the default image (the first image) from onboard Flash memory, but not reset the Break disable or check for a default filename to be booted over the network. The configuration register setting 0x0102 tells the system to boot from Flash memory if netboot fails, then disable Break and check for a default netboot filename.

For more information on the copy tftp:filename [bootflash: slot0: slot1:]filename command and other related commands, refer to the set of configuration and reference publications.

Enabling Booting from Flash Memory

To enable booting from Flash memory, set configuration register bits 3, 2, 1, and 0 to a value between 2 and 15 in conjunction with the boot system flash device-name:filenameconfiguration command, where device-nameis bootflash:, slot0:, or slot1: (Flash memory cards), and bootflash:, disk0:, or disk 1:

(ATA Flash disk cards) and filename is the name of the file from which you want to boot the system.

To enter configuration mode while in the system software image and specify a Flash filename from which to boot, enter the configure terminal command at the enable prompt as follows:

Router#configure terminal

Flash Disks and Flash Memory Cards in the GRP

40

78-4339-09

 

 

Image 40
Contents Gigabit Route Processor Installation and Configuration Note Document ContentsImportant Information Router InformationSupported Platforms GRP RedundancyProduct Overview Cisco IOS Software RequirementsRelated Documentation GRP FunctionsGRP Components Cisco IOS SoftwareGRP Horizontal Orientation Type Memory ComponentsQuantity Description Location Sram Flash MemorySoft Reset Switch System Status LEDsStatus LEDs Display LEDsAsynchronous Serial Ports Flash Card SlotsEthernet Port Safety Guidelines Preparing for InstallationTranslated Safety Warnings and Agency Approvals Electromagnetic Compatibility Regulatory Statements FCC Class a ComplianceCanada Europe EUPreparing for Installation Working with Electrical Equipment Preventing Electrostatic DischargeClass a Notice for Korea Required Tools and Parts Replacing a GRPRemoving a GRP Shows the ejector levers To remove a GRP, follow these steps Turn off system power Installing a GRP Connecting to the Console Port Console Port Pin Signal Direction DescriptionConnecting to the Auxiliary Port Connecting to the Ethernet PortSignal Direction Description Ethernet Interface Receptacles, Cables, and PinoutsPin Description RJ-45 Receptacle and Plug Horizontal OrientationPin Signal Input Output Input/Output Description MII ConnectionsEthernet Interface Cable Connection Procedure RJ-45Connecting MII or RJ-45 Cables to GRP Vertical Orientation GRP Boot Process Overview Starting the System and Observing Initial ConditionsProcessor LED Display DescriptionStarting the System and Observing Initial Conditions Verifying Interface Status Configuring the Ethernet Interface GRP LEDs Partial Front Panel ViewUsing Configuration Mode to Configure the Ethernet Interface Configuring the Software Configuration Register Implementing Additional Configuration and Maintenance TasksBoot Field Description Boot Field Settings and the boot CommandBit Hexadecimal Description Changing Configuration Register Settings Configuration Register Bit Meanings Action/File Name BitBit Address net host Baud BitFlash Disks and Flash Memory Cards in the GRP Installing and Removing Flash Memory Card or Flash Disk ATA Flash Disk Boot Image Support Requirements Formatting a Flash Memory Card or Flash DiskRouter# format slot0 Specifying Cisco IOS Image Used to Boot the System Software Commands Associated with Flash MemoryEnabling Booting from Flash Memory Router# squeeze slot0Copying Files to Flash Memory Router# copy tftpmyfile1 slot0myfile1Router# copy tftpnew.image slot0new.image Router# copy slot1image.new slot0image.new Router# config t Routerconfig# no boot system Router# copy startup-config slot0myfile2 Use the copy running-config slot0filename command as follows Recovering Lost Password Initialize the router by entering the i command as follows Upgrading GRP Memory Locations of GRP Memory ComponentsMEM-GRP/LC-64=2 Using Dimm Socket Release Lever to Remove DIMMs Removing DIMMsInstalling New DIMMs Handling a DimmObtaining Documentation Checking the Dimm InstallationCisco.com Documentation Feedback Obtaining Technical AssistanceOrdering Documentation Cisco TAC WebsiteOpening a TAC Case Obtaining Additional Publications and InformationTAC Case Priority Definitions Obtaining Additional Publications and Information 78-4339-09