01-11-2023 10:44 PM
Hi All
Just got a pair of Cisco C9300 upgraded them to v.17.06.04
And after a reload it is not saving my config.
It doesn't give me any errors when saving and not issues if I do a full configuration.
after a reload it's back to being erased.
What am i missing?
Cisco IOS XE Software, Version 17.06.04
Cisco IOS Software [Bengaluru], Catalyst L3 Switch Software (CAT9K_IOSXE), Version 17.6.4, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2022 by Cisco Systems, Inc.
Compiled Sun 14-Aug-22 08:58 by mcpre
Cisco IOS-XE software, Copyright (c) 2005-2022 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: IOS-XE ROMMON
BOOTLDR: System Bootstrap, Version 17.6.1r[FC2], RELEASE SOFTWARE (P)
Switch uptime is 3 minutes
Uptime for this control processor is 4 minutes
System returned to ROM by PowerOn
System image file is "flash:packages.conf"
Last reload reason: PowerOn
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.
Technology Package License Information:
------------------------------------------------------------------------------
Technology-package Technology-package
Current Type Next reboot
------------------------------------------------------------------------------
network-advantage Smart License network-advantage
dna-advantage Subscription Smart License dna-advantage
AIR License Level: AIR DNA Advantage
Smart Licensing Status: Registration Not Applicable/Not Applicable
cisco C9300-48T (X86) processor with 1317097K/6147K bytes of memory.
Processor board ID FOC2234Q020
1 Virtual Ethernet interface
52 Gigabit Ethernet interfaces
8 Ten Gigabit Ethernet interfaces
2 TwentyFive Gigabit Ethernet interfaces
2 Forty Gigabit Ethernet interfaces
2048K bytes of non-volatile configuration memory.
8388608K bytes of physical memory.
1638400K bytes of Crash Files at crashinfo:.
11264000K bytes of Flash at flash:.
Base Ethernet MAC Address : 00:b1:e3:dc:57:80
Motherboard Assembly Number : 73-18273-04
Motherboard Serial Number : FOC2233229B
Model Revision Number : A0
Motherboard Revision Number : A0
Model Number : C9300-48T
System Serial Number : hidden
CLEI Code Number :
Switch Ports Model SW Version SW Image Mode
------ ----- ----- ---------- ---------- ----
* 1 65 C9300-48T 17.06.04 CAT9K_IOSXE INSTALL
Solved! Go to Solution.
01-12-2023 02:23 PM - edited 01-12-2023 02:24 PM
I think this is the issue I guess due to that it's ignored. - have you checked show version reg
SWITCH_IGNORE_STARTUP_CFG=1
Set the SWITCH_IGNORE_STARTUP_CFG parameter to 0.
switch' config t
Switch(config)# no system ignore startupconfig switch all
Switch(config)# end
Switch# write memory
01-11-2023 11:00 PM
- Check this document https://www.cisco.com/c/en/us/support/docs/switches/catalyst-9300-series-switches/216850-configuration-register-equivalent-clis-i.html , and or make sure settings are not in place to ignore the startup configuration (e.g.)
M.
01-11-2023 11:43 PM
post-show version full output.(is this managed by DNAC ?)
01-12-2023 02:09 AM
how you save yout config
copy run start or something else ?
01-12-2023 02:16 AM
Hello,
there is a small chance that your flash does not have enough space. Try and clean the flash:
9300# request platform software package clean switch all file flash:
This will delete old/unused files from flash...
01-12-2023 03:45 AM
Post the complete output to the command "sh romvar".
01-12-2023 02:01 PM
Not using DNAC
When saving with : 'wr mem' or 'copy run start' makes no difference it does say 'Building configuration...'
Cleaning the flash didn't help, but thanks for that i was looking for that cmd.
Switch#sh romvar
----------------------------------
ROMMON variables for Active Switch
----------------------------------
ABNORMAL_RESET_COUNT=0
AUTO_SWITCH_CONSOLE_DISABLE=0
BAUD=9600
BOARDID=24661
BOOT=flash:packages.conf
BSI=0
CONSOLE_MIRRORING_DISABLE=0
DC_COPY=yes
D_STACK_DAD=
D_STACK_DISTR_STACK_LINK1=
D_STACK_DISTR_STACK_LINK2=
D_STACK_DOMAIN_NUM=
D_STACK_MODE=
IMAGE_UPGRADE=no
LICENSE_BOOT_LEVEL=network-advantage+dna-advantage,all:C9300_48P;
MAC_ADDR=00:B1:E3:DC:57:80
MANUAL_BOOT=no
MODEL_NUM=C9300-48T
MODEL_REVISION_NUM=A0
MOTHERBOARD_ASSEMBLY_NUM=73-18273-04
MOTHERBOARD_REVISION_NUM=A0
MOTHERBOARD_SERIAL_NUM=FOC2233229B
RANDOM_NUM=767667802
RECOVERY_RELOAD_DISABLE=
RET_2_RCALTS=
RET_2_RTS=
ROMMON_AUTOBOOT_ATTEMPT=3
SWITCH_IGNORE_STARTUP_CFG=1
SWITCH_NUMBER=1
SYSTEM_SERIAL_NUM=FOC2234Q020
TEMPLATE=access
USB_DISABLE=0
VERSION_ID=V02
01-12-2023 02:23 PM - edited 01-12-2023 02:24 PM
I think this is the issue I guess due to that it's ignored. - have you checked show version reg
SWITCH_IGNORE_STARTUP_CFG=1
Set the SWITCH_IGNORE_STARTUP_CFG parameter to 0.
switch' config t
Switch(config)# no system ignore startupconfig switch all
Switch(config)# end
Switch# write memory
07-30-2024 05:24 AM
Thank you, I've just tried this on a switch stack I'm having issues with and it worked. I'm curious, what could have triggered the switch to go into that mode initially, any clue?
01-12-2023 02:27 PM
https://brettlarkins.weebly.com/switch--router-password-recovery.html
follow this guide to change the ignore startup from 1 to 0
01-12-2023 02:59 PM
Thanks all
that did the trick, hostname has finally saved on a relaod.
01-12-2023 03:01 PM
thank you for sharing and appreciate the feedback
@Leo Laohoo - should get this credit - since he was the one who asked for that output - I was able to find what was wrong based on the output.
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