cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
9720
Views
2
Helpful
11
Replies

Need Help resetting 3650

Derickt
Level 1
Level 1

Needing a little help here please. I have inherited a C3650-48PQ switch that was running as a core switch. I am trying to clear configs on it and initialize it as a standalone switch in a lab environment.

So far I have been able to remove vlan.dat and clear start-up confiig. However, when reloading, I do not get the initial config prompt.

I do not see any config.txt file in any directory.

Any help would be appreciated.

1 Accepted Solution

Accepted Solutions

SWITCH_IGNORE_STARTUP_CFG=0
then BOOT 

View solution in original post

11 Replies 11

if you can not enter enable more then you need reset factory if you dont have old enable password 

 

I am able to enter enable and get Switch#

I have also followed the instructions step by step on resetting to factory,

balaji.bandi
Hall of Fame
Hall of Fame

Generally, if you have access to # prompt try below - works for me several times :

#copy running flash:myold.cfg
#write erase  (Enter to confirm)
#reload

still issue? post complete boot 

BB

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

How to Ask The Cisco Community for Help

Switch#copy running flash:myold.cfg
Destination filename [myold.cfg]?
4548 bytes copied in 2.803 secs (1623 bytes/sec)
Switch#write erase
Erasing the nvram filesystem will remove all configuration files! Continue? [confirm]
[OK]
Erase of nvram: complete
Switch#
*Mar 18 18:54:06.166: %SYS-7-NV_BLOCK_INIT: Initialized the geometry of nvram
Switch#reload
Reload command is being issued on Active unit, this will reload the whole stack
Proceed with reload? [confirm]

*Mar 18 18:54:23.464: %SYS-5-RELOAD: Reload requested by console. Reload Reason: Reload Command.
Chassis 1 reloading, reason - Reload command
reload fp action requested
process exit with reload stack code


watchdog: watchdog0: watchdog did not stop!
reboot: Restarting system

 

Booting...
Interface GE 0 link down***ERROR: PHY link is down
The "IP_ADDR" environment variable is not set.

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 = 32798679
Bundle Image
--------------------------------------
Kernel Address : 0x537783c0
Kernel Size : 0x438356/4424534
Initramfs Address : 0x53bb0716
Initramfs Size : 0x1ab68c1/28010689
Compression Format: mzip

Bootable image at @ ram:0x537783c0
Bootable image segment 0 address range [0x81100000, 0x81da5280] is in range [0x80180000, 0x90000000].
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@boot_system: 623
Loading Linux kernel with entry point 0x81895bf0 ...
Bootloader: Done loading app on core_mask: 0xf

### Launching Linux Kernel (flags = 0x5)

Linux version 4.9.187 (xelinux@sjc-xelinux3) (gcc version 5.3.0 (GCC) ) #1 SMP Wed Nov 4 12:00:14 PST 2020
CVMSEG size: 2 cache lines (256 bytes)
Cavium Inc. SDK-5.1.0
bootconsole [early0] enabled
CPU0 revision is: 000d900a (Cavium Octeon II)
Checking for the multiply/shift bug... no.
Checking for the daddiu bug... no.
%IOSXEBOOT-ce3e6257432740b7a8f733bda404ab48-new_cksum: (rp/0): 4
%IOSXEBOOT-ce3e6257432740b7a8f733bda404ab48-saved_cksum: (rp/0): 4

Final tar file: mcu_ucode_bundle_8_1_0.tar

Waiting for 120 seconds for other switches to boot

Both links down, accelerating discovery and not waiting for other switches
Switch number is 1

Restricted Rights Legend

Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.

Cisco Systems, Inc.
170 West Tasman Drive
San Jose, California 95134-1706

 

Cisco IOS Software [Gibraltar], Catalyst L3 Switch Software (CAT3K_CAA-UNIVERSALK9-M), Version 16.12.5b, RELEASE SOFTWARE (fc3)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2021 by Cisco Systems, Inc.
Compiled Thu 25-Mar-21 13:09 by mcpre


This software version supports only Smart Licensing as the software licensing mechanism.


PLEASE READ THE FOLLOWING TERMS CAREFULLY. INSTALLING THE LICENSE OR
LICENSE KEY PROVIDED FOR ANY CISCO SOFTWARE PRODUCT, PRODUCT FEATURE,
AND/OR SUBSEQUENTLY PROVIDED SOFTWARE FEATURES (COLLECTIVELY, THE
"SOFTWARE"), AND/OR USING SUCH SOFTWARE CONSTITUTES YOUR FULL
ACCEPTANCE OF THE FOLLOWING TERMS. YOU MUST NOT PROCEED FURTHER IF YOU
ARE NOT WILLING TO BE BOUND BY ALL THE TERMS SET FORTH HEREIN.

Your use of the Software is subject to the Cisco End User License Agreement
(EULA) and any relevant supplemental terms (SEULA) found at
http://www.cisco.com/c/en/us/about/legal/cloud-and-software/software-terms.html.

You hereby acknowledge and agree that certain Software and/or features are
licensed for a particular term, that the license to such Software and/or
features is valid only for the applicable term and that such Software and/or
features may be shut down or otherwise terminated by Cisco after expiration
of the applicable license term (e.g., 90-day trial period). Cisco reserves
the right to terminate any such Software feature electronically or by any
other means available. While Cisco may provide alerts, it is your sole
responsibility to monitor your usage of any such term Software feature to
ensure that your systems and networks are prepared for a shutdown of the
Software feature.


% Checking backup nvram
% No config present. Using default config


FIPS: Flash Key Check : Begin
FIPS: Flash Key Check : End, Not Found, FIPS Mode Not Enabled

All TCP AO KDF Tests Pass
cisco WS-C3650-48PQ (MIPS) processor (revision K0) with 794888K/6147K bytes of memory.
Processor board ID FDO2021E0BS
2048K bytes of non-volatile configuration memory.
4194304K bytes of physical memory.
250456K bytes of Crash Files at crashinfo:.
1609272K bytes of Flash at flash:.
0K bytes of WebUI ODM Files at webui:.

Base Ethernet MAC Address : cc:16:7e:d8:a4:00
Motherboard Assembly Number : 73-15903-04
Motherboard Serial Number : FDO20210S6N
Model Revision Number : K0
Motherboard Revision Number : B0
Model Number : WS-C3650-48PQ
System Serial Number : FDO2021E0BS

 


Press RETURN to get started!


*Mar 18 18:58:15.690: Rommon debug: debugFlagsStr[1], flags[0x1]
*Mar 18 18:58:18.095: %SMART_LIC-6-EXPORT_CONTROLLED: Usage of export controlled features is not allowed
*Mar 18 18:58:18.098: %SMART_LIC-6-AGENT_ENABLED: Smart Agent for Licensing is enabled
*Mar 18 18:58:18.099: %SMART_LIC-6-EXPORT_CONTROLLED: Usage of export controlled features is not allowed
*Mar 18 18:58:18.099: %SMART_LIC-6-AGENT_ENABLED: Smart Agent for Licensing is enabled
*Mar 18 18:58:18.100: %SMART_LIC-6-EXPORT_CONTROLLED: Usage of export controlled features is not allowed
*Mar 18 18:58:18.771: %IOSXE_RP_NV-3-NV_ACCESS_FAIL: Initial read of NVRAM contents failed
*Mar 18 18:58:18.893: %IOSXE_RP_NV-3-BACKUP_NV_ACCESS_FAIL: Initial read of backup NVRAM contents failed
*Mar 18 18:58:21.542: %SMART_LIC-6-AGENT_READY: Smart Agent for Licensing is initialized
*Mar 18 18:58:21.547: %SMART_LIC-6-AGENT_ENABLED: Smart Agent for Licensing is enabled
*Mar 18 18:58:21.549: %SMART_LIC-6-EXPORT_CONTROLLED: Usage of export controlled features is not allowed
*Mar 18 18:58:24.387: %SMART_LIC-6-HA_ROLE_CHANGED: Smart Agent HA role changed to Active.RA Tracing tool registry return: 0
*Mar 18 18:58:34.896: %SPANTREE-5-EXTENDED_SYSID: Extended SysId enabled for type vlan
*Mar 18 18:58:36.715: %LINK-3-UPDOWN: Interface Lsmpi18/3, changed state to up
*Mar 18 18:58:36.718: %LINK-3-UPDOWN: Interface EOBC18/1, changed state to up
*Mar 18 18:58:36.719: %LINEPROTO-5-UPDOWN: Line protocol on Interface LI-Null0, changed state to up
*Mar 18 18:58:36.721: %LINK-3-UPDOWN: Interface GigabitEthernet0/0, changed state to down
*Mar 18 18:58:36.721: %LINK-3-UPDOWN: Interface LIIN18/2, changed state to up
*Mar 18 18:58:37.092: %HMANRP-6-HMAN_IOS_CHANNEL_INFO: HMAN-IOS channel event for switch 1: EMP_RELAY: Channel UP!
*Mar 18 18:58:37.101: %HMANRP-6-EMP_NO_ELECTION_INFO: Could not elect active EMP switch, setting emp active switch to 0: EMP_RELAY: Could not elect switch with mgmt port UP
*Mar 18 18:57:55.746: %STACKMGR-6-STACK_LINK_CHANGE: Switch 1 R0/0: stack_mgr: Stack port 1 on Switch 1 is nocable
*Mar 18 18:57:55.746: %STACKMGR-6-STACK_LINK_CHANGE: Switch 1 R0/0: stack_mgr: Stack port 2 on Switch 1 is down
*Mar 18 18:57:55.747: %STACKMGR-6-STACK_LINK_CHANGE: Switch 1 R0/0: stack_mgr: Stack port 2 on Switch 1 is nocable
*Mar 18 18:57:55.747: %STACKMGR-4-SWITCH_ADDED: Switch 1 R0/0: stack_mgr: Switch 1 has been added to the stack.
*Mar 18 18:58:00.341: %STACKMGR-4-SWITCH_ADDED: Switch 1 R0/0: stack_mgr: Switch 1 has been added to the stack.
*Mar 18 18:58:02.344: %STACKMGR-4-SWITCH_ADDED: Switch 1 R0/0: stack_mgr: Switch 1 has been added to the stack.
*Mar 18 18:58:02.344: %STACKMGR-6-ACTIVE_ELECTED: Switch 1 R0/0: stack_mgr: Switch 1 has been elected ACTIVE.
*Mar 18 18:58:37.111: %HMANRP-6-EMP_NO_ELECTION_INFO: Could not elect active EMP switch, setting emp active switch to 0: EMP_RELAY: Could not elect switch with mgmt port UP
*Mar 18 18:58:37.778: %LINEPROTO-5-UPDOWN: Line protocol on Interface Lsmpi18/3, changed state to up
*Mar 18 18:58:37.779: %LINEPROTO-5-UPDOWN: Line protocol on Interface EOBC18/1, changed state to up
*Mar 18 18:58:37.779: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up
*Mar 18 18:58:37.780: %LINEPROTO-5-UPDOWN: Line protocol on Interface LIIN18/2, changed state to up
*Mar 18 18:58:40.087: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to down
*Mar 18 18:58:40.469: %SYS-5-CONFIG_P: Configured programmatically by process MGMT VRF Process from console as vty0
*Mar 18 18:58:40.482: %IOSXE_MGMTVRF-6-CREATE_SUCCESS_INFO: Management vrf Mgmt-vrf created with ID 1, ipv4 table-id 0x1, ipv6 table-id 0x1E000001
*Mar 18 18:58:40.487: %SYS-5-CONFIG_P: Configured programmatically by process MGMT VRF Process from console as vty0
*Mar 18 18:58:42.584: %SYS-6-STARTUP_CONFIG_IGNORED: System startup configuration is ignored based on the configuration register setting.
*Mar 18 18:58:42.804: %SYS-5-CONFIG_P: Configured programmatically by process CPP MQC QoS Policy manager from console as vty1
*Mar 18 18:58:42.881: %LINK-3-UPDOWN: Interface GigabitEthernet0/0, changed state to up
*Mar 18 18:58:42.910: %SYS-5-CONFIG_P: Configured programmatically by process PnP Agent Discovery from console as vty1
*Mar 18 18:58:44.473: %SYS-5-RESTART: System restarted --
Cisco IOS Software [Gibraltar], Catalyst L3 Switch Software (CAT3K_CAA-UNIVERSALK9-M), Version 16.12.5b, RELEASE SOFTWARE (fc3)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2021 by Cisco Systems, Inc.
Compiled Thu 25-Mar-21 13:09 by mcpre
*Mar 18 18:58:46.132: %LINK-3-UPDOWN: Interface Vlan1, changed state to up
*Mar 18 18:58:47.382: %SYS-6-BOOTTIME: Time taken to reboot after reload = 267 seconds
*Mar 18 18:58:47.529: %EVENT_TRACE-6-ENABLE: Trace already enabled.
*Mar 18 18:58:47.530: %EVENT_TRACE-6-ENABLE: Trace already enabled.
*Mar 18 18:58:47.530: %EVENT_TRACE-6-ENABLE: Trace already enabled.
*Mar 18 18:58:47.530: %EVENT_TRACE-6-ENABLE: Trace already enabled.
*Mar 18 18:58:48.725: %LINK-3-UPDOWN: Interface GigabitEthernet0/0, changed state to down
*Mar 18 18:58:49.355: %ONEP_BASE-6-SS_ENABLED: ONEP: Service set Base was enabled by Default
*Mar 18 18:58:49.725: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to down
*Mar 18 18:58:52.539: %PLATFORM_PM-6-MODULE_INSERTED: SFP module inserted with interface name Te1/1/1
*Mar 18 18:58:52.613: %PLATFORM_PM-6-MODULE_INSERTED: SFP module inserted with interface name Te1/1/4
*Mar 18 18:58:52.858: %SYS-5-CONFIG_P: Configured programmatically by process EPM CREATE DEFAULT CWA URL ACL from console as console
*Mar 18 18:58:55.135: %PKI-2-NON_AUTHORITATIVE_CLOCK: PKI functions can not be initialized until an authoritative time source, like NTP, can be obtained.
*Mar 18 18:58:55.161: %PKI-6-TRUSTPOINT_CREATE: Trustpoint: CISCO_IDEVID_SUDI_LEGACY created succesfully
*Mar 18 18:58:55.203: %CRYPTO_ENGINE-5-KEY_ADDITION: A key named CISCO_IDEVID_SUDI_LEGACY has been generated or imported by pki-sudi
*Mar 18 18:58:55.302: %PKI-6-TRUSTPOINT_CREATE: Trustpoint: CISCO_IDEVID_SUDI_LEGACY0 created succesfully
*Mar 18 18:58:55.316: %PKI-6-TRUSTPOINT_CREATE: Trustpoint: CISCO_IDEVID_SUDI created succesfully
*Mar 18 18:58:55.353: %CRYPTO_ENGINE-5-KEY_ADDITION: A key named CISCO_IDEVID_SUDI has been generated or imported by pki-sudi
*Mar 18 18:58:55.565: %PKI-6-TRUSTPOINT_CREATE: Trustpoint: CISCO_IDEVID_SUDI0 created succesfully
*Mar 18 18:58:55.584: %IOSXE_INFRA-6-PROCPATH_CLIENT_HOG: IOS shim client 'pkissl reader mqipc' has taken 268 msec (runtime: 251 msec) to process a 'unknown' message
*Mar 18 18:58:57.971: %LINK-3-UPDOWN: Interface TenGigabitEthernet1/1/4, changed state to up
*Mar 18 18:59:00.704: %LINK-3-UPDOWN: Interface GigabitEthernet1/0/48, changed state to up
*Mar 18 18:59:00.948: %LINEPROTO-5-UPDOWN: Line protocol on Interface TenGigabitEthernet1/1/4, changed state to up
*Mar 18 18:59:03.597: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/48, changed state to up
*Mar 18 18:59:03.997: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up
Switch>% Checking backup nvram
^
% Invalid input detected at '^' marker.

Switch>% No config present. Using default config
^
% Invalid input detected at '^' marker.

Switch>
*Mar 18 18:59:40.161: %WSMAN-3-INVALID_TRUSTPOINT: Trustpoint associated with HTTP is either invalid or does not exist
Switch>

Switch>    - this means config was reset to factor ?

you looking to get  initial config wizard how you get when you open tip out of box as below :

Would you like to enter the initial configuration dialog? [yes/no]:

1. Power down the switch removing power cable.

2. Hold down MODE button. (connect the Power cable)

3. you see switch: prompt

4. switch : flash_init

5.  switch: rename flash:config.text flash:config.old

6. switch: set SWITCH_IGNORE_STARTUP_CFG=0

7  switch : boot

BB

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

How to Ask The Cisco Community for Help

No flash:config.txt

No flash:config.txt   <-- not sure where you got this device from - looks may be deleted (that's what most engineers do when they remove from the network - erase the config or delete it)

#dir shows you what files in the flash or post here the output.

 

How to Perform Factory Reset

Procedure

  Command or Action Purpose
Step 1

enable

Example:

Device> enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2

configure terminal

Example:

Device# configure terminal

Enters global configuration mode.

Step 3

factory-reset { all | config | boot-vars}

Example:

Device(config)# factory-reset all

Use the command with all options enabled.

No system configuration is required to use the factory reset command.

Erases all the content from the NVRAM, all the Cisco IOS images, including the current boot image, boot variables, startup and running configuration data, and user data.

After the Factory Reset process is successfully completed, the device reboots and stops at ROMMON mode.

Look at the config guide for configuration files.

https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3650/software/release/16-12/configuration_guide/sys_mgmt/b_1612_sys_mgmt_3650_cg/managing_configuration_files.html

BB

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

How to Ask The Cisco Community for Help

switch: dir flash:
Directory of flash:/

46465 drwx 4096 .
2 drwx 4096 ..
46467 -rw- 76 boothelper.old
46466 -rw- 76 boothelper.log
46468 -rw- 35 pnp-tech-time
46469 -rw- 117437 pnp-tech-discovery-summary
46470 -rw- 4548 myold.cfg
46478 -rw- 4788 packages.conf
61953 drwx 4096 dc_profile_dir
46473 -rw- 2097152 nvram_config
46475 -rw- 132108 memleak.tcl
46476 -rw- 20106 running-config
46472 drwx 4096 .installer
7747 -rw- 20095616 cat3k_caa-guestshell.16.12.05b.SPA.pkg
7748 -rw- 32798679 cat3k_caa-rpbase.16.12.05b.SPA.pkg
7749 -rw- 400747128 cat3k_caa-rpcore.16.12.05b.SPA.pkg
92929 -rw- 3359360 cat3k_caa-srdriver.16.12.05b.SPA.pkg
92930 -rw- 23011964 cat3k_caa-webui.16.12.05b.SPA.pkg
46479 -rw- 999 bootloader_evt_handle.log
46480 drwx 4096 core
54209 drwx 4096 .prst_sync
69698 drwx 4096 .rollback_timer
77442 drwx 4096 gs_script
85186 drwx 4096 tech_support
30980 drwx 4096 .dbpersist
46482 -rw- 2097152 nvram_config_bkup
38721 drwx 4096 onep
46483 -rw- 0 rdope_out.txt
46484 -rw- 545 rdope.log

1132941312 bytes available (514953216 bytes used)

in the original post, I was thinking old switch, when you post the boot log, it is running IOS XE

so I have posted the guide to reset to the factory using the command that should fix your issue.

BB

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

How to Ask The Cisco Community for Help

Derickt
Level 1
Level 1

Just noticed this during reload, is there a way to reset the default config?
% Checking backup nvram
% No config present. Using default config

SWITCH_IGNORE_STARTUP_CFG=0
then BOOT 

Review Cisco Networking for a $25 gift card