I reset a Catalyst 4500 to the factory defaults following the Cisco Document http://www.cisco.com/en/US/products/hw/switches/ps607/products_tech_note09186a00800c4546.shtml
Under the "Reset Switch Configuration" section of the "Switches running Cisco IOS Software" they mention that boot variables such as the config-register and boot system settings do not get cleared. (if it was truly a factory reset shouldn't they get cleared or reset to whatever the factory does???). Anyway...
When I finished with the instructions and rebooted the switch it immediately grabbed a hostname and ip from my Windows DHCP server. Every time I reboot it it'll grab a different (incorrect) hostname.
If this system was truly reset to factory defaults I'd expect the system to boot up and ask me about a hostname, IP information etc, rather than just grab things randomly from a DHCP server for Windows boxes.
Does anyone have advice on how to actually reset the switch to factory defaults? I assume this would involve resetting all the boot variables to whatever they use at the factory. Unfortunately the manual on the subject leaves out this important detail.
Thanks in advance for the help!
Oh, you are on IOS not CatOS,
After typing enable and getting the switch# prompt, type config term and hit enter. In Cisco IOS you have to be in configuration mode to edit the config. You should see switch#(conf) and you'll know you're in configuration mode.
There is no sc0 interfaces available in IOS you'll need to create a VLAN interface for switch management
switch#(conf-if)ip address 172.21.1.250 255.255.255.0
switch#(conf)ip default-gateway 172.21.1.254
Switch#copy running-config startup-config
This should be a start