Cisco Systems 12406, 12006 manual Copying Files Between RP Memory and a Flash Memory Card

Page 77

Chapter 3 Installing the Router

Using Flash Memory Cards in the RP

Copying Files Between RP Memory and a Flash Memory Card

If you do not have access to a TFTP server where you can temporarily store a configuration file, you will need to copy a configuration file to a Flash memory card inserted in PCMCIA slot 0 or slot 1. You can then copy the configuration file back to NVRAM at any time. You can copy either your startup configuration file (from NVRAM) or your running configuration file (from DRAM).

Use the following procedures to first copy the configuration file from either NVRAM or DRAM to a Flash memory card, and to then copy the configuration file from a Flash memory card back to NVRAM:

Copying Configuration Files from RP NVRAM to a Flash Memory Card, page 3-77

Copying a Configuration File from RP DRAM to a Flash Memory Card, page 3-80

Copying a Configuration File from a Flash Memory Card to RP NVRAM, page 3-81

Note You cannot copy files directly into DRAM.

Copying Configuration Files from RP NVRAM to a Flash Memory Card

Use the command copy startup-config[slot0: slot1:] filename for the copy procedure, where startup-configis the source of the file (NVRAM),

[slot0: slot1:] is one of the Flash memory card slots, and filename is the name of the configuration file to be copied. Note that the environmental variable CONFIG_FILE must point to NVRAM (the system default).

 

 

Cisco 12006 and Cisco 12406 Router Installation and Configuration Guide

 

 

 

 

 

 

OL-11497-03

 

 

3-77

 

 

 

Image 77
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 Lower and Upper Center-Mount Brackets Installing Center-Mount Brackets OptionalRepeat through for both upper center-mount brackets Installing the Optional Center-Mount BracketsPower supply Installing the Chassis in a RackOL-11497-03 Supplemental Bonding and Grounding Connections Installing the Chassis on a Tabletop or Flat SurfaceSupplemental Bonding and Grounding Port for Nebs Compliance Crimping the Lug Connecting RP and Line Card CablesChassis Cable-Management Bracket Connecting Alarm Card Cables GRP Console and Auxiliary Ports Connecting to the 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 Port Connections PRP Console and Auxiliary PortsConsole Port Pin Signal Input/Output Description PRP Console Port SignalsAuxiliary Port Pin Signal Installing a Flash Memory CardPRP Auxiliary Port Signals 10 Flash Memory Card Slot Opening 11 RJ-45 and MII Ethernet Connections Connecting the GRP to an Ethernet NetworkMDC Pin1 Out Input/Output Description CodePin Pin Out Input/Output Description CodePin Signal Connecting the PRP to an Ethernet Network14 Using the Ethernet Port on the PRP PRP Ethernet Connections Ethernet Port Pin Signal DescriptionCrossover 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 Cisco IOS Software Images IOS Software Configuration for the RouterConditions to Check Before System Startup Starting the Router and Observing Initial Conditions Overview of the Boot ProcessOL-11497-03 Display Meaning Source RP Alphanumeric LEDRP Interfaces Using the RP LEDs GRP Interfaces Using the GRP LEDs PRP Interfaces Using the PRP LEDs ETH External Network Interface System Configuration DialogueDir bootflash Manually Booting the SystemLocating a Valid Cisco IOS Software Image Dir slot0Command Description Booting from the Cisco IOS Software ImageBefore You Begin Router ConfigurationSetup Command Cisco IOS User Interface User Interface Command ModesGlobal Configuration Mode Privileged Exec Mode User 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 Protocols Configuring Network InterfacesPRP Ethernet Interfaces GRP 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 Reviewing the Running Configuration Settings Saving the Running Configuration Settings to NvramShow startup-config Command Router# copy running-config startup-configNo logging trap Installing the Flash Memory Card in a RP Using Flash Memory Cards in the RPFormatting a Flash Memory Card Removing the Flash Memory Card from an RPRouter# format slot0 Specify a Boot ImageRouter# configure terminal Router# cd slot1 Flash Memory Console CommandsRouter# delete slot0info Router# cd bootflashRouter# squeeze slot0 Routerconfig# boot system flash devicefilename Booting from Flash MemoryRouterconfig# config-reg Ctrl-Z Copying FilesRouter# copy tftpmyfile1 slot0myfile1 Router# copy tftpfilename bootflashslot0slot1 filename Router# copy tftpnew.image slot0new.image Copying a Cisco IOS Software ImageCopying Cisco IOS Software Updates Router# copy slot1image.new slot0image.new Copying Files Between RP Memory and a Flash Memory Card Copy startup-config slot0 slot1filename Router# show bootvarRouter# dir slot0 Router# copy startup-config slot0myfile2Router# copy running-config slot0myfile2 Copy running-config slot0slot1filenameRouter# copy startup-config running-config Copy slot0slot1filename startup-configRouter# copy slot0myfile startup-config Locked Blocks in Flash Memory Cards If You Need More InformationInstalling the Router If You Need More Information OL-11497-03