cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
389
Views
0
Helpful
21
Replies

cannot load ios in ronmon

moman62
Level 1
Level 1

I am trying to load the updated ios in ronmon on Cisco 4331 router and it will not load. I tried using the old tftpdnld command and that did not work either.

rommon 1 > IP_ADDRESS=192.168.0.160
rommon 2 > IP_SUBNET_MASK=255.255.255.0
rommon 3 > TFTP_SERVER=192.168.0.7
rommon 4 > DEFAULT_GATEWAY=192.168.0.1
rommon 5 > TFTP_FILE=isr4300-universalk9.17.09.04a.SPA.bin
rommon 6 > boot tftp:

IP_ADDRESS: 192.168.0.160
IP_SUBNET_MASK: 255.255.255.0
DEFAULT_GATEWAY: 192.168.0.1
TFTP_SERVER: 192.168.0.7
TFTP_FILE: isr4300-universalk9.17.09.04a.SPA.bin
TFTP_MACADDR: AC:F5:E6:0E:5B:AF
ETHER_PORT: 0

rommon 7 >

1 Accepted Solution

Accepted Solutions

Ok, so there is no active boot-variable string.  So I have no idea where the incorrect syntax came from.  

Let's try fixing it by overwriting: 

 

conf t
 boot system flash bootflash:isr4300-universalk9.17.09.04a.SPA.bin
end
wr

After saving the config, check using the command "sh boot".

 

View solution in original post

21 Replies 21

@moman62 

 How about connectivity? Can you ping the tftp server and vice-versa? 

Are your tftp server listening on the right interface of your PC? 

C:\Windows\system32>ping 192.168.0.7

Pinging 192.168.0.7 with 32 bytes of data:
Reply from 192.168.0.7: bytes=32 time<1ms TTL=128
Reply from 192.168.0.7: bytes=32 time<1ms TTL=128
Reply from 192.168.0.7: bytes=32 time<1ms TTL=128
Reply from 192.168.0.7: bytes=32 time<1ms TTL=128

You are ping the PC from the PC, you need to ping the router IP_ADDRESS: 192.168.0.160 from PC

moman62
Level 1
Level 1

can't ping the router from the pc since it's in rommon.

Pinging 192.168.0.160 with 32 bytes of data:
Reply from 192.168.0.201: Destination host unreachable.
Reply from 192.168.0.7: Destination host unreachable.
Reply from 192.168.0.7: Destination host unreachable.
Reply from 192.168.0.7: Destination host unreachable.

 Try to copy the IOS  to the 4331 using usbdriver  instead. You have some connectivity issue. 

can i use any size usb drive? or is there a limitation?

Leo Laohoo
Hall of Fame
Hall of Fame

Copying any file(s) into the flash while the appliance is still in ROMMON is not supported in IOS-XE due to security vulnerability.  

Copy the firmware into a USB flash (FAT16) and then force the router to boot the firmware off the USB flash drive using the following command: 

boot usb0:isr4300-universalk9.17.09.04a.SPA.bin

While in ROMMON, please post the complete output to the command "dir flash:".

rommon 1 > dir usb0:

0 0 drw- System Volume Information
0 5032908 -rw- isr4200_4300_rommon_1612_2r_SPA.pkg
0 763872162 -rw- isr4300-universalk9.17.09.04a.SPA.bin
rommon 2 > dir flash:

0 0 drw- lost+found
0 0 drw- SHARED-IOX
0 272 -rw- mode_event_log
0 0 drw- sysboot
0 0 drw- .prst_sync
0 0 drw- .installer
0 0 drw- .rollback_timer
0 0 drw- core
0 0 drw- .USWAP
0 0 drw- .CRFT
0 0 drw- gs_script
0 137940 -rw- memleak.tcl
0 20109 -rw- ios_core.p7b
0 1923 -rw- trustidrootx3_ca_092024.ca
0 0 drw- virtual-instance
0 0 drw- vman_fdb
0 0 drw- .dbpersist
0 0 drw- tracelogs
0 0 drw- pnp-info
0 0 drw- onep
0 30 -rw- throughput_monitor_params
0 0 drw- license_evlog
0 0 drw- guest-share
0 314 -rw- .iox_dir_list
0 0 drw- docker
0 0 drw- iox_data_share
0 0 drw- iox_host_data_share
0 0 drw- iox
0 0 drw- caf
0 0 drw- pnp-tech

Try this command: 

 

boot usb0:isr4300-universalk9.17.09.04a.SPA.bin

If the router does not boot this firmware, please post the complete output to the ROMMON command of "set". 

if the router boots fine, please post the complete output to the command "sh romvar".

 

ROMMON variables:
PS1 = rommon ! >
BOOT = bootflash/isr4300-universalk9.17.09.04a.SPA.bin
DEVICE_MANAGED_MODE = autonomous
THRPUT =
RET_2_RTS =
BSI = 0
RET_2_RCALTS =
RANDOM_NUM = 1293079797
Router#

how do I keep this from booting back into ronmon?

Post the complete output to the command "sh boot" and "sh version".

Router>en
Router#sh boot
BOOT variable = bootflash/isr4300-universalk9.17.09.04a.SPA.bin
CONFIG_FILE variable does not exist
BOOTLDR variable does not exist
Configuration register is 0x2102

Standby not ready to show bootvar

Router#sh ver
Cisco IOS XE Software, Version 17.09.04a
Cisco IOS Software [Cupertino], ISR Software (X86_64_LINUX_IOSD-UNIVERSALK9-M), Version 17.9.4a, RELEASE SOFTWARE (fc3)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2023 by Cisco Systems, Inc.
Compiled Fri 20-Oct-23 10:43 by mcpre


Cisco IOS-XE software, Copyright (c) 2005-2023 by cisco Systems, Inc.
All rights reserved. Certain components of Cisco IOS-XE software are
licensed under the GNU General Public License ("GPL") Version 2.0. The
software code licensed under GPL Version 2.0 is free software that comes
with ABSOLUTELY NO WARRANTY. You can redistribute and/or modify such
GPL code under the terms of GPL Version 2.0. For more details, see the
documentation or "License Notice" file accompanying the IOS-XE software,
or the applicable URL provided on the flyer accompanying the IOS-XE
software.


ROM: 16.12(2r)

Router uptime is 4 hours, 30 minutes
Uptime for this control processor is 4 hours, 32 minutes
System returned to ROM by Reload Command
System image file is "usb0:isr4300-universalk9.17.09.04a.SPA.bin"
Last reload reason: Reload Command

 

This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

If you require further assistance please contact us by sending email to
export@cisco.com.

 

Suite License Information for Module:'esg'

--------------------------------------------------------------------------------
Suite Suite Current Type Suite Next reboot
--------------------------------------------------------------------------------
FoundationSuiteK9 None Smart License None
securityk9
appxk9

AdvUCSuiteK9 None Smart License None
uck9
cme-srst
cube


Technology Package License Information:

-----------------------------------------------------------------
Technology Technology-package Technology-package
Current Type Next reboot
------------------------------------------------------------------
appxk9 None Smart License None
uck9 None Smart License None
securityk9 None Smart License None
ipbase ipbasek9 Smart License ipbasek9

The current throughput level is 100000 kbps


Smart Licensing Status: Smart Licensing Using Policy

cisco ISR4331/K9 (1RU) processor with 3701723K/3071K bytes of memory.
Processor board ID FLM2315108Q
Router operating mode: Autonomous
3 Gigabit Ethernet interfaces
32768K bytes of non-volatile configuration memory.
8388608K bytes of physical memory.
6598655K bytes of flash memory at bootflash:.
3072000K bytes of USB flash at usb0:.

Configuration register is 0x2102

Router#


@moman62 wrote:
BOOT variable = bootflash/isr4300-universalk9.17.09.04a.SPA.bin​


Boot variable string syntax is incorrect. 

Here is how to correct it:

conf t
 no boot system flash bootflash/isr4300-universalk9.17.09.04a.SPA.bin
 boot system flash bootflash:isr4300-universalk9.17.09.04a.SPA.bin
end
wr

(Make sure the firmware is already in the flash before rebooting the router.)

Router(config)#no boot system flash:isr4300-universalk9.17.09.04a.SPA.bin
%Error parsing bootflash:/isr4300-universalk9.17.09.04a.SPA.bin (No such file or directory)

Review Cisco Networking for a $25 gift card