Cisco Systems 12006 Booting from Flash Memory, Copying Files, Routerconfig# config-reg Ctrl-Z

Page 72

Chapter 3 Installing the Router

Using Flash Memory Cards in the RP

Booting from Flash Memory

To enable booting from Flash memory, set the boot field in the software configuration register (bits 3 through 0) to a value between 2 and 15. These values are used with the boot system flash device:filename configuration command, where device is bootflash:, slot0:, or slot1:, and filename is the name of the file from which you want to boot the system.

To enter global configuration mode while the system is running and specify a Flash filename from which to boot the system, enter the configure terminal command at the privileged EXEC mode prompt on the system console, as follows:

Router# configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)# boot system flash device:filename

To disable the Break function and enable the boot system flash device:filename command, enter the config-registercommand at the global configuration mode prompt with the configuration register value, as shown below:

Router(config)# config-reg 0x0102

Ctrl-Z

Router#

Copying Files

Copy a new Cisco IOS software image to Flash memory when a new image becomes available or when you want to back up the image. This section explains how to copy any type of file to the Flash memory SIMM on the RP or to a PCMCIA Flash memory card inserted in either slot 0 or slot 1.

Caution You cannot copy a new Cisco IOS software image into the onboard Flash memory SIMM (also referred to as bootflash) while the system is running from onboard Flash memory.

To avoid losing valid Cisco IOS images, upgrade your Cisco IOS software images in Flash memory one at a time. Upgrade your PCMCIA-based Flash memory separately from the onboard Flash SIMM (bootflash) on the RP.

 

Cisco 12006 and Cisco 12406 Router Installation and Configuration Guide

3-72

OL-11497-03

Image 72
Contents Installing the Router Installing a Router Installing the Rack-Mount Brackets Optional Installing the Optional Rack-Mount BracketsTools 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 Console Port Signals GRP Auxiliary 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 DescriptionInstalling a Flash Memory Card PRP Auxiliary Port SignalsAuxiliary 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 Connecting to an AC Power Source Parameter RJ-45Parameter 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 DescriptionRouter Configuration Setup CommandBefore You Begin User Interface Command Modes Global Configuration ModeCisco IOS User Interface User Exec Mode Privileged Exec ModeInterface Configuration Mode Subinterface Configuration ModeROM Monitor Mode Configuration Changes Setup Command Interactive Script Example SDCC1/0 Configuring interface POS1/0 Is this interface in use?yes Configuring Global Parameters PasswordsHost Name Configuring Network Interfaces ProtocolsGRP Ethernet Interfaces PRP Ethernet InterfacesLine Card Interfaces Show version Command Checking the Software VersionRouter# show version Verifying the Running Configuration Settings Show running Config Command ExampleRouter# show running-config 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 CardSpecify a Boot Image Router# configure terminalRouter# format slot0 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 slot0myfile2Copy slot0slot1filename startup-config Router# copy slot0myfile 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