2011年9月26日星期一

Resetting Catalyst Switches to Factory Defaults

ref: http://www.cisco.com/en/US/products/hw/switches/ps607/products_tech_note09186a00800c4546.shtml


Cat2950# write erase
Erasing the nvram filesystem will remove all files! Continue? [confirm]y[OK]
Erase of nvram: complete
Cat2950#
Cat2950# reload

System configuration has been modified. Save? [yes/no]: n    

!--- Do not save the configuration at this prompt. Otherwise, the switch
!--- reloads with the current running configuration and does not reset to default.

Proceed with reload? [confirm]y                              

2w0d: %SYS-5-RELOAD: Reload requested

C2950 Boot Loader (C2950-HBOOT-M) Version 12.1(11r)EA1, RELEASE SOFTWARE (fc1)
Compiled Mon 22-Jul-02 18:57 by antonino
WS-C2950G-12-EI starting...


!--- Output suppressed. 


32K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address: 00:05:DC:C9:79:00
Motherboard assembly number: 73-5781-08
Motherboard serial number: FAB0515A069
Model revision number: 02
Model number: WS-C2950-24
System serial number: FAB0517Q00B

--- System Configuration Dialog ---

Would you like to enter the initial configuration dialog? [yes/no]:n 
00:00:16: %SPANTREE-5-EXTENDED_SYSID: Extended SysId enabled for type vlan
00:00:21: %SYS-5-RESTART: System restarted --
Cisco Internetwork Operating System Software 
IOS (tm) C2950 Software(C2950-I6Q4L2-M)Version 12.1(19)EA1, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2003 by cisco Systems, Inc.
Compiled Tue 09-Dec-03 00:12 by yenanh

Press RETURN to get started!

00:00:37: %LINK-5-CHANGED: Interface Vlan1, changed state to administratively down
00:00:38: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to down
Switch>
Switch>