cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
789
Views
0
Helpful
8
Replies

Cisco 4331 OS install

alru0025
Level 1
Level 1

Hi, 

I have Cisco 4331 router and I am trying to install OS on it via tftp but it's not working for some reasons. I tried using USB but the router doesn't see the USB when plugged in. 

The router boots into rommon.

When I enter the following it works

IP_ADDRESS=10.1.1.1

IP_SUBNET_MASK=255.0.0.0

DEFAULT_GATEWAY=10.1.1.2

TFTP_SERVER=10.1.1.2

TFTP_FILE=isr4300-universalk9.16.09.04.SPA.bin

but once I give the router boot tftp:
it looks for the file but doesn't find it and comes back with can't find file something along those lines.

MY tftp server is running and my PC is to have 10.1.1.2 IP address

My PC IP settings

IP: 10.1.1.2

MASK: 255.0.0.0

Default: 10.1.1.1

Any help with would be great!

8 Replies 8

@alru0025 

 This can be connectivity issue. Can you ping the router from PC and vice-versa?

Or it can be permission on the TFTP side.

Also, make sure you select the right interface on the PC for the TFTP server

I can ping my self 10.1.1.2 but not the router can't figure out why. put I did set the router on 10.1.1.1 I request timeout, and I did plug my ethernet cable into port ether 0 right next to the console cable. I did select the right interface on the pc for the TFTP server.  

can you ping from rommon?

Yes, I believe  you can ping from rommon.

 

Leo Laohoo
Hall of Fame
Hall of Fame

The flash/bootflash is "locked up" when the router is in ROMMON.  This behaviour is a "security" feature due to the following security vulnerabilities: 

If the firmware is in a USB flash drive, it is still faster and easier to boot the router using the USB flash and then copy the firmware back into the router.  

Do the following: 
1.  Boot the router using the firmware from the USB flash:  

boot usb0:filename.bin

2.  As soon as the router boots normally, copy the firmware back into the flash/bootflash of the router: 

copy usb0:filename.bin flash:

3.  Convert the firmware using Install Mode:  Cisco ISR & ASR 1k Routers: IOS-XE/Firmware Upgrade (Install Mode)

I got the usb to boot the OS file but know it stuck at the boot process.

rommon 3 > boot usb0:isr4300-universalk9.16.09.04.SPA.bin
Located isr4300-universalk9.16.09.04.SPA.bin
###################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################

 

Image Base is: 0x51AB8018
Image Size is: 0x22E05203
Package header rev 3 structure detected
Package type:30000, flags:0x0
IsoSize = 554385408
Parsing package TLV info:
000: 000000090000001D4B45595F544C565F - KEY_TLV_
010: 5041434B4147455F434F4D5041544942 - PACKAGE_COMPATIB
020: 494C495459000000000000090000000B - ILITY
030: 4652555F52505F545950450000000009 - FRU_RP_TYPE
040: 000000184B45595F544C565F5041434B - KEY_TLV_PACK
050: 4147455F424F4F544152434800000009 - AGE_BOOTARCH
060: 0000000E415243485F693638365F5459 - ARCH_i686_TY
070: 5045000000000009000000144B45595F - PE KEY_
080: 544C565F424F4152445F434F4D504154 - TLV_BOARD_COMPAT
090: 0000000900000012424F4152445F6973 - BOARD_is
0A0: 72343330305F54595045000000000009 - r4300_TYPE
0B0: 000000184B45595F544C565F43525950 - KEY_TLV_CRYP
0C0: 544F5F4B4559535452494E4700000009 - TO_KEYSTRING

TLV: T=9, L=29, V=KEY_TLV_PACKAGE_COMPATIBILITY
TLV: T=9, L=11, V=FRU_RP_TYPE
TLV: T=9, L=24, V=KEY_TLV_PACKAGE_BOOTARCH
TLV: T=9, L=14, V=ARCH_i686_TYPE
TLV: T=9, L=20, V=KEY_TLV_BOARD_COMPAT
TLV: T=9, L=18, V=BOARD_isr4300_TYPE
TLV: T=9, L=24, V=KEY_TLV_CRYPTO_KEYSTRING
TLV: T=9, L=10, V=EnCrYpTiOn
TLV: T=9, L=11, V=CW_BEGIN=$$
TLV: T=9, L=19, V=CW_FAMILY=$isr4300$
TLV: T=9, L=47, V=CW_IMAGE=$isr4300-universalk9.16.09.04.SPA.bin$
TLV: T=9, L=19, V=CW_VERSION=$16.9.4$
TLV: T=9, L=48, V=CW_FULL_VERSION=$16.9.4.0.3431.1566523707..Fuji$
TLV: T=9, L=52, V=CW_DESCRIPTION=$Cisco IOS Software, IOS-XE Software$
TLV: T=9, L=9, V=CW_END=$$
Found DIGISIGN TLV type 12 length = 392
RSA Self Test Passed

Expected hash:
DDAF35A193617ABACC417349AE204131
12E6FA4E89A97EA20A9EEEE64B55D39A
2192992A274FC1A836BA3C23A3FEEBBD
454D4423643CE80E2A9AC94FA54CA49F

Obtained hash:
DDAF35A193617ABACC417349AE204131
12E6FA4E89A97EA20A9EEEE64B55D39A
2192992A274FC1A836BA3C23A3FEEBBD
454D4423643CE80E2A9AC94FA54CA49F
Sha512 Self Test Passed
Found package arch type ARCH_i686_TYPE
Found package FRU type FRU_RP_TYPE
Calculating SHA-1 hash...Validate package: SHA-1 hash:
calculated 87D928C4:9CBD8EFB:40C0A06B:F2EBFD57:498F302B
expected 87D928C4:9CBD8EFB:40C0A06B:F2EBFD57:498F302B

RSA Signed RELEASE Image Signature Verification Successful.
Image validated
Booting image with bootparam="root=/dev/ram rw console=tty0,9600n8 max_loop=64 pciehp.pciehp_force bdinfo_start=0x7DD29018 bdinfo_size=0x35C34 rd_start=0x7638D000 rd_size=0x18ADBC7 pkg_start=0x30A04000 pkg_size=0x210B4000 SR_BOOT=usb0:isr4300-universalk9.16.09.04.SPA.bin"

stuck here ^

 

  Edited/added :==>  https://www.cisco.com/c/en/us/td/docs/routers/access/4400/cpld/isr4400_hwfp.html#pgfId-1077103
                                Check Table 5

- A possible cause is older ROMMON version on the ISR and or not compatible with isr4300-universalk9.16.09.04.SPA.bin
               (=> check release notes for intended version and look for notes related to ROMMON)

 M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

Reboot the router.  (Do not force the router to boot the firmware.)

Post the entire bootup process.

How do I do that, can you provide steps?