The documentation doesn't appear to give this up very easily: to reset to Factury Defaults, you'll need to restart the switch while having a serial console open, and hit CTRL-F (lots of times) until the boot completes, and it drops down to a boot-rom style prompt.
One of the options once you see that is "Reset to Factory Defaults?" select that and reboot.
At the login prompt the next time, you should get logged in using a username of "admin" with a password of "admin"
Good luck from there...
Here is my sequence to then add a management IP address to VLAN 1 - the default VLAN:
Console#sh ip interface
IP address and netmask: 0.0.0.0 255.0.0.0 on VLAN 1,
and address mode: DHCP.
Console#show vlan
VLAN Type Name Status Ports/Channel groups
---- ------- ---------------- --------- ----------------------------------------
1 Static DefaultVlan Active Eth1/ 1 Eth1/ 2 Eth1/ 3 Eth1/ 4 Eth1/ 5
Eth1/ 6 Eth1/ 7 Eth1/ 8 Eth1/ 9 Eth1/10
Eth1/11 Eth1/12 Eth1/13 Eth1/14 Eth1/15
Eth1/16 Eth1/17 Eth1/18 Eth1/19 Eth1/20
Eth1/21 Eth1/22 Eth1/23 Eth1/24
Console#
Console#configure
Console(config)#interface vlan 1
Console(config-if)#ip address 192.168.3.80 ?
A.B.C.D Netmask
Console(config-if)#ip address 192.168.3.80 255.255.255.0
Console(config-if)#?
Configure commands:
end Exit from configure mode
exit Exit from interface configure mode
help Description of the interactive help system
interface Into the privileged interface configuration mode
ip Internet protocol
no Negate a command or set its defaults
Console(config-if)#end
Console#copy running-config startup-config
Console#show ip interface
IP address and netmask: 192.168.3.80 255.255.255.0 on VLAN 1,
and address mode: User specified.
Console#
Console#ping 192.168.3.1
Type ESC to abort.
PING to 192.168.3.1, by 5 32-byte payload ICMP packets, timeout is 5 seconds
response time: 10 ms
response time: 10 ms
response time: 10 ms
response time: 10 ms
response time: 10 ms
Ping statistics for 192.168.3.1:
5 packets transmitted, 5 packets received (100%), 0 packets lost (0%)
Approximate round trip times:
Minimum = 10 ms, Maximum = 10 ms, Average = 10 ms
Console#