04-08-2020 04:57 AM
Hi there,
I have a cisco 4331 router that I am configuring for a remote office. Soneone else was attempting to configure it and I have had to take over. I did a write erase to get back to factory settings. There were some issues showing on bootup so I tried changing to another ios version in the bootflash. Since I did this when the router boots I get the following:
Initializing Hardware ...
Checking for PCIe device presence...done
System integrity status: 0x610
Rom image verified correctly
System Bootstrap, Version 16.7(3r), RELEASE SOFTWARE
Copyright (c) 1994-2017 by cisco Systems, Inc.
Current image running: Boot ROM0
Last reset cause: LocalSoft
ISR4331/K9 platform with 4194304 Kbytes of main memory
........
Illegal IP address
The following variables are REQUIRED for tftp
IP_ADDRESS: The IP address for this unit
IP_SUBNET_MASK: The subnet mask for this unit
DEFAULT_GATEWAY: The default gateway for this unit
TFTP_SERVER: The IP address of the server to fetch from
TFTP_FILE: The filename to fetch
........
autoboot: boot failed, restarting...
Resetting .......
It reboots 12 times and then eventually boots up. I followed a cisco artlcle (https://www.cisco.com/c/en/us/support/docs/switches/catalyst-4000-series-switches/24061-149.html#reboot) and I could see the boot variable contains a list of bootflash files. The first one is pointing to tftp which is why I get the messages above.
I got a new IOS version , isr4300-universalk9.16.03.05.SPA.bin, from our supplier and I tried to change to using this one. However when I try to issue the no boot system bootflash command it looks like it works but the list of files are still there.
How can I clear the boot variable and just add in the bootflash I want to use?
04-08-2020 05:22 AM
Hi
to clear the current invalid boot variable, which defines the file to load.
rommon 6 >unset boot
04-08-2020 11:13 AM
I tried that and it does remove it but as soon as I reset the router it comes back and the settings are back. This is a bit of a long post but here it goes. this is what I have tried:
When I changed the confreg to 0x2142 and reset the router it booted up but still the same messages. I waited for it to repeat the 12 cycles of it and when it came back with the router> prompt I went into enable mode and typed config-register 0x2102 but it gave me the following:
% Bad IP address or host name% Unknown command or computer name, or unable to find computer address
I then reloaded it and went back into rommon and changed it there. I reset the router but it’s till coming up with the same messages.
Initializing Hardware ...
Checking for PCIe device presence...done
System integrity status: 0x610
Rom image verified correctly
System Bootstrap, Version 16.7(3r), RELEASE SOFTWARE
Copyright (c) 1994-2017 by cisco Systems, Inc.
Current image running: Boot ROM0
Last reset cause: LocalSoft
ISR4331/K9 platform with 4194304 Kbytes of main memory
........
Illegal IP address
The following variables are REQUIRED for tftp
IP_ADDRESS: The IP address for this unit
IP_SUBNET_MASK: The subnet mask for this unit
DEFAULT_GATEWAY: The default gateway for this unit
TFTP_SERVER: The IP address of the server to fetch from
TFTP_FILE: The filename to fetch
........
autoboot: boot failed, restarting...
Resetting .......
I had a look at https://www.cisco.com/c/en/us/support/docs/switches/catalyst-4000-series-switches/24061-149.html#reboot and followed the instructions.
rommon 3 > dir bootflash:
0 0 drw- lost+found
0 0 drw- .prst_sync
0 486645440 -rw- isr4300-universalk9.03.16.04b.S.155-3.S4b-ext.SPA.bin
0 0 drw- .installer
0 0 drw- core
0 0 drw- .rollback_timer
0 0 -rw- tracelogs.634
0 0 drw- tracelogs
0 30 -rw- throughput_monitor_params
0 550218614 -rw- isr4300-universalk9.16.06.05.SPA.bin
0 459987508 -rw- isr4300-universalk9.16.03.05.SPA.bin – This is the image that I want to use.
I then typed
rommon 4 > boot bootflash:isr4300-universalk9.16.03.05.SPA.bin
Located isr4300-universalk9.16.03.05.SPA.bin
#############################################
Package header rev 1 structure detected
IsoSize = 459982624
Calculating SHA-1 hash...Validate package: SHA-1 hash:
calculated F5CD08C4:141EE5D5:A659925C:C9C324C9:0B097DC4
expected F5CD08C4:141EE5D5:A659925C:C9C324C9:0B097DC4
RSA Signed RELEASE Image Signature Verification Successful.
Image validated
It continues loading . Here is a sample of some of the output when it loads
*Apr 8 17:23:13.321: %IOS_LICENSE_IMAGE_APPLICATION-6-LICENSE_LEVEL: Module name = esg Next reboot level = uck9 and License = uck9
*Apr 8 17:23:13.351: %IOS_LICENSE_IMAGE_APPLICATION-6-LICENSE_LEVEL: Module name = esg Next reboot level = ipbasek9 and License = ipbasek9
*Apr 8 17:23:13.500: %ISR_THROUGHPUT-6-LEVEL: Throughput level has been set to 100000 kbps
*Apr 8 17:23:19.169: dev_pluggable_optics_selftest attribute table internally inconsistent @ 0x125
*Apr 8 17:23:20.066: %SYS-2-CCA_INT_ERR: CCA Detected Logic Error, code = 12
-Traceback= 1#53c6ec86231896a591982be3d7c79c41 :564D750E6000+9CEC932 :564D750E6000+9CF0FC3 :564D750E6000+9CDED15 :564D750E6000+9CF124B :564D750E6000+728BF03 :564D750E6000+B7A8771 :564D750E6000+B14A742 :564D750E6000+AC87036 :564D750E6000+AC8637E :564D750E6000+AC85A69 :564D750E6000+AC8585D :564D750E6000+AC857CC :564D750E6000+AC6D21C :564D750E6000+AC6C404 :564D750E6000+BE7D51D :564D750E6000+BE7D9F7
*Apr 8 17:23:20.090: %SYS-2-CCA_INT_ERR: CCA Detected Logic Error, code = 12
-Traceback= 1#53c6ec86231896a591982be3d7c79c41 :564D750E6000+9CEC932 :564D750E6000+9CF0FC3 :564D750E6000+9CDED15 :564D750E6000+9CF124B :564D750E6000+728BF03 :564D750E6000+B7A8771 :564D750E6000+B14A742 :564D750E6000+AC87036 :564D750E6000+AC8637E :564D750E6000+AC85A69 :564D750E6000+AC8585D :564D750E6000+AC857CC :564D750E6000+AC6D21C :564D750E6000+AC6C404 :564D750E6000+BE7D51D :564D750E6000+BE7D9F7
*Apr 8 17:23:20.103: %SYS-2-CCA_INT_ERR: CCA Detected Logic Error, code = 12
-Traceback= 1#53c6ec86231896a591982be3d7c79c41 :564D750E6000+9CEC932 :564D750E6000+9CF0FC3 :564D750E6000+9CDED15 :564D750E6000+9CF124B :564D750E6000+728BF03 :564D750E6000+B7A8771 :564D750E6000+B14A742 :564D750E6000+AC87036 :564D750E6000+AC8637E :564D750E6000+AC85A69 :564D750E6000+AC8585D :564D750E6000+AC857CC :564D750E6000+AC6D21C :564D750E6000+AC6C404 :564D750E6000+BE7D51D :564D750E6000+BE7D9F7
*Apr 8 17:23:20.106: %SYS-2-CCA_INT_ERR: CCA Detected Logic Error, code = 12
-Traceback= 1#53c6ec86231896a591982be3d7c79c41 :564D750E6000+9CEC932 :564D750E6000+9CF0FC3 :564D750E6000+9CDED15 :564D750E6000+9CF124B :564D750E6000+728BF03 :564D750E6000+B7A8771 :564D750E6000+B14A742 :564D750E6000+AC87036 :564D750E6000+AC8637E :564D750E6000+AC85A69 :564D750E6000+AC8585D :564D750E6000+AC857CC :564D750E6000+AC6D21C :564D750E6000+AC6C404 :564D750E6000+BE7D51D :564D750E6000+BE7D9F7
*Apr 8 17:23:20.150: %SYS-2-CCA_INT_ERR: CCA Detected Logic Error, code = 12
-Traceback= 1#53c6ec86231896a591982be3d7c79c41 :564D750E6000+9CEC932 :564D750E6000+9CF0FC3 :564D750E6000+9CDED15 :564D750E6000+9CF124B :564D750E6000+728BF03 :564D750E6000+B7A8771 :564D750E6000+B7EC0F7 :564D750E6000+73DF76B :564D750E6000+73DE3CE
*Apr 8 17:23:20.151: %SYS-2-CCA_INT_ERR: CCA Detected Logic Error, code = 12
-Traceback= 1#53c6ec86231896a591982be3d7c79c41 :564D750E6000+9CEC932 :564D750E6000+9CF0FC3 :564D750E6000+9CDED15 :564D750E6000+9CF124B :564D750E6000+728BF03 :564D750E6000+B7A8771 :564D750E6000+B7EC0F7 :564D750E6000+73DF76B :564D750E6000+73DE3CE
*Apr 8 17:23:20.152: %SYS-2-CCA_INT_ERR: CCA Detected Logic Error, code = 12
-Traceback= 1#53c6ec86231896a591982be3d7c79c41 :564D750E6000+9CEC932 :564D750E6000+9CF0FC3 :564D750E6000+9CDED15 :564D750E6000+9CF124B :564D750E6000+728BF03 :564D750E6000+B7A8771 :564D750E6000+B7EC0F7 :564D750E6000+73DF76B :564D750E6000+73DE3CE
*Apr 8 17:23:20.152: %SYS-2-CCA_INT_ERR: CCA Detected Logic Error, code = 12
-Traceback= 1#53c6ec86231896a591982be3d7c79c41 :564D750E6000+9CEC932 :564D750E6000+9CF0FC3 :564D750E6000+9CDED15 :564D750E6000+9CF124B :564D750E6000+728BF03 :564D750E6000+B7A8771 :564D750E6000+B7EC0F7 :564D750E6000+73DF76B :564D750E6000+73DE3CE
*Apr 8 17:23:21.468: %NBAR-6-CACHE_SYNC_INFO: Cache synchronization. Initialized.
*Apr 8 17:23:22.570: %SPANTREE-5-EXTENDED_SYSID: Extended SysId enabled for type vlan
*Apr 8 17:23:22.948: %VOICE_HA-7-STATUS: CUBE HA-supported platform detected.
*Apr 8 17:23:23.458: %LINK-3-UPDOWN: Interface Lsmpi0, changed state to up
*Apr 8 17:23:23.481: %LINK-3-UPDOWN: Interface EOBC0, changed state to up
*Apr 8 17:23:23.482: %LINEPROTO-5-UPDOWN: Line protocol on Interface VoIP-Null0, changed state to up
*Apr 8 17:23:23.483: %LINEPROTO-5-UPDOWN: Line protocol on Interface LI-Null0, changed state to up
*Apr 8 17:23:23.484: %LINK-3-UPDOWN: Interface GigabitEthernet0, changed state to down
*Apr 8 17:23:23.497: %LINK-3-UPDOWN: Interface LIIN0, changed state to up
*Apr 8 17:23:23.815: %VOICE_HA-7-STATUS: Create VOICE HA INFRA processes now....
*Apr 8 17:23:23.819: %LINK-3-UPDOWN: Interface Basic Rate Interface 0/1/0, changed state to up
*Apr 8 17:23:23.819: %LINK-3-UPDOWN: Interface Basic Rate Interface 0/1/0, changed state to up
*Apr 8 17:24:03.936: %DSPRM-5-UP_DOWN: DSP 1 in subslot 0/1, changed state to up
*Apr 8 17:24:04.032: %LINK-3-UPDOWN: Interface BRI0/2/0:1, changed state to down
*Apr 8 17:24:04.033: %LINK-3-UPDOWN: Interface BRI0/2/0:2, changed state to down
*Apr 8 17:24:04.039: %LINK-3-UPDOWN: Interface BRI0/2/1:1, changed state to down
*Apr 8 17:24:04.040: %LINK-3-UPDOWN: Interface BRI0/2/1:2, changed state to down
*Apr 8 17:24:04.043: %SPA_OIR-6-ONLINECARD: SPA (NIM-2BRI-NT/TE) online in subslot 0/2
*Apr 8 17:24:04.082: %LINK-3-UPDOWN: Interface BRI0/2/0:0, changed state to up
*Apr 8 17:24:04.089: %LINK-3-UPDOWN: Interface BRI0/2/1:0, changed state to up
*Apr 8 17:24:04.130: %DSPRM-5-UP_DOWN: DSP 1 in subslot 0/2, changed state to up
*Apr 8 17:24:05.033: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0/2/0:1, changed state to down
*Apr 8 17:24:05.033: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0/2/0:2, changed state to down
*Apr 8 17:24:05.039: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0/2/1:1, changed state to down
*Apr 8 17:24:05.041: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0/2/1:2, changed state to down
*Apr 8 17:24:06.070: ***********************************************************
Detailed call stats collection has been turned on
Use "media disable-detailed-stats" under "voice service voip"to turn it off
***********************************************************
*Apr 8 17:24:08.040: %LINK-3-UPDOWN: Interface Service-Engine0/1/2, changed state to up
*Apr 8 17:24:09.040: %LINEPROTO-5-UPDOWN: Line protocol on Interface Service-Engine0/1/2, changed state to up
*Apr 8 17:24:10.335: %LINK-3-UPDOWN: Interface Service-Engine0/2/2, changed state to up
*Apr 8 17:24:11.335: %LINEPROTO-5-UPDOWN: Line protocol on Interface Service-Engine0/2/2, changed state to up
rtr>en
Password:
rtr#
It loads with the config I had on it.
rtr#dir bootflash:
Directory of bootflash:/
11 drwx 16384 Dec 21 2018 18:37:12 +00:00 lost+found
32577 drwx 4096 Apr 8 2020 17:23:20 +00:00 .prst_sync
12 -rw- 486645440 Dec 21 2018 18:46:59 +00:00 isr4300-universalk9.03.16.04b.S.155-3.S4b-ext.SPA.bin
65153 drwx 4096 Dec 21 2018 18:38:12 +00:00 .installer
358337 drwx 4096 Dec 21 2018 18:59:42 +00:00 core
293185 drwx 4096 Dec 21 2018 18:58:21 +00:00 .rollback_timer
13 -rw- 0 Dec 21 2018 18:58:32 +00:00 tracelogs.634
309473 drwx 40960 Apr 8 2020 17:23:32 +00:00 tracelogs
14 -rw- 30 Apr 8 2020 17:23:21 +00:00 throughput_monitor_params
15 -rw- 550218614 May 22 2019 11:14:39 +00:00 isr4300-universalk9.16.06.05.SPA.bin
16 -rw- 459987508 Apr 7 2020 13:33:43 +00:00 isr4300-universalk9.16.03.05.SPA.bin
3149967360 bytes total (1482014720 bytes free)
Here is the issue:
rtr#show bootvar
BOOT variable = tftp:/bootflash/isr4300-universalk9.16.06.05.SPA.bin 255.255.255.255,12;tftp:isr4300-universalk9.16.03.05.SPA 255.255.255.255,12;bootflash:isr4300-universalk9.16.03.05.SPA.bin,1;
CONFIG_FILE variable does not exist
BOOTLDR variable does not exist
Configuration register is 0x2102
Standby not ready to show bootvar
As you can see the BOOT variable has a list of files. I just want it to use the one I want which is the final one. The first 2 are referencing a tftp server which I don’t have. How do I get rid of this?
I’ve tried entering
no boot system tftp bootflash/ isr4300-universalk9.16.06.05.SPA.bin
no boot system tftp bootflash/ isr4300-universalk9.16.03.05.SPA9
It looks like it takes ok but when I do show bootvar again they are still there.
rtr#show bootvar
BOOT variable = tftp:/bootflash/isr4300-universalk9.16.06.05.SPA.bin 255.255.255.255,12;tftp:isr4300-universalk9.16.03.05.SPA 255.255.255.255,12;bootflash:isr4300-universalk9.16.03.05.SPA.bin,1;
CONFIG_FILE variable does not exist
BOOTLDR variable does not exist
Configuration register is 0x2102
Standby not ready to show bootvar
I’ve then done a reload and went back into ROMMON and tried the following:
rommon 2 > set
PS1=rommon ! >
ETHER_SPEED_MODE=4
TFTP_BLKSIZE=512
MCP_STARTUP_TRACEFLAGS=00000000:00000000
LICENSE_SUITE=
LICENSE_BOOT_LEVEL=
TFTP_FILE=/bootflash/isr4300-universalk9.16.06.05.SPA.bin
BOOT=tftp:/bootflash/isr4300-universalk9.16.06.05.SPA.bin 255.255.255.255,12;tftp:isr4300-universalk9.16.03.05.SPA 255.255.255.255,12;bootflash:isr4300-universalk9.16.03.05.SPA.bin,1;
BSI=0
RANDOM_NUM=29256825
RET_2_RTS=17:34:37 UTC Wed Apr 8 2020
RET_2_RCALTS=1586367277
rommon 3 > unset TFTP_FILE
rommon 4 > unset BOOT
rommon 2 > set
PS1=rommon ! >
ETHER_SPEED_MODE=4
TFTP_BLKSIZE=512
MCP_STARTUP_TRACEFLAGS=00000000:00000000
LICENSE_SUITE=
LICENSE_BOOT_LEVEL=
TFTP_FILE=/bootflash/isr4300-universalk9.16.06.05.SPA.bin
BOOT=tftp:/bootflash/isr4300-universalk9.16.06.05.SPA.bin 255.255.255.255,12;tftp:isr4300-universalk9.16.03.05.SPA 255.255.255.255,12;bootflash:isr4300-universalk9.16.03.05.SPA.bin,1;
BSI=0
RANDOM_NUM=29256825
RET_2_RTS=17:34:37 UTC Wed Apr 8 2020
RET_2_RCALTS=1586367277
rommon 3 > unset TFTP_FILE
rommon 4 > unset BOOT
rommon 5 > set
PS1=rommon ! >
ETHER_SPEED_MODE=4
TFTP_BLKSIZE=512
MCP_STARTUP_TRACEFLAGS=00000000:00000000
LICENSE_SUITE=
LICENSE_BOOT_LEVEL=
BSI=0
RANDOM_NUM=29256825
RET_2_RTS=17:34:37 UTC Wed Apr 8 2020
RET_2_RCALTS=1586367277
rommon 6 > set BOOT=bootflash:isr4300-universalk9.16.03.05.SPA.bin,1;
rommon 7 > set
PS1=rommon ! >
ETHER_SPEED_MODE=4
TFTP_BLKSIZE=512
MCP_STARTUP_TRACEFLAGS=00000000:00000000
LICENSE_SUITE=
LICENSE_BOOT_LEVEL=
BSI=0
RANDOM_NUM=29256825
RET_2_RTS=17:34:37 UTC Wed Apr 8 2020
RET_2_RCALTS=1586367277
BOOT=bootflash:isr4300-universalk9.16.03.05.SPA.bin,1
rommon 8 > reset
04-08-2020 12:15 PM - edited 04-08-2020 12:16 PM
Did you save config after no boot system commands?
There are tracebacks -
-Traceback= 1#53c6ec86231896a591982be3d7c79c41 :564D750E6000+9CEC932 :564D750E6000+9CF0FC3 :564D750E6000+9CDED15 :564D750E6000+9CF124B :564D750E6000+728BF03 :564D750E6000+B7A8771 :564D750E6000+B14A742 :564D750E6000+AC87036 :564D750E6000+AC8637E :564D750E6000+AC85A69 :564D750E6000+AC8585D :564D750E6000+AC857CC :564D750E6000+AC6D21C :564D750E6000+AC6C404 :564D750E6000+BE7D51D :564D750E6000+BE7D9F7
software could be corrupt .. suggest using a different version
04-08-2020 03:39 PM
04-09-2020 01:18 AM
Thanks everyone for responding. I got some help from a friend of mine who is a CCIE. So as far as I can remember he was able to boot into ROMMON and unset the TFTP_FILE variable and the BOOT variable. He then changed the config register to 0x2142 and reset the router. I'm happy with that as I hadn't done too much configuration on it before I messed it up.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide