Cisco Systems 12810, 12010, 12410 manual Command Purpose, Boot flash

Page 13

Chapter 4 System Startup and Basic System Configuration

Manually Booting the System

Caution Use the boot flash command with care. Make sure that the flash memory card inserted in slot 0 contains a valid Cisco IOS software image; otherwise, you could instruct the system to boot an invalid image from the flash memory card. Before entering a boot command, always enter the dir slotn: command to examine the contents of a flash memory card.

Table 4-3 Boot Commands

Command

Purpose

 

 

boot

(No argument.) Boots the default image in

 

NVRAM. This image is loaded into memory

 

at the factory.

 

 

boot bootflash: filename

Boots the router using the specified file in

 

NVRAM.

 

 

boot disk0: filename

Boots the file filename from the flash disk in

 

slot 0.

 

 

boot disk1: filename

Boots the file filename from the flash disk in

 

slot 1.

 

 

boot flash

(Does not specify a particular PCMCIA slot.)

 

Attempts to boot the router using the first file

 

from the flash memory card in slot 0.

 

 

boot slot0: filename

Boots the specified file from the linear flash

 

memory card in slot 0.

 

 

boot slot1: filename

Boots the specified file from the linear flash

 

memory card in slot 1.

 

 

boot tftp: filename [host]

Boots the router using the specified file and

or

host name from a TFTP server in the network.

 

boot [host] filename

 

 

 

 

 

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

 

 

 

 

 

 

OL-11496-01

 

 

4-13

 

 

 

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