cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
18741
Views
0
Helpful
8
Replies

Cisco 3560 - clear it's configuration

djgizmo250
Level 1
Level 1

How do I clear it's configuration? I tried 'delete flash:vlan.dat' and 'delete flash:config.text', but neither worked. Please help.

8 Replies 8

Edison Ortiz
Hall of Fame
Hall of Fame

try write erase and reload.

delete flash:vlan.dat is also useful to clear the vlan database.

I tried write erase and reloaded it, but the host name and configuration was still there.

please post the output from show version and show boot

Here is the sh ver and sh boot:

[hostname]#sh ver

Cisco IOS Software, C3560 Software (C3560-IPBASE-M), Version 12.2(25)SEB4, RELEA

SE SOFTWARE (fc1)

Copyright (c) 1986-2005 by Cisco Systems, Inc.

Compiled Tue 30-Aug-05 14:19 by yenanh

ROM: Bootstrap program is C3560 boot loader

BOOTLDR: C3560 Boot Loader (C3560-HBOOT-M) Version 12.1(19r)EA1b, RELEASE SOFTWA

RE (fc2)

[hostname] uptime is 1 minute

System returned to ROM by power-on

System image file is "flash:/c3560-ipbase-mz.122-25.SEB4/c3560-ipbase-mz.122-25.

SEB4.bin"

cisco WS-C3560-48PS (PowerPC405) processor (revision H0) with 118784K/12280K byt

es of memory.

Processor board ID CAT0848R0AW

Last reset from power-on

1 Virtual Ethernet interface

48 FastEthernet interfaces

4 Gigabit Ethernet interfaces

The password-recovery mechanism is enabled.

512K bytes of flash-simulated non-volatile configuration memory.

Version ID : N/A

Hardware Board Revision Number : 0x0C

Switch Ports Model SW Version SW Image

------ ----- ----- ---------- ----------

* 1 52 WS-C3560-48PS 12.2(25)SEB4 C3560-IPBASE-M

Configuration register is 0xF

[hostname]#sh boot

BOOT path-list : flash:c3560-ipbase-mz.122-25.SEB4.tar

Config file : flash:/config.text

Private Config file : flash:/private-config.text

Enable Break : no

Manual Boot : no

HELPER path-list :

Auto upgrade : yes

[hostname]#

Usually when you reload it will ask you if you want to save the config , if you said yes then you overwrote the empty startup config with the running config.

Here is my output for when I delete config.text and reload:

[hostname]#delete config.text

Delete filename [config.text]?

Delete flash:config.text? [confirm]

[hostname]#reload

Proceed with reload? [confirm]

*Feb 28 17:04:15.982 PST: %SYS-5-RELOAD: Reload requested by console. Reload Rea

*Feb 28 17:04:15.982 PST: %SYS-5-RELOAD: Reload requested by console. Reload Rea

Ok. I figured it out. I now have a clear config.

Thanks guys!

Please share what was done to correct the problem.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: