Cisco Systems 12010, 12810, 12410 manual Squeeze Command, Milo# squeeze slot0

Page 51

Chapter 4 System Startup and Basic System Configuration

Using RP Flash Memory Cards

squeeze Command

The squeeze command permanently removes deleted files from flash memory and makes all other (undeleted) files contiguous to conserve storage space.

To permanently remove deleted files from a flash memory directory, but leave the other files intact, enter the squeeze device-namecommand.

Where device-namecan be slot0:, slot1:, or bootflash:.

Milo# squeeze slot0:

All deleted files will be removed, Continue? [confirm]y Squeeze operation may take a while, Continue? [confirm]y Squeeze of slot0 complete

Milo# ebESZ

In this example the character:

e in the last line indicates that the flash memory area is erased. This erase operation must be accomplished before any write operation to the flash memory area can begin.

b indicates that the data about to be written to the flash memory area has been temporarily copied.

E indicates that the sector temporarily occupied by the data is erased.

S indicates that the data is written to its permanent location in flash memory.

Z indicates that the log is erased following the successful squeeze operation.

To prevent loss of data from a sudden power loss, the “squeezed” data is temporarily saved to another flash memory area reserved specifically for system use.

Note During a squeeze operation, the system maintains a log of executed squeeze functions, so that the system can return to the proper place and continue the operation in the event of a power failure.

 

 

Cisco 12010, Cisco 12410, and Cisco 12810 Router Installation and Configuration Guide

 

 

 

 

 

 

OL-11496-01

 

 

4-51

 

 

 

Image 51
Contents System Startup and Basic System Configuration Sources of Cisco IOS Software Preconfiguration RequirementsBoot Process Overview Powering On the Router and Observing the Boot Process LED Display1 Meaning Source ProcessorPRI LED Display Meaning SourceMII Line Card Alphanumeric LED Displays-Partial View Shown Meaning SourceRomi OL-11496-01 Manually Booting the System Dir slot0 Booting from the Cisco IOS Software ImageDir bootflash Locating a Valid Cisco IOS Software ImageBoot flash Command PurposeConfiguring the Router Cisco IOS User Interface Cisco IOS User Interface Command ModesPrivileged Exec Mode User Exec ModeInterface Configuration Mode Global Configuration ModeSubinterface Configuration Mode Using Setup for Configuration ChangesMay enter a question mark ? for help SDCC1/0 No ip routing Configuring Global Parameters Using the Setup Facility Configuring Host Name Configuring Protocols Configuring Network InterfacesConfiguring Line Card Interfaces Milo# show version Enter the enable command and password if prompted Using Global Configuration ModeRouter# show running-config Verifying Running Configuration File SettingsMilo# configure terminal Milo# copy running-config startup-configSaving the Running Configuration Settings to Nvram Viewing the Running Configuration Settings Configuring the Software Configuration Register Bit Number Hexadecimal Value Meaning/Function Boot Field Setting Software Configuration SettingsCiscobootfieldvalue-processorname Changing Software Configuration Register Settings Miloconfig# config-register 0xvalue Reboot the systemLow-Order Bits in the Software Configuration Register Action/Filename Bit Bit Address net host High-Order Bits in the Software Configuration Register9600 Rommon 1 config-register Recovering a Lost PasswordEnter the initialize command to initialize the router Milo# show startup-config Installing and Removing a Flash Memory Card Using RP Flash Memory CardsOL-11496-01 Installing and Removing a Flash Memory Card Milo# format slot0 Formatting a New Flash Memory CardSpecifying a Cisco IOS Software Image to Boot the System Flash Memory Commands Pwd CommandCd Command Dir Command Delete CommandMilo# dir slot0 Milo# squeeze slot0 Squeeze CommandBooting from Flash Memory Miloconfig# boot system flash slot0myfile1Copying Image Files to or From Flash Memory Milo# copy tftpmyfile1 slot0myfile1 Milo# copy tftpfilename bootflashslot0slot1 filenameCopying a Cisco IOS Software Image into a Flash Memory Card Milo# copy tftpnew.image slot0new.image Milo# copy slot1image.new slot0image.new Copying Cisco IOS Software Images Between Flash Memory CardsMilo# configure terminal Copy startup-config slot0 slot1 filename Milo# show bootvarMilo# copy startup-config slot0myfile2 Milo# copy running-config slot0myfile2 Copy running-config slot0slot1filenameCopy slot0slot1filename startup-config Milo# copy slot0myfile startup-configMilo# copy startup-config running-config Recovering from Locked Blocks in Flash Memory Cards Post-Installation Procedures OL-11496-01