Start up the phone, when it displays "press * to program" then press * and repeatingly press # until you get the message "enter command", the press the HOLD key followed by CLEAR (25327) and then #.
So sequentially you press HOLD25327#, it will ask if you want to erase all settings, confirm that by pressing the appropriate key.