Table Of Contents
ROM Monitor
Using ROM Monitor
ROM Monitor Modes
Configuring Basic Configuration Parameters
Commands
Booting from a TFTP Server
Upgrading TinyROM Using TFTP
ROM Monitor
This appendix describes the Cisco 805 router ROM monitor. The ROM monitor runs when the router is powered up or reset and helps to initialize the processor hardware and boot the operating system software.
You might need to access the ROM monitor for the following reasons:
•
To reconfigure certain basic configuration parameters, such as the baud rate of the console port
•
To set up your router to boot from a TFTP server on an Ethernet network (rather than to boot from Flash memory, which is the default)
To use the ROM monitor, you must connect a terminal or PC to the light-blue console port on the router. (For information on making this connection, see the Cisco 805 Router Hardware Installation Guide.)
Using ROM Monitor
To use the ROM monitor, perform the following steps:
Step 1
Determine whether the Flash memory contains a software image or not.
The Flash memory contains a software image unless you deleted it by using the ROM monitor erase command.
Step 2
Reload the software by doing one of the following:
•
Enter the following command in privileged EXEC mode:
router# reload
•
Turn the router to STANDBY, wait 5 seconds, and then turn it to ON again.
Step 3
Perform this step only if Flash memory contains a software image. Before the terminal or PC displays Boot..,...(approximately 10 seconds), press Escape, Control-C, or Break.
The router enters the ROM monitor as indicated by the following prompt:
While in the ROM monitor, you can access basic configuration parameters and commands. The parameters and commands that you can access depends on the mode you are in. For more information on modes, see the next section. For information on parameters, see the "Configuring Basic Configuration Parameters" section later in this appendix. For information on commands, see the "Commands" section later in this appendix.
ROM Monitor Modes
The ROM monitor consists of the following modes:
•
Enable—You can set all parameters and issue all commands in enable mode. By default, you are in enable mode when you enter the ROM monitor (boot #).
•
Disable—You can set a small subset of parameters and issue a small subset commands in disable mode. If you set up a ROM monitor password, you are in disable mode when you enter the ROM monitor (boot >).
Note
Cisco does not recommend setting a ROM monitor password. The only situation in which you should set a password is if you allow remote access via a modem to the ROM monitor. If you set this password, you will be in disable mode when you enter the ROM monitor and must enter the password if you want to enter enable mode. If you forget this password, you must contact the Cisco Technical Assistance Center to recover it.
You can access these modes by entering the following commands at the ROM monitor prompt:
•
To access enable mode, enter the enable command.
•
To access disable mode, enter the disable command.
The parameters and commands that you can access depends on the mode you are in. For more information on parameters, commands, and modes, see the "Configuring Basic Configuration Parameters" section and the "Commands" section later in this appendix.
Configuring Basic Configuration Parameters
To access a listing of the basic configuration parameters and their possible settings, enter the following command:
A display similar to the following appears:
set baud ={300|1200|2400|4800|9600|19200|38400|57600|115200}
set parity ={none|even|odd}
set console-flags ={rts|dsr}
set pkt-timeout =N (seconds)
set tftp-timeout =N (seconds)
set boot-action ={flash|tftp|none}
set file-name ="file-name"
set prompt ="prompt-string"
Note
This display shows all available parameters. The parameters that actually display depends on which mode you are in. For information on modes, see the "ROM Monitor Modes" section earlier in this appendix.
To configure a parameter, use the following command at the ROM monitor prompt:
For example, to set the baud rate parameter to 19200, enter the following:
describes the parameters, their defaults, and which modes they can be configured in.
Table A-1 Basic Configuration Parameters
Parameter
|
Description
|
Default
|
Modes
|
baud1
|
Baud rate of console port.
|
9600
|
enable
|
data-bits1
|
Data bits of console port.
|
8
|
enable
|
parity1
|
Parity of console port.
|
-
|
enable
|
stop-bits1
|
Stop bits of console port.
|
1
|
enable
|
console-flags1
|
Flags for console port.
• rts—the DTE device drives RTS pin on console port.
• dsr—the DSR pin is not asserted until the Cisco IOS software boots.
Enter 1 for rts, 2 for dsr, or 3 for both.
|
0
|
enable
|
mac-address
|
Ethernet MAC address for your router, such as 0BAD.1BAD.2BAD.
|
xxxx.xxxx.xxxx (Factory sets this value.)
|
enable
|
unit-ip
|
IP address of your router.
|
0.0.0.0
|
enable
|
serv-ip
|
IP address of your TFTP server. Used only if router is set up to boot from a TFTP server on your network.
|
0.0.0.0
|
enable
|
netmask
|
Subnet mask for IP address.
|
0.0.0.0
|
enable
|
gate-ip
|
Default gateway IP address. Used only if router is set up to boot from a TFTP server and if the server is on a different subnet.
|
0.0.0.0
|
enable
|
pkt-timeout
|
Number of seconds before router retries a TFTP ACK or RRQ.
|
4
|
enable
|
tftp-timeout
|
Number of seconds before TFTP ACK or RRQ fails.
|
16
|
enable
|
boot-action
|
Action that router takes on power up:
• flash—run filename in Flash memory.
• tftp—load filename (software image or script) on TFTP server, then run it.
• none—enter command-line interface (CLI), and wait for user input.
|
flash
|
enable
|
file-name
|
Default filename for boot and upload commands, such as c805-y6-mw.
|
c805-y6-mw
|
enable
|
watchdog2 , 3
|
Automatic reboot if router becomes nonfunctional.
|
on
|
enable
|
prompt
|
CLI prompt string.
|
boot #
|
disable, enable
|
ios-conf
|
Reset the configuration register. Equivalent to config-register software command.
|
0
|
enable
|
Commands
To access a listing of the ROM monitor commands and a brief description of each command, enter the following command:
A display similar to the following appears:
boot Execute image or CLI command script.
delete Deletes file-name from flash (8th delete is permanent).
disable Disable privileged commands.
echo Display arguments (to test CLI behavior).
enable Enable privileged or debug commands.
flash Single cycle id/erase/write test for each flash chip.
help Display help for command (* for all).
list List files currently in ram and saved in flash.
load Load saved boot environment from flash.
passwd Set or change the ROM password.
reset Reset console port to current parameters.
set Set boot environment values.
save Save boot environment or loaded file to flash.
show Show current or saved boot environment.
test Initiate endless H/W bringup testing.
upload Load image or configuration data into RAM.
undelete Undelete file-name (maximum of 8 deletes & undeletes).
Note
This display shows all available commands. The commands that actually display depend on which mode you are in. For information on modes, see the "ROM Monitor Modes" section earlier in this appendix.
describes the commands and which modes they can be used in.
Table A-2 ROM Monitor Commands
Commands
|
Description
|
Mode
|
boot [flash | tftp] [= filename]
|
• By default, router boots a loaded file if present.
• If you specify flash, router executes file stored in Flash memory.
• If you specify tftp, router loads TFTP file (image or script) and executes it.
|
enable
|
delete filename
|
Marks specified filename as deleted from Flash memory. (You need to specify pathname as well as filename.) The eighth time you delete a specified filename, the file is permanently deleted.
|
enable
|
disable
|
Enter disable mode, which has access to fewer parameters and commands than enable mode.
|
disable, enable
|
echo [arguments]
|
Display arguments to test the CLI.
|
enable
|
enable
|
Enter enable mode.
|
disable, enable
|
erase
|
Erases files marked for deletion from Flash memory.
|
enable
|
help [command | *]
|
• Enter help or help * to display a brief description of each available command.
• Enter help command to display a brief description of a particular command.
|
disable, enable
|
list
|
List files currently in RAM and saved in Flash memory.
|
disable, enable
|
load
|
Load current software configuration stored in Flash memory.
|
disable, enable
|
passwd
|
Set or change the ROM monitor password, which protects the enable-mode commands. Cisco recommends setting up this password only if you allow remote access to the ROM monitor. If you set up a password, you will enter the disable mode in the ROM monitor and must enter the password if you want to enter the enable mode. If you forget the password, you must contact the Cisco Technical Assistance Center to recover it.
|
enable
|
reboot
|
Resets the hardware, and boots the software.
|
enable
|
reset
|
Reset console port to recognize reconfigured parameters.
|
enable
|
save [file [= file-name]]
|
• Enter save to save current configuration to Flash memory.
• Enter save file to save loaded file to Flash memory as the current filename.
• Enter save file=filename to save loaded file to Flash memory as the specified filename.
• Enter list to determine filename.
|
enable
|
set [variable={value | ?}] [? [variables | *]]
|
• Enter set to display all parameters and their current values.
• Enter set ? to display all parameters and their possible values.
• Enter set ? variable to display a description of a particular parameter and its possible values or set ? * to display a description of all available parameters and their possible values.
• Enter set variable=value to configure a parameter. Enter set variable=? to display a description of the specified parameter and its possible values.
|
disable, enable
|
show [saved]
|
Show current or saved configuration.
|
disable, enable
|
upload [serial | tftp | xmodem] [= filename]
|
Load software image or configuration data from the specified source into RAM.
|
enable
|
undelete [filename]
|
Undo the deletion of specified filename up to eight times.
|
enable
|
Booting from a TFTP Server
Before setting up your router to boot from a TFTP server, you must understand that booting from a TFTP server consumes more dynamic RAM (DRAM) than booting from Flash memory. The amount of DRAM lost is equivalent to the software image size and is displayed when the router boots.
To set up your router to boot from a TFTP server that is on an Ethernet network, follow these steps:
Step 1
Set IP addresses for the router and the TFTP server by entering the following commands:
set unit-ip=ip-address
set serv-ip=ip-address
Step 2
Set up the subnet mask by entering the following command:
set netmask=subnet-mask
Step 3
If the TFTP server is on a different subnet than the router, set up an IP address for a gateway server by entering the following command:
set gate-ip=ip-address
Step 4
Set up the filename for the software image or script that will reside on the TFTP server by entering the following command:
set file-name=filename
Your TFTP server configuration determines the filename.
Step 5
Boot the software by using one of the following methods:
(a)
If you want to set up the router to boot from the TFTP server each time you power-on the router, enter the following command:
boot# set boot-action=tftp
Save the current configuration to Flash memory by entering the save command. Turn the power to STANDBY and then to ON again.
(b)
If you want to boot from the TFTP server now but not each time you power-on the router, enter the following command:
boot# boot tftp=[filename]
Upgrading TinyROM Using TFTP
Follow these steps to upgrade the TinyROM using Trivial File Transfer Protocol (TFTP). This procedure is based on the following network example:
•
Cisco 800 series router with an IP address of 10.1.0.1 and a subnet mask of 255.255.255.0
•
TFTP server with an IP address of 10.2.0.2
•
Gateway server with an IP address of 10.1.0.2
Step 1
To download the current version of TinyROM from the Cisco Web site, go to the following URL: http://www.cisco.com
Step 2
Click Login to log into CCO. When prompted, enter your username and password.
Step 3
Go to the Software Center: Access Products: 800 Series
Step 4
Transfer the TinyROM image to your TFTP server. (Be sure to use binary transfer mode when any TCP/IP transfer method such as TFTP or FTP is used.)
Note
The following upgrade procedure is initiated from TinyROM (also known as boot) mode. The ISDN connection is unavailable during the upgrade process.
Step 5
Enter the TinyROM by performing the following steps:
(a)
Reload the software by doing one of the following:
–
Enter the following command from privileged EXEC mode:
–
Turn the router to standby, wait 5 seconds, then turn it on again.
(b)
Immediately press Escape, Control-C, or Break.
This forces the router to enter the TinyROM as indicated by the following prompt:
Step 6
Set IP address for the TFTP server:
boot# set serv-ip = 10.2.0.2
Step 7
Set IP address and subnet mask for the router:
boot# set unit-ip = 10.1.0.1
boot# set netmask = 255.255.255.0
Step 8
If the TFTP server is on a different subnet than the router, set up an IP address for a gateway server:
boot# set gate-ip = 10.1.0.2
Step 9
Download the software image from the TFTP server:
boot# upload tftp =c800u-tinyrom-mw
upload: succeeded (4 seconds).
Step 10
When the transfer is complete, save the new TinyROM image to Flash memory:
The router then saves the new TinyROM to Flash memory and automatically reboots into normal running mode.