|
|
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 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.)
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:
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:
boot#
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.
The ROM monitor consists of the following modes:
You can access these modes by entering the following commands at the ROM monitor prompt:
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.
boot# set ?
A display similar to the following appears:
set baud ={300|1200|2400|4800|9600|19200|38400|57600|115200}
set data-bits ={7|8}
set parity ={none|even|odd}
set stop-bits ={1|2}
set console-flags ={rts|dsr}
set mac-address =X.X.X
set unit-ip =N.N.N.N
set serv-ip =N.N.N.N
set netmask =N.N.N.N
set gate-ip =N.N.N.N
set pkt-timeout =N (seconds)
set tftp-timeout =N (seconds)
set boot-action ={flash|tftp|none}
set debug-flags =N
set file-name ="file-name"
set watchdog ={off|on}
set prompt ="prompt-string"
set ios-conf =N
To configure a parameter, use the following command at the ROM monitor prompt:
set parameter=value
For example, to set the baud rate parameter to 19200, enter the following:
boot# set baud=19200
Table A-1 describes the parameters, their defaults, and which modes they can be configured in.
| 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.
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 | enable |
file-name | Default filename for boot and upload commands, such as c805-y6-mw. | c805-y6-mw | enable |
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 |
boot# help
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).
Table A-2 describes the commands and which modes they can be used in.
| Commands | Description | Mode |
|---|---|---|
boot [flash | tftp] |
| 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 | *] |
| 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]] |
| enable |
set [variable={value | ?}] |
| 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 |
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]
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Wed Jun 16 14:45:57 PDT 1999
Copyright 1989-1999©Cisco Systems Inc.