Resetting Switch Configuration Including VLAN Configuration Files: Difference between revisions

From ITCwiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
To reset a switch to factory default settings use the '''erase statup-config''' or '''write erase''' command.  These commands will not clear config-register or boot system settings.  Boot system parameters are modified by using the '''boot''' command.
To reset a switch to factory default settings use the '''erase statup-config''' or '''write erase''' command.  These commands will not clear config-register or boot system settings.  Boot system parameters are modified by using the '''boot''' command.


1. Enter the '''write erase''' command from priveleged EXEC mode. If you don't have access to priveleged EXEC mode you must use the *[[Recover Cisco Catalyst 2960 Switch Password]] process first.
Note: If you don't have access to priveleged EXEC mode you must use the [[Recover Cisco Catalyst 2960 Switch Password]] process first.
 
 
1. Enter the '''write erase''' command from priveleged EXEC mode.
 
Cat2950# write erase
Erasing the nvram filesystem will remove all files! Continue? [confirm]y[OK]
Erase of nvram: complete
 
2. Reload the switch by entering the '''reload''' command.
 
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
 
When the reload is complete the switch has been reset to factory defaults '''except''' for the VLAN configuration.
 
 
== Reset VLAN Configuration ==

Revision as of 14:39, 9 December 2010

Resetting Switch Configuration Including VLAN Configuration Files

To reset a switch to factory default settings use the erase statup-config or write erase command. These commands will not clear config-register or boot system settings. Boot system parameters are modified by using the boot command.

Note: If you don't have access to priveleged EXEC mode you must use the Recover Cisco Catalyst 2960 Switch Password process first.


1. Enter the write erase command from priveleged EXEC mode.

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

2. Reload the switch by entering the reload command.

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

When the reload is complete the switch has been reset to factory defaults except for the VLAN configuration.


Reset VLAN Configuration