- Enter global configuration mode, enable
- Set a hostname, hostname xxx
- Configure a host domain name, any with .
- Generate RSA key, at least 1024 for ssh v2
- Configure line vty, transport input ssh, login local
- Create username and password, username XXX priv 15 secret YYY
- Save the configure file, wr or copy run start
Enable SSH via cli Router Switch
Catalyst 2960 Factory Reset
Step1, Find Mode Button Location
Step2, Press Mode Button
Connect to the switch via console cable and make sure the
connection is established so we can check how it goes.
Power off the switch and hold down the Mode button.
While holding down the Mode button power on the
switch.
Keep holding down the Mode button. Hold down the Mode
button until you see the following output:
The system has been
interrupted prior to initializing the
flash filesystem. The
following commands will initialize
the flash filesystem, and
finish loading the operating
system software:
flash_init
boot
switch:
Step3, Initialise Flash
Enter command: flash_init
Step4, Delete Config Files
Enter command: del flash:config.text & del
flash:vlan.dat
Step5, Reboot
Enter command: boot
Motivation Quote
It is not enough to have knowledge, one must apply it.
It is not enough to have wishes, one must also accomplish it.
- Johann Wolfgang von Goethe -