06-17-2023 08:33 PM - last edited on 06-23-2023 03:45 AM by Translator
Switch boot in bundle mode. Please advice to boot in classic ios mode. it showing only
.pkg
files in flash.
switch: dir flash:
Directory of flash:/
46465 drwx 4096 .
2 drwx 4096 ..
46466 -rw- 83293932 cat3k_caa-base.SPA.03.06.06E.pkg
46467 -rw- 3982012 cat3k_caa-drivers.SPA.03.06.06E.pkg
46468 -rw- 33788908 cat3k_caa-infra.SPA.03.06.06E.pkg
46469 -rw- 43074880 cat3k_caa-iosd-universalk9.SPA.152-2.E6.pkg
46470 -rw- 28394380 cat3k_caa-platform.SPA.03.06.06E.pkg
46471 -rw- 111233856 cat3k_caa-wcm.SPA.10.2.160.0.pkg
46472 -rw- 1236 packages.conf
77441 drwx 4096 dc_profile_dir
46473 -rw- 2097152 nvram_config
46474 -rw- 1576 vlan.dat
1313103872 bytes available (334790656 bytes used)
switch: del flash:config.text
Are you sure you want to delete "flash:config.text" (y/n)?y
File "flash:config.text" not deleted -- read only file system
switch: del flash:vlan.dat
Are you sure you want to delete "flash:vlan.dat" (y/n)?y
File "flash:vlan.dat" not deleted -- read only file system
switch: boot
Getting rest of image
Reading full image into memory...Check base package header ...: done = 16384
Getting rest of image
Reading full image into memory....done
Reading full base package into memory...: done = 83293932
Bundle Image
--------------------------------------
Kernel Address : 0x5343234c
Kernel Size : 0x41852f/4293935
Initramfs Address : 0x5384a87c
Initramfs Size : 0xe7766d/15169133
Compression Format: .mzip
Bootable image at @ ram:0x5343234c
Bootable image segment 0 address range [0x81100000, 0x82140000] is in range [0x80180000, 0x90000000].
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@boot_system: 377
Loading Linux kernel with entry point 0x8166a600 ...
Bootloader: Done loading app on core_mask: 0xf
### Launching Linux Kernel (flags = 0x5)
All packages are Digitally Signed
Starting System Services
FIPS(NGWC): Flash Key Check : Begin
FIPS(NGWC): Flash Key Check : End, Not Found, FIPS Mode Not Enabled
MCU type = 2 and image name is main_mcu_ucode_bundle_8_1_0.tar
Final tar file: main_mcu_ucode_bundle_8_1_0.tar
Front-end Microcode IMG MGR: found 1 microcode images for 1 device.
Image for front-end 0: /tmp/microcode_update/front_end/fe_type_8_1
Front-end Microcode IMG MGR: Preparing to program device microcode...
Front-end Microcode IMG MGR: Preparing to program device[0]...83664 bytes.
Front-end Microcode IMG MGR: Programming device 0...
% Front-end Microcode IMG MGR: address 0, Could not enable sys_poll
% Front-end Microcode IMG MGR: unable to program device: 0
% Front-end Microcode IMG MGR: malformed microcode cache
Jun 17 09:52:21 %PLATFORM_MGR-1-PLATMGR_INIT_FAIL: Platform ManaJun 17 09:52:21 %IOSXE-3-PLATFORM: process sysmgr: Service [platform_mgr] pid:[6027] terminated abnormally [6].
Jun 17 09:52:21 %STACKMGR-1-RELOAD: Reloading due to reason
Jun 17 09:52:22 %IOSXE-2-PLATFORM: process ng_dumper: Process platform_mgr: terminated abnormally.
Jun 17 09:52:23 %IOSXE-2-PLATFORM: process platform_mgr: ===================== Exception Data ====================
Jun 17 09:52:23 %IOSXE-2-PLATFORM: process platform_mgr: Exception in 'platform_mgr' with Signal=SIGABRT(6)
Jun 17 09:52:23 %IOSXE-2-PLATFORM: process platform_mgr: Frame Pointer=0x7F7ED420, Program Counter=0x2C5E33B0
Jun 17 09:52:23 %IOSXE-2-PLATFORM: process platform_mgr: Thread ID=6027: -Traceback= 1#488249e9d04d3bc04e066fb31efe7654 pthread:2C5D1000+123B0
Jun 17 09:52:23 %IOSXE-2-PLATFORM: process platform_mgr:
<Sat Jun 17 09:52:21 2023> Message from sysmgr: Reason Code:[2] Reset Reason:Service [platform_mgr] pid:[6027] terminated abnormally [6].
Service: platform_mgr
Description: 3K Platform Manager
Executable: /tmp/sw/mount/cat3k_caa-platform.SPA.03.06.06E.pkg//usr/binos/bin/platform_mgr
Started at Sat Jun 17 09:51:15 2023 (400956 us)
Stopped at Sat Jun 17 09:52:21 2023 (943159 us)
Uptime: 1 minutes 6 seconds
Start type: SRV_OPTION_RESTART_STATELESS (23)
Death reason: SYSMGR_DEATH_REASON_FAILURE_SIGNAL (2)
Last heartbeat 0.00 secs ago
PID: 6027
Exit code: signal 6
CWD: /var/sysmgr/work
PID: 6027
UUID: 3008
Unmounting ng3k filesystems...
Unmounted /dev/sda3...
Warning! - some ng3k filesystems may not have unmounted cleanly...
Please stand by while rebooting the system...
Restarting system.
Solved! Go to Solution.
06-20-2023 04:22 PM
RMA the switch.
06-17-2023 09:07 PM - edited 06-17-2023 09:49 PM
@razeev rohilla HTH https://community.cisco.com/t5/switching/converting-the-switch-from-bundle-mode-to-install-mode/td-p/4416005
Post note--
latest mode is install mode. according to the output of flash files, it seems like you are in install mode. first you need to tell us your intention as mentioned by Leo.
06-18-2023 03:31 AM - last edited on 06-23-2023 03:54 AM by Translator
Hi kasun,
i want to use it as a single switch or you can say autonomous, standalone. I am not able to use it as normal switch. it stuck in rommon mode. below is the output of flash.
switch: dir flash:
Directory of flash:/
46465 drwx 4096 .
2 drwx 4096 ..
46466 -rw- 83293932 cat3k_caa-base.SPA.03.06.06E.pkg
46467 -rw- 3982012 cat3k_caa-drivers.SPA.03.06.06E.pkg
46468 -rw- 33788908 cat3k_caa-infra.SPA.03.06.06E.pkg
46469 -rw- 43074880 cat3k_caa-iosd-universalk9.SPA.152-2.E6.pkg
46470 -rw- 28394380 cat3k_caa-platform.SPA.03.06.06E.pkg
46471 -rw- 111233856 cat3k_caa-wcm.SPA.10.2.160.0.pkg
46472 -rw- 1236 packages.conf
77441 drwx 4096 dc_profile_dir
46473 -rw- 2097152 nvram_config
46474 -rw- 1576 vlan.dat
1313103872 bytes available (334790656 bytes used)
switch: del flash:config.text
Are you sure you want to delete "flash:config.text" (y/n)?y
File "flash:config.text" not deleted -- read only file system
switch: del flash:vlan.dat
Are you sure you want to delete "flash:vlan.dat" (y/n)?y
File "flash:vlan.dat" not deleted -- read only file system
06-17-2023 09:43 PM - last edited on 06-23-2023 04:02 AM by Translator
Wait a second ... WTF are you, exactly, trying to do?
The presence of
.PKG
files means the switch is in Install Mode. Are you saying you want to boot in Bundle Mode?
If this is the case, what is the rationale behind this demented idea?
06-17-2023 11:11 PM
Hi Leo,
i want to use it as a normal switch. But it stuck in ROMMON Mode. it not showing classic IOS bootable file in flash. Can you please check logs that i have copied. It showing Bundle image. Some parts of logs FYR.
Getting rest of image
Reading full image into memory...Check base package header ...: done = 16384
Getting rest of image
Reading full image into memory....done
Reading full base package into memory...: done = 83293932
Bundle Image
06-17-2023 11:23 PM - last edited on 06-23-2023 04:07 AM by Translator
Post the complete output to the
ROMMON
command of
set.
06-20-2023 01:19 AM - last edited on 06-23-2023 04:07 AM by Translator
Hi Leo,
set
command output. kindly revert asap if you are online. I have working on switch right now.
switch: set
ABNORMAL_RESET_COUNT=5
ASIC_PCI_RESET=1
AUTOREBOOT_RESTORE=0
BOOT=flash:packages.conf
BOOT_LOADER_UPGRADE_DISABLE=1
BSI=0
BYPASS_STARTUP_CONFIG=
CFG_MODEL_NUM=WS-C3650-24PS-E
CLEI_CODE_NUMBER=INM2N00ARA
CSR_PCIERST_DISCONNECTED=yes
ECI_CODE_NUMBER=471211
MAC_ADDR=78:0C:F0:64:2C:00
MANUAL_BOOT=no
MODEL_NUM=WS-C3650-24PS
MODEL_REVISION_NUM=S0
MOTHERBOARD_ASSEMBLY_NUM=73-15899-07
MOTHERBOARD_REVISION_NUM=A0
MOTHERBOARD_SERIAL_NUM=FDO221801Q8
POE1_ASSEMBLY_NUM=73-16439-02
POE1_REVISION_NUM=A0
POE1_SERIAL_NUM=FDO22170VLM
RANDOM_NUM=1356248583
RECOVERY_BUNDLE=sda9:cat3k_caa-recovery.bin
SWITCH_IGNORE_STARTUP_CFG== 1
SWITCH_NUMBER=1
SYSTEM_SERIAL_NUM=FDO2218E08K
TAN_NUM=800-41244-04
TAN_REVISION_NUMBER=C0
TEMPLATE=advanced
TERMLINES=0
VERSION_ID=V05
06-20-2023 02:24 AM - last edited on 06-23-2023 04:10 AM by Translator
SWITCH_IGNORE_STARTUP_CFG=1
This is the reason why the switch always boot into
ROMMON
.
Try this: SWITCH_IGNORE_STARTUP_CFG=0
And then reboot the switch.
06-17-2023 11:43 PM
will share with you soon.
06-20-2023 02:41 AM
ok, will share reply in a few minutes.
06-20-2023 02:46 AM - last edited on 06-23-2023 05:10 AM by Translator
still it not booting.
switch: set SWITCH_IGNORE_STARTUP_CFG = 0
switch: set
ABNORMAL_RESET_COUNT=0
ASIC_PCI_RESET=1
AUTOREBOOT_RESTORE=1
BOOT=flash:packages.conf
BOOT_LOADER_UPGRADE_DISABLE=1
BSI=0
BYPASS_STARTUP_CONFIG=
CFG_MODEL_NUM=WS-C3650-24PS-E
CLEI_CODE_NUMBER=INM2N00ARA
CSR_PCIERST_DISCONNECTED=yes
ECI_CODE_NUMBER=471211
MAC_ADDR=78:0C:F0:64:2C:00
MANUAL_BOOT=yes
MODEL_NUM=WS-C3650-24PS
MODEL_REVISION_NUM=S0
MOTHERBOARD_ASSEMBLY_NUM=73-15899-07
MOTHERBOARD_REVISION_NUM=A0
MOTHERBOARD_SERIAL_NUM=FDO221801Q8
POE1_ASSEMBLY_NUM=73-16439-02
POE1_REVISION_NUM=A0
POE1_SERIAL_NUM=FDO22170VLM
RANDOM_NUM=1356248583
RECOVERY_BUNDLE=sda9:cat3k_caa-recovery.bin
SWITCH_IGNORE_STARTUP_CFG== 0
SWITCH_NUMBER=1
SYSTEM_SERIAL_NUM=FDO2218E08K
TAN_NUM=800-41244-04
TAN_REVISION_NUMBER=C0
TEMPLATE=advanced
TERMLINES=0
VERSION_ID=V05
switch: reset
Are you sure you want to reset the system (y/n)?y
System resetting...
Booting...call dfs_loadpartitions, retry = 1
call dfs_loadpartitions, retry = 0
usbflash0
contains unexpected values in partition table or boot sector.
Device needs formatting before use!
Interface GE 0 link down***ERROR: PHY link is down
The system is not configured to boot automatically. The
following command will finish loading the operating system
software:
boot
switch: ?
? -- Present list of available commands
arp -- Show arp table or arp-resolve an address
boot -- Load and boot an executable image
cat -- Concatenate (type) file(s)
copy -- Copy a file
delete -- Delete file(s)
dir -- List files in directories
emergency-install -- Initiate Disaster Recovery
flash_init -- Initialize filesystem(s)
format -- Format a filesystem
fsck -- Check filesystem consistency
help -- Present list of available commands
mgmt_init -- initialize management port
mkdir -- Create dir(s)
more -- Concatenate (display) file(s)
ping -- Send ICMP ECHO_REQUEST packets to a network host
readrtc -- Read RTC
rename -- Rename a file
reset -- Reset the system
rmdir -- Delete empty dir(s)
set -- Set or display environment variables
set_bs -- Set attributes on a boot sector filesystem
set_param -- Set system parameters in flash
type -- Concatenate (type) file(s)
unset -- Unset one or more environment variables
version -- Display boot loader version
writertc -- Write RTC
switch: format usbflash0:
Format of filesystem "usbflash0:" not supported!
switch: boot packages.conf
packages.conf: no such device
Cannot open file packages.conf
usage: boot [<filename>] [<cmdline>]
switch: dir flash:
Directory of flash:/
46465 drwx 4096 .
2 drwx 4096 ..
46466 -rw- 83293932 cat3k_caa-base.SPA.03.06.06E.pkg
46467 -rw- 3982012 cat3k_caa-drivers.SPA.03.06.06E.pkg
46468 -rw- 33788908 cat3k_caa-infra.SPA.03.06.06E.pkg
46469 -rw- 43074880 cat3k_caa-iosd-universalk9.SPA.152-2.E6.pkg
46470 -rw- 28394380 cat3k_caa-platform.SPA.03.06.06E.pkg
46471 -rw- 111233856 cat3k_caa-wcm.SPA.10.2.160.0.pkg
46472 -rw- 1236 packages.conf
77441 drwx 4096 dc_profile_dir
46473 -rw- 2097152 nvram_config
46474 -rw- 1576 vlan.dat
1313103872 bytes available (334790656 bytes used)
switch: boot flash:packages.conf
Getting rest of image
Reading full image into memory...Check base package header ...: done = 16384
Getting rest of image
Reading full image into memory....done
Reading full base package into memory...: done = 83293932
Bundle Image
--------------------------------------
Kernel Address : 0x5343234c
Kernel Size : 0x41852f/4293935
Initramfs Address : 0x5384a87c
Initramfs Size : 0xe7766d/15169133
Compression Format: .mzip
Bootable image at @ ram:0x5343234c
Bootable image segment 0 address range [0x81100000, 0x82140000] is in range [0x80180000, 0x90000000].
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@boot_system: 377
Loading Linux kernel with entry point 0x8166a600 ...
Bootloader: Done loading app on core_mask: 0xf
### Launching Linux Kernel (flags = 0x5)
All packages are Digitally Signed
Starting System Services
FIPS(NGWC): Flash Key Check : Begin
FIPS(NGWC): Flash Key Check : End, Not Found, FIPS Mode Not Enabled
MCU type = 2 and image name is main_mcu_ucode_bundle_8_1_0.tar
Final tar file: main_mcu_ucode_bundle_8_1_0.tar
Front-end Microcode IMG MGR: found 1 microcode images for 1 device.
Image for front-end 0: /tmp/microcode_update/front_end/fe_type_8_1
Front-end Microcode IMG MGR: Preparing to program device microcode...
Front-end Microcode IMG MGR: Preparing to program device[0]...83664 bytes.
Front-end Microcode IMG MGR: Programming device 0...
% Front-end Microcode IMG MGR: address 0, Could not enable sys_poll
% Front-end Microcode IMG MGR: unable to program device: 0
% Front-end Microcode IMG MGR: malformed microcode cache
Jun 20 09:35:22 %PLATFORM_MGR-1-PLATMGR_INIT_FAIL: Platform ManaJun 20 09:35:22 %IOSXE-2-PLATFORM: process ng_dumper: Process platform_mgr: terminated abnormally.
Jun 20 09:35:23 %IOSXE-2-PLATFORM: process platform_mgr: ===================== Exception Data ====================
Jun 20 09:35:23 %IOSXE-2-PLATFORM: process platform_mgr: Exception in 'platform_mgr' with Signal=SIGABRT(6)
Jun 20 09:35:23 %IOSXE-2-PLATFORM: process platform_mgr: Frame Pointer=0x7FCB2B50, Program Counter=0x2C6A63B0
Jun 20 09:35:23 %IOSXE-2-PLATFORM: process platform_mgr: Thread ID=6015: -Traceback= 1#488249e9d04d3bc04e066fb31efe7654 pthread:2C694000+123B0
Jun 20 09:35:23 %IOSXE-2-PLATFORM: process platform_mgr:
<Tue Jun 20 09:35:22 2023> Message from sysmgr: Reason Code:[2] Reset Reason:Service [platform_mgr] pid:[6015] terminated abnormally [6].
Service: platform_mgr
Description: 3K Platform Manager
Executable: /tmp/sw/mount/cat3k_caa-platform.SPA.03.06.06E.pkg//usr/binos/bin/platform_mgr
Started at Tue Jun 20 09:34:14 2023 (257613 us)
Stopped at Tue Jun 20 09:35:22 2023 (528914 us)
Uptime: 1 minutes 8 seconds
Start type: SRV_OPTION_RESTART_STATELESS (23)
Death reason: SYSMGR_DEATH_REASON_FAILURE_SIGNAL (2)
Last heartbeat 0.00 secs ago
PID: 6015
Exit code: signal 6
CWD: /var/sysmgr/work
PID: 6015
UUID: 3008
Unmounting ng3k filesystems...
Unmounted /dev/sda3...
Warning! - some ng3k filesystems may not have unmounted cleanly...
Please stand by while rebooting the system...
Restarting system.
Booting...
Interface GE 0 link down***ERROR: PHY link is down
Getting rest of image
Reading full image into memory...Check base package header ...: done = 16384
Getting rest of image
Reading full image into memory....done
Reading full base package into memory...: done = 83293932
Bundle Image
--------------------------------------
Kernel Address : 0x5342e34c
Kernel Size : 0x41852f/4293935
Initramfs Address : 0x5384687c
Initramfs Size : 0xe7766d/15169133
Compression Format: .mzip
Bootable image at @ ram:0x5342e34c
Bootable image segment 0 address range [0x81100000, 0x82140000] is in range [0x80180000, 0x90000000].
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@boot_system: 377
Loading Linux kernel with entry point 0x8166a600 ...
Bootloader: Done loading app on core_mask: 0xf
### Launching Linux Kernel (flags = 0x5)
All packages are Digitally Signed
Starting System Services
FIPS(NGWC): Flash Key Check : Begin
FIPS(NGWC): Flash Key Check : End, Not Found, FIPS Mode Not Enabled
MCU type = 2 and image name is main_mcu_ucode_bundle_8_1_0.tar
Final tar file: main_mcu_ucode_bundle_8_1_0.tar
Front-end Microcode IMG MGR: found 1 microcode images for 1 device.
Image for front-end 0: /tmp/microcode_update/front_end/fe_type_8_1
Front-end Microcode IMG MGR: Preparing to program device microcode...
Front-end Microcode IMG MGR: Preparing to program device[0]...83664 bytes.
Front-end Microcode IMG MGR: Programming device 0...
% Front-end Microcode IMG MGR: address 0, Could not enable sys_poll
% Front-end Microcode IMG MGR: unable to program device: 0
% Front-end Microcode IMG MGR: malformed microcode cache
Jun 20 09:40:32 %PLATFORM_MGR-1-PLATMGR_INIT_FAIL: Platform ManaJun 20 09:40:32 %IOSXE-3-PLATFORM: process sysmgr: Service [platform_mgr] pid:[6010] terminated abnormally [6].
Jun 20 09:40:32 %STACKMGR-1-RELOAD: Reloading due to reason
Jun 20 09:40:32 %IOSXE-2-PLATFORM: process ng_dumper: Process platform_mgr: terminated abnormally.
Jun 20 09:40:33 %IOSXE-2-PLATFORM: process platform_mgr: ===================== Exception Data ====================
Jun 20 09:40:33 %IOSXE-2-PLATFORM: process platform_mgr: Exception in 'platform_mgr' with Signal=SIGABRT(6)
Jun 20 09:40:33 %IOSXE-2-PLATFORM: process platform_mgr: Frame Pointer=0x7F7A4B30, Program Counter=0x2C5B13B0
Jun 20 09:40:33 %IOSXE-2-PLATFORM: process platform_mgr: Thread ID=6010: -Traceback= 1#488249e9d04d3bc04e066fb31efe7654 pthread:2C59F000+123B0
Jun 20 09:40:33 %IOSXE-2-PLATFORM: process platform_mgr:
<Tue Jun 20 09:40:32 2023> Message from sysmgr: Reason Code:[2] Reset Reason:Service [platform_mgr] pid:[6010] terminated abnormally [6].
Service: platform_mgr
Description: 3K Platform Manager
Executable: /tmp/sw/mount/cat3k_caa-platform.SPA.03.06.06E.pkg//usr/binos/bin/platform_mgr
Started at Tue Jun 20 09:39:24 2023 (166735 us)
Stopped at Tue Jun 20 09:40:32 2023 (722894 us)
Uptime: 1 minutes 8 seconds
Start type: SRV_OPTION_RESTART_STATELESS (23)
Death reason: SYSMGR_DEATH_REASON_FAILURE_SIGNAL (2)
Last heartbeat 0.00 secs ago
PID: 6010
Exit code: signal 6
CWD: /var/sysmgr/work
PID: 6010
UUID: 3008
06-20-2023 02:48 AM - last edited on 06-23-2023 05:10 AM by Translator
after showing below command it reboot again and again.
Booting...
Interface GE 0 link down***ERROR: PHY link is down
06-20-2023 04:06 AM - edited 06-20-2023 04:07 AM
@razeev rohilla wrote:
Interface GE 0 link down***ERROR: PHY link is down
During bootup, this error message ALWAYS shows up because the OOM port is not working.
What else?
@razeev rohilla wrote:
switch: set SWITCH_IGNORE_STARTUP_CFG = 0
Syntax is wrong. There should be space.
set SWITCH_IGNORE_STARTUP_CFG=0
06-20-2023 04:31 AM - last edited on 06-23-2023 05:12 AM by Translator
switch: set SWITCH_IGNORE_STARTUP_CFG=0
Can't set variable with illegal
char "=" (0x3d)
in name.
command not supported.
06-20-2023 04:08 AM
ok. so how can i install ios in this switch. i plugg usb 32 gb with os but it taking usb drive. please help how can i format usb in rommon mode or use in switch for emergency install.
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