1. Connect to the console port and enter priviliged EXEC mode.
From your computer terminal connect to the console port of the switch using a console cable. You should see the console prompt that includes the switch's hostname followed by > or #.
If the prompt ends in > you are in user mode. To enter priviliged EXEC mode, type enable.
2. Delete the VLAN database file.
Switch#delete flash:vlan.dat
Delete flash vlan.dat ? [confirm]
Switch#
3. Erase the start-up config from nvram
The startup configuration of switches can be removed using the erase-start up config command.
Switch# erase startup-config
Erasing the nvram filesystem will remove all configuration files! Continue?
[confirm]
[OK]
Erase of nvram: complete
Switch#
Switch# reload
From your computer terminal connect to the console port of the switch using a console cable. You should see the console prompt that includes the switch's hostname followed by > or #.
If the prompt ends in > you are in user mode. To enter priviliged EXEC mode, type enable.
2. Delete the VLAN database file.
Switch#delete flash:vlan.dat
Delete flash vlan.dat ? [confirm]
Switch#
3. Erase the start-up config from nvram
The startup configuration of switches can be removed using the erase-start up config command.
Switch# erase startup-config
Erasing the nvram filesystem will remove all configuration files! Continue?
[confirm]
[OK]
Erase of nvram: complete
Switch#
Switch# reload
No comments:
Post a Comment