TFTPDNLD in ROMMON mode and licensing flash blocks


As you will see from the INE topology the Cisco 1841's (R4, R5, and R6) require 256MB memory and 64MB flash. Generally the 1841's come with the base 128MB memory and 32MB flash (or no flash at all if you unlucky). So I purchased a three 128MB SODIMMs and three 32MB Compact Flash cards to put in them.

Installing memory in an 1841 router

Installing the memory is easy enough, just take out the one screw and open the case up and install. If you have every installed any memory sticks before then this won't prove complicated. The flash install is just a case of popping out the old one and installing the new one.

You can find Cisco's page on installing the memory here.

The dreaded ROMMON mode

When you first power on the router with the new flash card in it, it will (obviously) be empty, and you will be dropped into the ROMMON mode.

There is the option in ROMMON to download a file from a tftp server, and to do this is relatively straight forward, but the commands are kind of hidden.

If you do a ? at the rommon mode you will see an option for tftpdnld, but first we have to set the system up for the network. The commands to use won't show up if you just do a ? at the rommon prompt, but if you type tftpdnld then you will see what you need to enter.

First we start with setting the IP address, at this stage make sure you have plugged a network cable into the first network port (0/0):

rommon 10 > IP_ADDRESS=192.168.5.250

Then set the subnet mask:

rommon 11 > IP_SUBNET_MASK=255.255.240.0

Then set the default gateway:

rommon 12 > DEFAULT_GATEWAY=192.168.2.1

Now we move on to specifying the tftp details

rommon 13 > TFTP_SERVER=192.168.3.241

And the file:

rommon 14 > TFTP_FILE=c1841-adventerprisek9-mz.124-24.T1.bin

And lastly we start the process by entering the tftpdnld command again:

rommon 15 > tftpdnld

Your screen should look something like this:

tftp setup for rommon tftpdnld

You should see some nice output summarizing your settings, and prompting you to continue:

tftpdnld rommon confirm

And once you confirm that you are happy with the settings rommon should start to download the file you have specified, validate the checksum, and copy it to flash:

loading image from tftp in rommon

Once its done you can type "reset" to restart the router, and, if all is good you will be able to see the router boot up properly, using the new image:

tftp rommon reset

Licensing flash block error

I did get the following errors though "licensing flash block 0 needs to be initialized" and "licensing flash block 1 needs to be initialized":

licensing flash block 0 needs to be initialized

But this is just on the first boot, and once I reloaded the router, the message did not reappear.

CCIE #49337, author of CCNA and Beyond, BGP for Cisco Networks, MPLS for Cisco Networks, VPNs and NAT for Cisco Networks.

Related Posts

Previous
Next Post »