12-13-2007 05:48 PM - edited 03-05-2019 07:59 PM
How do I clear it's configuration? I tried 'delete flash:vlan.dat' and 'delete flash:config.text', but neither worked. Please help.
12-13-2007 06:05 PM
try write erase and reload.
delete flash:vlan.dat is also useful to clear the vlan database.
12-13-2007 06:10 PM
I tried write erase and reloaded it, but the host name and configuration was still there.
12-13-2007 06:18 PM
please post the output from show version and show boot
12-13-2007 07:19 PM
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]#
12-13-2007 07:53 PM
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.
12-13-2007 08:32 PM
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
12-13-2007 08:33 PM
Ok. I figured it out. I now have a clear config.
Thanks guys!
12-13-2007 09:00 PM
Please share what was done to correct the problem.
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