How to I support vertical pipe so it doesn’t slip down?

A solution would be to put a flanged connection at interval/s up the pipe with a U-Bolt Clamp underneath to take some of the weight.