Cisco Systems 12006, 12406 manual Copy running-config slot0slot1filename

Page 80

Chapter 3 Installing the Router

Using Flash Memory Cards in the RP

Copying a Configuration File from RP DRAM to a Flash Memory Card

To copy the running configuration file from DRAM to a Flash memory card, follow these steps:

Step 1 Enter the command for copying a running configuration file from DRAM to a Flash memory card. The command takes the following form:

copy running-config [slot0:slot1:]filename

where:

running-config

Specifies the DRAM source of the file to be copied.

[slot0: slot1:]filename Specifies the destination of the configuration file to be copied (the Flash memory card inserted in either slot 0 or slot 1) and the name of the new file.

An example of the copy running-config slot0:filename command follows:

Router# copy running-config slot0:myfile2

20575008 bytes available on device slot0, proceed? [confirm] Address or name of remote host [1.1.1.1]?

Loading new.image from 1.1.1.1 (via Ethernet0):

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!![OK - 7799951/15599616 bytes]

CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC Router#

In this example, the exclamation points (!) appear as the source file is being downloaded to the destination device. The CCCCC characters indicate that a cyclic redundancy check (CRC) is being calculated during the downloading process. The CRC verifies that the file has been correctly downloaded to the Flash memory card inserted in PCMCIA slot 0 or the designated destination device.

Step 2 To further verify that the file was copied correctly, enter the dir command at the privileged EXEC mode prompt:

Router# dir slot0:

 

-#-

-length-

-----date/time------

name

1

5200084

May 10 2002 19:24:12

gsr-p-mz.112-8

31215 May 10 2002 20:30:52 myfile1

46176844 May 10 2002 23:04:10 gsr-p-mz.112-8.1

 

Cisco 12006 and Cisco 12406 Router Installation and Configuration Guide

3-80

OL-11497-03

Image 80
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