An angle grinder is the fastest way to cut cast iron pipe. A diamond blade should ensure the cut is as precise and clean as possible. However, you can also use a hacksaw and a cutting wheel to cut the pipe, although it will take longer.