Cisco Systems 12810, 12010, 12410 manual Flash Memory Commands, Pwd Command, Cd Command

Page 49

Chapter 4 System Startup and Basic System Configuration

Using RP Flash Memory Cards

Flash Memory Commands

This section describes console commands that you can use to access the different types of flash memories. Enter these commands from the privileged EXEC mode prompt.

pwd Command

To determine whether the present device you are accessing is the onboard flash SIMM on the RP or a PCMCIA flash memory card, use the pwd command.

This example shows how to access a flash memory card in slot 0 of the RP.

Milo# pwd slot0: Milo#

cd Command

To change access from one type of flash memory device to another, enter the cd device-namecommand.

Where device-namecan be slot0:, slot1:, or bootflash:.

The following example shows the cd command changing access to different devices.

Milo# cd slot1:

Milo# pwd slot1:/

Milo# cd slot0:

Milo# pwd slot0:/

Milo# cd bootflash:

Milo# pwd bootflash:/ Milo#

 

 

Cisco 12010, Cisco 12410, and Cisco 12810 Router Installation and Configuration Guide

 

 

 

 

 

 

OL-11496-01

 

 

4-49

 

 

 

Image 49
Contents System Startup and Basic System Configuration Sources of Cisco IOS Software Preconfiguration RequirementsBoot Process Overview Powering On the Router and Observing the Boot Process LED Display1 Meaning Source ProcessorPRI LED Display Meaning SourceMII Line Card Alphanumeric LED Displays-Partial View Shown Meaning SourceRomi OL-11496-01 Manually Booting the System Dir bootflash Booting from the Cisco IOS Software ImageLocating a Valid Cisco IOS Software Image Dir slot0Boot flash Command PurposeConfiguring the Router Cisco IOS User Interface Cisco IOS User Interface Command ModesPrivileged Exec Mode User Exec ModeInterface Configuration Mode Global Configuration ModeSubinterface Configuration Mode Using Setup for Configuration ChangesMay enter a question mark ? for help SDCC1/0 No ip routing Configuring Global Parameters Using the Setup Facility Configuring Host Name Configuring Protocols Configuring Network InterfacesConfiguring Line Card Interfaces Milo# show version Enter the enable command and password if prompted Using Global Configuration ModeMilo# configure terminal Verifying Running Configuration File SettingsMilo# copy running-config startup-config Router# show running-configSaving the Running Configuration Settings to Nvram Viewing the Running Configuration Settings Configuring the Software Configuration Register Bit Number Hexadecimal Value Meaning/Function Boot Field Setting Software Configuration SettingsCiscobootfieldvalue-processorname Changing Software Configuration Register Settings Miloconfig# config-register 0xvalue Reboot the systemLow-Order Bits in the Software Configuration Register Action/Filename Bit Bit Address net host High-Order Bits in the Software Configuration Register9600 Rommon 1 config-register Recovering a Lost PasswordEnter the initialize command to initialize the router Milo# show startup-config Installing and Removing a Flash Memory Card Using RP Flash Memory CardsOL-11496-01 Installing and Removing a Flash Memory Card Milo# format slot0 Formatting a New Flash Memory CardSpecifying a Cisco IOS Software Image to Boot the System Pwd Command Flash Memory CommandsCd Command Delete Command Dir CommandMilo# dir slot0 Milo# squeeze slot0 Squeeze CommandMiloconfig# boot system flash slot0myfile1 Booting from Flash MemoryCopying Image Files to or From Flash Memory Milo# copy tftpmyfile1 slot0myfile1 Milo# copy tftpfilename bootflashslot0slot1 filenameCopying a Cisco IOS Software Image into a Flash Memory Card Milo# copy tftpnew.image slot0new.image Milo# copy slot1image.new slot0image.new Copying Cisco IOS Software Images Between Flash Memory CardsMilo# configure terminal Copy startup-config slot0 slot1 filename Milo# show bootvarMilo# copy startup-config slot0myfile2 Milo# copy running-config slot0myfile2 Copy running-config slot0slot1filenameMilo# copy slot0myfile startup-config Copy slot0slot1filename startup-configMilo# copy startup-config running-config Recovering from Locked Blocks in Flash Memory Cards Post-Installation Procedures OL-11496-01