cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
8204
Views
22
Helpful
11
Replies

C9300 not saving config after upgrade

Jeffrey_233
Level 1
Level 1

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

 

 

1 Accepted Solution

Accepted Solutions

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

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

View solution in original post

11 Replies 11

marce1000
Hall of Fame
Hall of Fame

 

 - 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.



-- 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! '

balaji.bandi
Hall of Fame
Hall of Fame

post-show version full output.(is this managed by DNAC ?)

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

how you save yout config 
copy run start or something else ?

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...

Leo Laohoo
Hall of Fame
Hall of Fame

Post the complete output to the command "sh romvar".

Jeffrey_233
Level 1
Level 1

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



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

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

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?

 

Jeffrey_233
Level 1
Level 1

Thanks all 
that did the trick, hostname has finally saved on a relaod.

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.

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help