2018/04/09

Reset CISCO Catalyst 3750 to Factory Defaults

Similar to my previous-post, this one is with c3750 product.
Just got it from piles of catalysts that no longer use ;p

Here's simple steps to set CISCO Catalyst 3750 to Factory Defaults.

1. "unplug" the switch.

2. while holding the "mode" button (on the front left of the switch), plug-in the power-cord.
    notice the "green" led is blinking, release mode button after it flashes "amber"
The system has been interrupted prior to initializing the flash file system. The following commands will initialize the flash file system and finish loading the operating system software:
 
flash_init
load_helper
boot
3. issue the "flash_init" command:
    switch: flash_init   
Initializing Flash...
mifs[2]: 12 files, 1 directories
mifs[2]: Total bytes : 2097152
mifs[2]: Bytes used : 755200
mifs[2]: Bytes available : 1341952
mifs[2]: mifs fsck took 2 seconds.
mifs[3]: 0 files, 1 directories
.......
mifs[6]: 455 files, 8 directories
mifs[6]: Total bytes : 57671680
mifs[6]: Bytes used : 42235904
mifs[6]: Bytes available : 15435776
mifs[6]: mifs fsck took 48 seconds.
...done Initializing Flash.
4. search for the startup configuration file (config.text) and rename it: 
switch: dir flash:
 
Directory of flash:/
2 -rwx 118939 config.text
3 -rwx 5656 vlan.dat
4 drwx 512 c3750e-universalk9-mz.122-58.SE1
459 -rwx 3833 private-config.text
460 -rwx 117555 config.text.backup
461 -rwx 3833 private-config.text.backup
462 -rwx 20437248 c3750e-universalk9-mz.150-2.SE8.bin
463 -rwx 15384 multiple-fs
15435776 bytes available (42235904 bytes used)
 
switch: rename flash:config.text flash:config.text.old
5. boot catalyst:
switch: boot
 
Loading
"flash:/c3750e-universalk9-mz.1502.SE8.bin" ...@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
POST: PortASIC RingLoopback Tests : Begin
POST: PortASIC RingLoopback Tests : End, Status Passed
extracting front_end/front_end_ucode_info (309 bytes)
SM: Detected stack cables at PORT1 PORT2
Waiting for Stack Master Election...
SM: Waiting for other switches in stack to boot...
######################################################
Election Complete
Switch 1 booting as Master
Waiting for Port download...Complete
6. delete pre-config files:
    switch: del flash:config.text.old
    switch: del flash:vlan.dat
    switch: wr
7. reboot catalyst
    switch: boot
    loading "flash:xxxxxxx"

Good to go..

No comments:

Post a Comment