Cisco Systems 12006, 12406 Specify a Boot Image, Router# format slot0, Router# configure terminal

Page 68

Chapter 3 Installing the Router

Using Flash Memory Cards in the RP

To format a new Flash memory card, follow these steps:

Step 1 Insert the Flash memory card into slot 0 or slot 1 on the RP. (This example uses slot 0.)

Step 2 Enter the format slot0: command at the privileged EXEC mode prompt on the system console:

Router# format slot0:

All sectors will be erased, proceed? [confirm]

Enter volume id (up to 30 characters): MyNewCard

Formatting sector n

Format device slot0 completed

Router#

The console displays the “Formatting sector n” line in the sample output shown above. When the count reaches 1, the formatting process is complete and the new Flash memory card is ready for use.

For complete command descriptions and configuration information, refer to the Configuration Fundamentals Command Reference and the Configuration Fundamentals Configuration Guide in the Cisco IOS documentation set. For information on obtaining these publications, see the “If You Need More Information” section on page 3-82.

Specify a Boot Image

Use the procedure in this section to identify a sample Cisco IOS software image (new.image in this example) that is to be made bootable from a Flash memory card. The software configuration register must be set to 0x2102 during this procedure to boot the image from a Flash memory card; therefore, the config-registercommand must be included in the command sequence, as shown in this example:

Router# configure terminal

Router(config)# no boot system

Router(config)# boot system flash slot0:new.image

Router(config)# config-register 0x2102

Ctrl-Z

Router# copy running-config startup-config

Router# reload

 

Cisco 12006 and Cisco 12406 Router Installation and Configuration Guide

3-68

OL-11497-03

Image 68
Contents Installing the Router Installing a Router Tools and Equipment Required Installing the Rack-Mount Brackets OptionalInstalling the Optional Rack-Mount Brackets 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 Pin Signal Input/Output Description GRP Console Port SignalsGRP Auxiliary Port Signals RTS PRP Console and Auxiliary Ports PRP Console and Auxiliary Port ConnectionsPRP Console Port Signals Console Port Pin Signal Input/Output DescriptionAuxiliary Port Pin Signal Installing a Flash Memory CardPRP Auxiliary Port Signals 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 Connecting to an AC Power SourceParameter RJ-45 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 InterfaceManually Booting the System Dir bootflashLocating a Valid Cisco IOS Software Image Dir slot0Booting from the Cisco IOS Software Image Command DescriptionBefore You Begin Router ConfigurationSetup Command Cisco IOS User Interface User Interface Command ModesGlobal Configuration Mode User Exec Mode Privileged Exec ModeROM Monitor Mode Interface Configuration ModeSubinterface Configuration Mode Configuration Changes Setup Command Interactive Script Example SDCC1/0 Configuring interface POS1/0 Is this interface in use?yes Host Name Configuring Global ParametersPasswords Configuring Network Interfaces ProtocolsGRP Ethernet Interfaces PRP Ethernet InterfacesLine Card Interfaces Router# show version Show version CommandChecking the Software Version Router# show running-config Verifying the Running Configuration SettingsShow running Config Command Example No service tcp-small-servers Hostname Router Saving the Running Configuration Settings to Nvram Reviewing the Running Configuration SettingsShow startup-config Command 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# format slot0 Specify a Boot ImageRouter# configure terminal Flash Memory Console Commands Router# cd slot1Router# cd bootflash Router# delete slot0infoRouter# squeeze slot0 Booting from Flash Memory Routerconfig# boot system flash devicefilenameRouterconfig# config-reg Ctrl-Z 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 startup-config running-config Copy slot0slot1filename startup-configRouter# copy slot0myfile startup-config If You Need More Information Locked Blocks in Flash Memory CardsInstalling the Router If You Need More Information OL-11497-03