Appendix C ROM Monitor

Exiting the ROM Monitor

sysret—Displays return information from the last booted system image. This information includes the reason for terminating the image, a stack dump of up to eight frames, and, if an exception is involved, the address where the exception occurred; for example:

rommon 8> sysret System Return Info:

count: 19, reason: user break

pc:0x801111b0,

error address: 0x801111b0

Stack Trace:

 

FP: 0x80005ea8,

PC: 0x801111b0

FP: 0x80005eb4,

PC: 0x80113694

FP: 0x80005f74,

PC: 0x8010eb44

FP: 0x80005f9c,

PC: 0x80008118

FP: 0x80005fac,

PC: 0x80008064

FP: 0x80005fc4,

PC: 0xfff03d70

FP: 0x80005ffc,

PC: 0x00000000

FP: 0x00000000,

PC: 0x00000000

meminfo—Displays size in bytes, starting address, available range of main memory, the starting point and size of packet memory, and size of NVRAM; for example:

rommon 9> meminfo

Main memory size: 256 MB.

Available main memory starts at 0x80012000, size 0x3ffb8 KB IO (packet) memory size: 10 percent of main memory.

NVRAM size: 192 KB

Exiting the ROM Monitor

You must set the configuration register to a value from 0x2 to 0xF for the router to boot a Cisco IOS image from flash memory upon startup or reloading.

The following example shows how to reset the configuration register and cause the router to boot a Cisco IOS image stored in flash memory:

rommon 1 > confreg 0x2101

You must reset or power cycle for new configuration register to take effect:

rommon 2 > boot

The router will boot the Cisco IOS image in flash memory. The configuration register will change to 0x2101 the next time the router is reset or power cycled.

Cisco 1800 Series Integrated Services Routers (Fixed) Software Configuration Guide

 

OL-6426-02

C-9

 

Page 185
Image 185
Cisco Systems OL-6426-02 manual Exiting the ROM Monitor, Rommon 1 confreg