I added ammonium chloride to 5 ppm. Just dead rock in the tank. Once ammonia dropped to 0, I added it again to 10 ppm. Then waited for ammonia and nitrite to read 0. These reading were taken with really cheap dip and read test strips. Once the nitrites were gone, I did a 30% water change. Nitrates were initially 60 ppm, 40 ppm after the water change. It took about three more weeks and two more water changes to get nitrates down. I think if I do it again, I might not drive the ammonia level so high, but ammonia and nitrites have never tested above 0 again.
Oops. I forgot, this took about 5 weeks total. I didn't add anything alive or feed that tank until I got the nitrates below 10 ppm. Once I started adding fish and corals. ammonia, nitrite, and nitrates were well controlled.