Cisco Systems 12006, 12406 manual Router# cd bootflash, Router# delete slot0info

Page 70

Chapter 3 Installing the Router

Using Flash Memory Cards in the RP

slot1:/

Router# cd slot0: Router# pwd slot0:/

Router# cd bootflash:

Router# pwd

bootflash:/

Router#

To list the directory contents of the Flash memory media in use, enter the dir [device-name] command at the privileged EXEC mode prompt, where device-namecan be slot0:, slot1:, or bootflash:.

A sample use of the dir command follows.

Router# dir

Directory of slot0:/

1

-rw-

122015

Sep 30

2002

15:03:55 myfile1

2

-rw-

2054979

Sep 30

2002

15:17:33 gsr-diag-mz.RELEASE28

3

-rw-

6670560

Sep

30

2002

15:22:49

gsr-p-mz.p7

4

-rw-

5560

Oct

08

2002

16:54:53

info

20578304 bytes total (9661756 bytes free) Router#

To delete a file from a Flash memory media, use the cd command to select the Flash memory media and enter the delete filename command at the privileged EXEC mode prompt, where filename is any file within the selected Flash memory media.

An example of deleting the file info from the current Flash memory directory follows:

Router# delete slot0:info

Router# dir

Directory of slot0:/

1

-rw-

122015

Sep 30

2002

15:03:55 myfile1

2

-rw-

2054979

Sep

30

2002

15:17:33

gsr-diag-mz.RELEASE28

3

-rw-

6670560

Sep

30

2002

15:22:49

gsr-p-mz.p7

20578304 bytes total (9661756 bytes free) Router#

Files that are deleted from the current Flash memory directory are removed from the directory list, but are not erased; they still occupy space in Flash memory. This feature allows you to recover a deleted file later using the undelete command.

 

Cisco 12006 and Cisco 12406 Router Installation and Configuration Guide

3-70

OL-11497-03

Image 70
Contents Installing the Router Installing a Router Installing the Optional Rack-Mount Brackets Installing the Rack-Mount Brackets OptionalTools and Equipment Required Installing the Optional Rack-Mount Brackets Installing Center-Mount Brackets Optional Lower and Upper Center-Mount BracketsInstalling the Optional Center-Mount Brackets Repeat through for both upper center-mount bracketsInstalling the Chassis in a Rack Power supplyOL-11497-03 Installing the Chassis on a Tabletop or Flat Surface Supplemental Bonding and Grounding ConnectionsSupplemental Bonding and Grounding Port for Nebs Compliance Connecting RP and Line Card Cables Crimping the LugChassis Cable-Management Bracket Connecting Alarm Card Cables Connecting to the Console and Auxiliary Ports GRP Console and Auxiliary PortsGRP Console DCE and Auxiliary DTE Port Connections GRP Auxiliary Port Signals GRP Console Port SignalsPin Signal Input/Output Description RTS PRP Console and Auxiliary Ports PRP Console and Auxiliary Port ConnectionsPRP Console Port Signals Console Port Pin Signal Input/Output DescriptionPRP Auxiliary Port Signals Installing a Flash Memory CardAuxiliary Port Pin Signal 10 Flash Memory Card Slot Opening Connecting the GRP to an Ethernet Network 11 RJ-45 and MII Ethernet ConnectionsPin1 Out Input/Output Description Code MDCPin Out Input/Output Description Code PinConnecting the PRP to an Ethernet Network Pin Signal14 Using the Ethernet Port on the PRP Ethernet Port Pin Signal Description PRP Ethernet ConnectionsCrossover Cable Pinout for Connecting Two PRPs Parameter RJ-45 Connecting to an AC Power SourceParameter Router Power Combination 18 AC Power Distribution Unit Connecting to a DC Power Source DC PDU Power a Power On the Router Alarm IOS Software Configuration for the Router Cisco IOS Software ImagesConditions to Check Before System Startup Overview of the Boot Process Starting the Router and Observing Initial ConditionsOL-11497-03 RP Alphanumeric LED Display Meaning SourceRP Interfaces Using the RP LEDs GRP Interfaces Using the GRP LEDs PRP Interfaces Using the PRP LEDs ETH System Configuration Dialogue External Network InterfaceLocating a Valid Cisco IOS Software Image Manually Booting the SystemDir bootflash Dir slot0Booting from the Cisco IOS Software Image Command DescriptionSetup Command Router ConfigurationBefore You Begin Global Configuration Mode User Interface Command ModesCisco IOS User Interface User Exec Mode Privileged Exec ModeSubinterface Configuration Mode Interface Configuration ModeROM Monitor Mode Configuration Changes Setup Command Interactive Script Example SDCC1/0 Configuring interface POS1/0 Is this interface in use?yes Passwords Configuring Global ParametersHost Name Configuring Network Interfaces ProtocolsGRP Ethernet Interfaces PRP Ethernet InterfacesLine Card Interfaces Checking the Software Version Show version CommandRouter# show version Show running Config Command Example Verifying the Running Configuration SettingsRouter# show running-config No service tcp-small-servers Hostname Router Show startup-config Command Saving the Running Configuration Settings to NvramReviewing the Running Configuration Settings Router# copy running-config startup-configNo logging trap Using Flash Memory Cards in the RP Installing the Flash Memory Card in a RPRemoving the Flash Memory Card from an RP Formatting a Flash Memory CardRouter# configure terminal Specify a Boot ImageRouter# format slot0 Flash Memory Console Commands Router# cd slot1Router# cd bootflash Router# delete slot0infoRouter# squeeze slot0 Routerconfig# config-reg Ctrl-Z Booting from Flash MemoryRouterconfig# boot system flash devicefilename Copying FilesRouter# copy tftpfilename bootflashslot0slot1 filename Router# copy tftpmyfile1 slot0myfile1Copying a Cisco IOS Software Image Router# copy tftpnew.image slot0new.imageCopying Cisco IOS Software Updates Router# copy slot1image.new slot0image.new Copying Files Between RP Memory and a Flash Memory Card Router# show bootvar Copy startup-config slot0 slot1filenameRouter# copy startup-config slot0myfile2 Router# dir slot0Copy running-config slot0slot1filename Router# copy running-config slot0myfile2Router# copy slot0myfile startup-config Copy slot0slot1filename startup-configRouter# copy startup-config running-config If You Need More Information Locked Blocks in Flash Memory CardsInstalling the Router If You Need More Information OL-11497-03