Initialize and reload the Switch

Open the Terminal emulator application :

Click on Laptop1 → Desktop → Terminal → Click OK

You may receive this question :

1
Would you like to enter the initial configuration dialog? [yes/no]:

Write "no" (or "n") then click "Enter"

You will receive this message :

1
Press RETURN to get started!

Click "Enter" to pass, then you will see this :

1
Switch>

The symbol ">" means that you entred the User mode.

Check if any VLANs existing and delete them :

First you have to check if any VLANs are existing, but first, you have to enter the Privileged exec mode by typing "enable" or "en":

1
Router>enable

Click "Enter", then you will see this :

1
Router#

The symbol "#" means that you entred the Privileged exec mode.

Now type the "show flash" command and click "Enter" to check if any VLANs already existing on the switch.

1
Switch#show flash
2
Directory of flash:/
3
4
    1  -rw-     4670455          <no date>  2960-lanbasek9-mz.150-2.SE4.bin
5
    2  -rw-     676              <no date>  vlan.dat
6
7
64016384 bytes total (59345929 bytes free)

If there is "vlan.dat" file, it means the switch has received a VLAN configuration and it needs to be deleted by applying the "delete" command and hitting "Enter" to confirm the operation, as follows :

1
Switch# delete vlan.dat
2
Delete filename [vlan.dat]?
3
Delete flash:/vlan.dat? [confirm]
4
Switch#

Erase the startup configuration file from NVRAM :

Now write this command erase startup-config and click "Enter" to remove the startup configuration from nonvolatile random-access memory (NVRAM).

1
Switch# erase startup-config

You will receive this messege :

1
Erasing the nvram filesystem will remove all configuration files! Continue? [confirm]

Click "Enter" to confirm.

This messege confirms that the operation is done :

1
Erase of nvram: complete
2
%SYS-7-NV_BLOCK_INIT: Initialized the geometry of nvram

Reload the Switch :

To reload or reboot the router, stay at the privileged exec mode and type:

1
Switch# reload

Click "Enter" and you will see this messege:

1
Proceed with reload? [confirm]

Click "Enter" to confirm and wait the operation to be done.

Bypass the initial configuration dialog :

You will receive this question:

1
Would you like to enter the initial configuration dialog? [yes/no]:

Type "no" (or "n") then click "Enter"

Congrats! You've completed the initialization and reloading of the Switch.