Cisco 2950
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
load_helper
boot
switch:
At the switch prompt type in "flash_init",
When the prompt return type "load_helper"
Now delete the old config by typing "del flash:config.text"
Finally type "boot" to start the switch. You should now go into the initial setup to configure the switch.
Initial Setup
When the switch is booted without a config.text it will ask you if you want to enter the initiial configuration:
Would you like to enter the initial configuration dialog? [yes/no]: yes
Would you like to enter basic management setup? [yes/no]: yes
Enter host name [Switch]: <BadSwitchName>
Enter enable secret: <BadSecretPassphrase>
Enter enable password: <BadSecretPaddword>
Enter virtual terminal password: <BadVirtTermPassword>
Configure SNMP Network Management? [no]: no
Enter interface...from the above interface summary: <vlan1 or interface name>
Configure IP on this interface? [no]: yes
IP address for this interface: <IP address>
Subnet mask for this interface [255.255.255.0] : <subnet mask>
Would you like to enable as a cluster command switch? [yes/no]: no
...
[0] Go to the IOS command prompt without saving this config.
[1] Return back to the setup without saving this config.
[2] Save this configuration to nvram and exit.
Enter your selection [2]: 2
Require access authentication
Enter the configuration terminal (conf term) and run the following commands to enable case-sensitive authentication. You must use the username directive to create an account before you log out.
enable
conf term
aaa new-model
aaa authentication login default local-case
username <username> secret <password>
end
Save config to flash
When the switch is configured you need to save the running configuration to flash so it is restored when the switch is rebooted. In the enable mode type "copy running-config startup-config"