For future reference:
ENABLE PASSWORD: example 1
switch> enable
switch# conf t
switch# enable password somethinghere
switch# end
switch# show running-config
switch# copy running-config startup-config
ENABLE PASSWORD: example 2
switch> enable
switch# conf t
switch# enable password level 15 0 cisco
switch# ip http server
switch# ip http authentication enable
switch# show running-config
switch# copy running-config startup-config
ENABLE WEB AUTHENTICATION:
switch> enable
switch# conf t
switch# ip http server
switch# end
switch# show running-config
switch# copy running-config startup-config
Other commands:
switch> enable
(save the config)
switch# show running-config
switch# copy running-config startup-config
switch> dir flash:
(show flash files)
switch> rename flash:config.text flash:config.text.old
switch# sho run | inc http
(show running config with http)
switch# ip http authentication local
(using enable password/username saved in the switch)