Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How clear configuration on router 1760 ?

Status
Not open for further replies.

radian7

IS-IT--Management
Dec 5, 2005
14
PL
Hi

How can I clear configuration on cisco router 1760 with IOS 12.2 ?

Thanks
Radian7
 
Hi

Just issue the command 'write erase' in enable mode(the hash or # prompt). Then save by issuing 'write mem' and then 'reload' the device.
 
You don't want to do a wr mem after the wr erase , this will write your existing running config back into startup and the config will still be there .
 
just do the 'write erase' or 'erase start' and reboot the router. then say no to setup.
 
Agreed. Don't do the write mem as I previously advised. I had a serious case of brain cramp there.
 
In my router I have following options for erase:

PL-NR01#erase ?
/all Erase all files(in NVRAM)
/no-squeeze-reserve-space Do not reserve space for squeeze operation
flash: Filesystem to be erased
nvram: Filesystem to be erased
startup-config Erase contents of
configuration memory

Which option I can use to clear current configuration ?
Does "erase startup-config" is correct ?

Thanks
 
yes 'erase startup-config' should work fine at the # prompt. then just reboot the router and say no to setup. and you router will be back to factory defaults.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top